Help connecting Omnik PV converter to Domoticz
Posted: Tuesday 10 May 2016 23:28
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?
- 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?