mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Small updates
This commit is contained in:
parent
879a0288cc
commit
df9501cdbf
@ -282,8 +282,8 @@ static void debugPrintLvglMemory(int level, Print * _logOutput)
|
|||||||
|
|
||||||
static void debugPrintPriority(int level, Print * _logOutput)
|
static void debugPrintPriority(int level, Print * _logOutput)
|
||||||
{
|
{
|
||||||
if(_logOutput == &syslogClient) {
|
// if(_logOutput == &syslogClient) {
|
||||||
}
|
// }
|
||||||
|
|
||||||
switch(level) {
|
switch(level) {
|
||||||
case LOG_LEVEL_FATAL:
|
case LOG_LEVEL_FATAL:
|
||||||
|
@ -1359,7 +1359,7 @@ void webHandleGpioOptions()
|
|||||||
}
|
}
|
||||||
webSendFooter();
|
webSendFooter();
|
||||||
|
|
||||||
if(webServer.hasArg(F("action"))) dispatchCommand(webServer.arg(F("action")));
|
if(webServer.hasArg(F("action"))) dispatchTextLine(webServer.arg(F("action")).c_str());
|
||||||
}
|
}
|
||||||
#endif // HASP_USE_GPIO
|
#endif // HASP_USE_GPIO
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
| | ... | ${property}=${property} | ${data}=${data}
|
| | ... | ${property}=${property} | ${data}=${data}
|
||||||
| | ${time} | Get Time | epoch
|
| | ${time} | Get Time | epoch
|
||||||
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
||||||
| | ${topic} | Set Variable | hasp/platetelemetry/command
|
| | ${topic} | Set Variable | hasp/plate35/command
|
||||||
| | ${restopic} | Set Variable | hasp/platetelemetry/state/json
|
| | ${restopic} | Set Variable | hasp/plate35/state/json
|
||||||
| | ${qos} | Set Variable | 1
|
| | ${qos} | Set Variable | 1
|
||||||
| | ${message} | Set Variable | ${property}=${data}
|
| | ${message} | Set Variable | ${property}=${data}
|
||||||
| | ${result} | Set Variable | {"${property}":"${data}"}
|
| | ${result} | Set Variable | {"${property}":"${data}"}
|
||||||
@ -31,8 +31,8 @@
|
|||||||
| | ... | ${property}=${property} | ${data}=${data}
|
| | ... | ${property}=${property} | ${data}=${data}
|
||||||
| | ${time} | Get Time | epoch
|
| | ${time} | Get Time | epoch
|
||||||
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
||||||
| | ${topic} | Set Variable | hasp/platetelemetry/command
|
| | ${topic} | Set Variable | hasp/plate35/command
|
||||||
| | ${restopic} | Set Variable | hasp/platetelemetry/state/page
|
| | ${restopic} | Set Variable | hasp/plate35/state/page
|
||||||
| | ${qos} | Set Variable | 1
|
| | ${qos} | Set Variable | 1
|
||||||
| | ${message} | Set Variable | ${property}=${data}
|
| | ${message} | Set Variable | ${property}=${data}
|
||||||
| | Subscribe Async | client.id=${client} | topic=${restopic}
|
| | Subscribe Async | client.id=${client} | topic=${restopic}
|
||||||
@ -50,8 +50,8 @@
|
|||||||
| | ... | ${property}=${property} | ${data}=${data}
|
| | ... | ${property}=${property} | ${data}=${data}
|
||||||
| | ${time} | Get Time | epoch
|
| | ${time} | Get Time | epoch
|
||||||
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
||||||
| | ${topic} | Set Variable | hasp/platetelemetry/command/${property}
|
| | ${topic} | Set Variable | hasp/plate35/command/${property}
|
||||||
| | ${restopic} | Set Variable | hasp/platetelemetry/state/page
|
| | ${restopic} | Set Variable | hasp/plate35/state/page
|
||||||
| | ${qos} | Set Variable | 1
|
| | ${qos} | Set Variable | 1
|
||||||
| | ${message} | Set Variable | ${data}
|
| | ${message} | Set Variable | ${data}
|
||||||
| | Connect | ${broker.uri} | ${port} | ${client.id} | ${clean_session}
|
| | Connect | ${broker.uri} | ${port} | ${client.id} | ${clean_session}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user