Fabian-Schmidt / esphome-victron_ble

Use official Victron BLE endpoint for fetching data from Victron devices via Bluetooth LE via ESPHome.
GNU General Public License v3.0
152 stars 15 forks source link

Support for SmartSolar MPPT 75/10 #47

Closed stanfordcg closed 4 months ago

stanfordcg commented 4 months ago

I can connect to my SmartSolar MPPT 75/10 but get random values:

Config: victron_ble:

sensor:

Log:

[10:49:07][D][victron_ble:320]: [C9:E6:E9:EB:84:C7] Recieved SOLAR_CHARGER message. [10:49:07][D][sensor:094]: 'Battery Voltage': Sending state -28.80000 V with 2 decimals of accuracy [10:49:07][D][sensor:094]: 'Battery Current': Sending state -1560.80005 A with 3 decimals of accuracy [10:49:07][D][sensor:094]: 'Yield Today': Sending state 600.33002 kWh with 2 decimals of accuracy [10:49:07][D][sensor:094]: 'PV Power': Sending state 47183.00000 W with 0 decimals of accuracy [10:49:07][D][sensor:094]: 'Load Current': Sending state -36.50000 A with 1 decimals of accuracy [10:49:07][D][victron_ble:320]: [C9:E6:E9:EB:84:C7] Recieved SOLAR_CHARGER message. [10:49:07][D][sensor:094]: 'Battery Voltage': Sending state -107.89000 V with 2 decimals of accuracy [10:49:07][D][sensor:094]: 'Battery Current': Sending state 2246.19995 A with 3 decimals of accuracy [10:49:07][D][sensor:094]: 'Yield Today': Sending state 178.56999 kWh with 2 decimals of accuracy [10:49:07][D][sensor:094]: 'PV Power': Sending state 10474.00000 W with 0 decimals of accuracy [10:49:07][D][sensor:094]: 'Load Current': Sending state -24.60000 A with 1 decimals of accuracy [10:49:08][D][sensor:094]: 'Greenhouse Signal': Sending state -62.00000 dBm with 0 decimals of accuracy [10:49:09][D][victron_ble:320]: [C9:E6:E9:EB:84:C7] Recieved SOLAR_CHARGER message. [10:49:09][D][sensor:094]: 'Battery Voltage': Sending state -117.55000 V with 2 decimals of accuracy [10:49:09][D][sensor:094]: 'Battery Current': Sending state 2969.90015 A with 3 decimals of accuracy [10:49:09][D][sensor:094]: 'Yield Today': Sending state 569.57001 kWh with 2 decimals of accuracy [10:49:09][D][sensor:094]: 'PV Power': Sending state 1961.00000 W with 0 decimals of accuracy [10:49:09][D][sensor:094]: 'Load Current': Sending state -29.80000 A with 1 decimals of accuracy [10:49:09][D][victron_ble:320]: [C9:E6:E9:EB:84:C7] Recieved SOLAR_CHARGER message. [10:49:09][D][sensor:094]: 'Battery Voltage': Sending state -187.90999 V with 2 decimals of accuracy [10:49:09][D][sensor:094]: 'Battery Current': Sending state 3186.50000 A with 3 decimals of accuracy [10:49:09][D][sensor:094]: 'Yield Today': Sending state 385.75000 kWh with 2 decimals of accuracy [10:49:09][D][sensor:094]: 'PV Power': Sending state 46585.00000 W with 0 decimals of accuracy [10:49:09][D][sensor:094]: 'Load Current': Sending state -42.30000 A with 1 decimals of accuracy [10:49:09][W][component:232]: Component victron_ble took a long time for an operation (52 ms). [10:49:09][W][component:233]: Components should block for at most 30 ms. [10:49:17][D][victron_ble:320]: [C9:E6:E9:EB:84:C7] Recieved SOLAR_CHARGER message. [10:49:17][D][sensor:094]: 'Battery Voltage': Sending state 153.34999 V with 2 decimals of accuracy [10:49:17][D][sensor:094]: 'Battery Current': Sending state 2745.19995 A with 3 decimals of accuracy [10:49:17][D][sensor:094]: 'Yield Today': Sending state 410.34000 kWh with 2 decimals of accuracy [10:49:17][D][sensor:094]: 'PV Power': Sending state 4543.00000 W with 0 decimals of accuracy [10:49:17][D][sensor:094]: 'Load Current': Sending state -16.40000 A with 1 decimals of accuracy

Fabian-Schmidt commented 4 months ago

Please check the bindkey is correct. If this does not fix the issue can you please post a log with level: VERY_VERBOSE (see https://esphome.io/components/logger).

stanfordcg commented 4 months ago

Please check the bindkey is correct. If this does not fix the issue can you please post a log with level: VERY_VERBOSE (see https://esphome.io/components/logger).

opps, bindkey wrong. Thanks.