Skip to content
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 hardware Sonoff Mini #1886

Closed
Chrisuli opened this issue Sep 2, 2019 · 7 comments
Closed

Support hardware Sonoff Mini #1886

Chrisuli opened this issue Sep 2, 2019 · 7 comments
Labels
enhancement New feature or request staged for release
Milestone

Comments

@Chrisuli
Copy link

Chrisuli commented Sep 2, 2019

Hi
Sonoff mini will be support soon or not ?
Thanks

@Chrisuli Chrisuli added the enhancement New feature or request label Sep 2, 2019
@pms77
Copy link

pms77 commented Sep 13, 2019

HI,

It's easy (kind of) to put espurna to work.

First you need to flash it OTA. Follow this link and replace the tasmota firmware by the Espurna sonoff basic. (https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-DIY)

Then you can use de espurna dev and just open the arduino.h file and uncomment the line
//#define ITEAD_SONOFF_BASIC
Then open the hardware.h file and look for the line
#elif defined(ITEAD_SONOFF_BASIC)

Now change the BUTTON2 configuration to:
#define BUTTON2_PIN 4
#define BUTTON2_MODE BUTTON_SWITCH //| BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
#define BUTTON2_RELAY 1

Now in arduino IDE compile for Generic ESP8285 Module and then upload the file OTA.

I've tried and it seems to work (the switch (aka button ON/OFF) can command the relay.

@xoseperez
Copy link
Owner

xoseperez commented Sep 30, 2019

Added support in 50eda33

@xoseperez xoseperez added this to the 1.13.6 milestone Sep 30, 2019
@cconde
Copy link
Contributor

cconde commented Oct 3, 2019

Just stating that I have downloaded a 'dev' firmware and it is working properly on my device.
Thanks!

@Bochets34
Copy link

Good evening,
would you mind please sharing the .bin file for SonOff mini ?
I'm a bit lazy to compile it ...
thanks,
Olivier

@mcspr
Copy link
Collaborator

mcspr commented Nov 6, 2019

@Bochets34 please see Notices in the README, dev binaries are released in a separate repo

@Bochets34
Copy link

fantastic, works just fine, many thanks !

@JulioSDDR
Copy link

JulioSDDR commented Nov 6, 2019

playing with the nightly release, i have found something weird. At the switches category, you can not select the "button" at pin 4, only the one at pin 12. If only one button is sported, maybe it should be the one at pin 4? That is the one that is exposed once the sonoff mini is installed.

EDIT:
I have just swapped the button pin vars to get my expected result:
btnGPIO0 => "4"
btnGPIO1 => "0"

Seems that the pushbutton works just fine, can someone that did not desolder his try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request staged for release
Projects
None yet
Development

No branches or pull requests

7 participants