Skip to content

Instantly share code, notes, and snippets.

@ThierryO
Created June 23, 2021 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThierryO/ccd218c278287553b56044dd6c4ceaad to your computer and use it in GitHub Desktop.
Save ThierryO/ccd218c278287553b56044dd6c4ceaad to your computer and use it in GitHub Desktop.
Use nodered to set shelly 2.5 position
[
{
"id": "c683382b.22b6d",
"type": "api-call-service",
"z": "645063bf.d45e6c",
"name": "zet positie",
"server": "44c0c9a9.f23da8",
"version": 1,
"debugenabled": false,
"service_domain": "cover",
"service": "set_cover_position",
"entityId": "cover.rolluik_dakraam_eetkamer",
"data": "{\"position\":msg.positie}",
"dataType": "jsonata",
"mergecontext": "",
"output_location": "",
"output_location_type": "none",
"mustacheAltTags": false,
"x": 520,
"y": 1880,
"wires": [
[]
]
},
{
"id": "9de150f7.39181",
"type": "server-state-changed",
"z": "645063bf.d45e6c",
"name": "dakraam eetkamer",
"server": "44c0c9a9.f23da8",
"version": 1,
"exposeToHomeAssistant": false,
"haConfig": [
{
"property": "name",
"value": ""
},
{
"property": "icon",
"value": ""
}
],
"entityidfilter": "input_number.hitteschild_rolluik_dakraam_eetkamer",
"entityidfiltertype": "exact",
"outputinitially": false,
"state_type": "num",
"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,
"x": 150,
"y": 1880,
"wires": [
[
"c683382b.22b6d"
]
]
},
{
"id": "44c0c9a9.f23da8",
"type": "server",
"name": "Home Assistant",
"legacy": false,
"addon": false,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment