arendst · GitHub

Try latest dev branch (v12.5.0.2) and enable GM861 driver with #define USE_GM861.

  • Select GPIOs and start scanning! No need to scan the init sequence from the User Guide.
  • If it fails try to reset and re-init the scanner with command Gm861Reset 1
  • If needed configure zone bytes using command Gm861Zone<byte> <value> like Gm861Zone0.
  • Dump zone bytes by enabling logging level 4 and execute command Gm861Dump.
00:00:00.046-032 CFG: Loaded from flash at FB, Count 701
00:00:00.129-032 QPC: Reset
00:00:00.140-032 ROT: Mode 1
00:00:00.141-032 SRC: Restart
00:00:00.144-032 Project tasmota - Wemos4 Version 12.5.0.2(theo)-2_7_4_9(2023-05-05T16:58:53)
00:00:00.447-032 WIF: Attempting connection...
00:00:00.784-032 WIF: Connecting to AP1 indebuurt_IoT Channel 11 BSSId 18:E8:29:CA:17:C1 in mode 11n as wemos4...
00:00:01.754-032 WIF: Connected
00:00:02.006-029 HTP: Web server active on wemos4 with IP address 192.168.2.223
00:00:02.412-029 WIF: DNS resolved 'loghost' (192.168.2.24) in 8 ms
00:00:02.429-029 WIF: DNS resolved 'ntpserver1' (192.168.2.27) in 4 ms
00:00:02.442-029 RTC: UTC 2023-05-05T14:59:52, DST 2023-03-26T02:00:00, STD 2023-10-29T03:00:00
16:59:52.000-029 RTC: Synced by NTP
16:59:53.005-029 MQT: Attempting connection...
16:59:53.011-029 WIF: DNS resolved 'mqttbroker' (192.168.2.24) in 4 ms
16:59:53.020-029 MQT: Connected
16:59:53.023-026 MQT: tele/wemos4/LWT = Online (retained)
16:59:53.024-026 MQT: Subscribe to cmnd/wemos4/#
16:59:53.028-027 MQT: Subscribe to cmnd/tasmotas/#
16:59:53.032-027 MQT: Subscribe to cmnd/theotest1/#
16:59:53.033-026 MQT: Subscribe to cmnd/DVES_83BB10_fb/#
16:59:53.042-027 MQT: tele/wemos4/INFO1 = {"Info1":{"Module":"Generic","Version":"12.5.0.2(theo)","FallbackTopic":"cmnd/DVES_83BB10_fb/","GroupTopic":"cmnd/tasmotas/"}}
16:59:53.056-027 MQT: tele/wemos4/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"wemos4","IPAddress":"192.168.2.223"}}
16:59:53.064-025 MQT: tele/wemos4/INFO3 = {"Info3":{"RestartReason":"Software/System restart","BootCount":154}}
16:59:54.285-029 GM8: Initialized
16:59:57.392-025 MQT: tele/wemos4/STATE = {"Time":"2023-05-05T16:59:57","Uptime":"0T00:00:09","UptimeSec":9,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":1,"Wifi":{"AP":1,"SSId":"indebuurt_IoT","BSSId":"18:E8:29:CA:17:C1","Channel":11,"Mode":"11n","RSSI":100,"Signal":-34,"LinkCount":1,"Downtime":"0T00:00:03"}}
16:59:58.390-028 APP: Boot Count 154
16:59:58.647-028 CFG: Saved to flash at FA, Count 702, Bytes 4096
17:00:05.003-024 MQT: tele/wemos4/SENSOR = {"Time":"2023-05-05T17:00:04","GM861":"8711218972875"}
17:02:01.214-027 CMD: seriallog 4
17:02:01.216-027 SRC: Serial
17:02:01.218-027 CMD: Grp 0, Cmd 'SERIALLOG', Idx 1, Len 1, Pld 4, Data '4'
17:02:01.226-024 MQT: stat/wemos4/RESULT = {"SerialLog":{"4":{"Active":"4"}}}
17:02:01.622-027 CFG: Saved to flash at F9, Count 703, Bytes 4096
17:02:07.078-027 CMD: gm861dump
17:02:07.079-027 SRC: Serial
17:02:07.082-027 CMD: Grp 0, Cmd 'GM861DUMP', Idx 1, Len 0, Pld -99, Data ''
17:02:07.085-027 DMP: 7E 00 07 01 00 00 62 5D 84
17:02:07.101-024 MQT: stat/wemos4/RESULT = {"GM861Dump":"Done"}
17:02:07.227-027 DMP: 02 00 00 62 D6 00 20 01 00 0A 32 01 2C 00 87 3C 01 A0 1C 32 03 00 80 00 06 00 00 00 00 00 00 00 00 00 00 00 00 02 80 3C 00 00 00 06 00 00 39 01 05 64 0D 0D 0D 01 0D 01 04 80 09 04 80 05 04 80 01 04 80 01 08 04 80 08 04 80 08 04 80 08 04 80 08 01 80 00 00 00 04 80 01 01 00 00 00 00 04 80 00 00 03 00 01 00 2D 9E
17:02:10.634-027 CMD: seriallog 3
17:02:10.636-027 SRC: Serial
17:02:10.638-027 CMD: Grp 0, Cmd 'SERIALLOG', Idx 1, Len 1, Pld 3, Data '3'
17:02:10.646-024 MQT: stat/wemos4/RESULT = {"SerialLog":{"3":{"Active":"3"}}}
17:02:11.601-027 CFG: Saved to flash at F8, Count 704, Bytes 4096

Read the original on github.com ↗