Read British Gas Hive Heating temperature

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

Post Reply
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

I suspect you haven't added 127.0.0.1 into the "Local Networks" box on the Settings page.

Try that and see if it helps
Jem101
Posts: 66
Joined: Saturday 02 May 2015 21:26
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bexleyheath, SE London, UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Jem101 »

And that was exactly what the issue was!

Annoyingly I still can't get it to work on the Domoticz beta releases, crashes soon after startup with a Segmentation Fault error, are you using beta or the release/stable version and are you on Raspbian Jessie or Stretch? I'm planning on clean building a new SD-Card in the next couple of days so I'll see if I have better luck on a new build.

Many thanks

John

BTW did you see the new Hive security camera launched today? Design wise it looks quite nice, remains to be seen what the picture quality is like though.
I firmly believe in having an open mind - although not so open that your brain falls out!

- sometimes attributed to Carl Sagan, but the original quote is much older than that
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

I have had to compile beta from git rather than use the download.
I have an odroid xu3 running debian jessie
Cheers,
Iain
angusmurray
Posts: 5
Joined: Thursday 07 January 2016 12:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by angusmurray »

I am really struggling. I have installed the plugin, added the local network and the Hive "type" seems to all install fine. The log seems to show messages about calling message handler etc, and no error messages. However nothing has appeared in the Devices tab. Is there anything else I can try> I have python 3.5 installed, v3.8153 domoticz on raspberry pi. Would appreciate any ideas.

cheers
Angus
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

have you enabled debug?
can you post your log?
angusmurray
Posts: 5
Joined: Thursday 07 January 2016 12:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by angusmurray »

imcfarla wrote: Wednesday 10 January 2018 12:33 have you enabled debug?
can you post your log?
2018-01-10 11:38:58.861 Domoticz V3.8153 (c)2012-2017 GizMoCuz
2018-01-10 11:38:58.862 Build Hash: 494fff7, Date: 2017-07-30 11:19:41
2018-01-10 11:38:58.862 System: Raspberry Pi
2018-01-10 11:38:58.862 Startup Path: /home/pi/domoticz/
2018-01-10 11:38:59.129 Sunrise: 08:49:00 SunSet:15:55:00
2018-01-10 11:38:59.129 EventSystem: reset all events...
2018-01-10 11:38:59.924 PluginSystem: Started, Python version '3.5.2'.
2018-01-10 11:38:59.977 Active notification Subsystems: email, prowl (2/12)
2018-01-10 11:38:59.984 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2018-01-10 11:39:00.004 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: use_certificate_chain_file: No such file or directory
2018-01-10 11:39:00.004 Error: WebServer(SSL) check privileges for opening ports below 1024
2018-01-10 11:39:00.006 Proxymanager started.
2018-01-10 11:39:00.009 Camera: settings (re)loaded
2018-01-10 11:39:00.018 Starting shared server on: 0.0.0.0:6144
2018-01-10 11:39:00.020 RxQueue: queue worker started...
2018-01-10 11:39:00.020 TCPServer: shared server started...
2018-01-10 11:39:02.034 Hardware Monitor: Started
2018-01-10 11:39:02.053 EventSystem: reset all events...
2018-01-10 11:39:02.056 EventSystem: reset all device statuses...
2018-01-10 11:39:02.143 PluginSystem: Entering work loop.
2018-01-10 11:39:03.043 RFXCOM: Using serial port: /dev/ttyUSB0
2018-01-10 11:39:03.695 Error: RFXCOM: Invalid data received!....
2018-01-10 11:39:05.951 (Bog_hive) Initialized version 0.3.2, author 'imcfarla and MikeF'
2018-01-10 11:39:06.030 (Bog_hive) Starting
2018-01-10 11:39:06.030 (Bog_hive) Debug log level set to: 'true'.
2018-01-10 11:39:06.031 (Bog_hive) DomoticzVersion Not Available - Using JSON
2018-01-10 11:39:06.031 (Bog_hive) Version URL: http://127.0.0.1:8080/json.htm?type=com ... getversion
2018-01-10 11:39:06.047 Python EventSystem: Module not found - Trying to initialize.
2018-01-10 11:39:06.050 Python EventSystem: Initalizing event module.
2018-01-10 11:39:06.063 EventSystem: Started
2018-01-10 11:39:06.236 Incoming connection from: 127.0.0.1
2018-01-10 11:39:06.448 (Bog_hive) Domoticz Revision: 8805
2018-01-10 11:39:06.448 (Bog_hive) Domoticz Version: 3.8153->8153
2018-01-10 11:39:06.449 (Bog_hive) Domoticz Revision: 8805
2018-01-10 11:39:06.449 (Bog_hive) TimedOut available
2018-01-10 11:39:06.450 (Bog_hive) Creating Session
2018-01-10 11:39:11.874 (Bog_hive) AUSIL9jzDHql0S6QecOZfJRZMo2kfAF6
2018-01-10 11:39:11.874 (Bog_hive) onHeartbeat called
2018-01-10 11:39:11.874 (Bog_hive) Getting Data
2018-01-10 11:39:16.552 (Bog_hive) Getting Temperatures
2018-01-10 11:39:16.645 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:39:16.645 (Bog_hive) onHeartbeat called
2018-01-10 11:39:16.646 (Bog_hive) Counter = 2
2018-01-10 11:39:20.693 (RFXCOM) Energy (ELec new)
2018-01-10 11:39:25.476 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:39:25.476 (Bog_hive) onHeartbeat called
2018-01-10 11:39:25.476 (Bog_hive) Counter = 3
2018-01-10 11:39:30.235 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 11:39:33.300 Incoming connection from: 194.247.79.162
2018-01-10 11:39:35.518 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:39:35.518 (Bog_hive) onHeartbeat called
2018-01-10 11:39:35.518 (Bog_hive) Counter = 4
2018-01-10 11:39:37.560 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 11:39:45.502 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:39:45.503 (Bog_hive) onHeartbeat called
2018-01-10 11:39:45.503 (Bog_hive) Counter = 5
2018-01-10 11:39:55.490 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:39:55.490 (Bog_hive) onHeartbeat called
2018-01-10 11:39:55.491 (Bog_hive) Counter = 6
2018-01-10 11:40:05.524 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:40:05.525 (Bog_hive) onHeartbeat called
2018-01-10 11:40:05.525 (Bog_hive) Getting Data
2018-01-10 11:40:05.919 (Bog_hive) Getting Temperatures
2018-01-10 11:40:09.254 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 11:40:15.125 Incoming connection from: 86.162.21.85
2018-01-10 11:40:15.498 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:40:15.498 (Bog_hive) onHeartbeat called
2018-01-10 11:40:15.499 (Bog_hive) Counter = 2
2018-01-10 11:40:17.560 (RFXCOM) Energy (ELec new)
2018-01-10 11:40:25.532 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:40:25.533 (Bog_hive) onHeartbeat called
2018-01-10 11:40:25.533 (Bog_hive) Counter = 3
2018-01-10 11:40:27.315 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 11:40:35.515 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 11:40:35.516 (Bog_hive) onHeartbeat called
2018-01-10 11:40:35.516 (Bog_hive) Counter = 4

Thank you for quick reply...
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

Can you change getdevices to have Domoticz.Debug(str(r)) in it?
ie:
try:
nodes = json.loads(r)['nodes']
except Exception as e:
Domoticz.Log(str(e))

change to:
try:
nodes = json.loads(r)['nodes']
Domoticz.Debug(str(r))
except Exception as e:
Domoticz.Log(str(e))
angusmurray
Posts: 5
Joined: Thursday 07 January 2016 12:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by angusmurray »

imcfarla wrote: Wednesday 10 January 2018 13:31 Can you change getdevices to have Domoticz.Debug(str(r)) in it?
ie:
try:
nodes = json.loads(r)['nodes']
except Exception as e:
Domoticz.Log(str(e))

change to:
try:
nodes = json.loads(r)['nodes']
Domoticz.Debug(str(r))
except Exception as e:
Domoticz.Log(str(e))
2018-01-10 13:37:20.240 Domoticz V3.8153 (c)2012-2017 GizMoCuz
2018-01-10 13:37:20.241 Build Hash: 494fff7, Date: 2017-07-30 11:19:41
2018-01-10 13:37:20.241 System: Raspberry Pi
2018-01-10 13:37:20.242 Startup Path: /home/pi/domoticz/
2018-01-10 13:37:20.634 Sunrise: 08:49:00 SunSet:15:55:00
2018-01-10 13:37:20.634 EventSystem: reset all events...
2018-01-10 13:37:22.545 PluginSystem: Started, Python version '3.5.2'.
2018-01-10 13:37:22.769 Active notification Subsystems: email, prowl (2/12)
2018-01-10 13:37:22.970 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2018-01-10 13:37:23.108 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: use_certificate_chain_file: No such file or directory
2018-01-10 13:37:23.108 Error: WebServer(SSL) check privileges for opening ports below 1024
2018-01-10 13:37:23.110 Proxymanager started.
2018-01-10 13:37:23.124 Camera: settings (re)loaded
2018-01-10 13:37:23.219 Starting shared server on: 0.0.0.0:6144
2018-01-10 13:37:23.221 RxQueue: queue worker started...
2018-01-10 13:37:23.221 TCPServer: shared server started...
2018-01-10 13:37:25.300 Hardware Monitor: Started
2018-01-10 13:37:25.432 EventSystem: reset all events...
2018-01-10 13:37:25.435 EventSystem: reset all device statuses...
2018-01-10 13:37:25.747 PluginSystem: Entering work loop.
2018-01-10 13:37:26.316 RFXCOM: Using serial port: /dev/ttyUSB0
2018-01-10 13:37:26.901 Error: RFXCOM: Invalid data received!....
2018-01-10 13:37:26.977 Error: RFXCOM: Invalid data received!....
2018-01-10 13:37:30.373 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 13:37:39.479 (Bog_hive) Initialized version 0.3.2, author 'imcfarla and MikeF'
2018-01-10 13:37:39.565 (Bog_hive) Starting
2018-01-10 13:37:39.565 (Bog_hive) Debug log level set to: 'true'.
2018-01-10 13:37:39.565 (Bog_hive) DomoticzVersion Not Available - Using JSON
2018-01-10 13:37:39.566 (Bog_hive) Version URL: http://127.0.0.1:8080/json.htm?type=com ... getversion
2018-01-10 13:37:39.577 Python EventSystem: Module not found - Trying to initialize.
2018-01-10 13:37:39.590 Python EventSystem: Initalizing event module.
2018-01-10 13:37:39.593 EventSystem: Started
2018-01-10 13:37:39.598 Error: (Bog_hive) 'onStart' failed 'AttributeError':''Pattern' object has no attribute 'append''.
2018-01-10 13:37:39.599 Error: (Bog_hive) ----> Line 426 in /home/pi/domoticz/plugins/Hive/plugin.py, function onStart
2018-01-10 13:37:39.599 Error: (Bog_hive) ----> Line 36 in /home/pi/domoticz/plugins/Hive/plugin.py, function onStart
2018-01-10 13:37:39.599 Error: (Bog_hive) ----> Line 403 in /home/pi/domoticz/plugins/Hive/plugin.py, function getDomoticzRevision
2018-01-10 13:37:39.599 Error: (Bog_hive) ----> Line 269 in /usr/local/lib/python3.5/urllib/request.py, function __init__
2018-01-10 13:37:39.599 Error: (Bog_hive) ----> Line 295 in /usr/local/lib/python3.5/urllib/request.py, function full_url
2018-01-10 13:37:39.600 Error: (Bog_hive) ----> Line 325 in /usr/local/lib/python3.5/urllib/request.py, function _parse
2018-01-10 13:37:39.600 Error: (Bog_hive) ----> Line 872 in /usr/local/lib/python3.5/urllib/parse.py, function splithost
2018-01-10 13:37:39.600 Error: (Bog_hive) ----> Line 224 in /usr/local/lib/python3.5/re.py, function compile
2018-01-10 13:37:39.600 Error: (Bog_hive) ----> Line 293 in /usr/local/lib/python3.5/re.py, function _compile
2018-01-10 13:37:39.600 Error: (Bog_hive) ----> Line 546 in /usr/local/lib/python3.5/sre_compile.py, function compile
2018-01-10 13:37:39.600 Error: (Bog_hive) ----> Line 66 in /usr/local/lib/python3.5/sre_compile.py, function _compile
2018-01-10 13:38:15.078 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:38:15.078 (Bog_hive) onHeartbeat called
2018-01-10 13:38:15.079 (Bog_hive) Counter = 1
2018-01-10 13:38:17.598 (RFXCOM) Energy (ELec new)
2018-01-10 13:38:25.112 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:38:25.113 (Bog_hive) onHeartbeat called
2018-01-10 13:38:25.113 (Bog_hive) Counter = 2
2018-01-10 13:38:27.358 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 13:38:28.122 Incoming connection from: 86.162.21.85
2018-01-10 13:38:35.099 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:38:35.100 (Bog_hive) onHeartbeat called
2018-01-10 13:38:35.100 (Bog_hive) Counter = 3
2018-01-10 13:38:44.717 Incoming connection from: 194.247.79.162
2018-01-10 13:38:45.094 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:38:45.095 (Bog_hive) onHeartbeat called
2018-01-10 13:38:45.095 (Bog_hive) Counter = 4
2018-01-10 13:38:49.376 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 13:38:50.244 Login successful from 194.247.79.162 for user 'Admin'
2018-01-10 13:38:55.088 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:38:55.088 (Bog_hive) onHeartbeat called
2018-01-10 13:38:55.088 (Bog_hive) Counter = 5
2018-01-10 13:39:05.121 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:39:05.121 (Bog_hive) onHeartbeat called
2018-01-10 13:39:05.121 (Bog_hive) Counter = 6
2018-01-10 13:39:06.357 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 13:39:15.105 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:39:15.105 (Bog_hive) onHeartbeat called
2018-01-10 13:39:15.106 (Bog_hive) Counter = 7
2018-01-10 13:39:17.600 (RFXCOM) Energy (ELec new)
2018-01-10 13:39:25.139 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:39:25.139 (Bog_hive) onHeartbeat called
2018-01-10 13:39:25.140 (Bog_hive) Counter = 8
2018-01-10 13:39:35.122 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:39:35.122 (Bog_hive) onHeartbeat called
2018-01-10 13:39:35.123 (Bog_hive) Counter = 9
2018-01-10 13:39:42.375 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 13:39:45.106 (Bog_hive) Calling message handler 'onHeartbeat'.
2018-01-10 13:39:45.107 (Bog_hive) onHeartbeat called
2018-01-10 13:39:45.107 (Bog_hive) Counter = 10
2018-01-10 13:39:45.359 (RFXCOM) Temp + Humidity (LoftTemp)


Dont know if that helps... thanks again
angusmurray
Posts: 5
Joined: Thursday 07 January 2016 12:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by angusmurray »

Another log....

2018-01-10 15:45:38.925 Domoticz V3.8153 (c)2012-2017 GizMoCuz
2018-01-10 15:45:38.925 Build Hash: 494fff7, Date: 2017-07-30 11:19:41
2018-01-10 15:45:38.926 System: Raspberry Pi
2018-01-10 15:45:38.926 Startup Path: /home/pi/domoticz/
2018-01-10 15:45:39.371 Sunrise: 08:49:00 SunSet:15:55:00
2018-01-10 15:45:39.371 EventSystem: reset all events...
2018-01-10 15:45:41.309 PluginSystem: Started, Python version '3.5.2'.
2018-01-10 15:45:41.514 Active notification Subsystems: email, prowl (2/12)
2018-01-10 15:45:41.622 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2018-01-10 15:45:41.724 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: use_certificate_chain_file: No such file or directory
2018-01-10 15:45:41.724 Error: WebServer(SSL) check privileges for opening ports below 1024
2018-01-10 15:45:41.726 Proxymanager started.
2018-01-10 15:45:41.729 Camera: settings (re)loaded
2018-01-10 15:45:41.733 Starting shared server on: 0.0.0.0:6144
2018-01-10 15:45:41.769 TCPServer: shared server started...
2018-01-10 15:45:41.771 RxQueue: queue worker started...
2018-01-10 15:45:43.805 Hardware Monitor: Started
2018-01-10 15:45:43.887 EventSystem: reset all events...
2018-01-10 15:45:43.890 EventSystem: reset all device statuses...
2018-01-10 15:45:43.972 PluginSystem: Entering work loop.
2018-01-10 15:45:44.818 RFXCOM: Using serial port: /dev/ttyUSB0
2018-01-10 15:45:45.394 Error: RFXCOM: Invalid data received!....
2018-01-10 15:45:45.471 Error: RFXCOM: Invalid data received!....
2018-01-10 15:45:47.944 Python EventSystem: Module not found - Trying to initialize.
2018-01-10 15:45:47.961 Python EventSystem: Initalizing event module.
2018-01-10 15:45:47.975 EventSystem: Started
2018-01-10 15:45:49.689 (RFXCOM) Energy (ELec new)
2018-01-10 15:46:00.235 Incoming connection from: 192.168.1.164
2018-01-10 15:46:30.466 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:46:54.423 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 15:47:09.457 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:47:17.628 (RFXCOM) Energy (ELec new)
2018-01-10 15:47:27.610 Incoming connection from: 86.162.21.85
2018-01-10 15:47:47.424 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 15:47:48.457 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:48:12.646 (Hive_PLUG) Initialized version 0.3.2, author 'imcfarla and MikeF'
2018-01-10 15:48:12.711 (Hive_PLUG) Starting
2018-01-10 15:48:12.712 (Hive_PLUG) DomoticzVersion Not Available - Using JSON
2018-01-10 15:48:12.712 (Hive_PLUG) Version URL: http://127.0.0.1:8080/json.htm?type=com ... getversion
2018-01-10 15:48:12.900 Incoming connection from: 127.0.0.1
2018-01-10 15:48:12.923 (Hive_PLUG) TimedOut available
2018-01-10 15:48:12.924 (Hive_PLUG) Creating Session
2018-01-10 15:48:17.631 (RFXCOM) Energy (ELec new)
2018-01-10 15:48:27.460 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:48:40.426 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 15:49:06.461 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:49:17.635 (RFXCOM) Energy (ELec new)
2018-01-10 15:49:33.427 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 15:49:45.460 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:50:17.630 (RFXCOM) Energy (ELec new)
2018-01-10 15:50:24.462 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:50:26.427 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 15:50:30.531 (Hive_PLUG) Deleting Session
2018-01-10 15:50:30.697 (Hive_PLUG) Exiting work loop...
2018-01-10 15:50:31.197 (Hive_PLUG) Stopped.
2018-01-10 15:50:35.095 (Hive_PLUG) Initialized version 0.3.2, author 'imcfarla and MikeF'
2018-01-10 15:50:35.161 (Hive_PLUG) Starting
2018-01-10 15:50:35.161 (Hive_PLUG) Debug log level set to: 'true'.
2018-01-10 15:50:35.161 (Hive_PLUG) DomoticzVersion Not Available - Using JSON
2018-01-10 15:50:35.162 (Hive_PLUG) Version URL: http://127.0.0.1:8080/json.htm?type=com ... getversion
2018-01-10 15:50:35.349 (Hive_PLUG) Domoticz Revision: 8805
2018-01-10 15:50:35.349 (Hive_PLUG) Domoticz Version: 3.8153->8153
2018-01-10 15:50:35.350 (Hive_PLUG) Domoticz Revision: 8805
2018-01-10 15:50:35.350 (Hive_PLUG) TimedOut available
2018-01-10 15:50:35.351 (Hive_PLUG) Creating Session
2018-01-10 15:50:36.271 (Hive_PLUG) F5uGP1gTuvTUbRlWeIaW3cy7AvKwkle2
2018-01-10 15:50:36.272 (Hive_PLUG) onHeartbeat called
2018-01-10 15:50:36.272 (Hive_PLUG) Getting Data
2018-01-10 15:50:36.663 (Hive_PLUG) {"meta":{},"links":{},"linked":{},"nodes":[{"id":"2b9c3753-99c2-4190-ae17-d3f3435c70e1","href":"https://api.prod.bgchprod.info/omnia/no ... alue":"The ‼‼ngstr‼‼m Distribution","displayValue":"The ‼‼ngstr‼‼m Distribution","reportReceivedTime":1515599419405,"reportChangedTime":1515064912382},"presence":{"reportedValue":"PRESENT","displayValue":"PRESENT"},"capabilities":{"reportedValue":["secureFeed","deviceRemoval","zoneNameInitializer","bindableSyntheticDevices","featureBasedSyntheticDevices"],"displayValue":["secureFeed","deviceRemoval","zoneNameInitializer","bindableSyntheticDevices","featureBasedSyntheticDevices"],"reportReceivedTime":1515599419405,"reportChangedTime":1515064972499},"ethernetConnectionState":{"reportedValue":"CONNECTED","displayValue":"CONNECTED","reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"supportsCombinedUpgrade":{"reportedValue":true,"displayValue":true,"reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.cla ... lue":"R311 B110717","displayValue":"R311 B110717","reportReceivedTime":1515596179397,"reportChangedTime":1515064933872},"kernelVersion":{"reportedValue":"3.12.10","displayValue":"3.12.10","reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"internalIPAddress":{"reportedValue":"192.168.1.218","displayValue":"192.168.1.218","reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"pcbRevision":{"reportedValue":1,"displayValue":1,"reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"kernelBuildDate":{"reportedValue":"#1 Wed May 28 14:35:19 BST 2014","displayValue":"#1 Wed May 28 14:35:19 BST 2014","reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"rootFSBuildDate":{"reportedValue":"Wed May 28 14:59:52 2014","displayValue":"Wed May 28 14:59:52 2014","reportReceivedTime":1515599419405,"reportChangedTime":1515064252749},"softwareVersion":{"reportedValue":"1.0.0-5465-30.0","displayValue":"1.0.0-5465-30.0","reportReceivedTime":1515599419405,"reportChangedTime":1515064912382},"serverConnectionState":{"reportedValue":"CONNECTED","displayValue":"CONNECTED","reportReceivedTime":1515599419405,"reportChangedTime":1515064252749}}},{"id":"372ee455-899d-413c-a6b9-930d6bb8e7e4","href":"https://api.prod.bgchprod.info/omnia/no ... Thermostat 1","nodeType":"http://alertme.com/schema/json/node.cla ... boundNodes":[{"type":"node","id":"467a28a4-8f57-492b-96ce-7fce160dceb3","data":null}]},"attributes":{"nativeIdentifier":{"reportedValue":"70CB","displayValue":"70CB","reportReceivedTime":1515596178852,"reportChangedTime":1515067188884},"LQI":{"reportedValue":100,"displayValue":100,"reportReceivedTime":1515599391238,"reportChangedTime":1515597239632},"batteryVoltage":{"reportedValue":6.0,"displayValue":6.0,"reportReceivedTime":1515599391238,"reportChangedTime":1515067309788},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.class.
2018-01-10 15:50:36.664 (Hive_PLUG) Getting Temperatures
2018-01-10 15:50:44.638 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:50:44.639 (Hive_PLUG) onHeartbeat called
2018-01-10 15:50:44.639 (Hive_PLUG) Counter = 2
2018-01-10 15:50:54.623 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:50:54.623 (Hive_PLUG) onHeartbeat called
2018-01-10 15:50:54.623 (Hive_PLUG) Counter = 3
2018-01-10 15:51:03.463 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:51:04.609 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:51:04.609 (Hive_PLUG) onHeartbeat called
2018-01-10 15:51:04.609 (Hive_PLUG) Counter = 4
2018-01-10 15:51:14.643 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:51:14.644 (Hive_PLUG) onHeartbeat called
2018-01-10 15:51:14.644 (Hive_PLUG) Counter = 5
2018-01-10 15:51:17.635 (RFXCOM) Energy (ELec new)
2018-01-10 15:51:19.428 (RFXCOM) Temp + Humidity (Outside Temp)
2018-01-10 15:51:21.034 Incoming connection from: 194.247.79.162
2018-01-10 15:51:24.640 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:51:24.641 (Hive_PLUG) onHeartbeat called
2018-01-10 15:51:24.641 (Hive_PLUG) Counter = 6
2018-01-10 15:51:27.945 Login successful from 194.247.79.162 for user 'Admin'
2018-01-10 15:51:34.627 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:51:34.628 (Hive_PLUG) onHeartbeat called
2018-01-10 15:51:34.628 (Hive_PLUG) Getting Data
2018-01-10 15:51:35.213 (Hive_PLUG) {"meta":{},"links":{},"linked":{},"nodes":[{"id":"2b9c3753-99c2-4190-ae17-d3f3435c70e1","href":"https://api.prod.bgchprod.info/omnia/no ... alue":"The ‼‼ngstr‼‼m Distribution","displayValue":"The ‼‼ngstr‼‼m Distribution","reportReceivedTime":1515599479477,"reportChangedTime":1515064912382},"presence":{"reportedValue":"PRESENT","displayValue":"PRESENT"},"capabilities":{"reportedValue":["secureFeed","deviceRemoval","zoneNameInitializer","bindableSyntheticDevices","featureBasedSyntheticDevices"],"displayValue":["secureFeed","deviceRemoval","zoneNameInitializer","bindableSyntheticDevices","featureBasedSyntheticDevices"],"reportReceivedTime":1515599479477,"reportChangedTime":1515064972499},"ethernetConnectionState":{"reportedValue":"CONNECTED","displayValue":"CONNECTED","reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"supportsCombinedUpgrade":{"reportedValue":true,"displayValue":true,"reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.cla ... lue":"R311 B110717","displayValue":"R311 B110717","reportReceivedTime":1515599492425,"reportChangedTime":1515064933872},"kernelVersion":{"reportedValue":"3.12.10","displayValue":"3.12.10","reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"internalIPAddress":{"reportedValue":"192.168.1.218","displayValue":"192.168.1.218","reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"pcbRevision":{"reportedValue":1,"displayValue":1,"reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"kernelBuildDate":{"reportedValue":"#1 Wed May 28 14:35:19 BST 2014","displayValue":"#1 Wed May 28 14:35:19 BST 2014","reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"rootFSBuildDate":{"reportedValue":"Wed May 28 14:59:52 2014","displayValue":"Wed May 28 14:59:52 2014","reportReceivedTime":1515599479477,"reportChangedTime":1515064252749},"softwareVersion":{"reportedValue":"1.0.0-5465-30.0","displayValue":"1.0.0-5465-30.0","reportReceivedTime":1515599479477,"reportChangedTime":1515064912382},"serverConnectionState":{"reportedValue":"CONNECTED","displayValue":"CONNECTED","reportReceivedTime":1515599479477,"reportChangedTime":1515064252749}}},{"id":"372ee455-899d-413c-a6b9-930d6bb8e7e4","href":"https://api.prod.bgchprod.info/omnia/no ... Thermostat 1","nodeType":"http://alertme.com/schema/json/node.cla ... boundNodes":[{"type":"node","id":"467a28a4-8f57-492b-96ce-7fce160dceb3","data":null}]},"attributes":{"nativeIdentifier":{"reportedValue":"70CB","displayValue":"70CB","reportReceivedTime":1515599491801,"reportChangedTime":1515067188884},"LQI":{"reportedValue":100,"displayValue":100,"reportReceivedTime":1515599491801,"reportChangedTime":1515597239632},"batteryVoltage":{"reportedValue":6.0,"displayValue":6.0,"reportReceivedTime":1515599491801,"reportChangedTime":1515067309788},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.class.
2018-01-10 15:51:35.214 (Hive_PLUG) Getting Temperatures
2018-01-10 15:51:42.471 (RFXCOM) Temp + Humidity (LoftTemp)
2018-01-10 15:51:44.643 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:51:44.644 (Hive_PLUG) onHeartbeat called
2018-01-10 15:51:44.644 (Hive_PLUG) Counter = 2
2018-01-10 15:51:54.628 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:51:54.629 (Hive_PLUG) onHeartbeat called
2018-01-10 15:51:54.629 (Hive_PLUG) Counter = 3
2018-01-10 15:52:04.664 (Hive_PLUG) Calling message handler 'onHeartbeat'.
2018-01-10 15:52:04.665 (Hive_PLUG) onHeartbeat called
2018-01-10 15:52:04.665 (Hive_PLUG) Counter = 4
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

AngusMurray - Can you run this and post the text produced?

Code: Select all

#!/usr/bin/env python
'''
Python script to get json data from Hive
python get_hive_json.py [-h] username password
'''
import requests
import json
import sys
import argparse

parser = argparse.ArgumentParser(description='Get Hive JSON data.')
parser.add_argument('username', help='Hive Username')
parser.add_argument('password', help='Hive Password')
args = parser.parse_args()

requests.packages.urllib3.disable_warnings()

# log on to Hive
payload = {'username':args.username, 'password':args.password}
headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}
url = 'https://beekeeper-uk.hivehome.com/1.0/gateway/login'
r = requests.post(url, headers=headers, data=json.dumps(payload), verify=False)
sessionId = r.json()["token"]

headers = {'Content-Type': 'application/vnd.alertme.zoo-6.2+json', 'Accept': 'application/vnd.alertme.zoo-6.2+json', \
        'X-AlertMe-Client': 'swagger', 'X-Omnia-Access-Token': sessionId}
url = 'https://api.prod.bgchprod.info:443/omnia/nodes'
r = requests.get(url, headers=headers, verify=False)

# Find thermostat node
print r.json()["nodes"]

# log out from Hive
headers = {'Content-Type': 'application/vnd.alertme.zoo-6.1+json', 'Accept': 'application/vnd.alertme.zoo-6.2+json', \
        'X-AlertMe-Client': 'Hive Web Dashboard', 'X-Omnia-Access-Token': sessionId}
url = 'https://api.prod.bgchprod.info:443/omnia/auth/sessions/' + sessionId
r = requests.delete(url, headers=headers, verify=False)
wywywywy
Posts: 13
Joined: Wednesday 27 September 2017 23:32
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by wywywywy »

@imcfarla @MikeF Thanks for all the work with the plugin! Any chance you could start a proper github project so that we can easily track updates please?

By the way I am getting this error in the plugin. Any idea please?

Code: Select all

2018-01-27 01:38:03.766 Error: (Hive) 'onHeartbeat' failed 'NameError'.
2018-01-27 01:38:03.766 Error: (Hive) ----> Line 446 in /root/domoticz/plugins/hive/plugin.py, function onHeartbeat
2018-01-27 01:38:03.766 Error: (Hive) ----> Line 116 in /root/domoticz/plugins/hive/plugin.py, function onHeartbeat
2018-01-27 01:38:03.766 Error: (Hive) ----> Line 278 in /root/domoticz/plugins/hive/plugin.py, function GetDevices 
Domoticz 3.8153, Python 3.5.2

EDIT - Sorry 127.0.0.1 wasn't set. It's ok now.
PaulFen
Posts: 5
Joined: Tuesday 30 January 2018 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by PaulFen »

imcfarla wrote: Monday 15 January 2018 22:31 AngusMurray - Can you run this and post the text produced?

Code: Select all

#!/usr/bin/env python
'''
Python script to get json data from Hive
python get_hive_json.py [-h] username password
'''
import requests
import json
import sys
import argparse

parser = argparse.ArgumentParser(description='Get Hive JSON data.')
parser.add_argument('username', help='Hive Username')
parser.add_argument('password', help='Hive Password')
args = parser.parse_args()

requests.packages.urllib3.disable_warnings()

# log on to Hive
payload = {'username':args.username, 'password':args.password}
headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}
url = 'https://beekeeper-uk.hivehome.com/1.0/gateway/login'
r = requests.post(url, headers=headers, data=json.dumps(payload), verify=False)
sessionId = r.json()["token"]

headers = {'Content-Type': 'application/vnd.alertme.zoo-6.2+json', 'Accept': 'application/vnd.alertme.zoo-6.2+json', \
        'X-AlertMe-Client': 'swagger', 'X-Omnia-Access-Token': sessionId}
url = 'https://api.prod.bgchprod.info:443/omnia/nodes'
r = requests.get(url, headers=headers, verify=False)

# Find thermostat node
print r.json()["nodes"]

# log out from Hive
headers = {'Content-Type': 'application/vnd.alertme.zoo-6.1+json', 'Accept': 'application/vnd.alertme.zoo-6.2+json', \
        'X-AlertMe-Client': 'Hive Web Dashboard', 'X-Omnia-Access-Token': sessionId}
url = 'https://api.prod.bgchprod.info:443/omnia/auth/sessions/' + sessionId
r = requests.delete(url, headers=headers, verify=False)
I'm having the same issue as angusmurray.

Here is the output from the Domoticz log (with debug on):

Code: Select all

2018-01-31 09:35:59.279 (Hive) Calling message handler 'onHeartbeat'.
2018-01-31 09:35:59.279 (Hive) onHeartbeat called
2018-01-31 09:35:59.279 (Hive) Getting Data
2018-01-31 09:35:59.470 (Hive) {"meta":{},"links":{},"linked":{},"nodes":[{"id":"1e704cad-1195-4f82-aeee-7c260dfee8bc","href":"https://api.prod.bgchprod.info/omnia/nodes/1e704cad-1195-4f82-aeee-7c260dfee8bc","name":"Thermostat","nodeType":"http://alertme.com/schema/json/node.class.thermostatui.json#","parentNodeId":"77c42b36-b7b1-4577-b676-214b4c9210bb","lastSeen":1517391235509,"createdOn":1457369682707,"userId":"f1e2e250-35fb-4fe9-b1e7-1c291f1322fb","ownerId":"f1e2e250-35fb-4fe9-b1e7-1c291f1322fb","relationships":{"boundNodes":[{"type":"node","id":"b7188acf-ad0b-44fa-95fd-9663c0458e30","data":null}]},"attributes":{"nativeIdentifier":{"reportedValue":"CD2E","displayValue":"CD2E","reportReceivedTime":1517389646625,"reportChangedTime":1510881463615},"LQI":{"reportedValue":100,"displayValue":100,"reportReceivedTime":1517389795385,"reportChangedTime":1517389795385},"batteryVoltage":{"reportedValue":5.3,"displayValue":5.3,"reportReceivedTime":1517390941132,"reportChangedTime":1517390941132},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.class.thermostatui.json#","displayValue":"http://alertme.com/schema/json/node.class.thermostatui.json#","reportReceivedTime":1517391235509,"reportChangedTime":1510881463615},"powerSupply":{"reportedValue":"BATTERY","displayValue":"BATTERY","reportReceivedTime":1517389646625,"reportChangedTime":1510881463615},"manufacturer":{"reportedValue":"Computime","displayValue":"Computime","reportReceivedTime":1517389646625,"reportChangedTime":1510881463615},"zigBeeBindingTable":{"reportedValue":[{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":64768,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":1026,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":513,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":513,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":6},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":10,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":0,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":32,"destinationAddress":"::21c:2bff:fe0a:3bb0","destinationEndpoint":1},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":1,"destinationAddress":"::21c:2bff:fe0a:3bb0","destinationEndpoint":1},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":516,"destinationAddress":"::21c:2bff:fe0a:3bb0","destinationEndpoint":1}],"displayValue":[{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":64768,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":1026,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":513,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":513,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":6},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":10,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":0,"destinationAddress":"::21e:5e09:20f:16d0","destinationEndpoint":5},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":32,"destinationAddress":"::21c:2bff:fe0a:3bb0","destinationEndpoint":1},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":1,"destinationAddress":"::21c:2bff:fe0a:3bb0","destinationEndpoint":1},{"sourceAddress":"::21e:5e09:211:67f9","sourceEndpoint":9,"cluster":516,"destinationAddress":"::21c:2bff:fe0a:3bb0","destinationEndpoint":1}],"reportReceivedTime":1517389646625,"reportChangedTime":1516790545322},"RSSI":{"reportedValue":-48,"displayValue":-48,"reportReceivedTime":1517391235509,"reportChangedTime":1517391235509},"protocol":{"reportedValue":"ZIGBEE","displayValue":"ZIGBEE","reportReceivedTime":1516960914444,"reportChangedTime":1510881463615},"macAddress":{"reportedValue":"001E5E09021167F9","displayValue":"001E5E09021167F9","reportReceivedTime":1517389646625,"reportChangedTime":1510881463615},"lastSeen":{"reportedValue":"2018-01-24T09:48:13.124+0000","displayValue":"2018-01-24T09:48:13.124+0000","reportReceivedTime":1516787326006,"reportChangedTime":1516787326006},"thermostat":{"reportedValue":"::21e:5e09:20f:16d0","displayValue":"::21e:5e09:20f:16d0","reportReceivedTime":1516787326006,"reportChangedTime":1510881463615},"batteryState":{"reportedValue":"NORMAL","displayValue":"NORMAL","reportReceivedTime":1517389646625,"reportChangedTime":1516960989881},"model":{"reportedValue":"SLT3","displayValue":"SLT3","reportReceivedTime":1517389646625,"reportChangedTime":1510881463615},"presence":{"reportedValue":"PRESENT","displayValue":"PRESENT","reportReceivedTime":1517389646625,"reportChangedTime":1516960988379},"softwareVersion":{"reportedValue":"02150303","displayValue":"02150303","reportReceivedTime":1517389646625,"reportChangedTime":1510881463615},"batteryLevel":{"reportedValue":60,"displayValue":60,"reportReceivedTime":1517390941132,"reportChangedTime":1517390941132},"batteryAlertEnabled":{"reportedValue":true,"displayValue":true,"reportReceivedTime":1517389646625,"reportChangedTime":1516790542739}}},{"id":"3715d688-86cd-4721-a025-e4bb2d68e484","href":"https://api.prod.bgchprod.info/omnia/nodes/3715d688-86cd-4721-a025-e4bb2d68e484","name":"http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#","nodeType":"http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#","parentNodeId":"77c42b36-b7b1-4577-b676-214b4c9210bb","lastSeen":1517389645390,"createdOn":1457368953069,"userId":"f1e2e250-35fb-4fe9-b1e7-1c291f1322fb","ownerId
2018-01-31 09:35:59.470 (Hive) Getting Temperatures
2018-01-31 09:36:09.299 (Hive) Calling message handler 'onHeartbeat'.
2018-01-31 09:36:09.299 (Hive) onHeartbeat called
2018-01-31 09:36:09.299 (Hive) Counter = 2
Here is the output from the script:

Code: Select all

[{'lastSeen': 1517391843150, 'relationships': {'boundNodes': [{'type': 'node', 'data': None, 'id': 'b7188acf-ad0b-44fa-95fd-9663c0458e30'}]}, 'ownerId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'userId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'parentNodeId': '77c42b36-b7b1-4577-b676-214b4c9210bb', 'createdOn': 1457369682707, 'name': 'Thermostat', 'href': 'https://api.prod.bgchprod.info/omnia/nodes/1e704cad-1195-4f82-aeee-7c260dfee8bc', 'id': '1e704cad-1195-4f82-aeee-7c260dfee8bc', 'attributes': {'batteryLevel': {'reportChangedTime': 1517391843150, 'reportedValue': 40, 'displayValue': 40, 'reportReceivedTime': 1517391843150}, 'LQI': {'reportChangedTime': 1517389795385, 'reportedValue': 100, 'displayValue': 100, 'reportReceivedTime': 1517389795385}, 'presence': {'reportChangedTime': 1516960988379, 'reportedValue': 'PRESENT', 'displayValue': 'PRESENT', 'reportReceivedTime': 1517389646625}, 'RSSI': {'reportChangedTime': 1517391235509, 'reportedValue': -48, 'displayValue': -48, 'reportReceivedTime': 1517391235509}, 'manufacturer': {'reportChangedTime': 1510881463615, 'reportedValue': 'Computime', 'displayValue': 'Computime', 'reportReceivedTime': 1517389646625}, 'powerSupply': {'reportChangedTime': 1510881463615, 'reportedValue': 'BATTERY', 'displayValue': 'BATTERY', 'reportReceivedTime': 1517389646625}, 'nativeIdentifier': {'reportChangedTime': 1510881463615, 'reportedValue': 'CD2E', 'displayValue': 'CD2E', 'reportReceivedTime': 1517389646625}, 'protocol': {'reportChangedTime': 1510881463615, 'reportedValue': 'ZIGBEE', 'displayValue': 'ZIGBEE', 'reportReceivedTime': 1516960914444}, 'macAddress': {'reportChangedTime': 1510881463615, 'reportedValue': '001E5E09021167F9', 'displayValue': '001E5E09021167F9', 'reportReceivedTime': 1517389646625}, 'lastSeen': {'reportChangedTime': 1516787326006, 'reportedValue': '2018-01-24T09:48:13.124+0000', 'displayValue': '2018-01-24T09:48:13.124+0000', 'reportReceivedTime': 1516787326006}, 'thermostat': {'reportChangedTime': 1510881463615, 'reportedValue': '::21e:5e09:20f:16d0', 'displayValue': '::21e:5e09:20f:16d0', 'reportReceivedTime': 1516787326006}, 'model': {'reportChangedTime': 1510881463615, 'reportedValue': 'SLT3', 'displayValue': 'SLT3', 'reportReceivedTime': 1517389646625}, 'softwareVersion': {'reportChangedTime': 1510881463615, 'reportedValue': '02150303', 'displayValue': '02150303', 'reportReceivedTime': 1517389646625}, 'zigBeeBindingTable': {'reportChangedTime': 1516790545322, 'reportedValue': [{'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 64768, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 1026, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 513, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 6, 'sourceEndpoint': 9, 'cluster': 513, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 10, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 0, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 9, 'cluster': 32, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 9, 'cluster': 1, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 9, 'cluster': 516, 'sourceAddress': '::21e:5e09:211:67f9'}], 'displayValue': [{'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 64768, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 1026, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 513, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 6, 'sourceEndpoint': 9, 'cluster': 513, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 10, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21e:5e09:20f:16d0', 'destinationEndpoint': 5, 'sourceEndpoint': 9, 'cluster': 0, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 9, 'cluster': 32, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 9, 'cluster': 1, 'sourceAddress': '::21e:5e09:211:67f9'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 9, 'cluster': 516, 'sourceAddress': '::21e:5e09:211:67f9'}], 'reportReceivedTime': 1517389646625}, 'batteryState': {'reportChangedTime': 1516960989881, 'reportedValue': 'NORMAL', 'displayValue': 'NORMAL', 'reportReceivedTime': 1517389646625}, 'batteryAlertEnabled': {'reportChangedTime': 1516790542739, 'reportedValue': True, 'displayValue': True, 'reportReceivedTime': 1517389646625}, 'batteryVoltage': {'reportChangedTime': 1517391843150, 'reportedValue': 5.2, 'displayValue': 5.2, 'reportReceivedTime': 1517391843150}, 'nodeType': {'reportChangedTime': 1510881463615, 'reportedValue': 'http://alertme.com/schema/json/node.class.thermostatui.json#', 'displayValue': 'http://alertme.com/schema/json/node.class.thermostatui.json#', 'reportReceivedTime': 1517391843150}}, 'nodeType': 'http://alertme.com/schema/json/node.class.thermostatui.json#'}, {'lastSeen': 1517389645390, 'attributes': {'consumers': {'reportedValue': [], 'displayValue': []}, 'presence': {'reportChangedTime': 1510885503296, 'reportedValue': 'PRESENT', 'displayValue': 'PRESENT', 'reportReceivedTime': 1517389645390}, 'thermostatNodeAddresses': {'reportChangedTime': 1510885503296, 'reportedValue': ['::21e:5e09:20f:16d0'], 'displayValue': ['::21e:5e09:20f:16d0'], 'reportReceivedTime': 1517389645390}, 'producers': {'reportedValue': [], 'displayValue': []}, 'protocol': {'reportChangedTime': 1510885503296, 'reportedValue': 'SYNTHETIC', 'displayValue': 'SYNTHETIC', 'reportReceivedTime': 1517389645390}, 'nodeType': {'reportChangedTime': 1510885503296, 'reportedValue': 'http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#', 'displayValue': 'http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#', 'reportReceivedTime': 1517389645390}}, 'ownerId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'userId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'parentNodeId': '77c42b36-b7b1-4577-b676-214b4c9210bb', 'createdOn': 1457368953069, 'name': 'http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#', 'href': 'https://api.prod.bgchprod.info/omnia/nodes/3715d688-86cd-4721-a025-e4bb2d68e484', 'id': '3715d688-86cd-4721-a025-e4bb2d68e484', 'nodeType': 'http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#'}, {'lastSeen': 1517391725044, 'attributes': {'supportsTransitionsPerDay': {'reportChangedTime': 1510881538609, 'reportedValue': 6, 'displayValue': 6, 'reportReceivedTime': 1516787325948}, 'previousConfiguration': {'reportChangedTime': 1510881538609, 'reportedValue': {'mode': 'AUTO'}, 'displayValue': {'mode': 'AUTO'}, 'reportReceivedTime': 1517389646536}, 'activeOverrides': {'reportChangedTime': 1510881538609, 'reportedValue': [], 'displayValue': [], 'reportReceivedTime': 1517389646536}, 'activeHeatCoolMode': {'reportChangedTime': 1510881538609, 'reportedValue': 'HEAT', 'displayValue': 'HEAT', 'reportReceivedTime': 1517389646536}, 'supportsHotWater': {'reportChangedTime': 1510881538609, 'reportedValue': True, 'displayValue': True, 'reportReceivedTime': 1517389646536}, 'scheduleLockDuration': {'reportChangedTime': 1510881538609, 'reportedValue': 0, 'displayValue': 0, 'reportReceivedTime': 1517389646536}, 'activeScheduleLock': {'reportChangedTime': 1510881538609, 'reportedValue': False, 'displayValue': False, 'reportReceivedTime': 1517389646536}, 'nodeType': {'reportChangedTime': 1510881538609, 'reportedValue': 'http://alertme.com/schema/json/node.class.thermostat.json#', 'displayValue': 'http://alertme.com/schema/json/node.class.thermostat.json#', 'reportReceivedTime': 1517389646536}, 'schedule': {'reportChangedTime': 1510881538609, 'reportedValue': {'sunday': [{'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '10:30', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'tuesday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'monday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'friday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'wednesday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'thursday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'saturday': [{'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '10:30', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}]}, 'displayValue': {'sunday': [{'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '10:30', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'tuesday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'monday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'friday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'wednesday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'thursday': [{'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '06:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}], 'saturday': [{'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '08:30', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '10:30', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}, {'time': '16:00', 'targetHeatTemperature': 99.0, 'heatCoolMode': 'HEAT'}, {'time': '21:00', 'targetHeatTemperature': 0.0, 'heatCoolMode': 'OFF'}]}, 'reportReceivedTime': 1517389646536}, 'stateHotWaterRelay': {'propertyStatus': 'COMPLETE', 'reportChangedTime': 1517385601139, 'reportedValue': 'OFF', 'displayValue': 'OFF', 'reportReceivedTime': 1517391175280}}, 'ownerId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'userId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'parentNodeId': 'b7188acf-ad0b-44fa-95fd-9663c0458e30', 'createdOn': 1457369641871, 'name': 'Receiver', 'href': 'https://api.prod.bgchprod.info/omnia/nodes/4d8bcdac-a579-41ae-8f23-5712b1018500', 'id': '4d8bcdac-a579-41ae-8f23-5712b1018500', 'nodeType': 'http://alertme.com/schema/json/node.class.thermostat.json#'}, {'lastSeen': 1517391843150, 'attributes': {'ethernetConnectionState': {'reportChangedTime': 1510881391842, 'reportedValue': 'CONNECTED', 'displayValue': 'CONNECTED', 'reportReceivedTime': 1517391841492}, 'protocol': {'reportChangedTime': 1510881462936, 'reportedValue': 'ZIGBEE', 'displayValue': 'ZIGBEE', 'reportReceivedTime': 1517389645430}, 'softwareVersion': {'reportChangedTime': 1516790506244, 'reportedValue': '1.0.0-5845-23.0', 'displayValue': '1.0.0-5845-23.0', 'propertyStatus': 'COMPLETE', 'targetValue': '1.0.0-5845-23.0', 'targetExpiryTime': 1516790114908, 'reportReceivedTime': 1517391841492, 'targetSetTXId': 'e500d684-b877-4c88-bc97-4ab34e44f465', 'targetSetTime': 1516789814908}, 'zigBeeTileFirmwareVersion': {'reportChangedTime': 1516790498646, 'reportedValue': 'CICIE R311 B110717', 'displayValue': 'CICIE R311 B110717', 'reportReceivedTime': 1517389645430}, 'supportedSyntheticDevices': {'reportChangedTime': 1516960908618, 'reportedValue': ['http://alertme.com/schema/json/node.class.synthetic.daylight.json#', 'http://alertme.com/schema/json/node.class.boolean.synthetic.device.json#', 'http://alertme.com/schema/json/node.class.synthetic.fake.occupancy.json#', 'http://alertme.com/schema/json/node.class.synthetic.mqtt.camera.mirror.device.json#', 'http://alertme.com/schema/json/node.class.synthetic.control.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.motion.duration.json#', 'http://alertme.com/schema/json/node.class.synthetic.hive.2.demo.reset.json#', 'http://alertme.com/schema/json/node.class.synthetic.temperature.alert.json#', 'http://alertme.com/schema/json/node.class.synthetic.binary.sensor.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.buffered.binary.sensor.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.relay.json#', 'http://alertme.com/schema/json/node.class.synthetic.binary.control.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#', 'http://alertme.com/schema/json/node.class.synthetic.testing.mirror.device.json#', 'http://alertme.com/schema/json/node.class.synthetic.philips.hue.bridge.json#', 'http://alertme.com/schema/json/node.class.synthetic.rule.json#'], 'displayValue': ['http://alertme.com/schema/json/node.class.synthetic.daylight.json#', 'http://alertme.com/schema/json/node.class.boolean.synthetic.device.json#', 'http://alertme.com/schema/json/node.class.synthetic.fake.occupancy.json#', 'http://alertme.com/schema/json/node.class.synthetic.mqtt.camera.mirror.device.json#', 'http://alertme.com/schema/json/node.class.synthetic.control.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.motion.duration.json#', 'http://alertme.com/schema/json/node.class.synthetic.hive.2.demo.reset.json#', 'http://alertme.com/schema/json/node.class.synthetic.temperature.alert.json#', 'http://alertme.com/schema/json/node.class.synthetic.binary.sensor.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.buffered.binary.sensor.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.relay.json#', 'http://alertme.com/schema/json/node.class.synthetic.binary.control.device.uniform.scheduler.json#', 'http://alertme.com/schema/json/node.class.synthetic.zonename.initializer.json#', 'http://alertme.com/schema/json/node.class.synthetic.testing.mirror.device.json#', 'http://alertme.com/schema/json/node.class.synthetic.philips.hue.bridge.json#', 'http://alertme.com/schema/json/node.class.synthetic.rule.json#'], 'reportReceivedTime': 1517389645430}, 'devicesState': {'reportChangedTime': 1516961026499, 'reportedValue': 'UP', 'displayValue': 'UP', 'reportReceivedTime': 1517391841492}, 'internalIPAddress': {'reportChangedTime': 1516790506244, 'reportedValue': '192.168.0.26', 'displayValue': '192.168.0.26', 'reportReceivedTime': 1517391841492}, 'capabilities': {'reportChangedTime': 1516960966531, 'reportedValue': ['secureFeed', 'actions2.0-beta', 'zoneNameInitializer', 'migrationSource', 'featureBasedSyntheticDevices', 'actions2.0', 'alexaReporting', 'bindableSyntheticDevices', 'deviceRemoval'], 'displayValue': ['secureFeed', 'actions2.0-beta', 'zoneNameInitializer', 'migrationSource', 'featureBasedSyntheticDevices', 'actions2.0', 'alexaReporting', 'bindableSyntheticDevices', 'deviceRemoval'], 'reportReceivedTime': 1517391841492}, 'rootFSVersion': {'reportChangedTime': 1516790506244, 'reportedValue': 'Angstrom v2013.12', 'displayValue': 'Angstrom v2013.12', 'reportReceivedTime': 1517391841492}, 'rootFSBuildDate': {'reportChangedTime': 1516790506244, 'reportedValue': 'Wed May 28 16:29:58 2014', 'displayValue': 'Wed May 28 16:29:58 2014', 'reportReceivedTime': 1517391841492}, 'macAddress': {'reportChangedTime': 1510881391842, 'reportedValue': '00:1c:2b:0a:3b:b0', 'displayValue': '00:1c:2b:0a:3b:b0', 'reportReceivedTime': 1517391841492}, 'softwareInstallationState': {'reportChangedTime': 1516790506244, 'reportedValue': 'COMPLETE', 'displayValue': 'COMPLETE', 'reportReceivedTime': 1517391841492}, 'supportsCombinedUpgrade': {'reportChangedTime': 1510881391842, 'reportedValue': True, 'displayValue': True, 'reportReceivedTime': 1517391841492}, 'kernelVersion': {'reportChangedTime': 1510881391842, 'reportedValue': '3.12.10', 'displayValue': '3.12.10', 'reportReceivedTime': 1517391841492}, 'nodeType': {'reportChangedTime': 1510881391842, 'reportedValue': 'http://alertme.com/schema/json/node.class.hub.json#', 'displayValue': 'http://alertme.com/schema/json/node.class.hub.json#', 'reportReceivedTime': 1517391841492}, 'zigBeeTileFirmwareVendor': {'reportChangedTime': 1510881462936, 'reportedValue': 'Telegesis', 'displayValue': 'Telegesis', 'reportReceivedTime': 1517389645430}, 'uptime': {'reportChangedTime': 1517391841492, 'reportedValue': 431148, 'displayValue': 431148, 'reportReceivedTime': 1517391841492}, 'presence': {'reportedValue': 'PRESENT', 'displayValue': 'PRESENT'}, 'powerSupply': {'reportChangedTime': 1510881391842, 'reportedValue': 'AC', 'displayValue': 'AC', 'reportReceivedTime': 1517391841492}, 'serverConnectionState': {'reportChangedTime': 1510881391842, 'reportedValue': 'CONNECTED', 'displayValue': 'CONNECTED', 'reportReceivedTime': 1517391841492}, 'hardwareVersion': {'reportChangedTime': 1510881391842, 'reportedValue': 'NANO2', 'displayValue': 'NANO2', 'reportReceivedTime': 1517391841492}, 'zigBeeRadioChannel': {'reportChangedTime': 1510881462936, 'reportedValue': 22, 'displayValue': 22, 'reportReceivedTime': 1517389645430}, 'connection': {'reportChangedTime': 1510881391842, 'reportedValue': 'ETHERNET', 'displayValue': 'ETHERNET', 'reportReceivedTime': 1517391841492}, 'pcbRevision': {'reportChangedTime': 1510881391842, 'reportedValue': 1, 'displayValue': 1, 'reportReceivedTime': 1517391841492}, 'kernelBuildDate': {'reportChangedTime': 1510881391842, 'reportedValue': '#1 Wed May 28 14:35:19 BST 2014', 'displayValue': '#1 Wed May 28 14:35:19 BST 2014', 'reportReceivedTime': 1517391841492}, 'zigBeePanId': {'reportChangedTime': 1510881462936, 'reportedValue': '89E6', 'displayValue': '89E6', 'reportReceivedTime': 1517389645430}, 'operationalMode': {'reportChangedTime': 1510881391842, 'reportedValue': 'DEPLOYED', 'displayValue': 'DEPLOYED', 'reportReceivedTime': 1517391841492}, 'javaVersion': {'reportChangedTime': 1516790498646, 'reportedValue': '1.8.0_131', 'displayValue': '1.8.0_131', 'reportReceivedTime': 1517389645430}, 'zigBeeTileAddress': {'reportChangedTime': 1510881462936, 'reportedValue': '0021ED0000036AE5', 'displayValue': '0021ED0000036AE5', 'reportReceivedTime': 1517389645430}, 'bootLoaderVersion': {'reportChangedTime': 1510881391842, 'reportedValue': '2013.04-g60890ce', 'displayValue': '2013.04-g60890ce', 'reportReceivedTime': 1517391841492}}, 'ownerId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'userId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'parentNodeId': '77c42b36-b7b1-4577-b676-214b4c9210bb', 'createdOn': 1457368503376, 'name': 'Hub', 'href': 'https://api.prod.bgchprod.info/omnia/nodes/77c42b36-b7b1-4577-b676-214b4c9210bb', 'id': '77c42b36-b7b1-4577-b676-214b4c9210bb', 'nodeType': 'http://alertme.com/schema/json/node.class.hub.json#'}, {'lastSeen': 1517391725044, 'attributes': {'zoneName': {'reportChangedTime': 1510881538637, 'reportedValue': '', 'displayValue': '', 'reportReceivedTime': 1517389646581}, 'LQI': {'reportChangedTime': 1517391725044, 'reportedValue': 100, 'displayValue': 100, 'reportReceivedTime': 1517391725044}, 'presence': {'reportChangedTime': 1517385540544, 'reportedValue': 'PRESENT', 'displayValue': 'PRESENT', 'reportReceivedTime': 1517389646581}, 'RSSI': {'reportChangedTime': 1517391725044, 'reportedValue': -69, 'displayValue': -69, 'reportReceivedTime': 1517391725044}, 'manufacturer': {'reportChangedTime': 1510881538637, 'reportedValue': 'Computime', 'displayValue': 'Computime', 'reportReceivedTime': 1517389646581}, 'powerSupply': {'reportChangedTime': 1510881538637, 'reportedValue': 'AC', 'displayValue': 'AC', 'reportReceivedTime': 1517389646581}, 'nativeIdentifier': {'reportChangedTime': 1510881538637, 'reportedValue': 'C509', 'displayValue': 'C509', 'reportReceivedTime': 1517389646581}, 'protocol': {'reportChangedTime': 1510881538637, 'reportedValue': 'ZIGBEE', 'displayValue': 'ZIGBEE', 'reportReceivedTime': 1516960913249}, 'macAddress': {'reportChangedTime': 1510881538637, 'reportedValue': '001E5E09020F16D0', 'displayValue': '001E5E09020F16D0', 'reportReceivedTime': 1517389646581}, 'lastSeen': {'reportChangedTime': 1517385482473, 'reportedValue': '2018-01-31T07:52:01.282+0000', 'displayValue': '2018-01-31T07:52:01.282+0000', 'reportReceivedTime': 1517389646581}, 'holidayMode': {'reportChangedTime': 1510881538637, 'reportedValue': {'enabled': False, 'endDateTime': '2016-10-30T09:00:00.000+0000', 'startDateTime': '2016-10-22T11:35:00.000+0000', 'targetHeatTemperature': 1.0}, 'displayValue': {'enabled': False, 'endDateTime': '2016-10-30T09:00:00.000+0000', 'startDateTime': '2016-10-22T11:35:00.000+0000', 'targetHeatTemperature': 1.0}, 'reportReceivedTime': 1517389646581}, 'softwareVersion': {'reportChangedTime': 1510881538637, 'reportedValue': '08104640', 'displayValue': '08104640', 'reportReceivedTime': 1517389646581}, 'zigBeeBindingTable': {'reportChangedTime': 1516790519774, 'reportedValue': [{'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 6, 'cluster': 513, 'sourceAddress': '::21e:5e09:20f:16d0'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 5, 'cluster': 513, 'sourceAddress': '::21e:5e09:20f:16d0'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 5, 'cluster': 64768, 'sourceAddress': '::21e:5e09:20f:16d0'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 5, 'cluster': 9, 'sourceAddress': '::21e:5e09:20f:16d0'}], 'displayValue': [{'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 6, 'cluster': 513, 'sourceAddress': '::21e:5e09:20f:16d0'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 5, 'cluster': 513, 'sourceAddress': '::21e:5e09:20f:16d0'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 5, 'cluster': 64768, 'sourceAddress': '::21e:5e09:20f:16d0'}, {'destinationAddress': '::21c:2bff:fe0a:3bb0', 'destinationEndpoint': 1, 'sourceEndpoint': 5, 'cluster': 9, 'sourceAddress': '::21e:5e09:20f:16d0'}], 'reportReceivedTime': 1517389646581}, 'model': {'reportChangedTime': 1510881538637, 'reportedValue': 'SLR2', 'displayValue': 'SLR2', 'reportReceivedTime': 1517389646581}, 'nodeType': {'reportChangedTime': 1510881538637, 'reportedValue': 'http://alertme.com/schema/json/node.class.thermostat.json#', 'displayValue': 'http://alertme.com/schema/json/node.class.thermostat.json#', 'reportReceivedTime': 1517391725044}}, 'ownerId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'userId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'parentNodeId': '77c42b36-b7b1-4577-b676-214b4c9210bb', 'createdOn': 1457369636668, 'name': 'Device', 'href': 'https://api.prod.bgchprod.info/omnia/nodes/b7188acf-ad0b-44fa-95fd-9663c0458e30', 'id': 'b7188acf-ad0b-44fa-95fd-9663c0458e30', 'nodeType': 'http://alertme.com/schema/json/node.class.thermostat.json#'}, {'lastSeen': 1517391725044, 'attributes': {'errorIntegral': {'reportChangedTime': 1516790571398, 'reportedValue': 0.0, 'displayValue': 0.0, 'reportReceivedTime': 1517389646398}, 'activeHeatCoolMode': {'reportChangedTime': 1516403029939, 'reportedValue': 'HEAT', 'displayValue': 'HEAT', 'propertyStatus': 'COMPLETE', 'targetValue': 'HEAT', 'targetExpiryTime': 1516446777927, 'reportReceivedTime': 1517389646398, 'targetSetTXId': 'e85f8c07-9ca8-4143-b920-c3f961b3591d', 'targetSetTime': 1516446477927}, 'previousConfiguration': {'reportChangedTime': 1510881463236, 'reportedValue': {'targetHeatTemperature': 655.35, 'mode': 'AUTO'}, 'displayValue': {'targetHeatTemperature': 655.35, 'mode': 'AUTO'}, 'reportReceivedTime': 1517389646398}, 'activeOverrides': {'reportChangedTime': 1516467558330, 'reportedValue': [], 'displayValue': [], 'propertyStatus': 'COMPLETE', 'targetValue': [], 'targetExpiryTime': 1516446777927, 'reportReceivedTime': 1517389646398, 'targetSetTXId': 'e85f8c07-9ca8-4143-b920-c3f961b3591d', 'targetSetTime': 1516446477927}, 'maxHeatTemperature': {'reportChangedTime': 1510881463236, 'reportedValue': 32.0, 'displayValue': 32.0, 'reportReceivedTime': 1517389646398}, 'heatingRateEstimate': {'reportChangedTime': 1516790571398, 'reportedValue': 0.0, 'displayValue': 0.0, 'reportReceivedTime': 1517389646398}, 'supportsHotWater': {'reportChangedTime': 1510881463236, 'reportedValue': False, 'displayValue': False, 'reportReceivedTime': 1517389646398}, 'scheduleLockDuration': {'reportChangedTime': 1516467558330, 'reportedValue': 0, 'displayValue': 0, 'propertyStatus': 'COMPLETE', 'targetValue': 30, 'targetExpiryTime': 1516401527993, 'reportReceivedTime': 1517389646398, 'targetSetTXId': 'a974b76b-30bb-4109-a77b-b884f6cd1b77', 'targetSetTime': 1516401227993}, 'activeScheduleLock': {'reportChangedTime': 1516467558393, 'reportedValue': False, 'displayValue': False, 'propertyStatus': 'COMPLETE', 'targetValue': False, 'targetExpiryTime': 1516446777927, 'reportReceivedTime': 1517389646398, 'targetSetTXId': 'e85f8c07-9ca8-4143-b920-c3f961b3591d', 'targetSetTime': 1516446477927}, 'schedule': {'reportChangedTime': 1516446805976, 'reportedValue': {'sunday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'tuesday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'monday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'friday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'wednesday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'thursday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'saturday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}]}, 'displayValue': {'sunday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'tuesday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'monday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'friday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'wednesday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'thursday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'saturday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}]}, 'propertyStatus': 'COMPLETE', 'targetValue': {'sunday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'tuesday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'monday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'friday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'wednesday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'thursday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}], 'saturday': [{'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '08:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '17:00', 'targetHeatTemperature': 19.0, 'heatCoolMode': 'HEAT'}, {'time': '20:00', 'targetHeatTemperature': 18.0, 'heatCoolMode': 'HEAT'}, {'time': '22:00', 'targetHeatTemperature': 15.0, 'heatCoolMode': 'HEAT'}]}, 'targetExpiryTime': 1516447097876, 'reportReceivedTime': 1517389646398, 'targetSetTXId': '17f950af-1cab-45d2-aa5b-e32366a50596', 'targetSetTime': 1516446797876}, 'targetHeatTemperature': {'reportChangedTime': 1517385601664, 'reportedValue': 18.0, 'displayValue': 18.0, 'propertyStatus': 'COMPLETE', 'targetValue': 18.5, 'targetExpiryTime': 1516446932131, 'reportReceivedTime': 1517391175377, 'targetSetTXId': 'e40fc415-0cbf-42c9-ab4f-0d042c3b0847', 'targetSetTime': 1516446632131}, 'stateHeatingRelay': {'propertyStatus': 'COMPLETE', 'reportChangedTime': 1517390777380, 'reportedValue': 'OFF', 'displayValue': 'OFF', 'reportReceivedTime': 1517390777380}, 'supportsTransitionsPerDay': {'reportChangedTime': 1510881463236, 'reportedValue': 6, 'displayValue': 6, 'reportReceivedTime': 1516787325837}, 'proportionalThreshold': {'reportChangedTime': 1516790571398, 'reportedValue': 0.0, 'displayValue': 0.0, 'reportReceivedTime': 1517389646398}, 'holidayMode': {'reportChangedTime': 1510881463236, 'reportedValue': {'targetHeatTemperature': 1.0}, 'displayValue': {'targetHeatTemperature': 1.0}, 'reportReceivedTime': 1516787325837}, 'minHeatTemperature': {'reportChangedTime': 1510881463236, 'reportedValue': 5.0, 'displayValue': 5.0, 'reportReceivedTime': 1517389646398}, 'failureStatus': {'reportChangedTime': 1510881463236, 'reportedValue': 'NORMAL', 'displayValue': 'NORMAL', 'reportReceivedTime': 1517389646398}, 'delayCompensatedTemperature': {'reportChangedTime': 1516790571398, 'reportedValue': 0.0, 'displayValue': 0.0, 'reportReceivedTime': 1517389646398}, 'temperature': {'propertyStatus': 'COMPLETE', 'reportChangedTime': 1517391647465, 'reportedValue': 18.41, 'displayValue': 18.41, 'reportReceivedTime': 1517391647465}, 'frostProtectTemperature': {'reportChangedTime': 1510881463236, 'reportedValue': 7.0, 'displayValue': 7.0, 'reportReceivedTime': 1517389646398}, 'nodeType': {'reportChangedTime': 1510881463236, 'reportedValue': 'http://alertme.com/schema/json/node.class.thermostat.json#', 'displayValue': 'http://alertme.com/schema/json/node.class.thermostat.json#', 'reportReceivedTime': 1517391647465}}, 'ownerId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'userId': 'f1e2e250-35fb-4fe9-b1e7-1c291f1322fb', 'parentNodeId': 'b7188acf-ad0b-44fa-95fd-9663c0458e30', 'createdOn': 1457369638830, 'name': 'Receiver', 'href': 'https://api.prod.bgchprod.info/omnia/nodes/bc700a2e-5df8-4375-869a-24717464b577', 'id': 'bc700a2e-5df8-4375-869a-24717464b577', 'nodeType': 'http://alertme.com/schema/json/node.class.thermostat.json#'}]
PaulFen
Posts: 5
Joined: Tuesday 30 January 2018 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by PaulFen »

Got it working for me by changing:

Code: Select all

 def GetThermostat(self, d):
        x = find_key_in_list(d, 'http://alertme.com/schema/json/node.class.thermostat.json#')
        if x:
            k = 'stateHeatingRelay'
            if k in x[0]['attributes']:
                thermostat = x[0]
            elif k in x[1]['attributes']:
                thermostat = x[1]
            else:
                thermostat = False
        else:
            thermostat = False
        return thermostat
to

Code: Select all

 def GetThermostat(self, d):
        x = find_key_in_list(d, 'http://alertme.com/schema/json/node.class.thermostat.json#')
        if x:
            k = 'stateHeatingRelay'
            if k in x[0]['attributes']:
                thermostat = x[0]
            elif k in x[1]['attributes']:
                thermostat = x[1]
            elif k in x[2]['attributes']:
                thermostat = x[2]
            else:
                thermostat = False
        else:
            thermostat = False
        return thermostat
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

Hi, Have you got a thermostat with hot water?
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

I have pushed the latest copy of the plugin into a git repository as requested

https://github.com/imcfarla2003/domoticz-hive

This includes the fixes supplied today
PaulFen
Posts: 5
Joined: Tuesday 30 January 2018 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by PaulFen »

imcfarla wrote: Wednesday 31 January 2018 13:33 Hi, Have you got a thermostat with hot water?
Yes I have a thermostat in the hallway for heating and hot water, a receiver next to the boiler, and a network bridge device near my router.
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

Can I get you to try the latest version?

https://github.com/imcfarla2003/domotic ... /plugin.py

You should now get a switch which shows the status of the Hot Water relay
imcfarla
Posts: 64
Joined: Monday 04 December 2017 13:18
Target OS: Linux
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by imcfarla »

forgot to say you'll need to restart domoticz after replacing the plugin.py - it should show version 0.4 on startup
pchappo
Posts: 1
Joined: Monday 05 February 2018 22:31
Target OS: -
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by pchappo »

HI,

new user (to home automation / domoticz and hive) - and i managed to get it working very easily with a vanilla install of a Raspberry pi 3b.

Is there a way to export the data from domoticz to a SQL server? - i want to be able to report on this using some BI cubes im going to setup :)
peteralm
Posts: 31
Joined: Saturday 08 August 2015 0:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Oxfordshire, UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by peteralm »

mark.sellwood wrote: Thursday 14 December 2017 22:37 I'm on Beta V3.8785

I have just tried this out and i'm getting the following error:-

Code: Select all

2017-12-14 21:27:59.955 PluginSystem: Entering work loop.
2017-12-14 21:28:00.080 Error: (HivePlug) failed to load 'plugin.py', Python Path used was ':/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2017-12-14 21:28:00.080 Error: (Hive) Module Import failed, exception: 'ImportError'
2017-12-14 21:28:00.080 Error: (Hive) Module Import failed: ' Name: plugin'
2017-12-14 21:28:00.080 Error: (Hive) Error Line details not available.
Any idea what could be happening?
This is the same for me. I have only recently re-installed the pi from scratch and updated everything.

I just cant have this plugin enabled or it will crash domoticz - shame as I am running a rather hacked version of the hive2domo and would really like to update!

Peter
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests