Page 1 of 1

Vallox API Domoticz Plugin

Posted: Monday 23 January 2023 13:09
by ismo67
There is API available for Vallox products, has anyone made Domoticz plugin for Vallox?
I am very bad on programming so I do not know how to use this info?

https://pypi.org/project/vallox-websocket-api/
Can I just go in to domoticz plugin folder and install plugin seen at this page and should it work then?
Pythin code should work wit models:

"Vallox 096 MV",
"Vallox 110 MV",
"Vallox 145 MV",
"Vallox 245 MV",
"ValloPlus 270 MV",
"ValloPlus 350 MV",
"ValloPlus 510 MV",
"ValloPlus 850 MV",
"Vallox TSK Multi 50 MV",
"Vallox TSK Multi 80 MV",
"ValloMulti 200 MV",
"ValloMulti 300 MV",
"DV96 Adroit",
"DV110 Adroit",
"DV145 Adroit",
"DV245 Adroit",
"DV TSK Multi 50 Adroit",
"DV TSK Multi 80 Adroit"

https://www.vallox.com/en/myvallox

Re: Vallox API Domoticz Plugin

Posted: Monday 23 January 2023 23:55
by waltervl
No, you cannot just put this python code in the plugin folder.
You have to make a plugin definition see the wiki https://www.domoticz.com/wiki/Developin ... hon_plugin

But you could start by making dummy devices (see wiki https://www.domoticz.com/wiki/Dummy_for ... l_Switches) and have them updated by python scripts with help of the vallox python module. See https://www.domoticz.com/wiki/Python_Events

Or use python outside Domoticz to update dummy devices from outside domoticz.

Or make action python scripts and connect those to the dummy devices you have created to send commands to your vallox product. https://www.domoticz.com/wiki/Managing_ ... Switches_2