Komponent wM-Bus do ESPHome (SzczepanLeon) - liczniki energii elektrycznej

Przykładowy komunikat z logowaniem VERBOSE

[16:11:27][V][rxLoop:157]: Have 164 bytes from CC1101 Rx, RSSI: -88 dBm LQI: 195
[16:11:27][D][mbus:035]: Processing T1 A frame
[16:11:27][V][mbus:039]: Frame: 67271C58D59A4EC3AC4E565A58D58E719C8D4E6D1C356656599B1C8DAC63C744CE734D1695C4CBB329A96596A9B3269370DC6569A719C664F42F458DA638F235A4E9A6CB2938EB25366A4EC6670E96C4F48E68D668BA53B34699D32D1CC6CD29B0B65A6B2C568E6C699B42F4A66C59963D25D344E64DC999B313B48F4D2C39A672D322E6B26A6394DD313A9B192E94CE4F4B267254D972CD133B1C6939A6656B471399A5 (164) [RAW]
[16:11:27][V][mbus:045]: Frame: 5E44010678287956010245E17AC410500584B6DBDC724CC094738EAF556F8E6741D96645DA7C3C01FBBE167FF88F22891AF2DA42987CBAB063F78C65CEC4D8CF83566ED0BADFAC3CFAD59BC9CC7A74A58D2CBCC8265ECE3A8AFB91CD2F853F727C8A497548C72DDF26596C47A6 (109) [with CRC]
[16:11:27][V][mbus:088]: Validating CRC for Block1
[16:11:27][V][crc:031]:     calculated: 0x45E1, read: 0x45E1
[16:11:27][V][mbus:108]: Validating CRC for Block2
[16:11:27][V][crc:031]:     calculated: 0x556F, read: 0x556F
[16:11:27][V][mbus:108]: Validating CRC for Block3
[16:11:27][V][crc:031]:     calculated: 0x2289, read: 0x2289
[16:11:27][V][mbus:108]: Validating CRC for Block4
[16:11:27][V][crc:031]:     calculated: 0x8356, read: 0x8356
[16:11:27][V][mbus:108]: Validating CRC for Block5
[16:11:27][V][crc:031]:     calculated: 0xBCC8, read: 0xBCC8
[16:11:27][V][mbus:108]: Validating CRC for Block6
[16:11:27][V][crc:031]:     calculated: 0x48C7, read: 0x48C7
[16:11:27][V][mbus:108]: Validating CRC for Block7
[16:11:27][V][crc:031]:     calculated: 0x47A6, read: 0x47A6
[16:11:27][V][mbus:055]: Frame: 5E4401067828795601027AC410500584B6DBDC724CC094738EAF8E6741D96645DA7C3C01FBBE167FF88F1AF2DA42987CBAB063F78C65CEC4D8CF6ED0BADFAC3CFAD59BC9CC7A74A58D2C265ECE3A8AFB91CD2F853F727C8A49752DDF26596C (95) [without CRC]
[16:11:27][D][wmbus:090]: Using driver 'amiplus' for ID [0x56792878] RSSI: -88 dBm LQI: 195 Frame: T1 A T: 5E4401067828795601027AC410500584B6DBDC724CC094738EAF8E6741D96645DA7C3C01FBBE167FF88F1AF2DA42987CBAB063F78C65CEC4D8CF6ED0BADFAC3CFAD59BC9CC7A74A58D2C265ECE3A8AFB91CD2F853F727C8A49752DDF26596C (95)
[16:11:27][V][utils:291]: 2F2F check after decrypting - OK
[16:11:27][D][wmbus:104]: Decrypted T : 5E4401067828795601027AC41050052F2F066D9E4A101032400C78782879560E039369010000000E833C1042000000000B2B2904000BAB3C0000000AFDC9FC0138020AFDC9FC0238020AFDC9FC0338020BABC8FC100000002F2F2F2F2F2F2F (95)
[16:11:27][V][sensor:043]: '0x56792878 My lqi': Received new state 195.000000
[16:11:27][D][sensor:093]: '0x56792878 My lqi': Sending state 195.00000  with 0 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 80 bytes
[16:11:27][V][sensor:043]: '0x56792878 My RSSI': Received new state -88.000000
[16:11:27][D][sensor:093]: '0x56792878 My RSSI': Sending state -88.00000 dBm with 0 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 84 bytes
[16:11:27][V][wmbus:121]: Publishing 'current_power_consumption_kw' = 0.4290
[16:11:27][V][sensor:043]: '0x56792878 Aktualny pobór': Received new state 0.429000
[16:11:27][D][sensor:093]: '0x56792878 Aktualny pobór': Sending state 0.42900 kW with 3 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 92 bytes
[16:11:27][V][wmbus:121]: Publishing 'current_power_production_kw' = 0.0000
[16:11:27][V][sensor:043]: '0x56792878 Aktualna produkcja': Received new state 0.000000
[16:11:27][D][sensor:093]: '0x56792878 Aktualna produkcja': Sending state 0.00000 kW with 3 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 96 bytes
[16:11:27][V][wmbus:121]: Publishing 'total_energy_consumption_kwh' = 16.9930
[16:11:27][V][sensor:043]: '0x56792878 Energia pobrana': Received new state 16.993000
[16:11:27][D][sensor:093]: '0x56792878 Energia pobrana': Sending state 16.99300 kWh with 3 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 96 bytes
[16:11:27][V][wmbus:121]: Publishing 'total_energy_production_kwh' = 4.2100
[16:11:27][V][sensor:043]: '0x56792878 Wyprodukowana energia': Received new state 4.210000
[16:11:27][D][sensor:093]: '0x56792878 Wyprodukowana energia': Sending state 4.21000 kWh with 3 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 100 bytes
[16:11:27][V][wmbus:121]: Publishing 'voltage_at_phase_1_v' = 238.0000
[16:11:27][V][sensor:043]: '0x56792878 Napięcie na fazie 1': Received new state 238.000000
[16:11:27][D][sensor:093]: '0x56792878 Napięcie na fazie 1': Sending state 238.00000 V with 0 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 92 bytes
[16:11:27][V][wmbus:121]: Publishing 'voltage_at_phase_2_v' = 238.0000
[16:11:27][V][sensor:043]: '0x56792878 Napięcie na fazie 2': Received new state 238.000000
[16:11:27][D][sensor:093]: '0x56792878 Napięcie na fazie 2': Sending state 238.00000 V with 0 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 92 bytes
[16:11:27][V][wmbus:121]: Publishing 'voltage_at_phase_3_v' = 238.0000
[16:11:27][V][sensor:043]: '0x56792878 Napięcie na fazie 3': Received new state 238.000000
[16:11:27][D][sensor:093]: '0x56792878 Napięcie na fazie 3': Sending state 238.00000 V with 0 decimals of accuracy
[16:11:27][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[16:11:27][V][json:058]: Size after shrink 92 bytes
[16:11:27][W][component:214]: Component wmbus took a long time for an operation (0.52 s).
[16:11:27][W][component:215]: Components should block for at most 20-30ms.
1 polubienie