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. Sensebender Micro

Sensebender Micro

Scheduled Pinned Locked Moved Announcements
584 Posts 84 Posters 401.8k Views 35 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.
  • F Offline
    F Offline
    Fabien
    wrote on last edited by
    #221

    I try to make OTA update for sensebender using 1.5 branch sketch on the sensebender (sensebender github sketch from 1.5 branch) and MYSController but it doesn't work. Any idea ?

    tbowmoT tekkaT 2 Replies Last reply
    0
    • F Fabien

      I try to make OTA update for sensebender using 1.5 branch sketch on the sensebender (sensebender github sketch from 1.5 branch) and MYSController but it doesn't work. Any idea ?

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

      @Fabien

      Have you enabled spi flash, and Ota functions in the constructors for mysensors?

      1 Reply Last reply
      0
      • F Fabien

        I try to make OTA update for sensebender using 1.5 branch sketch on the sensebender (sensebender github sketch from 1.5 branch) and MYSController but it doesn't work. Any idea ?

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

        @Fabien MYSController is currently not supporting Sensebender board OTA - however, WIP and beta will be released soon. stay tuned :)

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

          @tekka
          Have you had the chance to get a sensebender board? As I still haven't verified the library code it probably could contain unverified features (== bug). Send me a ping on hangout if you need a board to test on. We should probably combine our effort.

          My last days of vacation has been filled with (family) activities. On my shortlist is the thermostat/HVAC device support (still a bit messy but I hope to get the devices from dev-branch into master together with the hvac thingies). Ping @pjr, @stephenmhall .
          http://forum.mysensors.org/topic/1337/request-new-sensor-type-thermostatically-controlled-switch/7

          1 Reply Last reply
          0
          • hekH hek

            Yes, it works in UI7. Are you using the correct Vera-branch?

            https://github.com/mysensors/Vera/tree/UI7

            K Offline
            K Offline
            Kurtsejr
            wrote on last edited by
            #225

            @hek
            I have used the one mentioned here: http://www.mysensors.org/controller/vera

            Still cant include, but I have had these problems before with e.g. a relay or motion sensor - but after several tries it include a appear in the user interface.
            But perhaps the software installed on the board does not use the same frequency as default Sensornet lib's are using?

            /Kurt

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

              Thank you @tekka and @tbowmo. I don't change the constructors and if MYS doesn't support OTA, it can't work. I will upload a modified version tonight to be ready when MYSConrtoller will support sensebender.
              I have to upload new sketch with 1.5 branch on gateway too ?

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gloob
                wrote on last edited by
                #227

                Today I received a new batch of radio modules and all problems with transmission fails is gone.

                Moshe LivneM 1 Reply Last reply
                0
                • G gloob

                  Today I received a new batch of radio modules and all problems with transmission fails is gone.

                  Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #228

                  @gloob can you share where you got the good nrf from?

                  G 1 Reply Last reply
                  0
                  • Moshe LivneM Moshe Livne

                    @gloob can you share where you got the good nrf from?

                    G Offline
                    G Offline
                    gloob
                    wrote on last edited by
                    #229

                    @Moshe-Livne This time I ordered the modules from a german eBay seller:

                    http://www.ebay.de/itm/201279950473?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mvader
                      wrote on last edited by
                      #230

                      @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                      and they were all legit NRF's came in their own boxes and have worked great.
                      http://imall.itead.cc/wireless/im120606002.html

                      NeverDieN 2 Replies Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by hek
                        #231

                        My Sensebender has been running for a month now with 2xAA with the default sketch (which have improved a bit since then). Battery level has dropped 5%.

                        Screen Shot 2015-07-16 at 17.35.12.png

                        We've had a few hot days (inside the house) during the summer (Deg C).
                        Screen Shot 2015-07-16 at 17.39.57.png

                        1 Reply Last reply
                        0
                        • M mvader

                          @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                          and they were all legit NRF's came in their own boxes and have worked great.
                          http://imall.itead.cc/wireless/im120606002.html

                          NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #232

                          @mvader said:

                          @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                          and they were all legit NRF's came in their own boxes and have worked great.
                          http://imall.itead.cc/wireless/im120606002.html

                          Thanks for the tip! I just ordered some.

                          1 Reply Last reply
                          0
                          • 5546dug5 Offline
                            5546dug5 Offline
                            5546dug
                            wrote on last edited by
                            #233

                            @hek interesting my 2aa alkaline batteries are down 15% in a month with sketch supplied on board.
                            I will keep track. But to grAph I need the Ethernet gw am building it next.

                            1 Reply Last reply
                            0
                            • M mvader

                              @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                              and they were all legit NRF's came in their own boxes and have worked great.
                              http://imall.itead.cc/wireless/im120606002.html

                              NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by
                              #234

                              @mvader said:

                              @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                              and they were all legit NRF's came in their own boxes and have worked great.
                              http://imall.itead.cc/wireless/im120606002.html

                              Do they "just work out of the box" or do they benefit from the 10uF capacitor that some boards allegedly seem to need?

                              M 1 Reply Last reply
                              0
                              • tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #235

                                @NeverDie

                                I'm not using an extra capacitor on the 3 sensebenders (from itead) that I have in operation at the moment. and they are working without problems.

                                1 Reply Last reply
                                0
                                • rvendrameR Offline
                                  rvendrameR Offline
                                  rvendrame
                                  Hero Member
                                  wrote on last edited by
                                  #236

                                  Batteries usually provide a 'clean' power supply. The capacitor is more useful when there is ripple from the AC adapter.

                                  Home Assistant / Vera Plus UI7
                                  ESP8266 GW + mySensors 2.3.2
                                  Alexa / Google Home

                                  1 Reply Last reply
                                  1
                                  • NeverDieN NeverDie

                                    @mvader said:

                                    @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                                    and they were all legit NRF's came in their own boxes and have worked great.
                                    http://imall.itead.cc/wireless/im120606002.html

                                    Do they "just work out of the box" or do they benefit from the 10uF capacitor that some boards allegedly seem to need?

                                    M Offline
                                    M Offline
                                    mvader
                                    wrote on last edited by
                                    #237

                                    @NeverDie said:

                                    @mvader said:

                                    @Moshe-Livne just FYI - i ordered all my NRF's from the same place i ordered the sensebender boards from.
                                    and they were all legit NRF's came in their own boxes and have worked great.
                                    http://imall.itead.cc/wireless/im120606002.html

                                    Do they "just work out of the box" or do they benefit from the 10uF capacitor that some boards allegedly seem to need?

                                    no cap needed.. just straight to the board.

                                    1 Reply Last reply
                                    0
                                    • G Offline
                                      G Offline
                                      gloob
                                      wrote on last edited by gloob
                                      #238

                                      I have just a question about the default sketch.

                                      Doesn't the following code influence the sleep time?

                                        // check if we can lower the speed
                                        if ((measureCount == 5) && highfreq)
                                        {
                                          clock_prescale_set(clock_div_8); // Switch to 1Mhz for the reminder of the sketch, save power.
                                          highfreq = false;
                                        }
                                      

                                      If i lower the clock speed I would expect a lower processing time.

                                      Also, the threshold for temperature and humidity is set to 0.5 and the humidity is read in percent as an integer. Doesn't this mean that even when the humidity changes by less than 1 percent I get an update of the values. I would expect that the noise of the humidity sensor is around 1%.

                                      1 Reply Last reply
                                      0
                                      • tbowmoT Offline
                                        tbowmoT Offline
                                        tbowmo
                                        Admin
                                        wrote on last edited by
                                        #239

                                        @gloob said:

                                        I have just a question about the default sketch.

                                        Doesn't the following code influence the sleep time?

                                        It's the watchdog that is used for calculating the sleeptime, which is running independently from the CPU oscliator (which is lowered here).

                                        If i lower the clock speed I would expect a lower processing time.

                                        Also, the threshold for temperature and humidity is set to 0.5 and the humidity is read in percent as an integer. Doesn't this mean that even when the humidity changes by less than 1 percent I get an update of the values. I would expect that the noise of the humidity sensor is around 1%.

                                        Humidity is using a running average, it starts with taking average of the previous two measurements, put in the current measurement, and takes a new average (meaning this measurement, and the previous measurement). Then it takes the difference between those two averages, and this needs to be above 0.5.

                                        In theory it should lower the number of transmissions, if the humidity fluctuates, like: 50%, 51%, 50%.. without the running average, this would trigger 3 transmissions.

                                        You are welcome to suggest another method of limiting "spurious" transmissions :)

                                        Moshe LivneM 1 Reply Last reply
                                        0
                                        • tbowmoT tbowmo

                                          @gloob said:

                                          I have just a question about the default sketch.

                                          Doesn't the following code influence the sleep time?

                                          It's the watchdog that is used for calculating the sleeptime, which is running independently from the CPU oscliator (which is lowered here).

                                          If i lower the clock speed I would expect a lower processing time.

                                          Also, the threshold for temperature and humidity is set to 0.5 and the humidity is read in percent as an integer. Doesn't this mean that even when the humidity changes by less than 1 percent I get an update of the values. I would expect that the noise of the humidity sensor is around 1%.

                                          Humidity is using a running average, it starts with taking average of the previous two measurements, put in the current measurement, and takes a new average (meaning this measurement, and the previous measurement). Then it takes the difference between those two averages, and this needs to be above 0.5.

                                          In theory it should lower the number of transmissions, if the humidity fluctuates, like: 50%, 51%, 50%.. without the running average, this would trigger 3 transmissions.

                                          You are welcome to suggest another method of limiting "spurious" transmissions :)

                                          Moshe LivneM Offline
                                          Moshe LivneM Offline
                                          Moshe Livne
                                          Hero Member
                                          wrote on last edited by
                                          #240

                                          @tbowmo hmmm haven't looked at the details in the sketch but suppose we have 50, 50 , 51, 50, 51, 51, 51 wouldn't the results be:
                                          50, 50 = 50
                                          50, 50, 51 = 50.3
                                          50, 51 = 50.50
                                          50, 51, 50 = 50.50
                                          51, 50 = 50.50
                                          51, 50, 51 = 50.6
                                          50, 51 = 50.50
                                          50, 51, 51 = 50.6
                                          51, 51 = 51
                                          51, 51, 51 = 51

                                          so no over 0.5 fluctuation?
                                          I think a threshold would work better. can be by running average but from a fixed, last reported temp.

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


                                          19

                                          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