keshavdv / victron-ble

A Python API to parse Victron Instant Readout BLE advertisements
The Unlicense
103 stars 34 forks source link

read function doesn't work on rPi 4 #54

Closed pioneersfx closed 6 months ago

pioneersfx commented 6 months ago

Describe the bug I installed the script on my rPi4 and got the scan-utility working like a charm. I then tried to use the read-function to retrieve values from a smart shunt. The script starts but never gives back any values and just seems to work forever until I abort manually. Instead of an ID, I got the mac-address from the app and inserted them into the command like this: victron-ble read "aabbccddff@key" I'm not sure, what I'm doing wrong here. I tried this on two different PIs to eventually use the command via exec in NodeRed. ATM I can't get it to work in the terminal though. Is something off with my syntax? Do I have to pair the victron devices with the rPi once before being able to obtain the data?

Desktop (please complete the following information):