Sonoff-Homekit icon indicating copy to clipboard operation
Sonoff-Homekit copied to clipboard

Sonoff mini

Open newton112 opened this issue 5 years ago β€’ 12 comments

Hi, i flashed a Sonoff mini. It worked but the switch on s1 and s2 is not working. Does anyone have a cloue how to fix this? Does it have to be programed in the firmware? Best regards

newton112 avatar Feb 18 '20 09:02 newton112

Hello, I have an issue when I run flash.sh

File "/Library/Python/2.7/site-packages/serial/serialposix.py", line 268, in open raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg)) serial.serialutil.SerialException: [Errno 2] could not open port /dev/cu.wchusbserial14310: [Errno 2] No such file or directory: '/dev/cu.wchusbserial14310'

I'm using Sonoff basic, macOS , port type-c thunderbolt 3

iMostafaSh avatar Feb 18 '20 20:02 iMostafaSh

@newton112 How did you flash the Sonoff Mini? Can you share the steps please?

adamkearsley avatar Jun 18 '20 21:06 adamkearsley

Seems like the firmware is only built to use on/off, not those two extra ports. @Gruppio, think you could enhance this to include the s1 and s2 switch? I'd be happy to send you a mini for testing. ;)

dovy avatar Jul 06 '20 02:07 dovy

@newton112 more details please? How did you get it to flash?

dovy avatar Jul 06 '20 02:07 dovy

Is there anyway a Sonoff 4CH switch could be flashed with this? This is the one I'd like to use.

sidharthb0 avatar Feb 24 '21 13:02 sidharthb0

I tried with two sonoffs basic but it doesn't work. Compiling is very difficult, with many outdated dependencies, and the support does not exist even if you pay for coffee ...

florinangeru avatar Feb 25 '21 10:02 florinangeru

I still have many sonoff basic running works great. It is not easy to flash these things. As florin mentioning it’s also not easy to compile. I also not an expert my friend helped me. For the 4ch I doubt the code would work...

newton112 avatar Feb 25 '21 10:02 newton112

I will try to upload the files and some kind of a manual

newton112 avatar Feb 25 '21 10:02 newton112

And I also run sonoff mini with the same code

newton112 avatar Feb 25 '21 10:02 newton112

I have moved my non Apple HomeKit certified smart gadgets including sonoff to homebridge on a raspberry pi, instead of flashing firmwares... So far happy and works perfectly fine without needing to modify hardware, meaning I can resell those when I'm done in its original state. I have several flashed sonoff devices that I wanna sell but unsure of their value as it's now flashed. Will continue adding 3rd party devices to homebridge...

gsvan avatar Feb 25 '21 12:02 gsvan

I use homebridge and sonoff with modify firmware Gruppio to. How do you add this modify sonoff to homebridge?

telespectadorhd avatar Feb 25 '21 12:02 telespectadorhd

If you backed up the firmware before flashing you can put it back but as I understand backup is device specific so you need to know which backup goes to which device for it to work... Unfortunately I have not backed up all of my devices from the beginning and now I'm left with bunch of flushed devices...

gsvan avatar Feb 25 '21 12:02 gsvan