Update sensor status from Node Red

Hi. Newbie here :slight_smile:

I have a flow which receives updates from my tablet and stores them in a global variable.

I wanted to make that value visible in a tile.

I’ve created a sensor

  sensor:
    - name: "Bedroom Tablet Charge"
      unit_of_measurement: "%"
      state: 0   

and I want to be able to tell node-red to update that sensor every time a webhook comes in. I’m not using mqtt in any form at the moment (which I’ve seen suggested in a few places)

It seems like a simple request, but I just can’t figure it out :frowning:

entity node. You can create a sensor from NR to HA with that.

Thanks.

This turned out to be a lot simpler than I thought using this method.

1 Like