I have it ,look to my project.. project from example directory working .. but if power on node then register to gateway but not send actual state of relay .. I do it ..
@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.
The updates have been applied to Rev 2, below we have a list of everything that has been added/modified;
Modification footprint for 3 items to make it easier to mount (Slow blow fuse, Thermal Fuse and Voltage Regulator) when hand soldering.
Modification to nRF24L01+ Module to remove the short to ground on VCC line.
Added the additional silkscreen labeling that was missed off by accident.
This should be all that is needed for Rev 2 to be a successor to the Rev 1. We still have the issue with having to use pogo pins to program through the ISP connection, or to temporarily solder jumper wire into the 6 pin connection while uploading, then everything else can be programmed through the on-board FTDI connection.
Will get the gerber files generated ASAP and then get them sent off for testing production runs.
@hek said:
Does the repeater send any sensor data itself? The dashboard "last update" only reflect data coming from the repeater.
No, all it is is a repeater. The only node that could send its signal through it is my doorbell which won't send anything until the doorbell is pressed, so I guess that all makes sense.
I only have one sensor that is communicating all the time, which is my garage door switch which also sends temp values. The funny thing is that it is this switch that is the most reliable and ALWAYS works the instant I ask it to. the relay switches that I have turning operating some lights, that is the only thing I have them doing and there are times that I am having to repeatedly press there button on the dashboard to finally get the relay to work.
@nicomedia I stumbled on this doing a google search. Just wondering if you are still trying to get your Sonoff's working with your Vera controller? If so, I have written a blog post on the subject. It uses a different firmware called ESP Easy and an HTTP Switch plugin on the Vera rather than MySensors. but it works rather well for me. Here is the link to the blog post:
https://dan.bemowski.info/2017/07/04/using-a-sonoff-with-espeasy-and-vera/
I use this in conjunction with some MySensors wall switches that I built.
https://dan.bemowski.info/2017/06/11/my-start-into-open-source-hardware/