xnd Posted June 17 Share Posted June 17 (edited) 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. Quote 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 i'm using basic template for reading BLE data: let SCAN_DURATION = BLE.Scanner.INFINITE_SCAN; function scanCB(ev, res) { if (ev !== BLE.Scanner.SCAN_RESULT) return; if (typeof res.local_name !== 'string') return; if (res.local_name.indexOf('SmartSolar') < 0) return; try { console.log('== ' + res.local_name); const raw_data = res.manufacturer_data['02e1']; console.log(String(raw_data)); } catch (e) { console.log('ERR', e); } } BLE.Scanner.Start({ duration_ms: SCAN_DURATION, active: true }, scanCB); Edited June 17 by xnd Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
xnd Posted July 15 Author Share Posted July 15 Is it possible to implement AES-CTR in shelly scripting? Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Kappe Posted September 5 Share Posted September 5 Are there any news about that ? as far as i could find out the shelly script is not able to do aes decryption... anyway if it is possible to transfer the data to nodered for example, it would be possible... i have tested mqtt but i can´t figure out how the rawdata is formatted.... Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
misterhb71 Posted September 16 Share Posted September 16 hi everyone, I have also the need to transfer data from viktron devices, like Smartsolar, to eg Homeassiatant through an Shelly 1 plus. but first of all, I not see any data in my log when I start this script My following Setup: - Victron MPPT BlueSolar - Victron Smart Shunt IP65 - Victron Phoenix Inverter 24/1200 (VE Bluetooth Dongle) - Shelly Plus 1 as BLE Proxy HomeAssistant Any ideas Thanks Hans Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.