-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support son off 2 switches #2
Comments
Original comment by Sylvain Blot (Bitbucket: sylvainblot, GitHub: sylvainblot): Took me a while to get it, but the board is not from sonoff but electrodragon : http://www.electrodragon.com/w/ESP_Relay_Board |
The ESPurna firmware does not support 2 relays just yet, but it's in the roadmap. I will soon target Electrodragon and Sonoff Dual devices. But anyway the wifi should be up for the electrodragon. Could you please paste here the output from the console, just type
right after powering the board. |
Original comment by Sylvain Blot (Bitbucket: sylvainblot, GitHub: sylvainblot): Hi Xose, I finally fried the electrodragon when I plugged it to the wall socket... I can confirm I managed to get the firmware running. Regards, |
Hi Sorry for your electrodragon but glad to hear you made it work. Actually I reuse lots of code from ESPurna in other projects, and the other way around, of course. I am thinking on the plugin approach too, but still have not defined the way to do it. I'd like to have something really dynamic, so I can enable/disable a sensor from the web interface or change the GPIO it is connected to. A problem with a lot of libraries currently available is that you have to define the pins in the constructor so you pretty much lose that flexibility. Of course I can pretend to define everything at compile time but... |
The latest firmware supports multiple-relay boards, including the Electrodragon and the Sonoff Dual. |
Originally reported by: Sylvain Blot (Bitbucket: sylvainblot, GitHub: sylvainblot)
Hello!
Thank you for this firmware it works really nice my s20 socket.
On the other hand I've this sonoff card : sonoff.jpg
I tried to flash it without success (same process as s20, press button 1 when power up and sudo platformio run --target upload -e sonoff-debug --upload-port /dev/ttyUSB0)
Unfortunately I always get :
Do you have any idea why I can't flash it? Is this board supported?
Regards
The text was updated successfully, but these errors were encountered: