You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried python3 LYWSD03MMC.py –atc –watchdogtimer 5 and python3 LYWSD03MMC.py –atc, but neither of them works. When –watchdogtimer is added, LE Scan keeps stopping and starting. If removed, nothing display on the screen except “Listening……”
Power ON bluetooth device 0
Bluetooth device 0 is already enabled
Enable LE scan
scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no
socket filter set to ptype=HCI_EVENT_PKT event=LE_META_EVENT
Listening ...
Power ON bluetooth device 0
Bluetooth device 0 is already enabled
Enable LE scan
scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no
socket filter set to ptype=HCI_EVENT_PKT event=LE_META_EVENT
Listening ...
Watchdog: Did not receive any BLE Paket within 1639795077 s. Restarting BLE scan. Count: 1
Disable LE scan
Enable LE scan
scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no
Watchdog: Did not receive any BLE Paket within 1639795083 s. Restarting BLE scan. Count: 2
Disable LE scan
Enable LE scan
scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no
Watchdog: Did not receive any BLE Paket within 1639795089 s. Restarting BLE scan. Count: 3
Disable LE scan
Enable LE scan
scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no
but data broadcasted can be seen by running bluetoothctlscan on on ubuntu 20.04:
Very strange issue. I've updated one Mi LYWSD03MMC to the latest version and pulled the repo. It works with ./LYWSD03MMC.py --atc
Did you send the settings and thermometer stayed connected afterwards? That is important that settings get applied. After that you have to disconnect from the Telink-Flasher, Bluetooth sign must vanish from display, only then data is broadcasted.
Thank you for your reply!
I think settings are properly storaged. I also tried removing pin and flashing the firmware again but they did not work.
So the problem may be ubuntu20.04 and I'll try to switch to raspbian and run it on raspberry zero w later.
I tried
python3 LYWSD03MMC.py –atc –watchdogtimer 5
andpython3 LYWSD03MMC.py –atc
, but neither of them works. When –watchdogtimer is added, LE Scan keeps stopping and starting. If removed, nothing display on the screen except “Listening……”Power ON bluetooth device 0 Bluetooth device 0 is already enabled Enable LE scan scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no socket filter set to ptype=HCI_EVENT_PKT event=LE_META_EVENT Listening ...
Power ON bluetooth device 0 Bluetooth device 0 is already enabled Enable LE scan scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no socket filter set to ptype=HCI_EVENT_PKT event=LE_META_EVENT Listening ... Watchdog: Did not receive any BLE Paket within 1639795077 s. Restarting BLE scan. Count: 1 Disable LE scan Enable LE scan scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no Watchdog: Did not receive any BLE Paket within 1639795083 s. Restarting BLE scan. Count: 2 Disable LE scan Enable LE scan scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no Watchdog: Did not receive any BLE Paket within 1639795089 s. Restarting BLE scan. Count: 3 Disable LE scan Enable LE scan scan params: interval=1280.000ms window=1280.000ms own_bdaddr=public whitelist=no
but data broadcasted can be seen by running
bluetoothctl
scan on
on ubuntu 20.04:10 secs between each broadcast approximately.
Here are my settings:
Is there anything wrong?
The text was updated successfully, but these errors were encountered: