![]() ![]() ![]() |
|
I recently installed a Nexx Garage unit on my roller door with an older Merlin opener. Works very well, haven't got the proximity based opening working yet though.
It supposedly has Google Home integration but I can't get this to link correctly yet.
scottr: Not sure if you tried my suggestion or are still following the original file in the link but I had the exact same issue and the problem was the file on the site is buggy and doesn’t work at all. The setting of LOW in the setup method is invalid and this causes the relay to never work. Comment that out and it should start working. If you have the development wemos with the USB port and the relay shield on properly then you should be getting 5v to the rail.
Check what pin the transistor actually connects to by tracing it out. And check the pin on the wemos board is changing with a multimeter. I have bought some fake wemos boards which were totally differently wired.
Also the board you choose in the IDE, needs to be the right one to translate pin numbers ok, I had problems where it went back to generic 8266 without me noticing and that screwed everything up.
scottr: You've tried shorting the relay directly to see if it works? That would be able to tell, put power on one end and ground on the other end. If it clicks then it's ok and it could be the wemos itself or the output pin on the wemos.
Did you try the entire file? There was more than one thing wrong with the original file.
The other things I changed were;
- relay/door pin definitions from '#define RELAY_PIN 5' to 'const int relayPin = D1' (as recommended somewhere i'd read).
- changing the command to set the pin state from pinMode to digitalWrite.
Perhaps the original file used to work with an older set of libraries but it doesn't seem to work in the wemos/arduino I had. The changes above sorted it for me. I'd also got the wemos (version 3) etc from aliexpress.
best of luck
I did this instructable some time ago and it does what you are after.
https://www.instructables.com/id/Sonoff-Garage-Door-Opener/
Shane
|
![]() ![]() ![]() |