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

sach
Posts: 111
Joined: Wednesday 12 October 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by sach »

Anything happening right now?
My Domoticz server is going crazy sending me emails with Hive issues. :-(
Out so not able to look.
johnnyutah
Posts: 13
Joined: Wednesday 28 March 2018 16:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by johnnyutah »

sach wrote: Saturday 09 February 2019 16:57 Anything happening right now?
My Domoticz server is going crazy sending me emails with Hive issues. :-(
Out so not able to look.
My log is full of errors too. I'm also unable to log in to the Hive website - "Sorry, we can't find these login details. Please check and try again."
sach
Posts: 111
Joined: Wednesday 12 October 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by sach »

Ok cool, not just me then.
Hopefully they sort it soon otherwise I will be coming home to a cold house this evening....and more importantly an angry wife! :lol:
sach
Posts: 111
Joined: Wednesday 12 October 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by sach »

Yup issues according to tritter
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

Help :)

I went to https://github.com/imcfarla2003/domoticz-hive
Placed the plugin in the correct directory.
Had an issue with python that I fixed.
In Setup > Hardware I added 'Hive' as a device

Entry from log:
2019-02-13 00:05:04.967 Status: (Hive) Started.
2019-02-13 00:05:05.245 (Hive) Starting
2019-02-13 00:05:05.245 (Hive) DomoticzVersion Available
2019-02-13 00:05:05.190 Status: (Hive) Entering work loop.
2019-02-13 00:05:05.190 Status: (Hive) Initialized version 1.0, author 'imcfarla, MikeF and roadsnail'

Now what...?
How do I add Hive temperature, the target temp and other stuff?
Kind of stumped as what to do.
mark.sellwood
Posts: 101
Joined: Tuesday 04 March 2014 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Surrey, UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by mark.sellwood »

Go to Setup then Devices, select Not Used, you should see them listed.

Please keep an eye on memory usage, on my Pi I have had to stop using this plugin as it uses all the memory in about 7 days then the Pi crashes.
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
johnnyutah
Posts: 13
Joined: Wednesday 28 March 2018 16:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by johnnyutah »

mark.sellwood wrote: Wednesday 13 February 2019 7:52 Go to Setup then Devices, select Not Used, you should see them listed.

Please keep an eye on memory usage, on my Pi I have had to stop using this plugin as it uses all the memory in about 7 days then the Pi crashes.
It would be interesting to know how many people are using version 1.0 without issue? I have had the same problems as mark.sellwood.

I recently rolled back to version 0.7 from Github and this is working fine.
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

Nothing in Setup > Devices > Not Used other than some 'motherboard' entries which I'm not bothered about.
I had "Accept new Hardware Devices" off in settings but have now enabled it but nothing has appeared.
Do I need to remove and re add the plugin for devices to appear?
johnnyutah
Posts: 13
Joined: Wednesday 28 March 2018 16:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by johnnyutah »

Have you restarted Domoticz since you filled in the plugin details, username etc?
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

So I just did the following...

Removed plugin
Restarted whole box
Added plugin

2019-02-13 11:35:09.982 Status: (Hive) Started.
2019-02-13 11:35:10.188 (Hive) Starting
2019-02-13 11:35:10.188 (Hive) DomoticzVersion Available
2019-02-13 11:35:10.136 Status: (Hive) Entering work loop.
2019-02-13 11:35:10.136 Status: (Hive) Initialized version 1.0, author 'imcfarla, MikeF and roadsnail'

No Unused devices

Restarted whole box

No Unused devices

I've looked at Type > "Temp" & "Temp + Humidity" for Used devices and can't see anything new there in case it magically added it.

I was a while back using hive2domo.py but it broke ages ago and looking to fix, do I need to rip all this out?
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 switch debug to on please?
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

Wasn't sure what level so chose basic debugging.

Code: Select all

2019-02-13 11:36:27.415 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2019-02-13 11:36:27.416 Status: Build Hash: a3a45906, Date: 2018-06-23 15:24:51
2019-02-13 11:36:27.416 Status: Startup Path: /home/osmc/domoticz/
2019-02-13 11:36:27.533 Status: EventSystem: reset all events...
2019-02-13 11:36:29.782 Status: (Hive) Started.
2019-02-13 11:36:29.783 Status: EventSystem: reset all events...
2019-02-13 11:36:29.784 Status: EventSystem: reset all device statuses...
2019-02-13 11:36:29.938 Status: Python EventSystem: Initalizing event module.
2019-02-13 11:36:29.939 Status: EventSystem: Queue thread started...
2019-02-13 11:36:29.939 Status: EventSystem: Started
2019-02-13 11:36:30.051 Status: PluginSystem: Entering work loop.
2019-02-13 11:36:30.212 Status: (Hive) Entering work loop.
2019-02-13 11:36:30.212 Status: (Hive) Initialized version 1.0, author 'imcfarla, MikeF and roadsnail'
2019-02-13 11:51:42.906 Status: (Hive) Started.
2019-02-13 11:51:43.055 Status: (Hive) Entering work loop.
2019-02-13 11:51:43.055 Status: (Hive) Initialized version 1.0, author 'imcfarla, MikeF and roadsnail'
2019-02-13 11:55:18.841 Status: (Hive) Stop directive received.
2019-02-13 11:55:19.041 Status: (Hive) Stopping threads.
2019-02-13 11:55:19.094 Status: (Hive) Exiting work loop.
2019-02-13 11:55:19.094 Status: (Hive) Stopped.
2019-02-13 11:55:34.683 Status: (Hive) Stop directive received.
2019-02-13 11:55:34.883 Status: (Hive) Stopping threads.
2019-02-13 11:55:35.056 Status: (Hive) Exiting work loop.
2019-02-13 11:55:35.056 Status: (Hive) Stopped.
2019-02-13 11:55:35.056 Status: (Hive) Started.
2019-02-13 11:55:35.210 Status: (Hive) Initialized version 1.0, author 'imcfarla, MikeF and roadsnail'
2019-02-13 11:55:35.209 Status: (Hive) Entering work loop.
2019-02-13 12:01:15.045 (Hive) onDisconnect called for Hive Devices
2019-02-13 12:01:15.221 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:01:15.246 PluginSystem: Restarting I/O service thread.
2019-02-13 12:01:15.246 (Hive) Disconnect event received for 'api.prod.bgchprod.info:443'.
2019-02-13 12:01:15.247 (Hive) onDisconnect called for Hive Session
2019-02-13 12:01:24.812 (Hive) onHeartbeat called
2019-02-13 12:01:24.813 (Hive) Counter = 5
2019-02-13 12:01:34.831 (Hive) onHeartbeat called
2019-02-13 12:01:34.831 (Hive) Counter = 6
2019-02-13 12:01:44.799 (Hive) onHeartbeat called
2019-02-13 12:01:44.802 (Hive) Getting Data
2019-02-13 12:01:44.802 (Hive) Getting Weather
2019-02-13 12:01:44.802 (Hive) Transport set to: 'TCP/IP', api.prod.bgchprod.info:443.
2019-02-13 12:01:44.845 PluginSystem: Starting I/O service thread.
2019-02-13 12:01:44.845 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:01:44.845 (Hive) Transport set to: 'TCP/IP', weather.prod.bgchprod.info:443.
2019-02-13 12:01:44.852 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:01:45.003 (Hive) onConnect called for Hive Weather
2019-02-13 12:01:45.003 (Hive) Getting Weather
2019-02-13 12:01:45.003 (Hive) Sending 152 bytes of data
2019-02-13 12:01:45.065 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:01:45.104 (Hive) onConnect called for Hive Devices
2019-02-13 12:01:45.104 (Hive) Getting Devices
2019-02-13 12:01:45.104 (Hive) Received 880 bytes of data
2019-02-13 12:01:45.105 (Hive) Disconnect event received for 'weather.prod.bgchprod.info:443'.
2019-02-13 12:01:45.107 (Hive) Sending 295 bytes of data
2019-02-13 12:01:45.107 (Hive) onMessage called for Hive Weather
2019-02-13 12:01:45.107 (Hive) onDisconnect called for Hive Weather
2019-02-13 12:01:45.158 (Hive) Received 530 bytes of data
2019-02-13 12:01:45.159 (Hive) onMessage called for Hive Devices
2019-02-13 12:01:45.159 (Hive) Transport set to: 'TCP/IP', api.prod.bgchprod.info:443.
2019-02-13 12:01:45.167 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:01:45.318 (Hive) onConnect called for Hive Session
2019-02-13 12:01:45.318 (Hive) Creating Session
2019-02-13 12:01:45.319 (Hive) b'{"sessions": [{"username": "blah", "password": "blah", "caller": "WEB"}]}'
2019-02-13 12:01:45.319 (Hive) Sending 304 bytes of data
2019-02-13 12:01:45.370 (Hive) Received 670 bytes of data
2019-02-13 12:01:45.371 (Hive) Received 5 bytes of data
2019-02-13 12:01:45.371 (Hive) onMessage called for Hive Session
2019-02-13 12:01:54.838 (Hive) onHeartbeat called
2019-02-13 12:01:54.839 (Hive) Counter = 2
2019-02-13 12:02:04.807 (Hive) onHeartbeat called
2019-02-13 12:02:04.807 (Hive) Counter = 3
2019-02-13 12:02:14.824 (Hive) onHeartbeat called
2019-02-13 12:02:14.824 (Hive) Counter = 4
2019-02-13 12:02:15.139 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:02:15.175 (Hive) Disconnect event received for 'api.prod.bgchprod.info:443'.
2019-02-13 12:02:15.177 (Hive) onDisconnect called for Hive Devices
2019-02-13 12:02:15.351 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:02:15.378 PluginSystem: Restarting I/O service thread.
2019-02-13 12:02:15.378 (Hive) Disconnect event received for 'api.prod.bgchprod.info:443'.
2019-02-13 12:02:15.380 (Hive) onDisconnect called for Hive Session
2019-02-13 12:02:24.807 (Hive) onHeartbeat called
2019-02-13 12:02:24.809 (Hive) Counter = 5
2019-02-13 12:02:34.831 (Hive) onHeartbeat called
2019-02-13 12:02:34.831 (Hive) Counter = 6
2019-02-13 12:02:44.853 (Hive) onHeartbeat called
2019-02-13 12:02:44.853 (Hive) Getting Data
2019-02-13 12:02:44.853 (Hive) Getting Weather
2019-02-13 12:02:44.853 (Hive) Transport set to: 'TCP/IP', api.prod.bgchprod.info:443.
2019-02-13 12:02:44.931 PluginSystem: Starting I/O service thread.
2019-02-13 12:02:44.931 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:02:44.932 (Hive) Transport set to: 'TCP/IP', weather.prod.bgchprod.info:443.
2019-02-13 12:02:44.950 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:02:45.100 (Hive) onConnect called for Hive Devices
2019-02-13 12:02:45.100 (Hive) Getting Devices
2019-02-13 12:02:45.101 (Hive) Sending 295 bytes of data
2019-02-13 12:02:45.151 (Hive) onConnect called for Hive Weather
2019-02-13 12:02:45.151 (Hive) Getting Weather
2019-02-13 12:02:45.152 (Hive) Received 530 bytes of data
2019-02-13 12:02:45.152 (Hive) Sending 152 bytes of data
2019-02-13 12:02:45.152 (Hive) onMessage called for Hive Devices
2019-02-13 12:02:45.153 (Hive) Transport set to: 'TCP/IP', api.prod.bgchprod.info:443.
2019-02-13 12:02:45.160 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:02:45.185 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:02:45.210 (Hive) Received 880 bytes of data
2019-02-13 12:02:45.211 (Hive) Disconnect event received for 'weather.prod.bgchprod.info:443'.
2019-02-13 12:02:45.212 (Hive) onMessage called for Hive Weather
2019-02-13 12:02:45.213 (Hive) onDisconnect called for Hive Weather
2019-02-13 12:02:45.313 (Hive) onConnect called for Hive Session
2019-02-13 12:02:45.313 (Hive) Creating Session
2019-02-13 12:02:45.314 (Hive) b'{"sessions": [{"username": "blah", "password": "blah", "caller": "WEB"}]}'
2019-02-13 12:02:45.314 (Hive) Sending 304 bytes of data
2019-02-13 12:02:45.364 (Hive) Received 670 bytes of data
2019-02-13 12:02:45.364 (Hive) Received 5 bytes of data
2019-02-13 12:02:45.365 (Hive) onMessage called for Hive Session
2019-02-13 12:02:54.834 (Hive) onHeartbeat called
2019-02-13 12:02:54.834 (Hive) Counter = 2
2019-02-13 12:03:04.807 (Hive) onHeartbeat called
2019-02-13 12:03:04.808 (Hive) Counter = 3
2019-02-13 12:03:14.823 (Hive) onHeartbeat called
2019-02-13 12:03:14.823 (Hive) Counter = 4
2019-02-13 12:03:15.128 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:03:15.173 (Hive) Disconnect event received for 'api.prod.bgchprod.info:443'.
2019-02-13 12:03:15.174 (Hive) onDisconnect called for Hive Devices
2019-02-13 12:03:15.345 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:03:15.374 PluginSystem: Restarting I/O service thread.
2019-02-13 12:03:15.375 (Hive) Disconnect event received for 'api.prod.bgchprod.info:443'.
2019-02-13 12:03:15.375 (Hive) onDisconnect called for Hive Session
2019-02-13 12:03:24.839 (Hive) onHeartbeat called
2019-02-13 12:03:24.839 (Hive) Counter = 5
2019-02-13 12:03:34.854 (Hive) onHeartbeat called
2019-02-13 12:03:34.855 (Hive) Counter = 6
2019-02-13 12:03:44.820 (Hive) onHeartbeat called
2019-02-13 12:03:44.820 (Hive) Getting Data
2019-02-13 12:03:44.820 (Hive) Getting Weather
2019-02-13 12:03:44.820 (Hive) Transport set to: 'TCP/IP', api.prod.bgchprod.info:443.
2019-02-13 12:03:44.827 PluginSystem: Starting I/O service thread.
2019-02-13 12:03:44.828 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:03:44.828 (Hive) Transport set to: 'TCP/IP', weather.prod.bgchprod.info:443.
2019-02-13 12:03:44.872 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:03:44.972 (Hive) onConnect called for Hive Devices
2019-02-13 12:03:44.972 (Hive) Getting Devices
2019-02-13 12:03:44.973 (Hive) Sending 295 bytes of data
2019-02-13 12:03:45.074 (Hive) onConnect called for Hive Weather
2019-02-13 12:03:45.074 (Hive) Getting Weather
2019-02-13 12:03:45.074 (Hive) Received 530 bytes of data
2019-02-13 12:03:45.074 (Hive) Sending 152 bytes of data
2019-02-13 12:03:45.074 (Hive) onMessage called for Hive Devices
2019-02-13 12:03:45.075 (Hive) Transport set to: 'TCP/IP', api.prod.bgchprod.info:443.
2019-02-13 12:03:45.094 (Hive) Connect directive received, action initiated successfully.
2019-02-13 12:03:45.095 (Hive) Queued asyncronous secure read aborted.
2019-02-13 12:03:45.144 (Hive) Received 880 bytes of data
2019-02-13 12:03:45.145 (Hive) Disconnect event received for 'weather.prod.bgchprod.info:443'.
2019-02-13 12:03:45.146 (Hive) onMessage called for Hive Weather
2019-02-13 12:03:45.146 (Hive) onDisconnect called for Hive Weather
2019-02-13 12:03:45.246 (Hive) onConnect called for Hive Session
2019-02-13 12:03:45.247 (Hive) Creating Session
2019-02-13 12:03:45.247 (Hive) b'{"sessions": [{"username": "blah", "password": "blah", "caller": "WEB"}]}'
2019-02-13 12:03:45.247 (Hive) Sending 304 bytes of data
2019-02-13 12:03:45.298 (Hive) Received 670 bytes of data
2019-02-13 12:03:45.298 (Hive) Received 5 bytes of data
2019-02-13 12:03:45.299 (Hive) onMessage called for Hive Session
2019-02-13 12:03:54.863 (Hive) onHeartbeat called
2019-02-13 12:03:54.866 (Hive) Counter = 2
Is this enough?
Removed some unrelevant entries.
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

This just showed in the log

Code: Select all

2019-02-13 12:11:04.958 Error: Plugin: Connection Exception: 'resolve: Host not found (authoritative)' connecting to 'api.prod.bgchprod.info:443'
2019-02-13 12:11:15.023 Error: (Hive) Transport is not connected, write directive to 'Hive Devices' ignored.
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

No idea why the devices don't appear?
johnnyutah
Posts: 13
Joined: Wednesday 28 March 2018 16:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by johnnyutah »

I have had similar errors with the latest plugin - "Transport is not connected".

I'm currently using version 0.7 as this still works for me and has been the most stable. I would suggest trying this version from Github. This will eliminate the latest plugin as the problem?
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

How do you get to the 0.7 version?
I click the file in github, history but not sure where/how to revert back to an old version?

Edit:-
Is this the link? https://github.com/imcfarla2003/domotic ... /plugin.py
johnnyutah
Posts: 13
Joined: Wednesday 28 March 2018 16:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Read British Gas Hive Heating temperature

Post by johnnyutah »

Calzor Suzay wrote: Monday 18 February 2019 22:05 How do you get to the 0.7 version?
I click the file in github, history but not sure where/how to revert back to an old version?

Edit:-
Is this the link? https://github.com/imcfarla2003/domotic ... /plugin.py
yes, that looks like the right one!
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

Hmm tried that but get an error adding hardware and it fails, the website seems to not then function and goes to an offline page but is still running, If I clear app cache with chrome://appcache-internals/ I can get back to the site.
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

So after a bit of a faff I managed to get 0.7 working and it added the devices automatically.
I do see errors in the log though:-
2019-02-19 23:23:07.282 (hive7) HTTP Error 504: Gateway Timeout
2019-02-19 23:23:07.283 (hive7) the JSON object must be str, not 'bool'
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

Re: Read British Gas Hive Heating temperature

Post by Calzor Suzay »

I get loads of errors with this and seems to make the webpage unusable wherby I have clear the app.cache all the time :(

2019-02-19 23:08:09.501 Error: No servers are configured. Hence mydomoticz will not be started either.
2019-02-19 23:26:53.640 Error: (hive7) Plugin did not stop after 30 seconds, flushing event queue...
2019-02-19 23:26:53.640 Error: (hive7) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2019-02-19 23:26:53.641 Error: (hive7) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2019-02-19 23:26:53.641 Error: (hive7) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2019-02-19 23:26:53.641 Error: (hive7) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.

2019-02-19 23:34:15.804 Error: (hive7) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2019-02-19 23:34:15.804 Error: (hive7) Callback event 'onStopCallback' (Python call 'onStop') discarded.
2019-02-19 23:34:20.564 Status: (hive7) Entering work loop.
2019-02-19 23:34:20.564 Status: (hive7) Initialized version 0.7(Dev), author 'imcfarla,MikeF and roadsnail'
2019-02-19 23:46:53.688 Status: 192.168.1.9 -> handle abandoned timeout (status=4)

then probably nothing since
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests