Syntax of the "system/message" command in the Scheduler #3127
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
|
{"Outdoor temperature":boiler/outdoortemp}In the Scheduler try:
That should publish/log just the computed value, assuming that entity path exists. For a literal test string, quote the value, for example The relevant path in the code is: the scheduler calls If you need a labeled JSON payload like |
Beta Was this translation helpful? Give feedback.
-
|
Your second screenshot makes this look less like a quoting/value-syntax problem and more like a Scheduler-specific The demo examples are still useful as a baseline: if one of those simple The scheduled job runs from command(scheduleItem.name, scheduleItem.cmd.c_str(), compute(scheduleItem.value.c_str()));That then routes to if (!raw_value.empty()) {
computed_value = compute(raw_value);
raw_value.clear();
}So when I would test the smallest case from the demo first. If that also fails on your device, I would report it as: Scheduler action If that matches the screenshot log, marking the relevant answer would help separate the syntax examples from the Scheduler implementation issue. |
Beta Was this translation helpful? Give feedback.
-
|
Great, that confirmation is useful. Since the maintainer answer has the real 3.8.x cause and the dev.6 result, I would leave that as the canonical answer here. The live-demo |
Beta Was this translation helpful? Give feedback.








Thanks for reporting and your tests, pointing to a bug in 3.8.x. The system/message command does not work from scheduler. For emsesp without psram it also does not work from mqtt/console, only call from api is possible.
Problem is here:
EMS-ESP32/src/core/system.cpp
Lines 226 to 235 in b8a63ae
the command waits…