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 73.0k 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.
  • mar.conteM mar.conte

    I noticed that the battery report if set to one hour does not happen every hour ...

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

    @mar.conte said in NodeManager: plugin for a rapid development of battery-powered sensors:

    I noticed that the battery report if set to one hour does not happen every hour ...

    More details please :-) Does not happen at all, it is not regular, happens every other hour, etc. what is the case?
    Thanks!

    mar.conteM 1 Reply Last reply
    0
    • U user2684

      @mar.conte said in NodeManager: plugin for a rapid development of battery-powered sensors:

      I noticed that the battery report if set to one hour does not happen every hour ...

      More details please :-) Does not happen at all, it is not regular, happens every other hour, etc. what is the case?
      Thanks!

      mar.conteM Offline
      mar.conteM Offline
      mar.conte
      wrote on last edited by
      #114

      @user2684
      It happens even if i put 6 hours or every 3 hours so in the specified hours it is not regular the report sometimes jumps some report

      M.C.

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

        @user2684
        It happens even if i put 6 hours or every 3 hours so in the specified hours it is not regular the report sometimes jumps some report

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

        @mar.conte said in NodeManager: plugin for a rapid development of battery-powered sensors:

        It happens even if i put 6 hours or every 3 hours so in the specified hours it is not regular the report sometimes jumps some report

        Ok, I'd probably need both MySensors and NodeManagers's logs to troubleshoot this, just to ensure there is no failure in sending out the messages as I've seen in the other logs you have previously shared.

        Thanks!

        mar.conteM 1 Reply Last reply
        1
        • U user2684

          @mar.conte said in NodeManager: plugin for a rapid development of battery-powered sensors:

          It happens even if i put 6 hours or every 3 hours so in the specified hours it is not regular the report sometimes jumps some report

          Ok, I'd probably need both MySensors and NodeManagers's logs to troubleshoot this, just to ensure there is no failure in sending out the messages as I've seen in the other logs you have previously shared.

          Thanks!

          mar.conteM Offline
          mar.conteM Offline
          mar.conte
          wrote on last edited by
          #116

          @user2684
          Ok Tanks

          M.C.

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

            Then solved the problem of the accuracy of the battery report: basically I did not realize that the sleep wait time started from the last pir movement then if i put an hour of sleep and during this active time the pir time resumes; The communication problems I solved them by letting antenna from rfm69 so every hour the battery report does not even send pir moviment
            ....Very strange my rfm69 modules communicate better without an antenna even at a distance of 10 meters with a wall

            M.C.

            U 1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #118

              There is a risk of damaging the radio module if you don't use an antenna. Also a wrong tuned antenna will make transmitting more difficult.

              mar.conteM 1 Reply Last reply
              0
              • gohanG gohan

                There is a risk of damaging the radio module if you don't use an antenna. Also a wrong tuned antenna will make transmitting more difficult.

                mar.conteM Offline
                mar.conteM Offline
                mar.conte
                wrote on last edited by
                #119

                @gohan
                Ok Tanks, but the 86 mm wire for 868 what is Ideal diameter and thread type for simple antenna no dipole e non ground ant?

                M.C.

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by gohan
                  #120

                  Found in another forum

                  433 1/4 wave = 164.7mm
                  433 1/2 wave = 329.4mm
                  433 full wave = 692.7mm

                  868 1/4 wave = 82.2mm
                  868 1/2 wave = 164.3mm
                  868 full wave = 345.5mm

                  915 1/4 wave = 77.9mm
                  915 1/2 wave = 155.9mm
                  915 full wave = 327.8mm

                  Try shortening a little bit. What kind of wire are you using?

                  mar.conteM 2 Replies Last reply
                  1
                  • gohanG gohan

                    Found in another forum

                    433 1/4 wave = 164.7mm
                    433 1/2 wave = 329.4mm
                    433 full wave = 692.7mm

                    868 1/4 wave = 82.2mm
                    868 1/2 wave = 164.3mm
                    868 full wave = 345.5mm

                    915 1/4 wave = 77.9mm
                    915 1/2 wave = 155.9mm
                    915 full wave = 327.8mm

                    Try shortening a little bit. What kind of wire are you using?

                    mar.conteM Offline
                    mar.conteM Offline
                    mar.conte
                    wrote on last edited by
                    #121

                    @gohan
                    Wery good Tanks gohan

                    M.C.

                    1 Reply Last reply
                    0
                    • gohanG gohan

                      Found in another forum

                      433 1/4 wave = 164.7mm
                      433 1/2 wave = 329.4mm
                      433 full wave = 692.7mm

                      868 1/4 wave = 82.2mm
                      868 1/2 wave = 164.3mm
                      868 full wave = 345.5mm

                      915 1/4 wave = 77.9mm
                      915 1/2 wave = 155.9mm
                      915 full wave = 327.8mm

                      Try shortening a little bit. What kind of wire are you using?

                      mar.conteM Offline
                      mar.conteM Offline
                      mar.conte
                      wrote on last edited by
                      #122

                      @gohan
                      Normal wire electric 1 mm diameter

                      M.C.

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #123

                        Single core or threaded?

                        mar.conteM 1 Reply Last reply
                        0
                        • gohanG gohan

                          Single core or threaded?

                          mar.conteM Offline
                          mar.conteM Offline
                          mar.conte
                          wrote on last edited by
                          #124

                          @gohan
                          Threaded

                          M.C.

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #125

                            You need to use single core, that's why it is not working well

                            mar.conteM 1 Reply Last reply
                            0
                            • gohanG gohan

                              You need to use single core, that's why it is not working well

                              mar.conteM Offline
                              mar.conteM Offline
                              mar.conte
                              wrote on last edited by
                              #126

                              @gohan
                              Should it be isolated or even without a sheath?

                              M.C.

                              1 Reply Last reply
                              0
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #127

                                I think you can leave insulation on; there are some guides on how to make antennas for rfm69,just Google it. In addition there are also spring single wire antennas for different frequencies you can buy.

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

                                  Then solved the problem of the accuracy of the battery report: basically I did not realize that the sleep wait time started from the last pir movement then if i put an hour of sleep and during this active time the pir time resumes; The communication problems I solved them by letting antenna from rfm69 so every hour the battery report does not even send pir moviment
                                  ....Very strange my rfm69 modules communicate better without an antenna even at a distance of 10 meters with a wall

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

                                  @mar.conte said in NodeManager: plugin for a rapid development of battery-powered sensors:

                                  I did not realize that the sleep wait time started from the last pir movement then if i put an hour of sleep and during this active time the pir time resumes

                                  Yes, when the pir wakes the node up, the sleep is aborted and when going back to sleep, it starts from scratch without resuming it. If this is not creating an issue, I'll keep the current behavior. Regarding the antenna, I'm using the small antennas from the store for my RFM69 and have a decent range without big issues.

                                  mar.conteM 1 Reply Last reply
                                  0
                                  • U user2684

                                    @mar.conte said in NodeManager: plugin for a rapid development of battery-powered sensors:

                                    I did not realize that the sleep wait time started from the last pir movement then if i put an hour of sleep and during this active time the pir time resumes

                                    Yes, when the pir wakes the node up, the sleep is aborted and when going back to sleep, it starts from scratch without resuming it. If this is not creating an issue, I'll keep the current behavior. Regarding the antenna, I'm using the small antennas from the store for my RFM69 and have a decent range without big issues.

                                    mar.conteM Offline
                                    mar.conteM Offline
                                    mar.conte
                                    wrote on last edited by
                                    #129

                                    @user2684
                                    Tanks of course bye

                                    M.C.

                                    1 Reply Last reply
                                    0
                                    • B Offline
                                      B Offline
                                      bilbolodz
                                      wrote on last edited by gohan
                                      #130

                                      I'm trying to build sensor to drive 3 relays and connect it to Domoticz. Simple sketch:

                                      // before
                                      void before() {
                                        // setup the serial port baud rate
                                        Serial.begin(MY_BAUD_RATE);  
                                        /*
                                         * Register below your sensors
                                        */
                                      int przek1 = nodeManager.registerSensor(SENSOR_RELAY,3);
                                      int przek2 = nodeManager.registerSensor(SENSOR_RELAY,4);
                                        /*
                                         * Register above your sensors
                                        */
                                        nodeManager.before();
                                      }
                                      

                                      sensors are visible into Domoticz as switches but It's not possible to turn it on/off from Domoticz. It looks that Nodemanager expect REQ message to change state of relay but Domoticz sends SET message to change state:

                                      RECV S=0 I=3 C=1 T=2 D=1
                                      RECV S=0 I=3 C=1 T=2 D=0

                                      When I've used MYSController and send C_REQ message all is working fine.

                                      I think that in case of "output" sensors logic of getting/setting should be reversed.

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

                                        Hello, I think I was able to implement most of the requests discussed here during the last few weeks in a pre-release v1.5 version. Please consider it still as a dev release which gone through very limited testing but since I had to make quite a few changes to core code, would be great to start collecting some feedback now.

                                        Is is available here: https://github.com/mysensors/NodeManager/tree/9a485cdcaf8e9856219338553335e2dce7253eb3

                                        It is complicated to reference each of you who requested something so please whoever is interested the full list of new additions/fixes is available here https://github.com/mysensors/NodeManager/milestone/5?closed=1. I did my best to add verbose comments so you should find all the details there. Please add any comment and report any problem directly to the existing issues on github so I can better understand the context. The documentation has been updated as well.
                                        Thanks

                                        mar.conteM 1 Reply Last reply
                                        0
                                        • U user2684

                                          Hello, I think I was able to implement most of the requests discussed here during the last few weeks in a pre-release v1.5 version. Please consider it still as a dev release which gone through very limited testing but since I had to make quite a few changes to core code, would be great to start collecting some feedback now.

                                          Is is available here: https://github.com/mysensors/NodeManager/tree/9a485cdcaf8e9856219338553335e2dce7253eb3

                                          It is complicated to reference each of you who requested something so please whoever is interested the full list of new additions/fixes is available here https://github.com/mysensors/NodeManager/milestone/5?closed=1. I did my best to add verbose comments so you should find all the details there. Please add any comment and report any problem directly to the existing issues on github so I can better understand the context. The documentation has been updated as well.
                                          Thanks

                                          mar.conteM Offline
                                          mar.conteM Offline
                                          mar.conte
                                          wrote on last edited by
                                          #132

                                          @user2684
                                          👍🏾

                                          M.C.

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


                                          6

                                          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