A (new) Domoticz Python Plugin that can read data from the local inverter webinterface. Some people were unable to use the magic-packet solution due to the serial number, others did not want to retrieve data from the webportal.
With Python version 3.7 & Domoticz V2023.x
Assuming that domoticz directory is installed in your home directory.
cd ~/domoticz/plugins
git clone https://github.com/sincze/Domoticz-Omnik-Local-Web-Plugin
cd Domoticz-Omnik-Local-Web-Plugin
# restart domoticz:
sudo /etc/init.d/domoticz.sh restart
-
Like other plugins, in the Domoticz-Omnik-Local-Web-Plugin directory:
git pull
sudo /etc/init.d/domoticz.sh restart
Omnik inverters store the data in different values. Check http://inverter-ip/js/status.js
to see where yours are.
Example:
var webData="NLDN**2017******,NL1-V1.0-0118-4,V2.0-0028,omnik4000tl ,4000,584,345,33734,,4,";
var myDeviceArray=new Array(); myDeviceArray[0]="AANN3020,V5.04Build230,V4.13Build253,Omnik3000tl,3000,1313,685,9429,,1,";
In the plugin select "webData" as shown in first line or "myDeviceArray" as in second example.
Parameter | Value |
---|---|
IP address | IP of the Inverter eg. 192.168.1.100 |
Protocol | For Omnik inverters this is usually HTTP |
Inverter | Omnik devices store data in different variables, select yours here |
Debug | default is 0 |