Problems With Arduino 1.6.11 and MySensor 2.0.0



  • Hi everybody,
    After having problems with Arduino 1.6.5 and old MySensors drivers I decided to load Arduino latest version. After loading Arduino 1.6.11 and installed MySensors 2.0.0 drivers I couldnt compile the Serial Gateway of MyNodes.

    I get the error below. Any idea about the problem? THANKS!!!

    C:\Users\fahrettin\Desktop\MyNodes\SerialGateway\SerialGateway.ino:41:27: fatal error: MySigningNone.h: No such file or directory

    #include <MySigningNone.h>

                           ^
    

    compilation terminated.

    exit status 1
    Error compiling for board Arduino Nano.


  • Mod

    Looks like the library wasn't installed properly. How did you install it? Using the library manager is the best way, see https://www.mysensors.org/about/arduino#installing-the-sensor-libraries for details.

    Make sure you completely remove the existing MySensors folder before installing.


  • Admin

    The example you tried to compile seems to be picked up from for 1.5 version. Use the examples provided with 2.0.



  • @mfalkvidd thanks for your quick response... I installed the library using "Manage Libraries" menu. The library looks OK. There is a folder named "MySensors" under Documents\Arduino\libraries and I can see the library installed on the "Library Manager".

    Dear @derwish ... Is the firmware of MyNodes Serial Gateway up to date or appropriate for latest Arduino and MySensors? What should I do?

    Thanks...



  • @hek Hi. Thanks for your response...
    I downloded the Serial Gateway firmware from http://www.mynodes.net/Hardware/Gateway. Which firmware should I instal? The Serial Gateway on the Arduino\File\Examples\MySensors menu?


  • Admin

    @fahrettine said:

    The Serial Gateway on the Arduino\File\Examples\MySensors menu?

    Yes



  • I installed the Gateway Serial from the Examples menu.
    On the Serial Port I get the messages below. It seems everything is OK.
    ....................................
    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSM:RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:READY
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.0.0
    0;255;3;0;9;No registration required
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration
    ........................................
    On the Arduino side everything looks OK.
    But when I choose/start MyNodes web interface-->Serial Port I get the error messages below. Still the same problem.
    ................
    Welcome to MyNodes.NET.
    Please configure the system in the web interface.

    Hosting environment: Production
    Now listening on: http://localhost:1312
    Application started. Press Ctrl+C to shut down.
    17.09.2016 00:20:57: SYSTEM: Connecting to database...
    17.09.2016 00:20:57: SYSTEM: Database connected.
    17.09.2016 00:21:08: SYSTEM: Connecting to gateway...
    17.09.2016 00:21:08: GATEWAY: Trying to connect...
    17.09.2016 00:21:08: GATEWAY: Connected to port COM3 at 115200 bits/s.
    17.09.2016 00:21:08: GATEWAY: Trying to communicate...
    17.09.2016 00:21:13: GATEWAY: Gateway is not responding.
    17.09.2016 00:21:18: GATEWAY: Gateway is not responding.
    17.09.2016 00:21:23: GATEWAY: Gateway is not responding.
    17.09.2016 00:21:29: GATEWAY: Gateway is not responding.
    ....................
    Any idea guys? Thanks!!!


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.