Getting data with rest_command from my two Shelly sensor (Uni & 3EM) in an external network stopped working for approx. 1 month ago.
Been working perfectly before this.
Could someone advice?
Is it related to Using rest_command is no longer an option with binary responses · Issue #118904 · home-assistant/core · GitHub?
Suggestions how to solved?
Setup in configuration.yaml
Rest:
- resource: https://shelly-114-eu.shelly.cloud
method: POST
payload: 'Removed'
headers:
User-Agent: Home Assistant
Content-Type: application/x-www-form-urlencoded
scan_interval: 10
sensor:
- name: "Bjornidet Elpanna0"
value_template: '{{ value_json.data.device_status.emeters[0].power }}'
state_class: measurement
unit_of_measurement: W
device_class: power
- resource: https://shelly-114-eu.shelly.cloud
method: POST
payload: 'Removed'
headers:
User-Agent: Home Assistant
Content-Type: application/x-www-form-urlencoded
scan_interval: 10
sensor:
- name: "Bjornidet Elpanna1"
value_template: '{{ value_json.data.device_status.emeters[1].power }}'
state_class: measurement
unit_of_measurement: W
device_class: power
- resource: https://shelly-114-eu.shelly.cloud
method: POST
payload: 'Removed'
headers:
User-Agent: Home Assistant
Content-Type: application/x-www-form-urlencoded
scan_interval: 10
sensor:
- name: "Bjornidet Elpanna2"
value_template: '{{ value_json.data.device_status.emeters[2].power }}'
state_class: measurement
unit_of_measurement: W
device_class: power
- resource: https://shelly-114-eu.shelly.cloud
method: POST
payload: 'Removed'
headers:
User-Agent: Home Assistant
Content-Type: application/x-www-form-urlencoded
scan_interval: 10
sensor:
- name: "Framledning"
value_template: '{{ value_json.data.device_status.ext_temperature[0].tC }}'
state_class: measurement
unit_of_measurement: C
device_class: temperature
- resource: https://shelly-114-eu.shelly.cloud
method: POST
payload: 'Removed'
headers:
User-Agent: Home Assistant
Content-Type: application/x-www-form-urlencoded
scan_interval: 10
sensor:
- name: "Returledning"
value_template: '{{ value_json.data.device_status.ext_temperature[1].tC }}'
state_class: measurement
unit_of_measurement: C
device_class: temperature
- resource: https://shelly-114-eu.shelly.cloud
method: POST
payload: 'Removed'
headers:
User-Agent: Home Assistant
Content-Type: application/x-www-form-urlencoded
scan_interval: 10
sensor:
- name: "Varmvatten efter VXLventil"
value_template: '{{ value_json.data.device_status.ext_temperature[2].tC }}'
state_class: measurement
unit_of_measurement: C
device_class: temperature