Hi,
I have an environment controller, what is a http server.
For example, if I go to http://192.168.178.62/i?k=BOX_0_TEMP
it shows me the actual temperature.
How can I integrate these sensors to my home assistant?
Hi,
I have an environment controller, what is a http server.
For example, if I go to http://192.168.178.62/i?k=BOX_0_TEMP
it shows me the actual temperature.
How can I integrate these sensors to my home assistant?
Or
Thank you.
I was able to integrate one sensor with this manual.
With this script it works fine.
- platform: rest
resource: http://192.168.178.62/i?k=BOX_0_TEMP
name: Temperatur
device_class: temperature
unit_of_measurement: "°C"
But if I want to integrate multiple sensors by the same way, I get an error message.
- platform: rest
resource: http://192.168.178.62/i?k=BOX_0_TEMP
name: Temperatur
device_class: temperature
unit_of_measurement: "°C"
resource: http://192.168.178.62/i?k=BOX_0_HUMI
name: Luftfeuchtigkeit
device_class: humidity
unit_of_measurement: "%"
resource: http://192.168.178.62/i?k=BOX_0_VPD
name: VPD
device_class: preasure
unit_of_measurement: "hPa"
Here I get the message
duplicated mapping key at line 20, column 5:
resource: http://192.168.178.62/ …
It seems that Home Assistant doesn’t accept a trailing slash in the resource
Ok, i think I get it on my own.
- platform: rest
resource: http://192.168.178.62/i?k=BOX_0_TEMP
name: Temperatur Space Bucket
device_class: temperature
unit_of_measurement: "°C"
- platform: rest
resource: http://192.168.178.62/i?k=BOX_0_HUMI
name: Luftfeuchtigkeit Space Bucket
device_class: humidity
unit_of_measurement: "%"
- platform: rest
resource: http://192.168.178.62/i?k=BOX_0_VPD
name: VPD Space Bucket
device_class: pressure
unit_of_measurement: "hPa"
seems to work