Skip to content

Domoticz Python Plugin that can read data from the local inverter webinterface

Notifications You must be signed in to change notification settings

sincze/Domoticz-Omnik-Local-Web-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domoticz-Omnik-Local-Web-Plugin

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.

devices

ONLY TESTED FOR Raspberry Pi and Domoticz Docker

With Python version 3.7 & Domoticz V2023.x

Installation

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

Known issues

Updating

Like other plugins, in the Domoticz-Omnik-Local-Web-Plugin directory:

git pull
sudo /etc/init.d/domoticz.sh restart

Omnik Variables (ATTENTION)

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. parameters

Parameters

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

Acknowledgements

  • Special thanks for all the hard work of Dnpwwo, for the examples and fixing the HTTP GET error.
  • ChatGPT for generating the basic threading Domoticz plugin
  • Domoticz team

About

Domoticz Python Plugin that can read data from the local inverter webinterface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages