Get variables from Nibe Uplink
Your heatpump should be registered in Nibe Uplink. This module fetches data from Nibe Uplink
pip install git+https://github.com/yozik04/nibe_downlink.git
from pprint import pprint
from nibe_downlink import NibeDownlink
NIBE_UPLINK_CONF = {
'username': "[email protected]",
'password': "nibe_uplink_pass",
"hpid": "99999", # heat pump id
'variables': [47011,48132,47041,40008,40012,40015,40016,43005,43416,43420,43424,43136,43439,43437,40004,40013,10069] # variables you want to fetch
}
nd = NibeDownlink(**NIBE_UPLINK_CONF)
online, values = nd.getValues()
print "Is online: %s" % str(online)
pprint(values)
Get your hpid from Nibe Uplink web site. Open a heatpump and it's id will be in your address bar: https://www.nibeuplink.com/System/**99999**/Status/Overview
See https://github.com/openhab/openhab1-addons/wiki/Nibe-Heat-Pump-Binding
Copy examples/config.py.dist to examples/config.py and change settings inside the file
See examples/mqtt.py