Search found 5 matches
- Tuesday 14 November 2017 23:43
- Forum: Show your projects
- Topic: Read British Gas Hive Heating temperature
- Replies: 301
- Views: 60334
Re: Read British Gas Hive Heating temperature
I think the problem here may be that you have not set up dummy devices in Domoticz to receive the values from this script - see lines 13 to 16. The first two are temperature devices, the third is a thermostat / setpoint, and the last is an on/off switch. (I may have mentioned this originally - it ...
- Monday 13 November 2017 22:43
- Forum: Show your projects
- Topic: Read British Gas Hive Heating temperature
- Replies: 301
- Views: 60334
Re: Read British Gas Hive Heating temperature
Took a few attempts but managed to track down the correct ID. Dont make it easy this stuff do they... A new set of error messages at the end. However got lots more data now, including schedule, frost protection temp settings etc. Traceback (most recent call last): File "./hive.sh", line 71, in ...
- Monday 13 November 2017 19:58
- Forum: Show your projects
- Topic: Read British Gas Hive Heating temperature
- Replies: 301
- Views: 60334
Re: Read British Gas Hive Heating temperature
Ok after working through some things - had to install module "requests" I now have the following error Traceback (most recent call last): File "./hive.sh", line 58, in <module> temp = r.json()["nodes"][2]["attributes"]["temperature"]["reportedValue"] KeyError: 'temperature'
- Sunday 12 November 2017 22:00
- Forum: Show your projects
- Topic: Read British Gas Hive Heating temperature
- Replies: 301
- Views: 60334
Re: Read British Gas Hive Heating temperature
Yep, Hive API / URLs changed a while back. Try this (replace <XXXX>'s with your values): I must have some kind of bash config problem. Added the configs into it and now have: -bash: $'\nPython script to send data from Hive to Domoticz.\n\nReplace XXXs with your values.\n': command not found -bash ...
- Tuesday 07 November 2017 16:32
- Forum: Show your projects
- Topic: Read British Gas Hive Heating temperature
- Replies: 301
- Views: 60334
Re: Read British Gas Hive Heating temperature
Hi just installed this into my new setup. When running the python script i get the following error: Traceback (most recent call last): File "/home/pi/domoticz/scripts/hive2domo.py", line 70, in <module> makeRequest(url,payload) File "/home/pi/domoticz/scripts/hive2domo.py", line 41, in makeRequest ...