Belkin Wemo Switch Control node-red

This will control two belkin wemo switches on your LAN. Just find the IP addresses and change to appropriate configuration. Pretty straightforward.

I would like to find some code to initiate the switches with a PIR motion sensor. Im not a programmer in any way and this is just a hobby of mind to tinker. If anyone would be willing to help me with this i think it would be a easy project.

My supplies: 1-dfrobot ethernet shield 1-arduino uno rev 3 (clone) 1-pir sensor 1-red led 1-330 resistor 1-protoype board

[{"id":"21886ef1.de7792","type":"wemo out","ipaddr":"192.168.1.124","name":"Wemo_LivingRoom","x":626,"y":237,"z":"5830ed0e.a7cf14","wires":[]},{"id":"b0b39692.4f4c68","type":"wemo out","ipaddr":"192.168.1.122","name":"Wemo-Bedroom1","x":619,"y":77,"z":"5830ed0e.a7cf14","wires":[]},{"id":"e8232077.17dce","type":"inject","name":"ON","topic":"","payload":"1","payloadType":"string","repeat":"","crontab":"","once":false,"x":171,"y":69,"z":"5830ed0e.a7cf14","wires":[["b0b39692.4f4c68","8607605e.79f8a"]]},{"id":"81a695bf.7e5968","type":"inject","name":"OFF","topic":"0","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":173,"y":110,"z":"5830ed0e.a7cf14","wires":[["b0b39692.4f4c68","8607605e.79f8a"]]},{"id":"5931eda7.a6ce14","type":"inject","name":"ON","topic":"","payload":"1","payloadType":"string","repeat":"","crontab":"","once":false,"x":174,"y":239,"z":"5830ed0e.a7cf14","wires":[["21886ef1.de7792","8607605e.79f8a"]]},{"id":"dcb9bdf7.23464","type":"inject","name":"OFF","topic":"0","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":175,"y":274,"z":"5830ed0e.a7cf14","wires":[["21886ef1.de7792","8607605e.79f8a"]]},{"id":"8607605e.79f8a","type":"debug","name":"","active":true,"console":"false","complete":"false","x":408,"y":172,"z":"5830ed0e.a7cf14","wires":[]}]

Flow Info

Created 9 years, 3 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • inject (x4)
Other

Tags

  • arduino
  • wemo
  • ethernet
  • shield
  • nodered
  • pir
  • pirsensor
  • ifttt
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option