Created
October 23, 2020 19:59
-
-
Save hnykda/fdbcac247d4f5ed67e12a4f9aeb5297d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "36d030cd.cdf67", | |
"type": "tab", | |
"label": "Shelly's GET to POST to HA", | |
"disabled": true, | |
"info": "This worked with setting ON/OFF actions in shelly to:\n\nhttp://192.168.0.123:1880/endpoint/g2p" | |
}, | |
{ | |
"id": "d3164c75.694ed", | |
"type": "http in", | |
"z": "36d030cd.cdf67", | |
"name": "get2post", | |
"url": "/g2p", | |
"method": "get", | |
"upload": false, | |
"swaggerDoc": "", | |
"x": 280, | |
"y": 160, | |
"wires": [ | |
[ | |
"a3fbb015.1de86", | |
"8444ddb.fc4312" | |
] | |
] | |
}, | |
{ | |
"id": "8444ddb.fc4312", | |
"type": "http request", | |
"z": "36d030cd.cdf67", | |
"name": "Request to HA", | |
"method": "POST", | |
"ret": "txt", | |
"paytoqs": "ignore", | |
"url": "http://192.168.0.123:8123/api/webhook/bedroom_switch_toggle", | |
"tls": "", | |
"persist": false, | |
"proxy": "", | |
"authType": "", | |
"x": 480, | |
"y": 100, | |
"wires": [ | |
[ | |
"342415df.b8cf9a" | |
] | |
] | |
}, | |
{ | |
"id": "342415df.b8cf9a", | |
"type": "debug", | |
"z": "36d030cd.cdf67", | |
"name": "", | |
"active": true, | |
"tosidebar": true, | |
"console": false, | |
"tostatus": false, | |
"complete": "payload", | |
"targetType": "msg", | |
"statusVal": "", | |
"statusType": "auto", | |
"x": 670, | |
"y": 160, | |
"wires": [] | |
}, | |
{ | |
"id": "a3fbb015.1de86", | |
"type": "http response", | |
"z": "36d030cd.cdf67", | |
"name": "", | |
"statusCode": "", | |
"headers": {}, | |
"x": 470, | |
"y": 280, | |
"wires": [] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment