As the title says... Chat on...

User avatar
By VjSky
#6532 Hi!
I have no experience in LUA, but I am good with hardware.

My project idea ( and I think it would be a useful thing ) is to create a regular switch "replacement". Use esp8266s gpio0 to switch a relay via WiFi, and gpio2 to connect to the old switch so It can listen to the actual switch state. That way someone could just put it behind the regular switch and get a wifi connected light or whatever.

Is there anyone with a bit more coding experience to mash something together?

Cheers!
User avatar
By VjSky
#6566
alonewolfx2 wrote:Topic Moved.

You can check the link. http://www.esp8266.com/viewtopic.php?f=19&t=990


This is a great start.
the idea is to use one gpio, for example with a voltage divider to run a dual position switch ( so you could have 0, 1,6 and 3.3 v read from adc if esp even has adc) and use the other gpio as output. This way you could have a smart switch that does not loose its functionality as an ordinary switch.
User avatar
By alonewolfx2
#6590
VjSky wrote:
alonewolfx2 wrote:Topic Moved.

You can check the link. http://www.esp8266.com/viewtopic.php?f=19&t=990


This is a great start.
the idea is to use one gpio, for example with a voltage divider to run a dual position switch ( so you could have 0, 1,6 and 3.3 v read from adc if esp even has adc) and use the other gpio as output. This way you could have a smart switch that does not loose its functionality as an ordinary switch.

it has adc but just one t_out pin and with 0-1.0v voltage range.