RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.72k stars 357 forks source link

Need to reset after initial setup? #914

Closed Tomas-de closed 4 years ago

Tomas-de commented 4 years ago

Hi, after initial settings (WiFi and JSON), the homekit server does not start. I have to restart the device. Its normal? Older versions did not do this. Device: https://www.tme.eu/gb/details/esp8266-dkc-02d-f/development-kits-for-data-transmission/espressif/esp8266-devkitc-02d-f/

After initial settings. before After reset (another WiFi channel is because of Mesh Wifi). after

Tomas-de commented 4 years ago

The full log from the initial setting.

Update settings, body = conf=%7B%22c%22%3A%7B%22l%22%3A13%2C%22b%22%3A%5B%7B%22g%22%3A0%2C%22t%22%3A5%7D%5D%7D%2C%22a%22%3A%5B%7B%220%22%3A%7B%22r%22%3A%5B%7B%22g%22%3A12%7D%5D%7D%2C%221%22%3A%7B%22r%22%3A%5B%7B%22g%22%3A12%2C%22v%22%3A1%7D%5D%7D%2C%22b%22%3A%5B%7B%22g%22%3A0%7D%5D%7D%5D%7D&wifimode=0&bssid=ac86744f3313&ssid=WiFi&password=password&reposerver=&repoport=&repossl=y Rebooting... del if0 station: f2:c8:24:df:2e:42 leave, AID = 1 rm match bcn 0 del if1 usl sul 0 0

ets Jan 8 2013,rst cause:1, boot mode:(3,6)

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 : 3ffeff40, prio:14, stack:512 pm_task_hdl : 3ffef830, prio:1, stack:176 frc2_timer_task_hdl:0x3fff3f78, prio:12, stack:200

ESP-Open-SDK ver: 0.0.1 compiled @ Apr 28 2020 15:12:28 phy ver: 273, pp ver: 8.3

Sysparam ready

Home Accessory Architect v2.1.0 Developed by José Antonio Jiménez Campos (@RavenSystem)

SETUP MODE WiFi config init WiFi Mode: Normal HAA Setup Start AP SSID=HAA-51D19A Start DHCP server mode : sta(2c:f4:32:51:d1:9a) + softAP(2e:f4:32:51:d1:9a) add if0 add if1 bcn 100 Start WiFi scan scandone Start DNS server Start HTTP server Hostname: HAA-51D19A scandone reconnect scandone add 0 aid 5 cnt

connected with WiFi, channel 11 dhcp client start... ip:192.168.0.98,mask:255.255.255.0,gw:192.168.0.1 bcn 0 del if1 mode : sta(2c:f4:32:51:d1:9a) Stop DNS server scandone ----------------------------- pushing reset button ---------------------------- rll▒▒|▒l▒| ▒ l▒ b|▒▒▒▒r▒bl b▒▒nn▒lnn▒▒▒ bp▒▒lrlrlp▒n▒ ▒ l b n▒|▒▒l▒ b▒▒nn▒l▒▒l▒nn ▒lnr▒▒▒n ▒▒lp▒n▒ r▒▒▒▒▒ b n▒|쎎p ▒▒nn▒ ▒l▒nn lnr▒▒▒n ▒▒r▒▒n ▒▒rl▒b▒nn▒▒▒p| ▒b lb▒npb▒b▒b▒▒nn▒n▒b▒nbp~▒nl▒n▒n▒n~b llpb▒▒▒n▒nlln▒▒▒ ▒l▒▒▒▒n▒n▒▒▒▒b ▒ lll~rl▒b▒nn▒▒l▒nnn▒n▒▒▒n▒nl▒b▒nn▒▒l▒nnn▒▒ ▒▒▒rl ▒nn▒▒|▒▒▒n▒ ▒blpp_task_hdl : 3ffeff40, prio:14, stack:512 pm_task_hdl : 3ffef830, prio:1, stack:176 frc2_timer_task_hdl:0x3fff3f78, prio:12, stack:200

ESP-Open-SDK ver: 0.0.1 compiled @ Apr 28 2020 15:12:28 phy ver: 273, pp ver: 8.3

Sysparam ready mode : sta(2c:f4:32:51:d1:9a) add if0 WiFi config init WiFi Mode: Normal Hostname: HAA-51D19A scandone add 0 aid 1 cnt

connected with WiFi, channel 6 dhcp client start... ip:192.168.0.98,mask:255.255.255.0,gw:192.168.0.1 Free Heap: 50608 Free Heap: 42024 Formatting flash at 0x8c000 mDNS announcement: Name=HAA-51D19A md=RavenSystem HAApv=1.0id=45:98:CF:43:1D:49c#=8256s#=1ff=0sf=1ci=1 sh=0y8Yuw== Port=5556 TTL=2500

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.