Domoticz Plugin - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: Domoticz Plugin (/showthread.php?tid=3392) Pages:
1
2
|
Domoticz Plugin - oxedgar - 10-13-2023 Hello, Can you please update your Plug-in for domoticz to add support for KC868-A16? I've been added with MQTT but i have many loop problems! If anybody have added Kincony products with mqtt . pls help me to make it working without toggle loops? RE: Domoticz Plugin - admin - 10-13-2023 KC868-A16 download KCS v2 firmware, it already support MQTT. RE: Domoticz Plugin - oxedgar - 10-14-2023 (10-13-2023, 11:19 PM)admin Wrote: KC868-A16 download KCS v2 firmware, it already support MQTT. yes is correct! But have you any way to supress loops On/Off!?!? 1- When i send a command to enable output by click on button in domoticz (i have one script in events pane to trigger the actions) 2- Domoticz send command directly to the correct mqtt topic regarding my panel (not Node-red command) 3- the panel receive the MQTT command and enable the output 4- The panel send all status by mqtt to broker 5- the Node-red receive info from broker 6- The Node-Red send update to domoticz device for all inputs and outputs This work fine to enable and disable device from domoticz. After that, when one input trigger one output (with fttt rule): 1- the panel enable the output 2- The panel send all status by mqtt to broker 3- the Node-red receive info from broker 4- The Node-Red send update to domoticz device for all inputs and outputs 5- the domoticz seems to be send again again one command 6- after that, the panel off the output and the cycle is repeated in loop state and repeat on-off-on.... each 3 seconds When i use Node-Red to enable output, the comportement is poor because domoticz send new state each time in domoticz/out topic and the comportement is the same ! i thy to making some adjustments to my scripts but this is verry hard to resolve and prevent loop! It is possible for you to: 1- add possibility in KCS (toggle button on web UI) for remove sending all mqtt status for all I/O each time one have changed? 2- any way to prevent loop toggle locking 3- add any way to send custom message in a custom topic in mqtt protocol (with this i canot need to use node-red and act directly with domoticz) In other way, i maked by myself with esp8266 smart devices communicating with domoticz using mqtt where i have created all code and i do not have this comportement! Here my script in domoticz Events to send commandes for pane: (similar to my custom ESP8266 nodes) Code: -- Variables Locales // HEre is my Node-red commande to update domoticz: Code: msg216.payload = { "command": "udevice", "idx": 387, "nvalue": Number(msg.payload.output16.value), "svalue": "", "parse": false }; RE: Domoticz Plugin - RvK - 07-17-2024 Hallo, I saw that there is a H16 plugin for Domoticz but do you also have the plugin for the KC868-A16? Thanks. RE: Domoticz Plugin - admin - 07-17-2024 H16 plugin also can use for KC868-A16, because they use same tcp protocol. just download KCS firmware to KC868-A16 board, enable "TCP server" protocol in KCS webpage setting. RE: Domoticz Plugin - oxedgar - 07-22-2024 Have you any exemple for domoticz and MQTT connection to use it on the right ways?? RE: Domoticz Plugin - admin - 07-22-2024 here is video tour: https://youtu.be/EX9azTwPQK8 RE: Domoticz Plugin - oxedgar - 07-23-2024 (07-22-2024, 10:25 PM)admin Wrote: here is video tour: https://youtu.be/EX9azTwPQK8 Thanks but this is not implemented with mqtt directly in domoticz! have you other docs ? RE: Domoticz Plugin - admin - 07-23-2024 sorry, no others docs for domoticz. we mainly use for home assistant. RE: Domoticz Plugin - tonbor - 08-16-2024 (07-17-2024, 09:36 AM)admin Wrote: H16 plugin also can use for KC868-A16, because they use same tcp protocol. just download KCS firmware to KC868-A16 board, enable "TCP server" protocol in KCS webpage setting. Well I did install the domoticz plugin. After that I tryed to set the TCP Server at my KC686-A16. But here is no settingspage to do so with the KC686-A16 like it shows in the instructions. Please advice me. |