Hi
I have a HA running on 172.25.100.199:58123 and then I have a Node-RED running on 172.25.100.199:51880 - both on docker.
I have installed the node-red-contrib-home-assistant-websocket node inside NodeRED and have installed the Node-RED Companion integrations inside HA.
I have got an "livetime token" from HA.
But my status on a "State_Changed" is "Connecting". why can't I get it to connect and then search my entitie id's?
[
{
"id": "a6f1796037e10f7e",
"type": "server-state-changed",
"z": "811e72d22026148f",
"name": "",
"server": "a21f7f80ac58b9b8",
"version": 4,
"exposeToHomeAssistant": false,
"haConfig": [
{
"property": "name",
"value": ""
},
{
"property": "icon",
"value": ""
}
],
"entityidfiltertype": "exact",
"outputinitially": false,
"state_type": "str",
"haltifstate": "",
"halt_if_type": "str",
"halt_if_compare": "is",
"outputs": 1,
"output_only_on_state_change": true,
"for": "0",
"forType": "num",
"forUnits": "minutes",
"ignorePrevStateNull": false,
"ignorePrevStateUnknown": false,
"ignorePrevStateUnavailable": false,
"ignoreCurrentStateUnknown": false,
"ignoreCurrentStateUnavailable": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "eventData"
},
{
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
}
],
"x": 130,
"y": 200,
"wires": [
[
"33bb490ade388af6"
]
]
},
{
"id": "33bb490ade388af6",
"type": "api-call-service",
"z": "811e72d22026148f",
"name": "",
"server": "a21f7f80ac58b9b8",
"version": 5,
"debugenabled": false,
"domain": "",
"service": "",
"areaId": [],
"deviceId": [],
"entityId": [
"sensor.temperature_3"
],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [
{
"property": "temp",
"propertyType": "msg",
"value": "",
"valueType": "num"
}
],
"queue": "none",
"x": 370,
"y": 200,
"wires": [
[
"45d492a13b1f79af"
]
]
},
{
"id": "45d492a13b1f79af",
"type": "debug",
"z": "811e72d22026148f",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 570,
"y": 200,
"wires": []
},
{
"id": "a21f7f80ac58b9b8",
"type": "server",
"name": "Home Assistant",
"version": 5,
"addon": false,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": "30",
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": ": ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "h23",
"statusTimeFormat": "h:m",
"enableGlobalContextStore": false
}
]