[{"id":"b906b448.4e3898","type":"tab","label":"Web-client Flow","disabled":false,"info":""},{"id":"b74149e9.760b78","type":"mqtt out","z":"b906b448.4e3898","name":"","topic":"$aws/things/{thingname}/shadow/update","qos":"0","retain":"","broker":"ab556423.32db78","x":860,"y":160,"wires":[]},{"id":"bf1d674c.a2b408","type":"http in","z":"b906b448.4e3898","name":"","url":"/ON","method":"get","upload":false,"swaggerDoc":"","x":220,"y":80,"wires":[["7c2a605c.c71a1","b832311f.b95dd","9c1b1511.db8e28"]],"info":"\r\n \r\n \r\n

Hello World!

\r\n \r\n"},{"id":"b475b454.5b0308","type":"mqtt out","z":"b906b448.4e3898","name":"","topic":"$aws/things/{thingname}/shadow/get","qos":"","retain":"","broker":"ab556423.32db78","x":850,"y":40,"wires":[]},{"id":"7c2a605c.c71a1","type":"function","z":"b906b448.4e3898","name":"payload","func":"msg.payload = {\"state\": {\"desired\": {\"power\": \"1\"}}}\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":160,"wires":[["b74149e9.760b78"]]},{"id":"46c5736c.85a90c","type":"http in","z":"b906b448.4e3898","name":"","url":"/OFF","method":"get","upload":false,"swaggerDoc":"","x":220,"y":380,"wires":[["ea9a1fab.59f27","1e2599f1.98e4f6","10f44e87.4e3ae1"]]},{"id":"33a832be.a343ce","type":"mqtt out","z":"b906b448.4e3898","name":"","topic":"$aws/things/{thingname}/shadow/get","qos":"","retain":"","broker":"ab556423.32db78","x":850,"y":380,"wires":[]},{"id":"70023a73.90c904","type":"mqtt out","z":"b906b448.4e3898","name":"","topic":"$aws/things/{thingname}/shadow/update","qos":"0","retain":"","broker":"ab556423.32db78","x":860,"y":480,"wires":[]},{"id":"ea9a1fab.59f27","type":"function","z":"b906b448.4e3898","name":"payload","func":"msg.payload = {\"state\": {\"desired\": {\"power\": \"0\"}}}\nreturn msg;","outputs":1,"noerr":0,"x":500,"y":480,"wires":[["70023a73.90c904"]]},{"id":"b832311f.b95dd","type":"template","z":"b906b448.4e3898","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"\n\n\n\n

Cloud Home Automation Series

\n

Bulb - is - ON , Click to Turn it OFF

\n

\n","output":"str","x":500,"y":260,"wires":[["d931c2b5.a5299"]]},{"id":"d931c2b5.a5299","type":"http response","z":"b906b448.4e3898","name":"","statusCode":"200","headers":{},"x":740,"y":260,"wires":[]},{"id":"1e2599f1.98e4f6","type":"template","z":"b906b448.4e3898","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"\n\n\n\n

Cloud Home Automation Series

\n

Bulb - is - OFF , Click to Turn it ON

\n

\n\n","output":"str","x":500,"y":580,"wires":[["8f1e8ebc.3c8d9"]]},{"id":"8f1e8ebc.3c8d9","type":"http response","z":"b906b448.4e3898","name":"","statusCode":"200","headers":{},"x":760,"y":580,"wires":[]},{"id":"9c1b1511.db8e28","type":"delay","z":"b906b448.4e3898","name":"","pauseType":"delay","timeout":"30","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":510,"y":40,"wires":[["b475b454.5b0308"]]},{"id":"10f44e87.4e3ae1","type":"delay","z":"b906b448.4e3898","name":"","pauseType":"delay","timeout":"30","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":510,"y":380,"wires":[["33a832be.a343ce"]]},{"id":"ab556423.32db78","type":"mqtt-broker","z":"","name":"AWS_Broker","broker":"endpoint.iot.us-east-1.amazonaws.com","port":"8883","tls":"6dae71c2.4c17b","clientid":"","usetls":true,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"6dae71c2.4c17b","type":"tls-config","z":"","name":"","cert":"","key":"","ca":"","certname":"","keyname":"","caname":"","servername":"","verifyservercert":true}]