shelly-script-examples icon indicating copy to clipboard operation
shelly-script-examples copied to clipboard

BLE: Victron Bluetooth advertising protocol

Open lukasMega opened this issue 1 year ago • 3 comments

Question

Anyone able to implement reading data from Victron devices? It is: Victron Bluetooth advertising protocol

More info:

  • https://community.victronenergy.com/questions/187303/victron-bluetooth-advertising-protocol.html
  • details: https://community.victronenergy.com/storage/attachments/48745-extra-manufacturer-data-2022-12-14.pdf

I'm able to read that data via script on my Shelly Plus Plug S but that data are encrypted. 🔐

The encryption is done using a AES-CTR operation

Shelly scripting environment is very limited and I'm unsuccessful with decrypting that data yet.

Thank you

lukasMega avatar Jun 15 '24 08:06 lukasMega

any ideas how to re-implement AES-CTR in limited JS subset compatible in Shelly scripting environment) ?

lukasMega avatar Jul 21 '24 19:07 lukasMega

Same problem for the encrypted BThome protocole implemented by the Shelly BLU devices, once encryption enabled, scripts cannot get data anymore. we need a way to decrypt AES encrypted data in shelly scripting language

t0urista avatar Nov 27 '24 13:11 t0urista

It seems possible to do that, ist't wifi using similar? Ist there already a support by shelly für using encryption in scripts?

sepphutt avatar Mar 27 '25 09:03 sepphutt