Is this a new Sonoff device? Sonoff Mini

Can anyone confirm if LAN mode requires cloud setup ever?

According to the video and github it works with the mini. So no soldering :grin::grin::grin:

1 Like

Good video. Shame only 480p. Cant really read the text on the screen :frowning:

Does anyone know is Tasmota supports the Mini? I’m worried about the ESP8285.

Well, i didn’t get too far with the DIY Tool as none of my Apple devices find the sonoffDiy network. I see they use an android, perhaps NFC is required?

Hi not tried myself, but the tool seems to be a windows executable. So I presume you need a windows pc or virtual machine.

The first step in the video is to establish a network connection with the jumper in place. In the video they do it with an android phone.They then go to windows and join the sonoffDiy network and run the tool executable. I am running the tool in a windows VM on MACs, but my MacBook Pro, MacMini and iPhone 8 don’t see the sonoffDiy network. No wifi network comes and goes when powering the mini on and off. My 2,4GHz is configured to use channel 8 as a control channel which the 8285 supports.

8252 is supported by tasmota.
Some GPIOs may need to be “unlocked” by setting option:

(These are used by 8266 for integration with external eeprom)

Thanks James

1 Like

After long holding the button twice the LED blinks constantly and an ITEAD network appears. The video show a SonoffDiy network. I tried SonOTA with tITEAD network and it hangs at the FinalStage. The DIYTool never discovers the minis. I think I’ll get a windows 10 VM and try again. The video suggested Windows 10 but didn’t indicate why.

I have just received my Sonoff mini and after playing with it for a couple of hours I have managed to connect to it in DIY mode.
First step was to upgrade to the latest firmware without the jumper in place using the eWeLink app. Next was to install the jumper and connect the mini to my phone using my phones hotspot. The mini is hard coded to connect to the SSID “sonoffDiy” using the password “20170618sn” (I think the video clip isn’t as clear as it could be on this point) so I had to change my phones hotspot credentials to match these. I then connected my PC to the phones hotspot as well and fired up the Sonoff DIYtool app. That let me change the network details on the mini to match my home network and is where you can flash the firmware, which is where I am at now. I’ve just tried the usual Tasmota sonoff.bin file but I get an error that says “Firmware file cannot be greater than 508k; The firmware must be Dout.”
I’ve only got as far as I have in this hobby by standing on the shoulders of those that are far more knowledgeable, so I’m a bit lost as to which would be the correct Tasmota firmware to flash onto the mini. Can anyone point me in the right direction?

Yes… either compile your own Tasmota or flash minimal Tasmota first. Then you should be able to flash the full firmware.
Reason is that 2 versions of firmware need to exist in the Sonoff simultaneously and with 1024kb or memory take out the ewelink firmware size and you only have 608k… so tasmota-minimal is less than that and it will then release the memory used by ewelink and then you will be good to load the full firmware.

1 Like

Can someone who has a Sonoff Mini please confirm if the S1 and S2 pins used for an external switch are connected to full line power or just low voltage that a simple pushbutton could be connected to?

From what I’ve I read in the documentation, S1 and S2 need to be connected to two sides of a rocker switch. It specifically states not to connect live or neutral to these terminals so that would suggest that they are low voltage. The docs also specify that self return rocker switches (push button/momentary) are not supported which to me reads as though it detects each state change, so a simple push button would count as two events each time you pressed it. Again, only what I get from reading the docs and using stock firmware. I’ve not tested the switch function personally.

FYI; I got a e-mail reply from Shelly 1 developers (Allterco) that they are working on a dimmer version of the Shelly that should be on the market within a few months. No information on its capabilities or price.

Personally I already have a few Z-wave dimmers from Fibaro, Aeotec/Aeon-Labs, and Qubino, and so far the Qubino Flush Dimmer is in a higher class of its own and far better than those from its competition. The others do not have the same response-time (switch-press to lights-on or lights-off) or smooth-dimming as Qubino Flush Dimmer, and I have also found that Qubino Flush Dimmer is compatible with many more type of dimmable LED-lightbulbs/lights, dimmable LED-drivers and dimmable halogen-transformers without flickering, which is surprisingly common with LED lights even LED-lightbulb manufacturers claim to be “dimmable”, and so far I had best result with Philip LED lights and OSRAM LED-drivers/transformers

I will be buying a Shelly dimmer when they come out to try it, but if it performs as poorly as Fibaro dimmers or Aeotec/Aeon-Labs dimmers then I will stick with Qubino Flush Dimmers even if they cost a lot more.

2 Likes

You name: stock firmware. With esphome you can do what ever you want on the input. Technically the switch input is properly just a ground pin and a gpio pin from the esp - nothing less - nothing more :exploding_head:

You can just use it as a switch input but tune it with esphome config to detect double presses or a special series and do special things :thought_balloon:

  • What could be a triple switching in less than two seconds? Maybe a turn all lights on :bulb:
  • What could be the super secret sequence you need to follow to open the secret door? :door:
1 Like

I managed to solder some wires to the solder pads and flash it with tasmota, it is the same procedure as the sonoff basic.

I use the Sonoff Basic module

I got the physical switch (S1&S2) working with GPIO4 set to Switch1

3 Likes

Anyone tried to flash it OTA maybe?

I have successfully flashed via OTA using the Sonoff DIY Tool after adding Sonoff to eWeLink and updating to lastest firmware 3.3.0 before adding the jumper and going into DIY mode.

I was able to flash the smaller tasmota-classic via the Sonoff DIY Tool and the use WPS to get it on my WiFi. After that I was able to use the Tasmota interface to upgrade to full Tasmota firmware.

I also tried to solder wires to the contact pads and ended up breaking off two contact pads.

My favorite option for getting custom firmware on the Mini is using my custom 3D printed programming jig and pogo pins. I have published the 3D print files on thingiverse for anyone else who would like to try it. This method allows you to directly flash new firmware without ever connecting the Sonoff Mini to Sonoff servers in China and will allow you to flash firmware up to 1 MB in size instead of the 508KB OTA limit.!

8 Likes

Have a look at DrzzzS YouTube he just posted a video on how he flashed OTA.

1 Like