I am using Arduino Uno. I want to control my room lamp both manually and over the network, so when I switch off my lamp manually, how do I get acknowledgement over the network that lamp is off ?
-
Disconnect the switch from the lamp and instead connect it to a digital pin on the Arduino. Have the Arduino toggle the lamp when the switch changes position.Gerben– Gerben2016-08-20 20:03:12 +00:00Commented Aug 20, 2016 at 20:03
-
Or attach a lightsensor to see if the bulb is on.Gerben– Gerben2016-08-20 20:04:07 +00:00Commented Aug 20, 2016 at 20:04
-
@Gerben not nice.PhillyNJ– PhillyNJ2016-08-20 21:09:37 +00:00Commented Aug 20, 2016 at 21:09
-
Please read How do I ask a good question?. What do you mean by "manually"? What do you mean by "acknowledgement over the network"? I don't know why the above comments have been reported to the moderators.Nick Gammon– Nick Gammon ♦2016-08-21 09:09:47 +00:00Commented Aug 21, 2016 at 9:09
-
1@Gerben - My mistake.- I read it wrong. SorryPhillyNJ– PhillyNJ2016-08-21 12:04:46 +00:00Commented Aug 21, 2016 at 12:04
|
Show 1 more comment