From e00d5ff914e13746e38b9f4e1ade72456988d861 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:08:57 +0100 Subject: [PATCH] Update comments --- .../tasmota_xdrv_driver/xdrv_01_9_webserver.ino | 2 +- tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino b/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino index 7558245b3..79c953b72 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino @@ -3780,7 +3780,7 @@ void CmndWebCanvas(void) { - WebCanvas linear-gradient(#F02 7%,#F93,#FF4,#082,#00F,#708 93%) // Gradient pride flag - WebCanvas linear-gradient(#F02 16%,#F93 16% 33%,#FF4 33% 50%,#082 50% 67%,#00F 67% 84%,#708 84%) // Pride flag - WebCanvas linear-gradient(90deg,#05A 33%,#FFF 33% 67%,#F43 67%) // Flag France - - WebCanvas linear-gradient(#FFF 33%,#07D 33% 67%,#F34 67%) // Flag The Netherlands + - WebCanvas linear-gradient(#059 33%,#FFF 33% 67%,#F43 67%) // Flag The Netherlands - WebCanvas linear-gradient(#05B 50%,#FD0 50%) // Flag Ukraine - WebCanvas linear-gradient(#FFF 33%,#07D 33% 67%,#F34 67%) // Flag Russia - WebCanvas url(http://ota.tasmota.com/tasmota/images/prf.png) // Pride flag diff --git a/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino b/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino index 6fa70cfc4..d3e18c4d0 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino @@ -516,13 +516,15 @@ void CmndDomoticzUpdateTimer(void) { } void CmndDomoticzSend(void) { - // DzSend1 , - {\"idx\":,\"nvalue\":0,\"svalue\":\"\",\"Battery\":xx,\"RSSI\":yy} - // DzSend1 418,%var1%;%var2% or DzSend1 418,%var1%:%var2% - Notice colon as substitute to semi-colon - // DzSend2 , - USE_SHUTTER only - {\"idx\":,\"nvalue\":,\"svalue\":\"\",\"Battery\":xx,\"RSSI\":yy} - // DzSend3 , - {\"idx\":,\"nvalue\":,\"Battery\":xx,\"RSSI\":yy} - // DzSend4 , - {\"command\":\"switchlight\",\"idx\":,\"switchcmd\":\"\"} - // DzSend5 , - {\"command\":\"switchscene\",\"idx\":,\"switchcmd\":\"\"} - + /* + DzSend1 , - {\"idx\":,\"nvalue\":0,\"svalue\":\"\",\"Battery\":xx,\"RSSI\":yy} + rule1 on power1#state do dzsend1 9001,%value% endon + DzSend1 418,%var1%;%var2% or DzSend1 418,%var1%:%var2% - Notice colon as substitute to semi-colon + DzSend2 , - USE_SHUTTER only - {\"idx\":,\"nvalue\":,\"svalue\":\"\",\"Battery\":xx,\"RSSI\":yy} + DzSend3 , - {\"idx\":,\"nvalue\":,\"Battery\":xx,\"RSSI\":yy} + DzSend4 , - {\"command\":\"switchlight\",\"idx\":,\"switchcmd\":\"\"} + DzSend5 , - {\"command\":\"switchscene\",\"idx\":,\"switchcmd\":\"\"} + */ if ((XdrvMailbox.index > 0) && (XdrvMailbox.index <= 5)) { if (XdrvMailbox.data_len > 0) { if (strchr(XdrvMailbox.data, ',') != nullptr) { // Process parameter entry