I’m trying to forward my Miflora Sensors located on a slave RPi3 to my master VM using a restful sensor
Here is my code
- platform: rest
resource: http://192.168.0.73:8123/api/states/sensor.dining_room_plant_temperature
headers:
Content-Length: 1024
Host: http://192.168.0.73:8123/api/states/sensor.dining_room_plant_temperature
Authorization: Bearer LONG LIVED ACCESS TOKEN
name: Dining Room Plant Temperature
value_template: '{{ states.sensor.dining_room_plant_temperature.state }}'
unit_of_measurement: "°C"
Everything shows up accept the actual temperature value! Whenever i put the url into my address bar i just get a 401 error.
I have tried ‘?Authorization: Bearer TOKEN’ at the end of the url but still gives me a 401 error.
Not sure if Authorization is my issue or not.
Help!!