and config
pi@domoticzpi ~/domoticz/scripts/Omnik-Data-Logger $ cat config.cfg
################
### Settings ###
################
[inverter]
# IP address of your Omnik inverter
ip = 192.168.1.30
# Default for a Omnik with Wifi module
port = 8899
# S/N of the wifi kit
wifi_sn = 602xxxxx
#use ...
Search found 6 matches
- Friday 27 February 2015 16:42
- Forum: Utility
- Topic: capture and import smartmeter data from Web Solar Log
- Replies: 25
- Views: 10757
- Friday 27 February 2015 16:40
- Forum: Utility
- Topic: capture and import smartmeter data from Web Solar Log
- Replies: 25
- Views: 10757
Re: capture and import smartmeter data from Web Solar Log
pi@domoticzpi ~/domoticz/scripts/Omnik-Data-Logger $ cat OmnikExport.py
#!/usr/bin/python
import InverterMsg # Import the Msg handler
import socket # Needed for talking to inverter
import datetime # Used for timestamp
import sys
import logging
import ConfigParser, os
# For PVoutput
import ...
#!/usr/bin/python
import InverterMsg # Import the Msg handler
import socket # Needed for talking to inverter
import datetime # Used for timestamp
import sys
import logging
import ConfigParser, os
# For PVoutput
import ...
- Monday 23 February 2015 18:21
- Forum: Utility
- Topic: capture and import smartmeter data from Web Solar Log
- Replies: 25
- Views: 10757
Re: capture and import smartmeter data from Web Solar Log
I got it to work, did you? idx values in config. and host port url directly in script, only not sure what to put in virtual sensor omnik ampere is it a voltage and do i put 3 idx values combined?
- Sunday 22 February 2015 14:20
- Forum: Utility
- Topic: capture and import smartmeter data from Web Solar Log
- Replies: 25
- Views: 10757
Re: capture and import smartmeter data from Web Solar Log
I discovered the error is gone if you put the values directly in the script (omnikexport.py), however i still dont see any data in domoticz
like this
# Receive data with a socket
ip = config.get('inverter','ip')
port = config.get('inverter','port')
use_temp = config.getboolean('inverter','use ...
like this
# Receive data with a socket
ip = config.get('inverter','ip')
port = config.get('inverter','port')
use_temp = config.getboolean('inverter','use ...
- Sunday 22 February 2015 11:29
- Forum: Utility
- Topic: capture and import smartmeter data from Web Solar Log
- Replies: 25
- Views: 10757
Re: capture and import smartmeter data from Web Solar Log
my settings
[domoticz]
domoticz_enabled = true
domoticz_host = 192.168.1.100
domoticz_port = 8080
domoticz_url = json.htm
# Provide IDX here of the specific devices
domoticz_temp = idx
domoticz_Input_PV1 = idx
domoticz_Input_PV2 = idx
domoticz_AC_Output = idx
domoticz_Cur_Total = idx
domoticz_AMP ...
[domoticz]
domoticz_enabled = true
domoticz_host = 192.168.1.100
domoticz_port = 8080
domoticz_url = json.htm
# Provide IDX here of the specific devices
domoticz_temp = idx
domoticz_Input_PV1 = idx
domoticz_Input_PV2 = idx
domoticz_AC_Output = idx
domoticz_Cur_Total = idx
domoticz_AMP ...
- Friday 20 February 2015 20:43
- Forum: Utility
- Topic: capture and import smartmeter data from Web Solar Log
- Replies: 25
- Views: 10757
Re: capture and import smartmeter data from Web Solar Log
Did you get it 2 work?, Im getting the same error..meaning put the host in the config file but the script returns an error
Ive got similar settings as above here's the part of the script that gives no host given error
# --------------------------------------------------
if domoticz_enabled ...
Ive got similar settings as above here's the part of the script that gives no host given error
# --------------------------------------------------
if domoticz_enabled ...