Following on from our post on getting historic Hive heating data here: https://www.digitaltechnologylabs.com/2017/12/09/temperature-data-from-hive, I had another go and was able to extract the data again. However, I found that the process still did in fact work, which I’m very happy about.
**** UPDATES 3rd Feb 2019 – see bottom of blog post ****
Actual Hive heating data shown here
Here is the data for November.
And then I got the temperature (Actuals) in my area during that time. And then, I compared the inside temperature to the outside temperature.
Both suggest that the temperature in the house remains quite stable, even on the coldest days.
Monitoring temperature and expenditure wish list:
- Correlate that with the gas spend on those days.
- Automatically pull in the heating data from HIVE and spend – UPDATE: I’ve partially implemented this! See update at the end of the blog post.
- Automatically pull in the temperature data (actuals)
- In fact that would make a cool project over christmas to make a Raspberry Pi temperature monitor to go outside, and post the results to an endpoint for me!
And if you’ve already done any of the above we would love to hear from you!
Some important hive heating data links
https://www.hivehome.com – Here is the where you can login to Hive, and you’ll find all the data described for your own Hive setup.
https://www.accuweather.com/en/gb/basildon/ss14-1/month/328073?monyr=11/01/2017 – Here is where you can get historical outside temperature data for your area, and find out what the min and max temperature was in your area!
How to access the Hive temperature data
Here is a tutorial video created 5th January 2019 with details of how to access this data.
I hope this is of use!
How to automatically pull in temperature data from Hive – Update 3rd February
Big thank you to Andrew (from the comments below) – who pointed me at Home-Assistant.io https://www.home-assistant.io/components/hive/ with a little jiggly pokery I got this working to pull in the data from the Hive smart metre automatically – this is very exciting!
Here’s the proof:
The Home Assistant working on my Mac showing this:
The app showing the same thing…
Okay I need to try and recall how I did it. I achieved this on a Mac with a recent Mac OS install.
- Registed for Docker so I could login and get to downloads
- Downloaded Docker (for Desktop) dmg here: https://store.docker.com/editions/community/docker-ce-desktop-mac
- Followed the link here (https://www.home-assistant.io/docs/installation/) which gave me the docker component to download here: https://www.home-assistant.io/docs/installation/docker/ Basically you have to create this command string and run it at the terminal:
- This is the command I ran:
docker run -d --name="home-assistant" -v /Users/kevingordon/home-assistant/config -e "TZ=Europe/London" -p 8123:8123 homeassistant/home-assistant
- Please note however apart from the Timezone, the config bit did not work I don’t think
- If you accidentally run the docker component wrong, find the id by running the command: docker ps -a -q and then run this docker rm your_component_id to get rid of it.
- In order to sort out the configuration, one must go into the Docker image. To do this download the app Kitematic and put it in the Applications directory.
- You’ll be able to see the volumes, choose the /config, double click, enable it, then edit the configuration.yaml here.
- And in the configuration.yaml you need the following, note you can add after the first section or probably anywhere in the configuration.yaml:
-
hive: username: hive_username_here password: hive_password_here
- Take care to restart the component via Kitematic and ensure the Hive component has started okay.
- Then go to http://localhost:8123 – here you’ll be prompted to create a name, username and password – note these so you can login.
- Now when you login, you should get a Hive component with the temperature as the photo above. If not, then go to configuration > General and click ‘Check Config’ this should load without errors.
I hope that helps. I’m going to work on extracting a polling of the thermostat reading of the temperature from this. Then I need to install a temperature reader outside my house 🙂 And the final step will be to simplify this – as that took at good couple of hours of hacking to get that all working!
The second point on your wish list is most interesting to me…
How do we get the data on when the heating is actually running so we can correlate how quickly the house warms up and the actual heat usage (and cost) to get to the target temperature?
Did you make any headway with this?
Hi Andrew, thanks for your comments! We need to work out how to lobby Hive / or get stuff on their backlog. No haven’t managed to make any headway myself..
Thanks Kevin, have you looked at using a 3rd party home automation platform such as Home Assistant that ingrates with Hive?
https://www.home-assistant.io/components/hive/
My thought it that it might be able to track state changes such as heating on.
I know very little so cannot say if this work but I thought it might be worth a shot.
Playing with it, I’ve managed to setup Docker on Mac, figure out how to use Kitematic to access the component/instances folder structure, and added the Hive yaml configuration and Hive component as per here: https://community.home-assistant.io/t/hive-integration/17374 Unfortunately the Hive component is throwing an error.
Scrap that…. I wiped out all the hive customisations I did and it’s now working – will update the blog post above! It’s working 😀