Hallo Zusammen,
hier ein kleiner Flow für die Arlo Cams, wie man seine nutzerspezifischen Modi über Homee geschaltet bekommt. Über IFTT geht leider nur AKTIVIERT oder DEAKTIVIERT. Mit diesem Flow sind auch individielle Lösungen möglich.
Damit der Flow funktioniert, sind spezifische Arlo-API Schlüssel gemäß folgender Anleitung abzufragen und entsprechend im Flow zu ersetzen.
[{"id":"e4266757.b66f","type":"switch","z":"468e56b1.5b8df8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"On","vt":"str"},{"t":"eq","v":"Off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":490,"y":360,"wires":[["776fccd6.b5dd2c"],["3bcf74b7.a7686c"]]},{"id":"71e3697.1e93698","type":"http request","z":"468e56b1.5b8df8","name":"Update Arlo","method":"POST","ret":"txt","url":"https://arlo.netgear.com/hmsweb/users/devices/notify/$DEVICEID$/","tls":"","x":1110,"y":360,"wires":[[]]},{"id":"776fccd6.b5dd2c","type":"function","z":"468e56b1.5b8df8","name":"Set HTTP - Armed Away","func":"msg.payload = '{\"from\":\"$FROM$\",\"to\":\"$DEVICEID$\",\"action\":\"set\",\"resource\":\"modes\",\"transId\":\"$TRANSACTIONID$\",\"publishResponse\":true,\"properties\": {\"active\":\"$MODEID_1$\"}}';\nmsg.headers = {};\nmsg.headers['Content-Type'] = 'application/json';\nmsg.headers['Authorization'] = '$TOKEN$';\nmsg.headers['xcloudId'] = '$XCLOUDID$';\nreturn msg;","outputs":1,"noerr":0,"x":770,"y":300,"wires":[["71e3697.1e93698"]]},{"id":"3bcf74b7.a7686c","type":"function","z":"468e56b1.5b8df8","name":"Set HTTP - Armed Home","func":"msg.payload = '{\"from\":\"$FROM$\",\"to\":\"$DEVICEID$\",\"action\":\"set\",\"resource\":\"modes\",\"transId\":\"$TRANSACTIONID$\",\"publishResponse\":true,\"properties\": {\"active\":\"$MODEID_2$\"}}';\nmsg.headers = {};\nmsg.headers['Content-Type'] = 'application/json';\nmsg.headers['Authorization'] = '$TOKEN$';\nmsg.headers['xcloudId'] = '$XCLOUDID$';\nreturn msg;","outputs":1,"noerr":0,"x":770,"y":400,"wires":[["71e3697.1e93698"]]},{"id":"ded488b2.89d8f8","type":"wemo-emulator","z":"468e56b1.5b8df8","name":"Arlo Status","friendlyName":"Arlo_Status_an/aus","serial":"111111","port":"11111","onTopic":"switch/bulb","onPayload":"On","offTopic":"switch/bulb","offPayload":"Off","x":270,"y":360,"wires":[["e4266757.b66f"]]}]
Viel Spaß!