node-red-contrib-hass 0.0.1

Home-Assistant POST Node

npm install node-red-contrib-hass

Node-RED node to publish states directly to Home-Assistant (

##Usage Publishes msg.payload via POST to HomeAssistant using the RESTful API

The API method called is /api/states/<entity_id>

msg.payload must be a JSON object with at least a state attribute:

    "state": "custom_state",
    "attributes": {

If needed, also a unit_of_measurement attribute can be set.

More info on the API here.

EntityId must be set in the node or in msg.entityid

Node Info

Version: 0.0.1
Updated 2 years ago
License: Apache


0 in the last day
8 in the last week
62 in the last month


  • hass-config
  • hass-post


  • node-red
  • hass
  • home-assistant


  • lpandolfini