-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Hello everyone,
Many thanks to @TbsJah, @inonoob and @dan06 for the great project!
I have a Waterrower with a Bluetooth-enabled S4 monitor, this does not require any additional module, such as SmartRow or the Comm module. This sends as S4 BLE 53 and I can connect to the Coxswain app and query all data without any problems.
I configured the Pi according to @TbsJah's instructions, unfortunately I can't get the pirowflo to work, unfortunately my Linux knowledge is very limited
In the smartrowreader.py I swapped all "SMARTROW" for S4 BLE 53 and the UUID for S4_BLE_53, when starting I get the following error
create Channel
2025-02-16 19:53:09,104 - main - INFO - Quit gracefully program has been interrupt externally - exiting
2025-02-16 19:53:16,597 - main - INFO - S4 not selected
2025-02-16 19:53:16,598 - main - INFO - interface smartrow will be used for data input
2025-02-16 19:53:16,599 - main - INFO - Smartrow Interface started
2025-02-16 19:53:16,600 - main - INFO - SmartRow passthrough is enabled
2025-02-16 19:53:16,604 - main - INFO - Start SmartRow Passthrough BLE Advertise and BLE GATT Server
2025-02-16 19:53:16,605 - main - INFO - Bluetooth service not used
2025-02-16 19:53:16,605 - adapters.fakesmartrow.fakesmartrowble - INFO - Waiting for real SmartRow to connect
2025-02-16 19:53:16,607 - main - INFO - Start Ant and start broadcast data
start search for dongle
2025-02-16 19:53:16,615 - adapters.smartrow.smartrowreader - INFO - Preferred SmartRow adapter is hci0
2025-02-16 19:53:16,671 - adapters.smartrow.smartrowreader - INFO - starting discovery
Using Dynastream Innovations� dongle
calibration
set Networkkey:b'\x00\xb9\xa5!\xfb\xbdr\xc3E'
create Channel
2025-02-16 19:54:48,807 - root - INFO - found SmartRow
2025-02-16 19:54:48,808 - root - INFO - d9:0a:30:1f:22:35
2025-02-16 19:54:48,810 - adapters.smartrow.smartrowreader - INFO - found SmartRow macaddress
2025-02-16 19:54:48,817 - adapters.smartrow.smartrowreader - INFO - Preferred SmartRow adapter is hci0
2025-02-16 19:54:49,561 - adapters.smartrow.smartrowreader - INFO - Connected to [d9:0a:30:1f:22:35]
2025-02-16 19:54:50,995 - adapters.smartrow.smartrowreader - INFO - Resolved services [d9:0a:30:1f:22:35]
2025-02-16 19:54:50,996 - adapters.smartrow.smartrowreader - INFO - [d9:0a:30:1f:22:35] Service [0000fe59-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:50,997 - adapters.smartrow.smartrowreader - INFO - Characteristic [8ec90003-f315-4f60-9fb8-838830daea50]
2025-02-16 19:54:50,997 - adapters.smartrow.smartrowreader - INFO - [d9:0a:30:1f:22:35] Service [0000180f-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:50,998 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a19-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:50,998 - adapters.smartrow.smartrowreader - INFO - [d9:0a:30:1f:22:35] Service [00001826-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:50,999 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ad8-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:50,999 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ad6-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:50,999 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ad4-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,000 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ada-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,000 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ad9-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,001 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ad3-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,002 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002ad1-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,002 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002acc-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,003 - adapters.smartrow.smartrowreader - INFO - [d9:0a:30:1f:22:35] Service [0000180d-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,004 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a38-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,004 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a37-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,005 - adapters.smartrow.smartrowreader - INFO - [d9:0a:30:1f:22:35] Service [0000180a-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,005 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a28-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,006 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a26-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,006 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a25-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,007 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a24-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,007 - adapters.smartrow.smartrowreader - INFO - Characteristic [00002a29-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,007 - adapters.smartrow.smartrowreader - INFO - [d9:0a:30:1f:22:35] Service [00001801-0000-1000-8000-00805f9b34fb]
2025-02-16 19:54:51,008 - dbus.connection - ERROR - Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/home/pi/pirowflo/pirowflo/lib/python3.11/site-packages/dbus/connection.py", line 218, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/pi/pirowflo/pirowflo/lib/python3.11/site-packages/gatt/gatt_linux.py", line 398, in properties_changed
self.services_resolved()
File "/home/pi/pirowflo/src/adapters/smartrow/smartrowreader.py", line 67, in services_resolved
self.chrstcRowData = self.find_characteristic(self.serviceSmartRow, self.CHARACTERISTIC_UUID_ROWDATA)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/pirowflo/src/adapters/smartrow/smartrowreader.py", line 51, in find_characteristic
for chrstc in service.characteristics:
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'characteristics'
can someone help me?
best thanks and regards
Lykanon-60