mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-19 12:57:19 +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)
|
||||
{
|
||||
if(_logOutput == &syslogClient) {
|
||||
}
|
||||
// if(_logOutput == &syslogClient) {
|
||||
// }
|
||||
|
||||
switch(level) {
|
||||
case LOG_LEVEL_FATAL:
|
||||
|
@ -1359,7 +1359,7 @@ void webHandleGpioOptions()
|
||||
}
|
||||
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
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
| | ... | ${property}=${property} | ${data}=${data}
|
||||
| | ${time} | Get Time | epoch
|
||||
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
||||
| | ${topic} | Set Variable | hasp/platetelemetry/command
|
||||
| | ${restopic} | Set Variable | hasp/platetelemetry/state/json
|
||||
| | ${topic} | Set Variable | hasp/plate35/command
|
||||
| | ${restopic} | Set Variable | hasp/plate35/state/json
|
||||
| | ${qos} | Set Variable | 1
|
||||
| | ${message} | Set Variable | ${property}=${data}
|
||||
| | ${result} | Set Variable | {"${property}":"${data}"}
|
||||
@ -31,8 +31,8 @@
|
||||
| | ... | ${property}=${property} | ${data}=${data}
|
||||
| | ${time} | Get Time | epoch
|
||||
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
||||
| | ${topic} | Set Variable | hasp/platetelemetry/command
|
||||
| | ${restopic} | Set Variable | hasp/platetelemetry/state/page
|
||||
| | ${topic} | Set Variable | hasp/plate35/command
|
||||
| | ${restopic} | Set Variable | hasp/plate35/state/page
|
||||
| | ${qos} | Set Variable | 1
|
||||
| | ${message} | Set Variable | ${property}=${data}
|
||||
| | Subscribe Async | client.id=${client} | topic=${restopic}
|
||||
@ -50,8 +50,8 @@
|
||||
| | ... | ${property}=${property} | ${data}=${data}
|
||||
| | ${time} | Get Time | epoch
|
||||
| | ${client} | Catenate | SEPARATOR=. | robot.mqtt | ${time}
|
||||
| | ${topic} | Set Variable | hasp/platetelemetry/command/${property}
|
||||
| | ${restopic} | Set Variable | hasp/platetelemetry/state/page
|
||||
| | ${topic} | Set Variable | hasp/plate35/command/${property}
|
||||
| | ${restopic} | Set Variable | hasp/plate35/state/page
|
||||
| | ${qos} | Set Variable | 1
|
||||
| | ${message} | Set Variable | ${data}
|
||||
| | Connect | ${broker.uri} | ${port} | ${client.id} | ${clean_session}
|
||||
|
Loading…
x
Reference in New Issue
Block a user