I can't find on google or on the forum how to make an esp8266 based gateway with a local relay connected report the state of the relay back to my controller(which is a vera, but that should't matter). Thanks for the help.
Yes i made several reset, exclusions, inclusions, vera reset and clear EPROM but nothing worked...
I made a new sensor and it works perfectly
Strange... I will try again when i will have more time.
Thanks for the help
I have published all the documentation in a Github repository. If someone wants to make PCBs, I recommend that you wait a little longer until you receive my PCBs and try them.
https://github.com/giltesa/SmartHome
@dzungpham0703
I buy them on Aliexpress:
https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20180706102504&SearchText=HTTM
If you apply hot air it is easy to take off the white "double sided tape" and the plastic.
@Jonathan-Roberts said in Simple AC/DC Switch WeMos:
@nca78 bummer. So I think 2 options...
What if the Wemos is raised off the PCB. That would be almost 5/8". In your experience would that help?
And maybe the best option, slide the antenna module straight down,. move the relay up and spin it around so the connections are on the outside edge.
I'm trying to make this multi-purpose and allowing both headers to be fully functional to other projects. thx for the advise.
1 would help but not that much. It's already not a good thing to have the transformer just next to it on the side, so you should avoid blocking one more direction with tracks.
I don't understand your necessity to have connectors available for something else on the relay that is too high to put anything on top ?
2 sounds like a much better option, make sure you have nothing right and left of the antenna when you move things around.
The problem you will have with this layout is the USB in that situation...
It doesn't sound like a great idea to me to use Wemos on this board especially for the relay part, it's just a cheap chinese relay with 3/4 components so why not just put them directly on you board to make the layout so much easier ?
I have the feeling that you're trying to make things "easier" by using Wemos and its shields, but in the end you seem to lose more than you gain. And neither does it seem "safer" to use their relay shield as it forces you to have extra wires between main of the HLK and relay shield connector.
@brettzky84 said:
Im using the serial gateway on u17 and have it working fine. i have the same problem as you when my vera is rebooted or powered off, but found 2 solutions. 1 with the vera on disconnect then reconnect the serial gateway. wait 10seconds refresh the dashboard page. Then go to app/ developer apps/ serial connection. Reset your baud rate to 115200??...
Thansk. I ended up upgrading to the latst UI7 beta. My gateway is now working!!! Let's see how stable it is.
(UI7 has fixed some of my other issue too)