keshavdv / victron-ble

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

reading out advertisment keys on linux (victron connect) #38

Open gkathan opened 1 year ago

gkathan commented 1 year ago

hi, i am trying to read out the advertisment keys from my victron devices ... somehow the according database table is always empty EXCEPT one time where i suddenly had the data record pair (address+key) in my command line ... very strange because i cannot repeat that ... any ideas on that issue ? greetings from vienna

joscelyn commented 1 year ago

you can now access to advertisment keys in the victron application => settings => product information => encryption data

gkathan commented 1 year ago

really ? awesome and thanx for providing the Infos ✨✨💪

On Mon, Sep 4, 2023, 10:32 Joscelyn Gainié @.***> wrote:

you can now access to advertisment keys in the victron application => settings => product information => encryption data

— Reply to this email directly, view it on GitHub https://github.com/keshavdv/victron-ble/issues/38#issuecomment-1704841350, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJLVRT4EOOIG2TQQXBLL3XYWGZZANCNFSM6AAAAAA4C5WXS4 . You are receiving this because you authored the thread.Message ID: @.***>

gkathan commented 1 year ago

hmmm on the android app I do not find the advertisment key 🤔 do I miss something?

On Mon, Sep 4, 2023, 12:25 gerold kathan @.***> wrote:

really ? awesome and thanx for providing the Infos ✨✨💪

On Mon, Sep 4, 2023, 10:32 Joscelyn Gainié @.***> wrote:

you can now access to advertisment keys in the victron application => settings => product information => encryption data

— Reply to this email directly, view it on GitHub https://github.com/keshavdv/victron-ble/issues/38#issuecomment-1704841350, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJLVRT4EOOIG2TQQXBLL3XYWGZZANCNFSM6AAAAAA4C5WXS4 . You are receiving this because you authored the thread.Message ID: @.***>

joscelyn commented 1 year ago

yep it's visible on my android app. maybe you should try to update it or install one on mac/windows if you can

gkathan commented 1 year ago

hmmm ... not in my case ... I even updated manually to beta v6.0

screenshot attached (from the latest production release from september)

On Tue, 12 Sept 2023 at 10:24, Joscelyn Gainié @.***> wrote:

yep it's visible on my android app. maybe you should try to update it or install one on mac/windows if you can

— Reply to this email directly, view it on GitHub https://github.com/keshavdv/victron-ble/issues/38#issuecomment-1715239635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJLVX3SD4PE5X4NZHD42DX2AL27ANCNFSM6AAAAAA4C5WXS4 . You are receiving this because you authored the thread.Message ID: @.***>

gkathan commented 1 year ago

can you share a screenshot where the advertisement key is shown

On Tue, 12 Sept 2023 at 10:54, gerold kathan @.***> wrote:

hmmm ... not in my case ... I even updated manually to beta v6.0

screenshot attached (from the latest production release from september)

On Tue, 12 Sept 2023 at 10:24, Joscelyn Gainié @.***> wrote:

yep it's visible on my android app. maybe you should try to update it or install one on mac/windows if you can

— Reply to this email directly, view it on GitHub https://github.com/keshavdv/victron-ble/issues/38#issuecomment-1715239635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJLVX3SD4PE5X4NZHD42DX2AL27ANCNFSM6AAAAAA4C5WXS4 . You are receiving this because you authored the thread.Message ID: @.***>

joscelyn commented 1 year ago

did you have enabled "Instand readout via Bluetooth" ? here is a screenshot from my battery protect: https://i.ibb.co/kS421dN/Capture-d-e-cran-2023-09-12-a-10-58-40.png

gkathan commented 1 year ago

as you can see on my screenshot i only have the option bluetooth = enabled ... very strange ...

On Tue, 12 Sept 2023 at 10:59, Joscelyn Gainié @.***> wrote:

did you have enabled "Instand readout via Bluetooth" ? here is a screenshot from my battery protect: https://i.ibb.co/kS421dN/Capture-d-e-cran-2023-09-12-a-10-58-40.png

— Reply to this email directly, view it on GitHub https://github.com/keshavdv/victron-ble/issues/38#issuecomment-1715305988, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJLVSSQ6YDVBIBJIBSZDTX2AQA3ANCNFSM6AAAAAA4C5WXS4 . You are receiving this because you authored the thread.Message ID: @.***>

joscelyn commented 1 year ago

i don't see your screenshot

gkathan commented 1 year ago

i don't see your screenshot

here we go ...Screenshot_20230909-092627.png

gkathan commented 1 year ago

😂😂wrong one .. this is it Screenshot_20230906-194918.png

joscelyn commented 1 year ago

i don't see "Instand readout via Bluetooth" on you're screenshot, you should have both "Bluetooth" and "Instant readout via Bluetooth" because this project is taking advantage of instant readout (ble), for example my orion show both: https://i.ibb.co/VCKDGwX/Capture-d-e-cran-2023-09-12-a-16-25-56.png

gkathan commented 1 year ago

exactly .. this is missing on my side... any advice?

joscelyn commented 1 year ago

check on the internet if firmware and bootloader are indeed the latest version, otherwise maybe the revision of you're product doesn't handle ble :/

3ricj commented 3 months ago

hmm, I also seem completely unable to find this on the android app. What gives? What specific screen should I be looking for? Why is documentation on this so very poor? I have a windows laptop, tried purchasing the usb cable thinking it would help me get this key, and android phones. The windows sqllite file is missing keys and doesn't seem to support bluetooth? Not sure if that matters. The android app is unable to show me any keys. I'm using a MPPT 100|30 smart charge controller - the apps on both windows and android seem to be able to read data flawlessly -- but I need to be able to get this key somehow.