Re: Python Plugin: Omnik Inverter local webinterface
Posted: Saturday 27 May 2023 23:06
Hi @parallax, @henkie
did you fix the "waiting 0s" problem ?
Br,
Majo
did you fix the "waiting 0s" problem ?
Br,
Majo
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
Traceback (most recent call last):
File "/home/pi/Omnik-Data-Logger/LiveStats.py", line 7, in <module>
import OmnikExport
File "/home/pi/Omnik-Data-Logger/OmnikExport.py", line 14, in <module>
import InverterMsg # Import the Msg handler
File "/home/pi/Omnik-Data-Logger/InverterMsg.py", line 73
print self.__get_short(59)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?Doesn't work for me. My inverter only supports the /home.html extension to the IP.sincze wrote: Tuesday 05 September 2023 20:57 Version 2.0.0 of the plugin has been released.
Works with 2023 versions of Domoticz now.
https://github.com/sincze/Domoticz-Omni ... Web-Plugin
did you check the pre requirements first??manjh wrote: Wednesday 06 September 2023 9:26Doesn't work for me. My inverter only supports the /home.html extension to the IP.sincze wrote: Tuesday 05 September 2023 20:57 Version 2.0.0 of the plugin has been released.
Works with 2023 versions of Domoticz now.
https://github.com/sincze/Domoticz-Omni ... Web-Plugin
I installed the plugin and tried different combinations, and 4 devices are created. But values remain zero.
I can install the plugin. But when I try to find the info about different values using http://10.0.0.198/js/status.js I getsincze wrote: Wednesday 06 September 2023 9:40did you check the pre requirements first??manjh wrote: Wednesday 06 September 2023 9:26Doesn't work for me. My inverter only supports the /home.html extension to the IP.sincze wrote: Tuesday 05 September 2023 20:57 Version 2.0.0 of the plugin has been released.
Works with 2023 versions of Domoticz now.
https://github.com/sincze/Domoticz-Omni ... Web-Plugin
I installed the plugin and tried different combinations, and 4 devices are created. But values remain zero.
Omnik inverters store the data in different values. Check http://inverter-ip/js/status.js
omnik.png
Without providing more info about fw version screenshots, things you already tried it it's pretty hard to help out.
Code: Select all
404 Not Found
File not found.
Is that official OMNIK Inverter??manjh wrote: Wednesday 06 September 2023 11:15I can install the plugin. But when I try to find the info about different values using http://10.0.0.198/js/status.js I getsincze wrote: Wednesday 06 September 2023 9:40did you check the pre requirements first??manjh wrote: Wednesday 06 September 2023 9:26
Doesn't work for me. My inverter only supports the /home.html extension to the IP.
I installed the plugin and tried different combinations, and 4 devices are created. But values remain zero.
Omnik inverters store the data in different values. Check http://inverter-ip/js/status.js
omnik.png
Without providing more info about fw version screenshots, things you already tried it it's pretty hard to help out.Code: Select all
404 Not Found File not found.

Looks like the standard interface indeed. Please look for a .js extension just click through the items one at a time.manjh wrote: Wednesday 06 September 2023 11:35 OK, I installed Fiddler and it gives me a long list of info, will have to look into that.
Meanwhile, I made a screenshot of the one and only screen that the inverter has for me. Not sure if that will help, though...
![]()
I never found such a page on the local interface. Screenshot I sent is the only one, it can be used for technical setup only. And I donot see any links to other pages!sincze wrote: Wednesday 06 September 2023 11:42 Open your browser and click straight on the overview of your inverter W / kwH.
manjh wrote: Wednesday 06 September 2023 13:06I never found such a page on the local interface. Screenshot I sent is the only one, it can be used for technical setup only. And I donot see any links to other pages!sincze wrote: Wednesday 06 September 2023 11:42 Open your browser and click straight on the overview of your inverter W / kwH.
I also tried logging in directly to the AP of the inverter, no luck.
Found this manual:
https://geaskb.nl/wp-content/uploads/20 ... 2kW_TL.pdf
looks more like the Solarman online interface...sincze wrote: Wednesday 06 September 2023 13:51 That is interesting indeed.
Normally Omnik would look like this:
Omnik-Inverter.png
Sounds great, looking forward to testing. Thank you!sincze wrote: Wednesday 06 September 2023 18:41 I kniw that one. I use the php version of that script.
I can have a look to convert it into a Domiticz plugin.
It works only with inverters that have specific serial numbers.
manjh wrote: Wednesday 06 September 2023 14:33 looks more like the Solarman online interface...
Also interesting is the version number. Mine says it is Ver:4.01.9.d1!
All three come back with "404 - file not found" ...sincze wrote: Monday 11 September 2023 21:08manjh wrote: Wednesday 06 September 2023 14:33 looks more like the Solarman online interface...
Also interesting is the version number. Mine says it is Ver:4.01.9.d1!
- Most inverters have a JS file, try accessing http://<your omnik ip address>/js/status.js in your browser. (Not working for you)
- Some inverters use a JSON status file to output the values. Check if your inverter outputs JSON data by navigating to: http://<your omnik ip address>/status.json?CMD=inv_query.
Did any of these work for you?
- A few inverters don't have JS or JSON but output the values directly in a HTML files. Check if your inverter supports the following URL: http://<your omnik ip address>/status.html. Note that this will work for almost all inverters, but you need to check the HTML source for a <script> tag that contains the relevant webData.
Tnx. for testing.manjh wrote: Tuesday 12 September 2023 7:57All three come back with "404 - file not found" ...sincze wrote: Monday 11 September 2023 21:08manjh wrote: Wednesday 06 September 2023 14:33 looks more like the Solarman online interface...
Also interesting is the version number. Mine says it is Ver:4.01.9.d1!
- Most inverters have a JS file, try accessing http://<your omnik ip address>/js/status.js in your browser. (Not working for you)
- Some inverters use a JSON status file to output the values. Check if your inverter outputs JSON data by navigating to: http://<your omnik ip address>/status.json?CMD=inv_query.
Did any of these work for you?
- A few inverters don't have JS or JSON but output the values directly in a HTML files. Check if your inverter supports the following URL: http://<your omnik ip address>/status.html. Note that this will work for almost all inverters, but you need to check the HTML source for a <script> tag that contains the relevant webData.
In the mean time I have removed all traces of installed Omnik related plugins and programs, and started fresh with the python program that has worked for me before, but stopped working suddenly early august.
After installing, Inverter-Data-Logger works OK and gives me the values. So there must be a way to pull info, somehow...![]()