Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. MySensors 2.0.0 Released

MySensors 2.0.0 Released

Scheduled Pinned Locked Moved Announcements
75 Posts 42 Posters 25.2k Views 37 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G gloob

    I did now also update my gateway but I see two messages in the debug panel that I don't understand:

    pm open,type:2 0
    0;255;3;0;9;TSP:SANCHK:OK
    
    

    Does anybody have an idea what that means?

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #46

    @gloob said:

    I did now also update my gateway but I see two messages in the debug panel that I don't understand:

    pm open,type:2 0
    0;255;3;0;9;TSP:SANCHK:OK
    
    

    Does anybody have an idea what that means?

    I have this problem too. What does that mean?

    tbowmoT 1 Reply Last reply
    0
    • ? A Former User

      @gloob said:

      I did now also update my gateway but I see two messages in the debug panel that I don't understand:

      pm open,type:2 0
      0;255;3;0;9;TSP:SANCHK:OK
      
      

      Does anybody have an idea what that means?

      I have this problem too. What does that mean?

      tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #47

      @kenci said:

      @gloob said:

      I did now also update my gateway but I see two messages in the debug panel that I don't understand:

      pm open,type:2 0
      0;255;3;0;9;TSP:SANCHK:OK
      
      

      Does anybody have an idea what that means?

      I have this problem too. What does that mean?

      The TSP:SANCHK:OK is a sanity check of the radio, this time it's OK. But if we fail in talking with the radio (spi failure etc) it will try to initialize the radio, and also write Fail (I believe)

      It's @tekka that is the brain behind this part (and has promised to make some documentation on it :))

      ? mppM 2 Replies Last reply
      1
      • tbowmoT tbowmo

        @kenci said:

        @gloob said:

        I did now also update my gateway but I see two messages in the debug panel that I don't understand:

        pm open,type:2 0
        0;255;3;0;9;TSP:SANCHK:OK
        
        

        Does anybody have an idea what that means?

        I have this problem too. What does that mean?

        The TSP:SANCHK:OK is a sanity check of the radio, this time it's OK. But if we fail in talking with the radio (spi failure etc) it will try to initialize the radio, and also write Fail (I believe)

        It's @tekka that is the brain behind this part (and has promised to make some documentation on it :))

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #48

        @tbowmo Thank you for the explanation. But what does that mean pm open,type:2 0

        1 Reply Last reply
        1
        • marekdM Offline
          marekdM Offline
          marekd
          wrote on last edited by
          #49

          Hi there.
          Good work.
          I was using dev ver. - should I recompile all nodes and GW to 2.0.0, to use it?

          YveauxY AWIA 2 Replies Last reply
          0
          • marekdM marekd

            Hi there.
            Good work.
            I was using dev ver. - should I recompile all nodes and GW to 2.0.0, to use it?

            YveauxY Offline
            YveauxY Offline
            Yveaux
            Mod
            wrote on last edited by
            #50

            @marekd quote from the main site : "We recommend updating both gateway and sensors to the the latest release."

            http://yveaux.blogspot.nl

            1 Reply Last reply
            2
            • marekdM marekd

              Hi there.
              Good work.
              I was using dev ver. - should I recompile all nodes and GW to 2.0.0, to use it?

              AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by
              #51

              @marekd To add to @Yveaux , if you are using repeaters (or nodes with the repeater functionality switched on) these also should be updated to the latest release.

              1 Reply Last reply
              1
              • Tore André RosanderT Offline
                Tore André RosanderT Offline
                Tore André Rosander
                wrote on last edited by
                #52

                Is there any plans to update the Raspberry gateway? The one where the nrf radio is connected directly to RPI gpio.
                As far as i know it is version 1.4 at the moment.

                D 1 Reply Last reply
                0
                • Tore André RosanderT Tore André Rosander

                  Is there any plans to update the Raspberry gateway? The one where the nrf radio is connected directly to RPI gpio.
                  As far as i know it is version 1.4 at the moment.

                  D Offline
                  D Offline
                  drock1985
                  wrote on last edited by
                  #53

                  @Tore-André-Rosander

                  I think that was someone who contributed it a while back. I remember going though the thread, and at one time someone was looking for anyone to update the 1.5 base for the signing; IIRC.

                  Probably best to switch to another Gateway for now.

                  My Projects
                  2 Door Chime Sensor
                  Washing Machine Monitor

                  Tore André RosanderT 1 Reply Last reply
                  0
                  • D drock1985

                    @Tore-André-Rosander

                    I think that was someone who contributed it a while back. I remember going though the thread, and at one time someone was looking for anyone to update the 1.5 base for the signing; IIRC.

                    Probably best to switch to another Gateway for now.

                    Tore André RosanderT Offline
                    Tore André RosanderT Offline
                    Tore André Rosander
                    wrote on last edited by
                    #54

                    @drock1985
                    Is there any pro/cons when choosing the esp gateway or the serial gateway (connected to Raspberry pi)?

                    D 1 Reply Last reply
                    0
                    • Tore André RosanderT Tore André Rosander

                      @drock1985
                      Is there any pro/cons when choosing the esp gateway or the serial gateway (connected to Raspberry pi)?

                      D Offline
                      D Offline
                      drock1985
                      wrote on last edited by
                      #55

                      @Tore-André-Rosander

                      Not really; depends on what your controller supports. Personally I have Home-Assistant running the latest MySensors 2.0 Wifi (ESP) gateway no problems.

                      My Projects
                      2 Door Chime Sensor
                      Washing Machine Monitor

                      1 Reply Last reply
                      0
                      • scalzS Offline
                        scalzS Offline
                        scalz
                        Hardware Contributor
                        wrote on last edited by scalz
                        #56

                        @Tore-André-Rosander
                        for pros, I think serial gw is more secure. I mean esp is wifi, serial gw is only connected to controller. Of course controller is connected to network, but esp is just one more door directly connected to mysensors. Cons, not as verstatile as esp ;)

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          Fabien
                          wrote on last edited by
                          #57

                          And with RFM69, ESP and MySensors 2.0 doesn't work for me. With serial gateway, it's ok. With Ethernet Gateway W5100 and MYS 1.0, I lost lot of packets (NRF radio).

                          1 Reply Last reply
                          0
                          • Tore André RosanderT Offline
                            Tore André RosanderT Offline
                            Tore André Rosander
                            wrote on last edited by
                            #58

                            Thanks for the response, i tested the esp gateway and it looks good. But i think im going for the serial gateway just to eliminate the need for WiFi in my setup. So if the WiFi is messing up during the night the mysensors network still works.

                            1 Reply Last reply
                            0
                            • scalzS Offline
                              scalzS Offline
                              scalz
                              Hardware Contributor
                              wrote on last edited by scalz
                              #59

                              @Fabien ah weird.. for test, i have a working rfm69, esp mqtt and mysensors 2b gw.. but i don't know for the other esp gw.

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                tante ju
                                wrote on last edited by
                                #60

                                I like the new setup of the MySensors lib, but after getting some more gray hairs and replacing processors, boards and all the other stuff I noticed, there is something wrong with it.

                                Following effect (tried it with Arduino versions 1.6.3 up to 1.6.9 on a Mac with El Capitan):
                                I've setup a clean Arduino environment and installed the new MySensors lib. Wrote a program, where I wanted to test some interrupt routines with MySensor and it did not work. ok, seemed to be a bug and watchdog stepped in. Fixed software, rewrote software, created a small test program and always the same issue. I used Node Id 5 for this one.
                                Then, after a whole day and changing processors and all other stuff I loaded a file, working with 2.0-beta and using Node Id 7. And what I got where the same messages on the gateway, just with Node Id 7. ???
                                In fact I got a presentation of HUM (my tests with Node 5), but with Node 7, although the file never had anything to do with HUM.
                                Verseifen with an Arduino Nano board, installed a very small MySensor example script on it and same effect.

                                So, some pieces of the initial program were once compiled and resided in the system, regardless what source you are using afterwards.

                                Deleted the new 2.0.0 lib, installed my 2.0.0-beta and everything is fine. Switched back to 2.0.0 stable and instantly the old binary was back there.

                                Any ideas?

                                DrJeffD Tore André RosanderT 2 Replies Last reply
                                0
                                • T tante ju

                                  I like the new setup of the MySensors lib, but after getting some more gray hairs and replacing processors, boards and all the other stuff I noticed, there is something wrong with it.

                                  Following effect (tried it with Arduino versions 1.6.3 up to 1.6.9 on a Mac with El Capitan):
                                  I've setup a clean Arduino environment and installed the new MySensors lib. Wrote a program, where I wanted to test some interrupt routines with MySensor and it did not work. ok, seemed to be a bug and watchdog stepped in. Fixed software, rewrote software, created a small test program and always the same issue. I used Node Id 5 for this one.
                                  Then, after a whole day and changing processors and all other stuff I loaded a file, working with 2.0-beta and using Node Id 7. And what I got where the same messages on the gateway, just with Node Id 7. ???
                                  In fact I got a presentation of HUM (my tests with Node 5), but with Node 7, although the file never had anything to do with HUM.
                                  Verseifen with an Arduino Nano board, installed a very small MySensor example script on it and same effect.

                                  So, some pieces of the initial program were once compiled and resided in the system, regardless what source you are using afterwards.

                                  Deleted the new 2.0.0 lib, installed my 2.0.0-beta and everything is fine. Switched back to 2.0.0 stable and instantly the old binary was back there.

                                  Any ideas?

                                  DrJeffD Offline
                                  DrJeffD Offline
                                  DrJeff
                                  wrote on last edited by
                                  #61

                                  @tante-ju
                                  Jumped onto my ESXi server with a windows VM windows setup and the problem you are describing for the mac went away. I have El Cap on my mac with the same type of problems. Don't have an answers but windows worked fine. Wasted a couple of hours trying to fix also.

                                  1 Reply Last reply
                                  0
                                  • T tante ju

                                    I like the new setup of the MySensors lib, but after getting some more gray hairs and replacing processors, boards and all the other stuff I noticed, there is something wrong with it.

                                    Following effect (tried it with Arduino versions 1.6.3 up to 1.6.9 on a Mac with El Capitan):
                                    I've setup a clean Arduino environment and installed the new MySensors lib. Wrote a program, where I wanted to test some interrupt routines with MySensor and it did not work. ok, seemed to be a bug and watchdog stepped in. Fixed software, rewrote software, created a small test program and always the same issue. I used Node Id 5 for this one.
                                    Then, after a whole day and changing processors and all other stuff I loaded a file, working with 2.0-beta and using Node Id 7. And what I got where the same messages on the gateway, just with Node Id 7. ???
                                    In fact I got a presentation of HUM (my tests with Node 5), but with Node 7, although the file never had anything to do with HUM.
                                    Verseifen with an Arduino Nano board, installed a very small MySensor example script on it and same effect.

                                    So, some pieces of the initial program were once compiled and resided in the system, regardless what source you are using afterwards.

                                    Deleted the new 2.0.0 lib, installed my 2.0.0-beta and everything is fine. Switched back to 2.0.0 stable and instantly the old binary was back there.

                                    Any ideas?

                                    Tore André RosanderT Offline
                                    Tore André RosanderT Offline
                                    Tore André Rosander
                                    wrote on last edited by Tore André Rosander
                                    #62

                                    @tante-ju Some sort of cache problem? I had a similar issue with the beta, i used the clear eeprom sketch on the node and set a different node id manually and fixed it.

                                    EDIT: Had the same problem now with the v2 release, clear eeprom on the node solved it

                                    T 1 Reply Last reply
                                    0
                                    • Tore André RosanderT Tore André Rosander

                                      @tante-ju Some sort of cache problem? I had a similar issue with the beta, i used the clear eeprom sketch on the node and set a different node id manually and fixed it.

                                      EDIT: Had the same problem now with the v2 release, clear eeprom on the node solved it

                                      T Offline
                                      T Offline
                                      tante ju
                                      wrote on last edited by
                                      #63

                                      @Tore-André-Rosander said:

                                      @tante-ju Some sort of cache problem? I had a similar issue with the beta, i used the clear eeprom sketch on the node and set a different node id manually and fixed it.

                                      EDIT: Had the same problem now with the v2 release, clear eeprom on the node solved it

                                      Hi, as the same type of old code is written in a new proc, it could not be the EEPROM. The Arduino environment together with the new MySensors lib seems to build some object files only once and then uploads them all the time.

                                      1 Reply Last reply
                                      0
                                      • Lior RubinL Lior Rubin

                                        Hi, when I'm try to upload the sketch GatewayESP8266 I got the following error:

                                        In file included from /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/MySensors.h:299:0,
                                                         from /var/folders/l0/kxrb9wmd6rj651nw4gld5nx00000gn/T/arduino_modified_sketch_982538/GatewayESP8266.ino:137:
                                        /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/core/MyMainESP8266.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
                                         #include “Schedule.h”
                                                  ^
                                        In file included from /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/MySensors.h:299:0,
                                                         from /var/folders/l0/kxrb9wmd6rj651nw4gld5nx00000gn/T/arduino_modified_sketch_982538/GatewayESP8266.ino:137:
                                        /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/core/MyMainESP8266.cpp:13:26: fatal error: core_version.h: No such file or directory
                                         #include <core_version.h>
                                                                  ^
                                        compilation terminated.
                                        exit status 1
                                        Error compiling for board NodeMCU 1.0 (ESP-12E Module).
                                        

                                        Even when i try to comment the "Include Schedule.h" then i got an error about the "core_version.h" file.

                                        anyone ?

                                        ninkasiN Offline
                                        ninkasiN Offline
                                        ninkasi
                                        wrote on last edited by ninkasi
                                        #64

                                        @Lior-Rubin said:

                                        Hi, when I'm try to upload the sketch GatewayESP8266 I got the following error:

                                        In file included from /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/MySensors.h:299:0,
                                                         from /var/folders/l0/kxrb9wmd6rj651nw4gld5nx00000gn/T/arduino_modified_sketch_982538/GatewayESP8266.ino:137:
                                        /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/core/MyMainESP8266.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
                                         #include “Schedule.h”
                                                  ^
                                        In file included from /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/MySensors.h:299:0,
                                                         from /var/folders/l0/kxrb9wmd6rj651nw4gld5nx00000gn/T/arduino_modified_sketch_982538/GatewayESP8266.ino:137:
                                        /Users/liorrubin/Documents/Arduino/libraries/MySensors-2.0.0/core/MyMainESP8266.cpp:13:26: fatal error: core_version.h: No such file or directory
                                         #include <core_version.h>
                                                                  ^
                                        compilation terminated.
                                        exit status 1
                                        Error compiling for board NodeMCU 1.0 (ESP-12E Module).
                                        

                                        Even when i try to comment the "Include Schedule.h" then i got an error about the "core_version.h" file.

                                        anyone ?

                                        Just started playing with mysensors - in my case trying to use a WeMos D1R2. I was getting the same errors - although I can happily compile other sketches on the boards so I knew it wasn't me.... well, probably not entirely. I think maybe because I've only recently started using it perhaps I don't have older libraries installed as well as the current ones? Anyhow, horrible hack is as follows:

                                        1. Go to https://github.com/esp8266/Arduino
                                        2. Download the core branch
                                        3. Open the zip file and go to the cores/esp8266 directory (yes you can also download just the files below individually, but I have found in the past you can have issues with corrupted files doing it that way - feel free to give it a go if you want)
                                        4. Copy the files Schedule.cpp, Schedule.h, and core_version.h and put them into your arduino\libraries\MySensors-master directory

                                        Compile away and hopefully it will work this time! Did for me...... ;-)

                                        Note - if you decide to use your board for sensors as well you may have to copy over other supporting files.

                                        Cheers

                                        Update - for some weird reason errors came back, and I could not trace the cause easily. Decided to do a clean install - backup up my sketches, and removed the Arduino IDE along with the libraries. Note that on my mac there was a library folder both in my documents as well as in username\Library. Anyhow, reinstalled, re-downloaded everything, and my sketches compiled without an issue.

                                        1 Reply Last reply
                                        0
                                        • Борис БашкинцевБ Offline
                                          Борис БашкинцевБ Offline
                                          Борис Башкинцев
                                          wrote on last edited by Борис Башкинцев
                                          #65

                                          What does it mean?
                                          "Gateway just another sensor node! So now you can have wired ethernet sensors and wireless ESP8266 sensors without any radio attach if you want."

                                          I have serial gateway with nfr radio, connected to PC with home assistant. How can I add ethernet node without radio to this setup? How it will be talk with gateway?

                                          AnticimexA 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          10

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular