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.
Many thanks for that. Iāll give it a go. Iām learning YAML as I go and needs arise.
Peter J.
hey @billt , Iām new to temperature sensing. Would you mind sharing references and which sensors you are using? I liked your setup. Are you using temperature sensors from Xiaomi? How do they connect to the server (like Wifi or Zigbee or anything else)? Iām looking for an easy way to add multiple temperature sensors and track them in a single server (EmonPi in my case). Thanks!
If you have an emonPi you can easily connect DS18B20 temperature sensors directly to the unit, see: https://docs.openenergymonitor.org/emonpi2/other_sensors.html#temperature-sensing