Downloading temperature data from Hue motion sensors, Echo Plus and Hive Thermostat

Hi all,

I’m potentially being asked to take part in a study by a university and they’ve asked if I can download regular temperature data from my smart home kit. I currently have:

  • Hive smart thermostat
  • Echo Plus
  • Hue Motion sensors
    All of which record the temperature constantly and can be viewed in graphs on my dashboard.

I’m running Home Assistant on a virtual machine on a 2012 Mac Mini. It’s generally running well but I’d like to be able to download the temperature data to a .CSV file every 10 minutes or so. I was wondering if there was a step by step guide to allow me to do this for each sensor as at present I’ve not found anything that’s aimed at someone who still knows very little about this.

Thanks,

Tom

One way to do this would be to create a file notification service:

https://www.home-assistant.io/integrations/file/#notifications

You could then write an automation that uses a time pattern trigger to add the the latest readings to the file every 10 minutes.

If you list the entities you want we can help with the template for the message you send to the file that contains the sensor values.

Sorry for being slow coming back, work suddenly turned manic. That sounds good, I’ll give it a go and get back to you!