Open ghost opened 6 years ago
Looks like you use python 3.x This script was written under 2.7 It looks it needs updating to run under 3.x
Michel,
Thanks for your info. I think i have to wait for an update...... from the author?
Regards Paul
==>iPadp
Op 13 dec. 2017 om 21:37 heeft Michel notifications@github.com het volgende geschreven:
Looks like you use python 3.x This script was written under 2.7 It looks it needs updating to run under 3.x
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I had a quick look, it is some work to make the scripts Python 2 and 3 compatible. Will schedule this, but will be done in my own project "InverterExport". Use Python 2.7 if you can.
I use a raspberrypi with raspbian-jesse. I do not know how to downgrade python and what consequences a downgrade has on the system and the use of domoticz and/or other software. You wrote that you will schedule this in your own project “inverterExport” . I am new here so i do not know where i can find your “ inverterproject” . Is this a part of the https://github.com/Woutrrr/xxx or is this something different? Please put me on the right track... Thanks
Michel, Can you tell me if the scripts are already python 3 compatibel? thanks paul
I have little time, but worked on them and livestats works now.
thanks for your time
I reinstall following the instructions. No data......... In the meantime i had to replace miy wifi module s/n start with a 1 : 1604573xxx I do not know wether the leading 1 is the wrongdoer or something else. too much dependencies which cann't be checked to get this working
regards Paul
I'm also having problems with this script... can't figure it out.... Livestats works well and omnikexport is giving the following error...
pi@raspberrypitest:~/Omnik-Data-Logger $ python OmnikExport.py
2018-08-03 20:36:03,464 DEBUG Importing output plugin ConsoleOutput
2018-08-03 20:36:03,466 DEBUG Importing output plugin DomoticzOutput
2018-08-03 20:36:03,524 INFO connecting to 192.168.1.117 port 8899
2018-08-03 20:36:04,163 INFO ID: NLDN402014481122
2018-08-03 20:36:04,164 DEBUG Run pluginConsoleOutput
ID: NLDN402014481122
E Today: 21.24 Total: 13364.4
H Total: 14652 Temp: 41.5
PV1 V: 214.9 I: 0.4
PV2 V: 227.9 I: 0.6
PV3 V: -1 I: -1
L1 P: 203 V: 235.2 I: 0.8 F: 50.04
L2 P: -1 V: -1 I: -1 F: -1
L3 P: -1 V: -1 I: -1 F: -1
2018-08-03 20:36:04,166 DEBUG Run pluginDomoticzOutput
Traceback (most recent call last):
File "OmnikExport.py", line 170, in
I have no idea what i am doing wrong.....
can someone help me????
I followed the instructions to set up de Omnik, but no data and errors. Omnik Vrtual and sensors are visible.
Livestat.py debug gives a error:
[inverter]
IP address of your Omnik inverter
ip = 10.10.xxx.xxx. # is ipades visible in Omnik GUI. # 192.168.xxx.xxx = normal ipadres DCHP router ## ??????
Default for a Omnik with Wifi module
port = 8899
S/N of the wifi kit
wifi_sn = 603080xxx # fill out s/n
use temperature of inverter for pvoutput
use_temperature = true
[mysql]
Host where the mysql server is active
host = 127.0.0.1 user = pass = database =
[pvout]
These two can be found at http://pvoutput.org/account.jsp
apikey = NOTAREALAPIKEY86e2258d4e29169fb79cf18b00
sysid = 12345
[csv] disable_header = false
[log]
Log:Output
Possible options: none,console,file (combinations are possible)
Use none to disable logging
type = console
Log:level
Possible options: critical, error, warning, info, debug
level = debug
Log:filename
Output file for file logger
filename = omnik-export.log
[domoticz] domoticz_host = 192.168.xxx.xxx #
domoticz_port = 8080 #
domoticz_url = json.htm
Provide IDX here of the specific devices
idx_Temp = 204 idx_PV1_U = 205 idx_PV2_U = 206 idx_PV1_A = 207 idx_PV2_A = 208 idx_AC_Output = 209 idx_E_Total = 210 idx_E_Current = 211
I use a Omnik wifi module starting s/n 603xx Domoticz version 3.8153 Rapsberrypi. V3
Please help?
thanks Paul