mirror of https://github.com/arendst/Tasmota.git
After a power failure, local Http OTA server may become unresponsive
parent
35d01d1b19
commit
fed31fc9b2
|
@ -110,10 +110,18 @@ In the following commands too, replace 4 time `XYZ` by your username :
|
|||
```
|
||||
- Test of the server
|
||||
|
||||
To feed the server, we're now able to copy new firmwares in the folder `/srv/tasmota/fw_server/fw` with `XYZ` user rights. It can be done with `scp` or `samba` for instance.
|
||||
Let's upload `firmware.bin` into the folder, the service can be tested from any browser by issuing the address `http://<ip_address>:5000/firmware.bin` were <ip_address> is the adress of the linux server.
|
||||
To feed the linux server, we're now able to copy new firmwares in the folder `/srv/tasmota/fw_server/fw` with `XYZ` user rights. It can be done using `scp` or `samba` for instance.
|
||||
Let's upload `firmware.bin` into the folder, the service can be tested from any browser by issuing the address `http://<ip_address>:5000/firmware.bin` were `<ip_address>` is the adress of the linux server.
|
||||
If you reboot the server, the service should startup again.
|
||||
|
||||
If your notice that the OTA mechanism is broken, try at first to download the served file from a browser. If you can't, then check the status of the service as said above. After a power failure, it may happen that your wlan0 IP resolves to an invalid value like `169.254.5.153` because your LAN gateway was not ready.
|
||||
Login as root in a Terminal session and enter:
|
||||
```
|
||||
# systemctl restart tasmota.service
|
||||
> systemctl status tasmota.service
|
||||
```
|
||||
if you recognize the IP of your server on the last status line, it should be OK now... OTA service restored!
|
||||
|
||||
Now if you want PlatformIO to be able to upload your compiled binaries to the local server, you'll still have to setup `ssh` with `ssh-keygen` in order to use the Tasmota script `pio/sftp-uploader.py` without password.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue