New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shelly 2.5 24v DC reboots on relay toggle #8586
Comments
Are your power source giving enough power? What is its rating? from your log:
So that means it resets because it has no power. |
24V / 1A It isn't very much, but enough for the application i use it. |
What is the restart reason right after it reboots when toggling your relay? |
@ascillato
|
Also trying to flash tasmota-minimal.bin when using the devel firmware the system resets at ~25% 3 times and also external system is the cause |
So, the problem is your power source. Sorry. Not software related. |
I tried another 3A psu but this has the problem also on 8.2 :( But may your idea is correct. Not sure, why this problem occures with my 1A psu not on 8.2 |
So, sorry but if the power source is not the source of your problem, as it is reported a restart reason as external (no more power is applied to the esp8266 chip) that means that your hardware has a faulty power regulator. Sorry. |
Would it be possible to re-open this issue? I have the same issue, only mine crashes when I toggle both outputs to On (even without anything connected to the ports. My log mentions "RestartReason":"External System" as well while running either 8.4 or 8.5. I believe this could be 24DC related. The inputs do measure 24.4VDC steadily even when both ports are enabled and tasmota reboots. I worked around this by ensuring the outputs are always Off after a reboot, but when I saw this thread I've downgraded to 8.2 and all is fine! My guess is this is a problem with Shelly 2.5 powered by 24VDC in combination with Tasmota 8.3 and later. The default logs are clear and show nothing interesting (as posted by OP already). Any further debugging I can do (without serial if possible)? |
We can reopen this issue, but if this is a hardware issue where there is not enough power for the esp8266 to work, there is nothing we can do from the software side. Sorry. |
@ascillato, Thanks. Usually I would agree with you and definitely question the PSU or Shelly, but the weird thing all is fine in 8.2 and confirmed to be broken in 8.3/8.4/8.5. Consistently reproducible. Something did change between 8.2 and 8.3 which I believe introduced this issue. I'm new to Tasmota so need guidance on troubleshooting this further. I did enable syslog in debug, but that seems to crash my Shelly 😀 |
I've reproduced the issue while running 8.3.1 and Web log level set to 4 - More Debug (which crashes the shelly when the ports are enabled, and reboots) and also while running 8.2.0 (succesfully) with the same debug logging. Hope this helps! |
@ascillato, is there anything else I can do to collect at this moment? I'll put the Shelly and pumps connected into production soon which means it will be more difficult to test (not great wifi coverage yet and can't just start irrigation 😀). Thanks! |
No, You have provided all the logs. In the logs it states that the restart reason is external system. That message is managed by the esp8266 at hardware level, not Tasmota, so, for the chip itself it detects that the reset button has been pressed. That can't be executed from the software side. The software-resets have different messages. So, indeed is a weird issue. I have several shelly devices and I couldn't reproduce this. Sorry. It is weird that in one version works fine for you and in another it get the reset button pressed. Reopening issue to see if someone in the community has any other idea to test. |
Thanks. I've dug a bit in the changes committed into 8.3.0 and noticed quite a number of commits related to ESP32 and ESP32to8266). Specifically this commit might be of interest: b70ca01#diff-9f49e1a469607e0614e5786eaa90f2a4 It is a workaround to disable Brownout detection, however most of it seems to be removed in this commit: c37dde9#diff-f86fe7273c788cc62fd806c2e340dd01 What is interesting is that one specific part (file tasmota/tasmota.ino lines 201 to 206) hasn't been removed and is still in the code to-date. I have no idea if this could be causing anything, but brownout detection while enabling 2 ports on 24V seems a good lead to me 😀. It might be worth digging into this (and other commits as there is also QuickPowerCycle added for example). Edit: Quickly build a firmware without the lines in tasmota.ino but it still doesn't work. That's not the issue, but at it is still an interesting area of changes there. |
Same by me: I will flash stock to the shelly when weather will be bad. |
I've been playing around a bit with building images and using different core/SDKs but no success. It was a long-shot as I'm extremely new to all of this and don't know what's responsible and used for what. I figured this would be easier than going through 7000+ commits in tasmota itself 😀 Any other help would be highly appreciated as I'm sort of lost right now. Thanks! |
Have you tried latest release version? There was a fix for a unitialized GPIO pin. |
Excellent! This seems to work indeed for my Shelly 2.5 on DC. It now remains working when both O1 and O2 are enabled. \o/ |
Great. Conclusion. The 24 DC power supply is designed bleeding edge... |
Did a Upgrade from 8.2.0 to 8.5.0 and then to 8.5.1 (http://ota.tasmota.com/tasmota/release/tasmota.bin.gz) The problem persists, shelly is rebooting after i switch both relays on, without any load on them . Did you change anything else after the Upgrade? |
I am using this template: |
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
Toggeling the relay (via WebUI Button Toggle 1 / Toggle 2 or via MQTT) causes reboot
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
Toggeling a relay should not cause reboots as it is in 8.2.0
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: