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

info new version

Open posh1982 opened this issue 6 years ago • 61 comments

hello, I just send you "take me a coffe" and I download the firmware! I read that you relase new version! can I have the firmware? many thanks

posh1982 avatar Jan 08 '19 16:01 posh1982

Hi i really like your firmware. But the REST-Api doesn't works on my sonoff. greatings from switzerland.

Fussverkehr avatar Jan 11 '19 19:01 Fussverkehr

Sonoff RF NO?

andreyxc avatar Jan 16 '19 12:01 andreyxc

Hi, I have a problem with connect Sonoff S26 with this firmware to my Wifi network. I just tried to listen serial port, and you can see listing below: ` scandone add 1 aid 1 station: 54:fc:f0:e2:36:99 join, AID = 1

wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 50 incomming data scandone wifi_config: Client disconnected wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: GET /favicon.ico wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 55 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/setting s wifi_config: Client disconnected wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 52 incomming data wifi_config: Client disconnected scandone wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST /amdc/mobileDispatch?appkey=21371601&dev iceId=W7HMIV8n0rQDA wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST O%2B04rbaZsxV&platform=android&v=4.0 wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 26 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/setting s wifi_config: Client disconnected scandone scandone wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 43 incomming data wifi_config: wifi_config_server_on_settings_update: Update settings, body = ssid=NETIASPOT-C7FD10&password=password wifi_config: wifi_config_station_connect: No configuration found wifi_config: Client disconnected scandone wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST /amdc/mobileDispatch?appkey=21371601&dev iceId=W7HMIV8n0rQDA wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST O%2B04rbaZsxV&platform=android&v=4.0 wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 27 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/setting s wifi_config: Client disconnected ` Where the problem is, and how to fix it? Please, help me! :)

Regards, kompak23

kompak23 avatar Jan 19 '19 14:01 kompak23

Hi, I have a problem with connect Sonoff S26 with this firmware to my Wifi network. I just tried to listen serial port, and you can see listing below: ` scandone add 1 aid 1 station: 54:fc:f0:e2:36:99 join, AID = 1

wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 50 incomming data scandone wifi_config: Client disconnected wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: GET /favicon.ico wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 55 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/setting s wifi_config: Client disconnected wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 52 incomming data wifi_config: Client disconnected scandone wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST /amdc/mobileDispatch?appkey=21371601&dev iceId=W7HMIV8n0rQDA wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST O%2B04rbaZsxV&platform=android&v=4.0 wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 26 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/setting s wifi_config: Client disconnected scandone scandone wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 43 incomming data wifi_config: wifi_config_server_on_settings_update: Update settings, body = ssid=NETIASPOT-C7FD10&password=password wifi_config: wifi_config_station_connect: No configuration found wifi_config: Client disconnected scandone wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST /amdc/mobileDispatch?appkey=21371601&dev iceId=W7HMIV8n0rQDA wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: POST O%2B04rbaZsxV&platform=android&v=4.0 wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 27 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/setting s wifi_config: Client disconnected ` Where the problem is, and how to fix it? Please, help me! :)

Regards, kompak23

https://github.com/RavenSystem/esp-homekit-devices/wiki/RavenCore

Everything works very well! Sonoff S26!!!

andreyxc avatar Jan 19 '19 15:01 andreyxc

Sonoff RF NO?

I have Sonoff RF too (same model as basic but with RF). Have anybody tested this model? Keeps RF functionality still running?

“The nice thing about the way the SONOFF RF is designed is that the RF part is completely separate from the ESP part so after reprogramming the ESP, the RF still works as originally designed. This means that you can still program the RF receiver as you would normally”

https://piandmore.wordpress.com/2017/12/16/hacking-the-sonoff-rf/

guerraga avatar Jan 19 '19 18:01 guerraga

Sonoff RF Yes.

Keeps RF functionality still running? not tested!

andreyxc avatar Jan 19 '19 19:01 andreyxc

Hello, firmware works fine, but have a problem with phisical button (switch) in sonoff basic. I can turn it off manualy but can not turn it on :/

borewicz9 avatar Jan 27 '19 17:01 borewicz9

here also the switch works very different from the original firmware.

telespectadorhd avatar Jan 27 '19 23:01 telespectadorhd

Hi!, I'm a newbie in programming I would like to know what I should buy to install this firmware in several sonoff Thank you very much!

Javiereco avatar Jan 28 '19 08:01 Javiereco

Please! Can anybody help me?

Javiereco avatar Jan 28 '19 17:01 Javiereco

  • On windows you can install VirtualBox with a ubuntu image or otherwise run the esptool.exe manually

from readme.nd

telespectadorhd avatar Jan 28 '19 22:01 telespectadorhd

@telespectadorhd Thank you! By I use OS in my Mac. Can you explain it to me? I speak Spanish, do you?

Javiereco avatar Jan 29 '19 10:01 Javiereco

Hi,

On windows with VirtualBox and Ubuntu image i have the following error, can anybody help me ? stfcjr@stfcjr-VirtualBox:~/Desktop/Sonoff$ ./flash.sh esptool.py v2.6 Serial port /dev/cu.wchusbserial14310 Traceback (most recent call last): File "/home/stfcjr/.local/bin/esptool.py", line 2959, in _main() File "/home/stfcjr/.local/bin/esptool.py", line 2952, in _main main() File "/home/stfcjr/.local/bin/esptool.py", line 2646, in main esp = ESPLoader.detect_chip(each_port, initial_baud, args.before, args.trace) File "/home/stfcjr/.local/bin/esptool.py", line 258, in detect_chip detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled) File "/home/stfcjr/.local/bin/esptool.py", line 222, in init self._port = serial.serial_for_url(port) File "/home/stfcjr/.local/lib/python2.7/site-packages/serial/init.py", line 88, in serial_for_url instance.open() File "/home/stfcjr/.local/lib/python2.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' stfcjr@stfcjr-VirtualBox:~/Desktop/Sonoff$

The Sonoff module is connected on USB port in boot mode.

10x

stfcjr avatar Feb 06 '19 15:02 stfcjr

IMHO, It’s not good idea to run esptool under virtual machine, since you need direct access to your hardware.. Try to run esptool under Windows

St0nehead avatar Feb 06 '19 18:02 St0nehead

I’ve already tried to run esptool under windows but when i run the command to upload the firmware it can’t find it. Where should be the .bin file in order to be find by esptool and uploaded to device ?

stfcjr avatar Feb 07 '19 17:02 stfcjr

Is it possible to configure the led color?

omryoz avatar Feb 15 '19 05:02 omryoz

Hi, just a question Is it work with the sonoff dual for roller shutter? If it works how homekit recognize it? Thanks!

iShortOne avatar Feb 15 '19 19:02 iShortOne

Did you reconfigured WiFi setting via Captive Portal?

St0nehead avatar Feb 17 '19 05:02 St0nehead

Flashed S26 fine, connected to sonos WiFi, entered network password, but doesnt connect to WiFi. I see the following when performing the serial debug:

station: 74:b5:87:e4:db:6a join, AID = 1 scandone

wifi_config: http_task: Got 64 incomming data !!! wifi_config: Unknown endpoint: GET /hotspot-detect.html wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 5 incomming data wifi_config: wifi_config_server_on_message_complete: Unknown endpoint wifi_config: client_send_redirect: Redirecting to http://192.168.4.1/settings wifi_config: Client disconnected wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 52 incomming data wifi_config: Client disconnected wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 3 incomming data wifi_config: Client disconnected scandone wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 64 incomming data wifi_config: http_task: Got 38 incomming data wifi_config: wifi_config_server_on_settings_update: Update settings, body = ssid=MND&password=Password wifi_config: wifi_config_station_connect: No configuration found wifi_config: Client disconnected scandone

mcrobiej avatar Feb 19 '19 13:02 mcrobiej

I Configure wifi like on video tutorial, and works fine, but when disconnect wifi or reset... sonoff state not connection.... reset sonoff and then works right again

my experience: before flash sonoff always do erase_flash, then everything behaves correctly.

honza67 avatar Feb 20 '19 13:02 honza67

Yes, i erase all before... Thank You!

mdsavio avatar Feb 20 '19 13:02 mdsavio

yep erase_flash worked for me , thanks.

mcrobiej avatar Feb 21 '19 14:02 mcrobiej

Hi, Had anyone from here uploaded the komekit compatible firmware to a Sonoff T1 touch ?

stfcjr avatar Feb 24 '19 11:02 stfcjr

Hello guys! It is all good with process of installation but I cannot add my device in Home App. I was told by this app that "code is wrong". I have tried to put 11111111 but it does not work. Regards

norbijr avatar Feb 24 '19 21:02 norbijr

Hack Again...

mdsavio avatar Feb 24 '19 21:02 mdsavio

Norbijr this happened to me , I just did a couple of reboots of the device and tried again . Useful to monitor serial port to get debug.

mcrobiej avatar Feb 25 '19 09:02 mcrobiej

Hi, just a question Is it work with the sonoff dual for roller shutter? If it works how homekit recognize it? Thanks!

Did you get an answer on this? I have the same doubt. Thanks!

alc7328 avatar Feb 26 '19 15:02 alc7328

Hi, Had anyone from here uploaded the komekit compatible firmware to a Sonoff T1 touch ?

Hello I have used this firmware on a sonoff wall switch (single) and it works fine! I am using two of them for a few weeks now. The double switch probably won't work though.

I can also confirm the requirement of "erase_flash". I didn't do that at first and sonoff was behaving weird but after erasing and flashing again everything is fine.

piotrtobolski avatar Feb 27 '19 14:02 piotrtobolski

Hope this help... Video+Files https://mega.nz/#!6xQHCAoA!lxY6EzDnbymkQAF60D8DfKjFJnHCPgrrJu0RoZhj1_s

mdsavio avatar Feb 28 '19 10:02 mdsavio

Hope this help... Video+Files https://mega.nz/#!6xQHCAoA!lxY6EzDnbymkQAF60D8DfKjFJnHCPgrrJu0RoZhj1_s

Very useful tutorial but only for sonoff basic. We are looking for a firmware that can be applied on sonoff touch.

stfcjr avatar Feb 28 '19 12:02 stfcjr