malini
Posts: 14
Joined: Thu Feb 11, 2016 11:18 am

controlling a relay from anywhere

Wed Mar 09, 2016 4:14 am

Hi
I'm trying to control a relay from a web browser. I have followed the given tutorial
https://www.openhomeautomation.net/cont ... pberry-pi/

The relay is connected to a cloud server here. When i type the ip address of the Pi in the browser and control it. that works fine. But when i create a dashboard for the same with on/off buttons (given in the tutorial), the relay switches off in 2-3 seconds when i switch it on. I'm not able to figure out where the problem lies.
Please help

Return to “Automation, sensing and robotics”