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.
  • 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
      • Борис БашкинцевБ Борис Башкинцев

        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 Offline
        AnticimexA Offline
        Anticimex
        Contest Winner
        wrote on last edited by
        #66

        @Борис-Башкинцев i believe it is to be interpreted as you set up "many" gateways, but you don't mount radios on them. Instead you connect sensors directly to the gateway and then connect the gateways to your controller. Using WiFi or ethernet. That way, your gateways act as a sort of sensor node network connected using WiFi/ethernet instead of NRF or RFM radios.

        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

        1 Reply Last reply
        0
        • hekH hek

          Yes, this in the new normal... we moved all the examples using external library dependencies into https://github.com/mysensors/MySensorsArduinoExamples until we can figure out which ones work with auto-dependency-download using the IDE Library Manager.

          We would really appreciate some help doing the verification.

          Mark SwiftM Offline
          Mark SwiftM Offline
          Mark Swift
          wrote on last edited by
          #67

          @hek said:

          Yes, this in the new normal... we moved all the examples using external library dependencies into https://github.com/mysensors/MySensorsArduinoExamples until we can figure out which ones work with auto-dependency-download using the IDE Library Manager.

          We would really appreciate some help doing the verification.

          How does the auto download work @hek

          1 Reply Last reply
          0
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #68

            @Mark-Swift, you mean the verification of the moved examples?

            1 Reply Last reply
            0
            • Daniel OliveiraD Offline
              Daniel OliveiraD Offline
              Daniel Oliveira
              wrote on last edited by
              #69

              Hi all,

              I'm sorry if this was already answered.

              But how should we manage libraries that were included in the MySensors 1.5.x and are no more in the 2.0.x?
              For example DHT and BH1750.

              Thank you in advance,
              Daniel

              MySensors rules my home :)

              1 Reply Last reply
              0
              • fetsF Offline
                fetsF Offline
                fets
                wrote on last edited by
                #70

                @Daniel-Oliveira check previous hek's answer

                1 Reply Last reply
                0
                • AnticimexA Anticimex

                  :mega: We are happy to announce a major release of the MySensors library to 2.0.0!
                  For details, see here.
                  Doxygen links on the master github frontpage are not working. These are the correct links:
                  master development

                  B Offline
                  B Offline
                  bomber
                  wrote on last edited by
                  #71

                  @Anticimex Lots of nice features are listed in announcement!

                  Where I can find documentation for v2?
                  I'd like to try MQTT gateway on W5500 chip and I'd like to test sensors connected directly to gateway but I have no clue how to start.

                  Vj

                  blaceyB alfredbA 2 Replies Last reply
                  0
                  • B bomber

                    @Anticimex Lots of nice features are listed in announcement!

                    Where I can find documentation for v2?
                    I'd like to try MQTT gateway on W5500 chip and I'd like to test sensors connected directly to gateway but I have no clue how to start.

                    Vj

                    blaceyB Offline
                    blaceyB Offline
                    blacey
                    Admin
                    wrote on last edited by
                    #72

                    @bomber API 2.0

                    1 Reply Last reply
                    1
                    • B bomber

                      @Anticimex Lots of nice features are listed in announcement!

                      Where I can find documentation for v2?
                      I'd like to try MQTT gateway on W5500 chip and I'd like to test sensors connected directly to gateway but I have no clue how to start.

                      Vj

                      alfredbA Offline
                      alfredbA Offline
                      alfredb
                      wrote on last edited by
                      #73

                      @bomber I'm using a W5500 with locally attached sensors, only thing you have to do is use a customized version of the Ethernet library. Like this one https://github.com/embeddist/WIZ_Ethernet_Library-IDE1.6.x.

                      1 Reply 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 :))

                        mppM Offline
                        mppM Offline
                        mpp
                        wrote on last edited by
                        #74

                        Hi @tekka Some documentation on "pm open,type:2 0" and what it means would be useful.

                        MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

                        tekkaT 1 Reply Last reply
                        0
                        • mppM mpp

                          Hi @tekka Some documentation on "pm open,type:2 0" and what it means would be useful.

                          tekkaT Offline
                          tekkaT Offline
                          tekka
                          Admin
                          wrote on last edited by
                          #75

                          @mpp said in MySensors 2.0.0 Released:

                          pm open,type:2 0

                          This is a message emitted by the ESP8266 core, not MySensors related.

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


                          17

                          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