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'm trying to connect to the BX1 (HOLMAN_CO3111) with holmanctl (on a raspberry pi) but can't seem to get it to work. It looks like I can connect but then the connection instantly drops and I can't retrieve any of the settings or switch the timer on/off. Have followed your instructions for adding the BTX1 and they appear to have the same service UUID (c521f000-0d70-4d4f-8e43-40d84c50ab38). Have run nRF on my android phone and here's the content. Any help much appreciated. Thanks.
nRF Connect, 2022-08-18
BX1 (AA:BB:CC:DD:EE:FF)
V 19:42:15.157 Connecting to AA:BB:CC:DD:EE:FF...
D 19:42:15.157 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D 19:42:16.080 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I 19:42:16.080 Connected to AA:BB:CC:DD:EE:FF
V 19:42:16.099 Discovering services...
D 19:42:16.099 gatt.discoverServices()
D 19:42:16.118 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I 19:42:16.368 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D 19:42:16.703 [Callback] Services discovered with status: 0
I 19:42:16.704 Services discovered
V 19:42:16.718 Generic Access (0x1800)
I gave up with the holman client and tried a few other Bluetooth clients. After some expermination, I settled on the Bleak Client which was stable and worked well.
Here's some of my code that turns the timer on for 20 mins (from a RPi): https://github.com/dev-git/thepythonfiles/blob/main/gardenpi/bleak/write.py
There should be some code around that reads the other settings (Battery/Watering status/etc)
Hope that's useful.
Hi,
I'm trying to connect to the BX1 (HOLMAN_CO3111) with holmanctl (on a raspberry pi) but can't seem to get it to work. It looks like I can connect but then the connection instantly drops and I can't retrieve any of the settings or switch the timer on/off. Have followed your instructions for adding the BTX1 and they appear to have the same service UUID (c521f000-0d70-4d4f-8e43-40d84c50ab38). Have run nRF on my android phone and here's the content. Any help much appreciated. Thanks.
nRF Connect, 2022-08-18
BX1 (AA:BB:CC:DD:EE:FF)
V 19:42:15.157 Connecting to AA:BB:CC:DD:EE:FF...
D 19:42:15.157 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D 19:42:16.080 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I 19:42:16.080 Connected to AA:BB:CC:DD:EE:FF
V 19:42:16.099 Discovering services...
D 19:42:16.099 gatt.discoverServices()
D 19:42:16.118 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I 19:42:16.368 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D 19:42:16.703 [Callback] Services discovered with status: 0
I 19:42:16.704 Services discovered
V 19:42:16.718 Generic Access (0x1800)
Generic Attribute (0x1801)
Unknown Service (46a60001-ca26-425a-9bc6-d917829d2906)
Client Characteristic Configuration (0x2902)
Unknown Service (c521f000-0d70-4d4f-8e43-40d84c50ab38)
Characteristic User Description (0x2901)
Characteristic User Description (0x2901)
Characteristic User Description (0x2901)
Characteristic User Description (0x2901)
Characteristic User Description (0x2901)
Characteristic User Description (0x2901)
Characteristic User Description (0x2901)
D 19:42:16.719 gatt.setCharacteristicNotification(46a60001-ca26-425a-9bc6-d917829d2906, true)
The text was updated successfully, but these errors were encountered: