Hallo zusammen,
bevor ich die AOFO Steckdosenleiste
(https://www.amazon.de/AOFO-Steckdosenleiste-Mehrfachsteckdose-%C3%9Cberspannungsschutz-USB-Anschl%C3%BCsse/dp/B07SKTBC47)
aufschraube und mich an den UART vom ESP hänge und dadurch die Garantie
verliere, wollte ich mal fragen ob hier jemand schon die AOFO
erfolgreich über OTA geflash hat via
https://github.com/ct-Open-Source/tuya-convert?
Es wird auf jeden Fall die Smart-Life App via Tuya-Cloud verwendet
(funzt auch soweit per App und Amazon Echo). Ich wollte mich auf jeden
Fall vom Cloud-Zwang lösen, darum sollte Tasmota drauf (ein Template für
die Steckdosenleiste gibt es auch
https://blakadder.github.io/templates/aofo_4AC4USB.html)
Jetzt habe ich das Tuya Convert entsprechend der Anleitung auf meinem
RasPi gebracht und es wird auch ein AP aufgemacht und die AOFO erkannt
und eine IP zugewiesen. Allerdings wird dem AOFO beim Paring nicht die
10.42.42.42 zugewiesen, sondern gemäß Syslog die .32 am Ende.
1 | Oct 5 17:28:03 raspberrypi hostapd: wlan0: STA 60:01:94:d1:e2:22 RADIUS: starting accounting session 18DC7CA9193F8A59
|
2 | Oct 5 17:28:03 raspberrypi dnsmasq-dhcp[4702]: DHCPDISCOVER(wlan0) 60:01:94:d1:e2:22
|
3 | Oct 5 17:28:03 raspberrypi dnsmasq-dhcp[4702]: DHCPOFFER(wlan0) 10.42.42.32 60:01:94:d1:e2:22
|
4 | Oct 5 17:28:03 raspberrypi hostapd: wlan0: STA 60:01:94:d1:e2:22 WPA: pairwise key handshake completed (RSN)
|
5 | Oct 5 17:28:04 raspberrypi dnsmasq-dhcp[4702]: DHCPDISCOVER(wlan0) 60:01:94:d1:e2:22
|
6 | Oct 5 17:28:04 raspberrypi dnsmasq-dhcp[4702]: DHCPOFFER(wlan0) 10.42.42.32 60:01:94:d1:e2:22
|
7 | Oct 5 17:28:04 raspberrypi dnsmasq-dhcp[4702]: DHCPREQUEST(wlan0) 10.42.42.32 60:01:94:d1:e2:22
|
8 | Oct 5 17:28:04 raspberrypi dnsmasq-dhcp[4702]: DHCPACK(wlan0) 10.42.42.32 60:01:94:d1:e2:22 ESP_D1E222
|
Also habe ich das "start_flash.sh" Skript an den entsprechenden Stellen
auf .32 angepasst. Das Skript erkennt dann auch dass die Steckdose
gekoppelt ist, allerdings schlägt dann das Backup fehl
1 | Starting pairing procedure in screen
|
2 | /home/pi/tuya-convert
|
3 | Waiting for the upgraded device to appear
|
4 | If this does not work have a look at the '*.log'-files in the 'scripts' subfolder!
|
5 | .........
|
6 | IoT-device is online with ip 10.42.42.32
|
7 | Fetching firmware backup
|
8 | % Total % Received % Xferd Average Speed Time Time Time Current
|
9 | Dload Upload Total Spent Left Speed
|
10 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to 10.42.42.32 port 80: Verbindungsaufbau abgelehnt
|
Auch der Befehl "curl http://10.42.42.32" meldet "curl: (7) Failed to
connect to 10.42.42.32 port 80: Verbindungsaufbau abgelehnt"
Also hängt ich jetzt fest. Im Netz findet man auch nicht mehr als diesen
Post im FHEM Forum dazu (https://forum.fhem.de/index.php?topic=97382.0).
Ist ja schon jemand weiter?