Related:
Is it possible to use a temperature sensor being used in Home assistant to report āroom temperatureā to emonHP via emoncms? Iām new to this and my new emonHP is working fine but Iād like to add room temperature reporting.
Yes, itās possible. This is a snippet of my configuration.
emoncms_history:
api_key: 9xxx52f8cd702d2d4fxxxxxxxxxxxxxx
url: http://192.168.0.14/emoncms
inputnode: 22
scan_interval: 30
whitelist:
- sensor.bathroom_temp_xiaomi_temperature
- sensor.bed2_temp_aqara_temperature
- sensor.conservatory_temp_temperature
- sensor.dressing_room_temp_temperature
- sensor.en_suite_temp_xiaomi_temperature
- sensor.entrance_hall_temp_temperature
- sensor.fountain_ds18s20_1_temperature
- sensor.fountain_ds18s20_2_temperature
- sensor.gw2000a_outdoor_temperature
- sensor.hall_temp_xiaomi_temperature
- sensor.lr_temp_sonoff_temperature
Put in your read/write api key (found at the āinput API helpā link on the emoncms input page.
Change the url address to that of your emonhp, choose the input node to suit you and the scan_interval to suit. Put your sensor names in the whitelist.
Itās YAML so the indentation is important, it wonāt work if the indentation is wrong.
1 Like
Many thanks for that. Iāll give it a go. Iām learning YAML as I go and needs arise.
Peter J.