Hello @ all,
i have a problem with read sensor values from http link (xml).
No values will import to HA.
Would anyone have a tip for me?
The sensors are displayed under entities but with this text:
This entity is no longer being provided by the rest integration. If the entity is no longer in use, delete it in settings.
Thats my setup:
My configuration.yaml config:
rest:
- resource: "http://IP/System/Properties/Process/Bus1/"
scan_interval: 60
sensor:
- name: A_mW
value_template: "{{ value_json.Bus1.Device_2.Variable_14 }}"
unique_id: A_mW
unit_of_measurement: "mW"
- name: B_mW
value_template: "{{ value_json.Bus1.Device_2.Variable_4 }}"
unique_id: B_mW
unit_of_measurement: "mW"
- name: C_mW
value_template: "{{ value_json.Bus1.Device_2.Variable_5 }}"
unique_id: C_mW
unit_of_measurement: "mW"
- name: D_mW
value_template: "{{ value_json.Bus1.Device_2.Variable_6 }}"
unique_id: D_mW
unit_of_measurement: "mW"
XML from link:
<Bus1>
<Device_2>
<DeviceState _="1"/>
<ChangeToggle _="0"/>
<Variable_4 _="143300"/>
<Variable_5 _="36200"/>
<Variable_6 _="223000"/>
<Variable_14 _="402600"/>
</Device_2>
<Active _="1"/>
<FreeMem _="105344"/>
<script id="bw-fido2-page-script"/>
</Bus1>
Greetings Back