Added minor changes for Linux manual flashing

Alfonso E.M 2019-09-12 12:22:43 +02:00
parent 027d73eb74
commit c72cc65a31
1 changed files with 5 additions and 2 deletions

@ -42,7 +42,7 @@ As Sonoff DIY is enabled by connecting GPIO16 to GND it may well be possible tha
- Power off the device and remove DIY jumper as it is no longer needed and might interfere with future Tasmota features that use GPIO16
## Manual Flash
This procedure is recommended for MacOS.
This procedure is recommended for MacOS, but also works for Linux.
### Requirements
- eWelink firmware updated to at least 3.1
- OS with `curl` and `mDNS` discovery tool
@ -54,6 +54,8 @@ This procedure is recommended for MacOS.
**_1da0e89be4c01df033fa6da9d0c1db58c3deea354d7ad194f607d1f518db48f9_**
- Local web server
Upload the firmware file to a web server available on the same local network
Very simple webservers (like python SimpleHTTPServer) will not work.
### Verify and/or update eWelink firmware version
- Open the device and remove the jumper labeled OTA if present
@ -67,7 +69,7 @@ This procedure is recommended for MacOS.
- Password: `20170618sn`
- Wait for the Sonoff device to connect
- Obtain the device IP address (search on the router or perform an IP scan)
- Using the `dns-sd` command, search for the mDNS details. In this example, the device ID is **_1000988699_**
- Using the `dns-sd` (MacOS) or `avahi-browse` (Linux) command, search for the Zeroconf details. In this example, the device ID is **_1000988699_**
~~~~
$ dns-sd -B _ewelink._tcp
Browsing for _ewelink._tcp
@ -77,6 +79,7 @@ This procedure is recommended for MacOS.
20:19:31.957 Add 2 5 local. _ewelink._tcp. eWeLink_1000988699
~~~~
### Flash the firmware and confirm
- Test with /zeroconf/info POST:
>$ curl http://_\<deviceIP>_:8081/zeroconf/info -XPOST --data '{"deviceid":"1000988699","data":{} }'