Help connecting Omnik PV converter to Domoticz

Moderator: leecollings

Post Reply
graafbentinck
Posts: 1
Joined: Tuesday 10 May 2016 22:50
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Help connecting Omnik PV converter to Domoticz

Post by graafbentinck »

Setup:
- Omniksol converter 3k TL2
- Domoticz installed on Synology NAS DS212j (DSM 6), v3.5110
- Also installed: Python, Git server, etc

Ok, so I got a nice Domoticz system here, loads of sensors and everything is working fine. Since 2 months I got my Solar PV system installed. It has a Omnik conveter. The converter is connected by Wifi to my network and sends its information directly to the Omnik Portal.

I found a script from Wouterrr to connect the converter to the Domoticz system. Although based on installing on a Pi, it should work on my setup (on Synology NAS).

https://www.domoticz.com/wiki/Omnik_Solar_Inverter

I followed all the steps;
- added all the virtual sensors in Domoticz
- created the shell script "omnik.sh", adjusted the root: /volume1/@appstore/domoticz/Omnik-Data-Logger/OmnikExport.py
- created dir on synology NAS called "scripts" in domoticz dir: "volume1/@appstore/domoticz/scripts/" folder.
- uploaded shell scripts with WinSCP
- made it executable with putty

- Next was creating dir "Omnik-Data-Logger" on NAS
- Did a clone of all the Git files and copied them to Synology
- Edited config.cfg (added ip + serial nr + host ip domoticz + port domoticz: 8084
- modified omnikexport.py


Output when testing with livestats.py, I got the following response. What am I doing wrong? Where will I be able to see feedback from the inverter?


admin@SynologyDS212j:/volume1/@appstore/domoticz/Omnik-Data-Logger$ python LiveStats.py
Traceback (most recent call last):
File "LiveStats.py", line 7, in <module>
import OmnikExport
File "/volume1/@appstore/domoticz/Omnik-Data-Logger/OmnikExport.py", line 25, in <module>
mysql_enabled = config.getboolean('mysql', 'mysql_enabled')
File "/usr/lib/python2.7/ConfigParser.py", line 368, in getboolean
v = self.get(section, option)
File "/usr/lib/python2.7/ConfigParser.py", line 340, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'mysql_enabled' in section: 'mysql'


It looks like it has something to do with a sql database?
User avatar
thijsdebets
Posts: 3
Joined: Friday 29 May 2015 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Help connecting Omnik PV converter to Domoticz

Post by thijsdebets »

You might need to disable MySQL in Config.cfg:

[mysql]
# Enable for exporting to a mysql database
mysql_enabled = false
# Host where the mysql server is active
mysql_host = 127.0.0.1
mysql_user =
mysql_pass =
mysql_db =

[pvout]
v3.4834 on RPiB2
P1 Smartmeter
Onmik Solarpanel
Evohome heating
NAS WOL/SOL
KiKa: 14 switches + 3 PIR
Extra
Full LAN detection w. arpscan
TravelTime via GoogleMaps in TempGraph
Internet speed in Othergraph
Control
20 Blockly and 5 LUA scripts
manjh
Posts: 708
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Help connecting Omnik PV converter to Domoticz

Post by manjh »

Did you ever get this to work?

I also have an Omnik inverter (don't know for sure, but think it is model 4K). Would love to connect it to Domoticz, but am running a Windows installation.
Is there a description available for this setup?
Hans
manjh
Posts: 708
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Help connecting Omnik PV converter to Domoticz

Post by manjh »

anyone?
Hans
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Help connecting Omnik PV converter to Domoticz

Post by galadril »

Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
manjh
Posts: 708
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Help connecting Omnik PV converter to Domoticz

Post by manjh »

Yes, but I am trying to get this running on a Windows based domoticz server... :-(
Hans
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Help connecting Omnik PV converter to Domoticz

Post by galadril »

Python scripts also run on windows.. right?

Just schedule it to run with Task Scheduler:
https://blogs.esri.com/esri/arcgis/2013 ... g-a-scrip/
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests