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. Troubleshooting
  3. battery powered sensor / watchdog?

battery powered sensor / watchdog?

Scheduled Pinned Locked Moved Troubleshooting
29 Posts 8 Posters 3.2k Views 8 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.
  • CrankyCoderC Offline
    CrankyCoderC Offline
    CrankyCoder
    wrote on last edited by
    #8

    oh don't say that. aliexpress is my addiction!!!!

    Home Automation Tinkerer
    www.CrankyCoder.net

    Controller: HomeAssistant in Kubernetes
    Gateway: MQTTClientGateway
    MySensors: 2.3

    alexsh1A 1 Reply Last reply
    0
    • CrankyCoderC CrankyCoder

      oh don't say that. aliexpress is my addiction!!!!

      alexsh1A Offline
      alexsh1A Offline
      alexsh1
      wrote on last edited by
      #9

      @crankycoder said in battery powered sensor / watchdog?:

      oh don't say that. aliexpress is my addiction!!!!

      I do like most people - its easier and one does not have to spend 50 bucks to get a free shipping. No brainer. However, quality may be compromised too.

      CrankyCoderC 1 Reply Last reply
      0
      • alexsh1A alexsh1

        @crankycoder said in battery powered sensor / watchdog?:

        oh don't say that. aliexpress is my addiction!!!!

        I do like most people - its easier and one does not have to spend 50 bucks to get a free shipping. No brainer. However, quality may be compromised too.

        CrankyCoderC Offline
        CrankyCoderC Offline
        CrankyCoder
        wrote on last edited by
        #10

        did you do anything to try to over come it? or do you think either spending more for better quality or maybe an external watch dog chip?

        Home Automation Tinkerer
        www.CrankyCoder.net

        Controller: HomeAssistant in Kubernetes
        Gateway: MQTTClientGateway
        MySensors: 2.3

        alexsh1A 1 Reply Last reply
        0
        • CrankyCoderC CrankyCoder

          did you do anything to try to over come it? or do you think either spending more for better quality or maybe an external watch dog chip?

          alexsh1A Offline
          alexsh1A Offline
          alexsh1
          wrote on last edited by
          #11

          @crankycoder I think the biggest issue for me is that I’m not ordering in large quantities. AliExpress or ebay are really competitive if you need a few components.

          Digi-key for example wants me to have a minimum spending of £30 for free shipping (AliExpress is offering free shipping).

          1 Reply Last reply
          0
          • CrankyCoderC Offline
            CrankyCoderC Offline
            CrankyCoder
            wrote on last edited by
            #12

            agreed. hard to beat aliexpress for pricing.

            Home Automation Tinkerer
            www.CrankyCoder.net

            Controller: HomeAssistant in Kubernetes
            Gateway: MQTTClientGateway
            MySensors: 2.3

            ileneken3I 1 Reply Last reply
            0
            • CrankyCoderC CrankyCoder

              agreed. hard to beat aliexpress for pricing.

              ileneken3I Offline
              ileneken3I Offline
              ileneken3
              wrote on last edited by
              #13

              @crankycoder

              Speaking of pricing, a Pro Mini 3.3Mhz can be had for as little as $2-$3. Couldn't that be used to provide all the functionality (and more) of a TPL5010? Of course, it would require a small programming with a small script that uses low power sleep, removing the LED, maybe regulator too.

              1 Reply Last reply
              0
              • CrankyCoderC Offline
                CrankyCoderC Offline
                CrankyCoder
                wrote on last edited by
                #14

                that's where the problem is. the whole sensor is a pro mini. it periodically stops doing it's thing.

                Home Automation Tinkerer
                www.CrankyCoder.net

                Controller: HomeAssistant in Kubernetes
                Gateway: MQTTClientGateway
                MySensors: 2.3

                ileneken3I 1 Reply Last reply
                1
                • CrankyCoderC CrankyCoder

                  that's where the problem is. the whole sensor is a pro mini. it periodically stops doing it's thing.

                  ileneken3I Offline
                  ileneken3I Offline
                  ileneken3
                  wrote on last edited by
                  #15

                  @crankycoder
                  What I meant was that keep the sensor as is (whether it is a pro mini or anything else), and use a different pro mini as the watchdog - in place of the TPL5010. In this case, it would take a double board failure in order to have a complete failure.

                  1 Reply Last reply
                  0
                  • CrankyCoderC Offline
                    CrankyCoderC Offline
                    CrankyCoder
                    wrote on last edited by
                    #16

                    hmmm possible. power consumption would be a concern. having a second node running granted it wouldn't have a radio. I could potentially do the same thing with an attiny85 as it's smaller and lower power. It gets the cost down a little too... about to the same price as as the TPL5010. lol. in a pinch a pro mini would definitely work. Since I have some attiny85s that may be my option right now since i have them and don't have to buy the TPL5010's.

                    I think Jon Oxer did something with a hardware external watchdog like that. I am now wondering if i could use the attiny85, have it sleep as well. Wakeup hourly to see if it should reset the sensor. But also wake up on interrupt, where in the sensor if it's running well would pulse to the attiny. The tiny would reset the counter. Then each hour if the tiny wakes up, and the sensor hasn't reported in a couple hours, it would just reset it.

                    This is an actual possibility. lol

                    Home Automation Tinkerer
                    www.CrankyCoder.net

                    Controller: HomeAssistant in Kubernetes
                    Gateway: MQTTClientGateway
                    MySensors: 2.3

                    1 Reply Last reply
                    0
                    • electrikE Offline
                      electrikE Offline
                      electrik
                      wrote on last edited by
                      #17

                      IMHO, a watchdog reset is something that shouldn't occur normally. If it does, something is wrong in your code and that should be fixed...
                      Or are there maybe packets that get lost?

                      1 Reply Last reply
                      0
                      • CrankyCoderC Offline
                        CrankyCoderC Offline
                        CrankyCoder
                        wrote on last edited by
                        #18

                        i fully agree. But my sensor bombs out after a week or so of running. It's just a temp sensor used from the examples. Only thing I did was change the sleep timeout. So i am thinking either there is something with the cheap pro mini clones. Or something with the radio not sending. Which could be it, for all I know it's waking up and the arduino is saying everything is good but the radio isn't working. The only thing I know for certain is a reset brings it all back online.

                        Quite possible the packets are lost in the RF transmission. Just difficult to leave a serial monitor hooked up to it outside for a week till it dies lol.

                        :joy:

                        Home Automation Tinkerer
                        www.CrankyCoder.net

                        Controller: HomeAssistant in Kubernetes
                        Gateway: MQTTClientGateway
                        MySensors: 2.3

                        1 Reply Last reply
                        0
                        • electrikE Offline
                          electrikE Offline
                          electrik
                          wrote on last edited by electrik
                          #19

                          Yes I understand. It is hard to find the cause in these cases. Do you have the possibility to move the node closer to the gateway or add a repeater to see if the problem persists?
                          Edit: or hookup the serial monitor, but place the node inside somewhere :-)

                          1 Reply Last reply
                          0
                          • CrankyCoderC Offline
                            CrankyCoderC Offline
                            CrankyCoder
                            wrote on last edited by
                            #20

                            I have definitely thought of throwing a repeater in the room closest to where it is outside. That could definitely help. Can't move it closer since it's a temp sensor in my pool lol.

                            Wonder if i made a connector out of rj45 if it would work over that length to something inside :)

                            Home Automation Tinkerer
                            www.CrankyCoder.net

                            Controller: HomeAssistant in Kubernetes
                            Gateway: MQTTClientGateway
                            MySensors: 2.3

                            1 Reply Last reply
                            0
                            • electrikE Offline
                              electrikE Offline
                              electrik
                              wrote on last edited by
                              #21

                              so just to make sure I understand. Is the node also in the pool? Or just the sensor?

                              1 Reply Last reply
                              0
                              • CrankyCoderC Offline
                                CrankyCoderC Offline
                                CrankyCoder
                                wrote on last edited by
                                #22

                                just the sensor. Node is in box outside of the pool.

                                Home Automation Tinkerer
                                www.CrankyCoder.net

                                Controller: HomeAssistant in Kubernetes
                                Gateway: MQTTClientGateway
                                MySensors: 2.3

                                1 Reply Last reply
                                0
                                • E Offline
                                  E Offline
                                  executivul
                                  wrote on last edited by
                                  #23

                                  Put an esp wifi node in the box with a beefier battery, or another box next to the first one if it isn't large enough. There is an "esp bridge" app that can easily do serial monitoring over wifi. That way you should have console output from the node when ot craps out. I've used it to debug some app that controls some contactors via a 5v relay board, turning contactors off sent the w5500 to Valhalla, the debug output via the esp saved the day since the device is located in a cielling a few meters up.

                                  1 Reply Last reply
                                  2
                                  • CrankyCoderC Offline
                                    CrankyCoderC Offline
                                    CrankyCoder
                                    wrote on last edited by
                                    #24

                                    This is a cool idea. Definitely worth throwing some bigger batteries at it for debugging. I am looking for this bridge stuff now :)

                                    Home Automation Tinkerer
                                    www.CrankyCoder.net

                                    Controller: HomeAssistant in Kubernetes
                                    Gateway: MQTTClientGateway
                                    MySensors: 2.3

                                    E 1 Reply Last reply
                                    1
                                    • CrankyCoderC CrankyCoder

                                      This is a cool idea. Definitely worth throwing some bigger batteries at it for debugging. I am looking for this bridge stuff now :)

                                      E Offline
                                      E Offline
                                      executivul
                                      wrote on last edited by
                                      #25

                                      @crankycoder https://github.com/jeelabs/esp-link

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

                                        I eneble wdt on pretty much all my nodes. Just remember to disable it before entering sleep. How did you setup the node? Do you have any booster running?

                                        1 Reply Last reply
                                        0
                                        • CrankyCoderC Offline
                                          CrankyCoderC Offline
                                          CrankyCoder
                                          wrote on last edited by
                                          #27

                                          Where do you put your enable/disable watchdog? My node sleeps for 90 minutes at a time. Do you mean like a voltage booster? no, but i am monitoring the battery voltage so i know when it gets close to the 3.3 that the radio needs.

                                          Home Automation Tinkerer
                                          www.CrankyCoder.net

                                          Controller: HomeAssistant in Kubernetes
                                          Gateway: MQTTClientGateway
                                          MySensors: 2.3

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


                                          15

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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