mirror of https://github.com/arendst/Tasmota.git
Added minor changes for Linux manual flashing
parent
027d73eb74
commit
c72cc65a31
|
@ -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
|
- 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
|
## Manual Flash
|
||||||
This procedure is recommended for MacOS.
|
This procedure is recommended for MacOS, but also works for Linux.
|
||||||
### Requirements
|
### Requirements
|
||||||
- eWelink firmware updated to at least 3.1
|
- eWelink firmware updated to at least 3.1
|
||||||
- OS with `curl` and `mDNS` discovery tool
|
- OS with `curl` and `mDNS` discovery tool
|
||||||
|
@ -55,6 +55,8 @@ This procedure is recommended for MacOS.
|
||||||
- Local web server
|
- Local web server
|
||||||
Upload the firmware file to a web server available on the same local network
|
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
|
### Verify and/or update eWelink firmware version
|
||||||
- Open the device and remove the jumper labeled OTA if present
|
- Open the device and remove the jumper labeled OTA if present
|
||||||
- Power on device and connect to eWelink
|
- Power on device and connect to eWelink
|
||||||
|
@ -67,7 +69,7 @@ This procedure is recommended for MacOS.
|
||||||
- Password: `20170618sn`
|
- Password: `20170618sn`
|
||||||
- Wait for the Sonoff device to connect
|
- Wait for the Sonoff device to connect
|
||||||
- Obtain the device IP address (search on the router or perform an IP scan)
|
- 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
|
$ dns-sd -B _ewelink._tcp
|
||||||
Browsing for _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
|
20:19:31.957 Add 2 5 local. _ewelink._tcp. eWeLink_1000988699
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
|
|
||||||
### Flash the firmware and confirm
|
### Flash the firmware and confirm
|
||||||
- Test with /zeroconf/info POST:
|
- Test with /zeroconf/info POST:
|
||||||
>$ curl http://_\<deviceIP>_:8081/zeroconf/info -XPOST --data '{"deviceid":"1000988699","data":{} }'
|
>$ curl http://_\<deviceIP>_:8081/zeroconf/info -XPOST --data '{"deviceid":"1000988699","data":{} }'
|
||||||
|
|
Loading…
Reference in New Issue