Closed sorriso93 closed 4 years ago
Ok, according to your config there is GPIO5 output and no inputs except the Home.app.
It might be Wemos-related issue. Please, post current log output.
Then enable UART (USB Serial) or Network (netcat UDP Broadcast) logging and post extended output.
the config is ok on 2310. on 2.4.5 it is stuck on this. Also another wemos d1 mini + dht and PIR have the same behaviour (ok on 2310, same problem with 245)
Home Accessory Architect v2.4.5 Developed by José Antonio Jiménez Campos (@RavenSystem)
SETUP MODE WiFi config init No WiFi config found Start AP SSID=HAA-257A7D Start DHCP server mode : sta(84:f3:eb:25:7a:7d) + softAP(86:f3:eb:25:7a:7d) add if0
Logs, please.
No more logs for 245 than this as it is blocked and does not start even the HAA wifi... So I cannot configure it and use UART or network log collection... Tried on two different Wemos D1 mini that are ok with 2310 firmware. It doesn't make a difference the json file and sensor connected.
pm_task_hdl : 3ffef890, prio:1, stack:176 frc2_timer_task_hdl:0x3fff4b48, prio:12, stack:200
ESP-Open-SDK ver: 0.0.1 compiled @ Jun 6 2020 23:59:45 phy ver: 273, pp ver: 8.3
Sysparam ready mode : sta(84:f3:eb:25:7a:7d) add if0
the config is ok on 2310. on 2.4.5 it is stuck on this. Also another wemos d1 mini + dht and PIR have the same behaviour (ok on 2310, same problem with 245)
Home Accessory Architect v2.4.5 Developed by José Antonio Jiménez Campos (@RavenSystem)
SETUP MODE WiFi config init No WiFi config found Start AP SSID=HAA-257A7D Start DHCP server mode : sta(84:f3:eb:25:7a:7d) + softAP(86:f3:eb:25:7a:7d) add if0
Can’t you see you’re in Setup Mode here :) it won’t respond to Home.app in this mode, only HTTP.
You still need to add UART logging, that will display all the actions happening, just change to:
{"c":{"o":1},
ok. flashed a brand new wemos d1 mini. The first boot is ok, I get HAA network and I put this configuration json that is ok on 231:
{"c":{"n":"SBMAX","o":3},"a":[{"t":12,"f1":[{"g":0,"p":0}],"s":0,"i":5},{"t":24,"b":[],"g":2,"n":2,"z":-2,"h":5}]}
then the restart and this is the complete log. I cannot reach the web page config and it get stuck as the previous one.
load 0x40100000, len 2292, room 16
tail 4
chksum 0x57
load 0x3ffe8000, len 772, room 4
tail 0
chksum 0x0b
csum 0x0b
rBoot v1.4.0 - richardaburton@gmail.com
Flash Size: 8 Mbit
Flash Mode: DOUT
Flash Speed: 40 MHz
rBoot Option: Big flash
rBoot Option: RTC data
Booting rom 0.
pp_task_hdl : 3ffeffa0, prio:14, stack:512
pm_task_hdl : 3ffef890, prio:1, stack:176
frc2_timer_task_hdl:0x3fff4b48, prio:12, stack:200
ESP-Open-SDK ver: 0.0.1 compiled @ Jun 6 2020 23:59:45
phy ver: 273, pp ver: 8.3
Sysparam ready
Home Accessory Architect v2.4.5
Developed by José Antonio Jiménez Campos (@RavenSystem)
SETUP MODE
WiFi config init
Saved BSSID: 30b5c262a76d
WiFi Mode: Normal
HAA Setup
Enabling auto reboot
Start AP SSID=HAA-E3E972
Start DHCP server
mode : sta(84:f3:eb:e3:e9:72) + softAP(86:f3:eb:e3:e9:72)
add if0
add if1
bcn 100
Start DNS server
Start HTTP server
Start WiFi scan
scandone
Hostname: HAA-E3E972
scandone
reconnect
scandone
add 0
aid 46
cnt
connected with MAXNETHOME, channel 4
dhcp client start...
ip:192.168.0.52,mask:255.255.255.0,gw:192.168.0.1
bcn 0
del if1
mode : sta(84:f3:eb:e3:e9:72)
Stop DNS server
scandone
scandone
{l d⸮⸮<
Hello after several flash on my wemos d1 mini I suspect that;
{"c":{"o":0,"n":"TERCAMIRRIG","l":13,"i":1},"a":[{"0":{"r":[{"g":5,"v":1}]},"1":{"r":[{"g":5,"v":0}]},"t":20,"b":[],"s":0,"w":0,"d":3600}]}
this configuration runs with no problem on 2.3.10, but on 2.4.5 it doesn't even start the accessory (on the log it stops on en1 interface)