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. Development
  3. NodeManager
  4. NodeManager: plugin for a rapid development of battery-powered sensors

NodeManager: plugin for a rapid development of battery-powered sensors

Scheduled Pinned Locked Moved NodeManager
223 Posts 23 Posters 72.9k Views 26 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.
  • U Offline
    U Offline
    user2684
    Contest Winner
    wrote on last edited by user2684
    #184

    Hello, NodeManager's version 1.6 is almost ready. Plenty of new things and fixes are about to be available but I'd need some diverse testing before officially releasing it.

    The first step would be to ensure that what was working with the current version is still working with this new release :)

    All the new things are instead detailed here https://github.com/mysensors/NodeManager/issues?utf8=✓&q=milestone%3Av1.6 is%3Aclosed label%3Afixed and in the associated PRs.

    The code is available at https://github.com/mysensors/NodeManager/tree/development.

    Whoever is willing to give it a try, please report any issue directly on github whenever there is already an issue open or on https://forum.mysensors.org/topic/7266/nodemanager-v1-6-dev-comments-and-issues otherwise.

    Ideally I'm targeting mid August for releasing a stable v1.6.

    Many thanks!

    1 Reply Last reply
    2
    • G Offline
      G Offline
      Getz99
      wrote on last edited by
      #185

      @user2684
      Hello,
      I'm using NM for all my projects and I really like it!
      Will NodeManager support APDS-9960 RGB and Gesture Sensor in the future?

      Thanks

      U 1 Reply Last reply
      0
      • G Getz99

        @user2684
        Hello,
        I'm using NM for all my projects and I really like it!
        Will NodeManager support APDS-9960 RGB and Gesture Sensor in the future?

        Thanks

        U Offline
        U Offline
        user2684
        Contest Winner
        wrote on last edited by
        #186

        @Getz99 thanks for your feedback! I've created https://github.com/mysensors/NodeManager/issues/201 to track this request. Keep in mind no new features will be part of v1.6 which should be released soon so I've added this to the v1.7 backlog. Thanks

        G 1 Reply Last reply
        0
        • U user2684

          @Getz99 thanks for your feedback! I've created https://github.com/mysensors/NodeManager/issues/201 to track this request. Keep in mind no new features will be part of v1.6 which should be released soon so I've added this to the v1.7 backlog. Thanks

          G Offline
          G Offline
          Getz99
          wrote on last edited by
          #187

          @user2684 Thanks! I understand it will not be in v1.6, I'm waiting for that release!

          1 Reply Last reply
          0
          • U Offline
            U Offline
            user2684
            Contest Winner
            wrote on last edited by
            #188

            Hi, kind of the the last chance to share any feedback regarding NodeManager v1.6-dev which is almost ready and should be out in a week or two.

            Instructions on how to test the pre-release and report issues here: https://forum.mysensors.org/topic/6183/nodemanager-plugin-for-a-rapid-development-of-battery-powered-sensors/184

            Thanks!

            1 Reply Last reply
            1
            • U Offline
              U Offline
              user2684
              Contest Winner
              wrote on last edited by
              #189

              Hello All,

              NodeManager v1.6 is finally available! Download and upgrade instructions can be found as always on https://github.com/mysensors/NodeManager

              First of all I want to thank everybody contributing to the project, especially those who have submitted pull requests to the repository.

              In v1.6 we have 36 out-of-the-box sensors as well as a good number fixes and enhancements. The most notable are for sure the capability to customize any sensor remotely through a brand new remote API and a more flexible and effective way to configure reporting intervals and sleep cycles:

              • Introduced new remote API to allow calling almost ALL NodeManager's and its sensors' functions remotely
              • Reporting interval configuration is now indipendent from the sleep cycle
              • Reporting interval can be customized per-sensor
              • All intervals (measure/battery reports) are now time-based
              • Added support for BMP280 temperature and pressure sensor
              • Added support for RS485 serial transport
              • Added support for TSL2561 light sensor
              • Added support for DHT21 temperature/humidity sensor
              • Added support for AM2320 temperature/humidity sensor
              • Added support for PT100 high temperature sensor
              • Added support for MH-Z19 CO2 sensor
              • Added support for analog rain and soil moisture sensors
              • Added support for generic dimmer sensor (PWM output)
              • Added support for power and water meter pulse sensors
              • Radio signal level (RSSI) is now reported automatically like the battery level
              • SensorRainGauge now supports sleep mode
              • SensorSwitch now supports awake mode
              • SensorLatchingRealy now handles automatically both on and off commands
              • SensorMQ now depends on its own module
              • Added safeguard (automatic off) to SensorDigitalOutput
              • Any sensor can now access all NodeManager's functions
              • DHT sensor now using MySensors' DHT library

              For those who have previously forked the repository, please ensure to merge the updated development branch first before submitting any new PR.

              Thanks!

              B 1 Reply Last reply
              4
              • U user2684

                Hello All,

                NodeManager v1.6 is finally available! Download and upgrade instructions can be found as always on https://github.com/mysensors/NodeManager

                First of all I want to thank everybody contributing to the project, especially those who have submitted pull requests to the repository.

                In v1.6 we have 36 out-of-the-box sensors as well as a good number fixes and enhancements. The most notable are for sure the capability to customize any sensor remotely through a brand new remote API and a more flexible and effective way to configure reporting intervals and sleep cycles:

                • Introduced new remote API to allow calling almost ALL NodeManager's and its sensors' functions remotely
                • Reporting interval configuration is now indipendent from the sleep cycle
                • Reporting interval can be customized per-sensor
                • All intervals (measure/battery reports) are now time-based
                • Added support for BMP280 temperature and pressure sensor
                • Added support for RS485 serial transport
                • Added support for TSL2561 light sensor
                • Added support for DHT21 temperature/humidity sensor
                • Added support for AM2320 temperature/humidity sensor
                • Added support for PT100 high temperature sensor
                • Added support for MH-Z19 CO2 sensor
                • Added support for analog rain and soil moisture sensors
                • Added support for generic dimmer sensor (PWM output)
                • Added support for power and water meter pulse sensors
                • Radio signal level (RSSI) is now reported automatically like the battery level
                • SensorRainGauge now supports sleep mode
                • SensorSwitch now supports awake mode
                • SensorLatchingRealy now handles automatically both on and off commands
                • SensorMQ now depends on its own module
                • Added safeguard (automatic off) to SensorDigitalOutput
                • Any sensor can now access all NodeManager's functions
                • DHT sensor now using MySensors' DHT library

                For those who have previously forked the repository, please ensure to merge the updated development branch first before submitting any new PR.

                Thanks!

                B Offline
                B Offline
                betonmoewe
                wrote on last edited by
                #190

                @user2684

                Hi,

                thanks again for your great work!

                As I said, I will try to include my Chirp module into 1.7 via a github branch/fork. You wrote in your explanation of "contributing to the code", that it is not allowed, to change config.h. But how should I include the lines for the chirp sensor?
                And in wich way can the documentation be modified? (chirp sensor paramaters)

                Best regards

                Betonmoewe

                U 1 Reply Last reply
                0
                • B betonmoewe

                  @user2684

                  Hi,

                  thanks again for your great work!

                  As I said, I will try to include my Chirp module into 1.7 via a github branch/fork. You wrote in your explanation of "contributing to the code", that it is not allowed, to change config.h. But how should I include the lines for the chirp sensor?
                  And in wich way can the documentation be modified? (chirp sensor paramaters)

                  Best regards

                  Betonmoewe

                  U Offline
                  U Offline
                  user2684
                  Contest Winner
                  wrote on last edited by
                  #191

                  @betonmoewe if I wrote that config.h cannot be changed, I wrote something wrong :-) You can change whatever of course, just keep changes to config.h and the main sketch to the minimum since those can only be upgraded manually and not just by replacing the files. To add a new sensor, have a look at one of the existing sensors. Documentation can be updated as well by changing the README file. Should you have any doubt or issue feel free to open a new thread on https://forum.mysensors.org/category/43/nodemanager. Thanks!

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vikasjee
                    wrote on last edited by
                    #192

                    When do you plan to release V1.7 ?

                    U 2 Replies Last reply
                    0
                    • V vikasjee

                      When do you plan to release V1.7 ?

                      U Offline
                      U Offline
                      user2684
                      Contest Winner
                      wrote on last edited by
                      #193

                      @vikasjee realistically it will take a while unfortunately :( I'm now spending most of my little spare time on https://github.com/mysensors/NodeManager/pull/229 which is kind of difficult to fix. Only after I will go through the (long) list of fixes/requests queued for v1.7 :)

                      1 Reply Last reply
                      0
                      • V vikasjee

                        When do you plan to release V1.7 ?

                        U Offline
                        U Offline
                        user2684
                        Contest Winner
                        wrote on last edited by
                        #194

                        @vikasjee FYI the blocking issue which was slowing down v1.7 development has been solved now (https://forum.mysensors.org/topic/6534/nodemanager/133). Still a long way to get there but at least a bit closer now :)
                        Thanks

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          Getz99
                          wrote on last edited by
                          #195

                          Hi @user2684
                          Is it possible to add sensor MG996R Servo in V1.7? I know the list is long for fixes but it would be nice if you could squeeze it in.

                          Thanks!

                          U 1 Reply Last reply
                          0
                          • G Getz99

                            Hi @user2684
                            Is it possible to add sensor MG996R Servo in V1.7? I know the list is long for fixes but it would be nice if you could squeeze it in.

                            Thanks!

                            U Offline
                            U Offline
                            user2684
                            Contest Winner
                            wrote on last edited by
                            #196

                            @getz99 I've added this feature request for this: https://github.com/mysensors/NodeManager/issues/253

                            Thanks!

                            G 1 Reply Last reply
                            0
                            • U user2684

                              @getz99 I've added this feature request for this: https://github.com/mysensors/NodeManager/issues/253

                              Thanks!

                              G Offline
                              G Offline
                              Getz99
                              wrote on last edited by
                              #197

                              @user2684 Thanks, Very much appreciated!

                              1 Reply Last reply
                              0
                              • jsiddallJ Offline
                                jsiddallJ Offline
                                jsiddall
                                Plugin Developer
                                wrote on last edited by
                                #198

                                I grabbed the latest development branch tonight to try this out. I saved the NodeManager.ino as a new name and copied the NodeManagerLibrary.h and NodeManagerLibrary.ino files into the new folder. I enabled USE_DIGITAL_OUTPUT and added a SensorDigitalOutput and SensorRelay child in my sketch and tried to compile. Unfortunately I got these errors:

                                In file included from ino:244:0:
                                sketch/NodeManagerLibrary.h:549:27: error: 'SR_RX_RSSI' was not declared in this scope
                                     int _signal_command = SR_RX_RSSI;
                                                           ^
                                /NodeManagerLibrary.ino: In member function 'virtual void SensorSignal::onLoop(Child*)':
                                /NodeManagerLibrary.ino:741:45: error: 'signalReport_t' was not declared in this scope
                                   int16_t value = transportGetSignalReport((signalReport_t)_signal_command);
                                                                             ^
                                /NodeManagerLibrary.ino:741:75: error: 'transportGetSignalReport' was not declared in this scope
                                   int16_t value = transportGetSignalReport((signalReport_t)_signal_command);
                                                                                                           ^
                                exit status 1
                                Error compiling for board Arduino Nano.
                                

                                All seems to be related to signal reports but even if I disable signal reporting the errors still occur. Guessing I did something wrong so any ideas would be appreciated.

                                Thanks!

                                U 1 Reply Last reply
                                0
                                • jsiddallJ jsiddall

                                  I grabbed the latest development branch tonight to try this out. I saved the NodeManager.ino as a new name and copied the NodeManagerLibrary.h and NodeManagerLibrary.ino files into the new folder. I enabled USE_DIGITAL_OUTPUT and added a SensorDigitalOutput and SensorRelay child in my sketch and tried to compile. Unfortunately I got these errors:

                                  In file included from ino:244:0:
                                  sketch/NodeManagerLibrary.h:549:27: error: 'SR_RX_RSSI' was not declared in this scope
                                       int _signal_command = SR_RX_RSSI;
                                                             ^
                                  /NodeManagerLibrary.ino: In member function 'virtual void SensorSignal::onLoop(Child*)':
                                  /NodeManagerLibrary.ino:741:45: error: 'signalReport_t' was not declared in this scope
                                     int16_t value = transportGetSignalReport((signalReport_t)_signal_command);
                                                                               ^
                                  /NodeManagerLibrary.ino:741:75: error: 'transportGetSignalReport' was not declared in this scope
                                     int16_t value = transportGetSignalReport((signalReport_t)_signal_command);
                                                                                                             ^
                                  exit status 1
                                  Error compiling for board Arduino Nano.
                                  

                                  All seems to be related to signal reports but even if I disable signal reporting the errors still occur. Guessing I did something wrong so any ideas would be appreciated.

                                  Thanks!

                                  U Offline
                                  U Offline
                                  user2684
                                  Contest Winner
                                  wrote on last edited by
                                  #199

                                  @jsiddall thanks for this hit, the issue seems to be related to SR_RX_RSSI which is only available with 2.2.0-beta version of the MySensors library, not 2.1.1 which I guess you are using. Something which needs to be fixed on the NodeManager's side, I've opened https://github.com/mysensors/NodeManager/issues/256 for this. Thanks

                                  1 Reply Last reply
                                  0
                                  • jsiddallJ Offline
                                    jsiddallJ Offline
                                    jsiddall
                                    Plugin Developer
                                    wrote on last edited by jsiddall
                                    #200

                                    @user2684 Great, thanks for the quick response.

                                    UPDATE: Confirmed, all is good with MyS 2.2.0-rc2. Not sure what resolution you had in mind for issue #256 but a note in the installation section of this page:

                                    https://www.mysensors.org/download/node-manager

                                    ...stating the required version of MyS for both the stable and dev versions of NodeManager would probably have been enough to keep me out of trouble!

                                    Thanks again for NodeManager. It does everything I had been doing manually before, using pages of sketch, and shrinks it down to a few simple lines.

                                    U 1 Reply Last reply
                                    0
                                    • jsiddallJ jsiddall

                                      @user2684 Great, thanks for the quick response.

                                      UPDATE: Confirmed, all is good with MyS 2.2.0-rc2. Not sure what resolution you had in mind for issue #256 but a note in the installation section of this page:

                                      https://www.mysensors.org/download/node-manager

                                      ...stating the required version of MyS for both the stable and dev versions of NodeManager would probably have been enough to keep me out of trouble!

                                      Thanks again for NodeManager. It does everything I had been doing manually before, using pages of sketch, and shrinks it down to a few simple lines.

                                      U Offline
                                      U Offline
                                      user2684
                                      Contest Winner
                                      wrote on last edited by
                                      #201

                                      @jsiddall thanks, fixed in the development branch right now. Adding a compatibility table between NodeManager and the MySensors library version sounds like a good idea, I've added https://github.com/mysensors/NodeManager/issues/261 for this. Thanks again

                                      1 Reply Last reply
                                      0
                                      • mar.conteM Offline
                                        mar.conteM Offline
                                        mar.conte
                                        wrote on last edited by mar.conte
                                        #202

                                        GHi, the rfm95 is compatible with nodemanager?
                                        And the esp32 also?

                                        M.C.

                                        U 1 Reply Last reply
                                        0
                                        • mar.conteM mar.conte

                                          GHi, the rfm95 is compatible with nodemanager?
                                          And the esp32 also?

                                          U Offline
                                          U Offline
                                          user2684
                                          Contest Winner
                                          wrote on last edited by
                                          #203

                                          @mar-conte everything supported by the core MySensors library is supported by NodeManager since using the same code behind the scene but I'll add some default defines in the main sketch to make this configuration easier (https://github.com/mysensors/NodeManager/issues/262). Thanks

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


                                          16

                                          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