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. Sensor is offline for some time

Sensor is offline for some time

Scheduled Pinned Locked Moved Troubleshooting
20 Posts 4 Posters 2.3k Views 3 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.
  • sundberg84S sundberg84

    @parachutesj - could you measure the voltage when it was "down" ? Is it going inline directly again if you reset it?
    Do you have repeaters?

    parachutesjP Offline
    parachutesjP Offline
    parachutesj
    wrote on last edited by
    #11

    @sundberg84 it is on my roof so measuring in real world conditions will be difficult. I will try what I can find out. No access at the moment due to boring day job ;-)
    When I took it down (on Sunday), I had it inside (with no sun exposure) and opened the case. I found that all still was up and battery voltage was ok. As soon as I hit reset it was back ok. It took me about 1 hour more until it was back on the roof. So I am not so sure if it was the reset, the missing sun exposure or whatever.
    So I monitored it yesterday. Again at around noon it stopped and got back online after 1.5h. Will see what it does today.
    But I think first will be adding a new gateway on different channel connected to my PC in order to do some tracing.
    To your question: I am not sure if it is communicating directly with the gateway or via a repeater node. As I am using MQTT there is no information when I receive the message at my controller. I think I could debug the gateway in order to find out. Or ist there some other possibility?

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

      If you are going to change the sketch, take the chance to add the voltage measurement, just in case.

      Also try both lowest and highest NRF24 channels to see if you get any changes.

      parachutesjP 1 Reply Last reply
      1
      • parachutesjP parachutesj

        @sundberg84 it is on my roof so measuring in real world conditions will be difficult. I will try what I can find out. No access at the moment due to boring day job ;-)
        When I took it down (on Sunday), I had it inside (with no sun exposure) and opened the case. I found that all still was up and battery voltage was ok. As soon as I hit reset it was back ok. It took me about 1 hour more until it was back on the roof. So I am not so sure if it was the reset, the missing sun exposure or whatever.
        So I monitored it yesterday. Again at around noon it stopped and got back online after 1.5h. Will see what it does today.
        But I think first will be adding a new gateway on different channel connected to my PC in order to do some tracing.
        To your question: I am not sure if it is communicating directly with the gateway or via a repeater node. As I am using MQTT there is no information when I receive the message at my controller. I think I could debug the gateway in order to find out. Or ist there some other possibility?

        sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by
        #13

        @parachutesj - a hard nut to crack this one!
        I have a similar case - thats why I asked about the repeater. Its my rainsensor (2xAA + reed switch, sleeping) which very seldom but sometimes disconnects. I know when I launched this node it was living on the radio range edge so I added a repeater. The repeater isnt located 100% good for the rain node so sometimes its like it gets disconnected from this repeater and tries to reconnect according to protocol. I dont know if the sensor sometimes connects directly to GW and sometimes through a repeater but the symptoms are the same as you. The good thing is that if it goes through the repeater you might be able to debug some through the repeater.

        Controller: Proxmox VM - Home Assistant
        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

        1 Reply Last reply
        1
        • gohanG gohan

          If you are going to change the sketch, take the chance to add the voltage measurement, just in case.

          Also try both lowest and highest NRF24 channels to see if you get any changes.

          parachutesjP Offline
          parachutesjP Offline
          parachutesj
          wrote on last edited by
          #14

          @gohan @sundberg84 thank you both for your inputs.

          I think I have a design issue here.
          I originally had changed the weather station a few times in the beginning and the brain was a Nano. At some point I figured that I wanted to rebuilt it, make it "cleaner". Eventually I changed the DHT22 to a BME and the Nano to a Pro Mini 3.3V

          My solar panels deliver 5V and the charging circuit feeds a 3.6V 18650 and charge cut off is 4.2V

          I looked at my battery percentage and any time I get an interrupt in transfer is when it reaches 116% (which is based on 3.6V =100% => 4.2V )
          That also fits to current weather situation: Anytime around noon it has enough sun rays to charge the battery.

          The question is, what is wrong? Either the charging circuit is behaving strange when it reaches cut off or 4.2V are too much for the Arduino?

          That of course was no issue with the Nano and explains a bit.
          If I remember correctly, I desoldered the power regulator on the Arduino (need to check next time I get it down).
          Does anyone know what is the max Voltage until it fails?

          At least I have some glues what to change: I think I can put in a new Pro Mini with power regulator and go via RAW pin, the consumption will be higher but still ok I guess.
          And second option would be working on the charging side, however this is a bit more complicated during winter time as I don't know what is wrong.

          The solar panels are currently disconnected, since then it runs as expected and updates every 3 minutes, voltage still at 4.2V

          Here's a pic of it - not very nice but (mostly) functional
          alt text
          It fell down during a storm until I found a better solution and the solar panels are getting old. New one is already here but needs to be attached...

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

            Just get a ldo le33 or mcp1700 to have a stable 3.3v output and see from there. The raw pin would not work well with 4v

            parachutesjP 1 Reply Last reply
            1
            • gohanG gohan

              Just get a ldo le33 or mcp1700 to have a stable 3.3v output and see from there. The raw pin would not work well with 4v

              parachutesjP Offline
              parachutesjP Offline
              parachutesj
              wrote on last edited by
              #16

              @gohan
              quick update:
              I already had a LDxxx33 in order to have a stable output for my NRF24 radio. Connected the VCC to this source too and since then it works. So it really seems that it overpowered the Arduino.
              Also switched the SolarPanel on but need to wait a few more days with good weather in order to have a "final" conclusion.

              parachutesjP 1 Reply Last reply
              0
              • parachutesjP parachutesj

                @gohan
                quick update:
                I already had a LDxxx33 in order to have a stable output for my NRF24 radio. Connected the VCC to this source too and since then it works. So it really seems that it overpowered the Arduino.
                Also switched the SolarPanel on but need to wait a few more days with good weather in order to have a "final" conclusion.

                parachutesjP Offline
                parachutesjP Offline
                parachutesj
                wrote on last edited by
                #17

                and on a side note: my solar panels are total overkill, it charges for only a very short time during day until the battery is charged completely.
                Thinking of a heater for my rain sensor now...

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

                  those solar panels are quite huge, while arduino doesn't use that much power especially when sleeping

                  1 Reply Last reply
                  1
                  • parachutesjP Offline
                    parachutesjP Offline
                    parachutesj
                    wrote on last edited by
                    #19

                    All:
                    thank you for your contributions. I think I have finally fixed the problem. It was due to the input side from solar and I had overvoltage shutting down my charge control board. This is quite strange as it has been running for a longer period and then stopped. Maybe it altered and at some point the tolerance went down.
                    Anyhow it is logical: When I had good sun, I measured 6.2V on the input side which seems to be too much for the board - even the solar panels are all rated at 5V.
                    I added a voltage regulator making sure the solar output is max 5V. Since then it seems to be stable.
                    Of course this is not optimal as this is causing some loss.
                    Does anyone have a potentially better solar charger control board for an input of around 4-9 V to charge a 3.7 LiPo?
                    Currently using those: LiPoCharger AliExpress

                    Cheers
                    SJ

                    1 Reply Last reply
                    0
                    • Winston EvansW Offline
                      Winston EvansW Offline
                      Winston Evans
                      Banned
                      wrote on last edited by
                      #20

                      Your takeaway is that there’s a low probability that you will need to buy a replacement for your solar panel before the warranty ends.
                      You can compute the degradation rate if you want the exact figure. If you’re not happy with it, you can always add upgrades to your panels. You just have to make sure that the new parts match with your solar panels.

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


                      12

                      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