Adding Hydro Sensor to Home Assistant
A couple years ago Hydro Quebec installed Smart Meters. They allow them remotely gather consumption data. But they as well opened these data over APIs. hassio community build a component which is using this API. I've decided to add it to my project.
I've open my vi editor to add new sensor into #hassio configuration file:
sudo vi /usr/share/hassio/homeassistant/configuration.yaml
I've added section to get data on my hydro consumption and temperature:
# Sensors
sensor:
- platform: hydroquebec
username: MYUSERID
password: MYPASSWORD
contract: 'MYCOBTRACTID'
monitored_variables:
- period_total_bill
- period_length
- period_total_days
- period_mean_daily_consumption
- period_average_temperature
- yesterday_total_consumption
- yesterday_average_temperature
And I've checked validity of the configuration. Once it was successfully validated I've restarted my hassio
After restart I've got new sensor data from the Hydro Quebec related to the temperature and energy consumption.
The next step will be to identify if I consume more energy than average from information provided by Hydro sensor..


Top Comments