-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
DevGroupSend causes device reboot #22271
Comments
A clarification: the DevGroupSend command is contained in Rule3 (which gets triggered as a result of updating var11). For convenience, rule3 is: Var11 contains a temperature value read from a sensor; the intended application is distribute that temperature to all group members (kinda like an NTP server distributes a common, consistent time to all members). |
Sorry, cannot test. It seems my Unifi AP's fail to send/receive multicast traffic. Looking at the DevGroupSend code it might well be that it cannot work when executed form a rule. Are you able to send a simple DevGroupSend command from a rule like |
This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions. |
Tickle |
(My apologies for the delay Theo; away for work). More informative reply: Please let me know if there's other tests that would be helpful. Thanks very much Theo. :-)
DEVICE 1 - Sender10:52:17.255 CMD: devgroupsend1 193=var7\ 3 <---- Sending command directly from console works [... Do some thinking about this, and then decide to check on actual status of var11 and var7...] DEVICE 2 - Receiver10:52:01.886 RSL: STATE = {"Time":"2024-11-21T10:52:01","Uptime":"0T00:05:08", [...snip...] |
P.S. Additional testing reveals that the extra, unexpected lines of output on the Sender (10:55:21) do not always appear. I haven't figured out any pattern for when they do, or don't, appear. |
Give latest dev a try and let me know if it solves your issue. |
Awesome, thank you! I won't get a chance to test until later this week or on the weekend, but will report back here. |
What the heck, other work can wait!! Flashed Tasmota 14.3.0.7 (71dfae2-tasmota). Tested successfully (see output below). Looks like you've crushed this bug Theo! The world is a happier, more energy-efficient place thanks to you. :-) Device 1 - Sender (14.3.0.7)(First test executing directly, then enable rule so that DevGroupSend is triggered by a rule) Device 2 - Receiver (13.2.0)14:18:22.131 RSL: RESULT = {"Var7":"3"} <------------- Result of direct execution on console of Sender |
Thx for quick response. Closing issue. |
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
Executing the DevGroupSend command with a variable parameter (e.g. %var11%) causes a device 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
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Enter the commands:
16:03:32.520 CMD: var5 1
16:03:32.522 SRC: WebConsole from 192.168.87.254
16:03:32.525 CMD: Grp 0, Cmd 'VAR', Idx 5, Len 1, Pld 1, Data '1'
16:03:32.529 RSL: RESULT = {"Var5":"1"}
... then issue: var11 2
... nothing is echoed or appears in the weblog, but after some moments, the device spontaneously reboots
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
I expect the command: DevGroupSend1 193=var5\ 2
and for this command to be executed locally as part of the DevGroupSend processing
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
After the spontaneous reboot, get a status line in one of the two following forms:
16:00:44.067 RSL: INFO3 = {"Info3":{"RestartReason":"Hardware Watchdog","BootCount":66}}
16:03:58.053 RSL: INFO3 = {"Info3":{"RestartReason":{"Exception":4,"Reason":"Software Watchdog","EPC":["40100b14","00000000","00000000"],"EXCVADDR":"00000000","DEPC":"00000000","CallChain":["40251470","4025147e","402445cf","4024465c","4022b7bc","40222d58","4022b7fe","4022b824","40244184","4022b897","40101c5b","4022ce1c","40222d58","402309e6","402234c7","402383e4","40222d58","40253020","40252fc2","40253020","401000e1","40222d90","4024f03d","4022ac1e","401012c2","4022ad37","402541a0","40253ce1","4022af0a","4022af5d","401012c2"]},"BootCount":67}}
ADDITIONAL CONTEXT
Add any other context about the problem here.
Variable substitution (%varX%) works just fine in other rules.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: