inonoob / pirowflo

All-in-one data interface for your Waterrower S4 Monitor or Smartrow
GNU General Public License v3.0
141 stars 32 forks source link

Adapters.smartrow.smartrowreader disconnects immediately after connecting #40

Closed Classico12 closed 3 years ago

Classico12 commented 3 years ago

I have created a pirowflo but when I start the program using smartrow bluetooth antplus or smartrow antplus only the pirowflo connects to my smartrow and immediately disconnects. Would you be able to help me find the issue?

2021-07-12 12:00:36,147 - main - INFO - S4 not selected 2021-07-12 12:00:36,149 - main - INFO - inferface smartrow will be used for data input 2021-07-12 12:00:36,159 - main - INFO - Smartrow Interface started 2021-07-12 12:00:36,160 - main - INFO - Start BLE Advertise and BLE GATT Server 2021-07-12 12:00:36,163 - main - INFO - Start Ant and start broadcast data 2021-07-12 12:00:36,261 - adapters.smartrow.smartrowreader - INFO - starting discovery 2021-07-12 12:00:36,281 - adapters.ble.waterrowerble - INFO - Registering GATT application... 2021-07-12 12:00:36,294 - adapters.ble.ble - INFO - GetManagedObjects 2021-07-12 12:00:36,299 - adapters.ble.ble - INFO - GetAll 2021-07-12 12:00:36,300 - adapters.ble.ble - INFO - returning props 2021-07-12 12:00:36,309 - adapters.ble.waterrowerble - INFO - GATT application registered 2021-07-12 12:00:36,396 - adapters.ble.waterrowerble - INFO - Advertisement registered 2021-07-12 12:00:39,136 - root - INFO - found SmartRow 2021-07-12 12:00:39,138 - root - INFO - cf:de:d9:8d:3b:75 2021-07-12 12:00:39,140 - adapters.smartrow.smartrowreader - INFO - found SmartRow macaddress 2021-07-12 12:00:39,221 - adapters.smartrow.smartrowtobleant - INFO - SmartRow Ready and sending data to BLE and ANT Thread 2021-07-12 12:00:40,807 - adapters.smartrow.smartrowreader - INFO - Connected to [cf:de:d9:8d:3b:75] 2021-07-12 12:00:41,271 - adapters.smartrow.smartrowreader - INFO - Disconnected [cf:de:d9:8d:3b:75]

Classico12 commented 3 years ago

After full-upgrade debian, install bluez, and executing the pirowflw install.sh file, I now get the following.

2021-07-13 09:35:55,034 - main - INFO - S4 not selected 2021-07-13 09:35:55,035 - main - INFO - inferface smartrow will be used for data input 2021-07-13 09:35:55,041 - main - INFO - Smartrow Interface started 2021-07-13 09:35:55,044 - main - INFO - Bluetooth service not used 2021-07-13 09:35:55,045 - main - INFO - Start Ant and start broadcast data 2021-07-13 09:35:55,152 - adapters.smartrow.smartrowreader - INFO - starting discovery 2021-07-13 09:36:25,796 - root - INFO - found SmartRow 2021-07-13 09:36:25,797 - root - INFO - cf:de:d9:8d:3b:75 2021-07-13 09:36:25,800 - adapters.smartrow.smartrowreader - INFO - found SmartRow macaddress 2021-07-13 09:36:25,875 - adapters.smartrow.smartrowtobleant - INFO - SmartRow Ready and sending data to BLE and ANT Thread 2021-07-13 09:36:50,881 - adapters.smartrow.smartrowreader - INFO - Connection failed [cf:de:d9:8d:3b:75]: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Classico12 commented 3 years ago

With apologies, I did not realize the s4 connection was key to keeping the script active. The connection between the sr and my fenix 6 works wonderfully now that I have the pi attached to the s4. Thank you all for this.