Dzień dobry.
Niedawno wszedłem posiadanie liczka Apator OTUS-3 z PGE.
Zakpiłem Magic Meter-V2 na CC1101 od Mariusza z OLX i próbuję coś zaciągnąć do HA
Jedyny sukces to odczyt całkowitego zużycia energii i całkowitej produkcji.
Brak napięcia na fazach oraz bieżącego zużycia.
Widziałem że koledzy z tego wątku uruchomili taki licznik ale od Taurona, nie wiem czy PGE ma inny soft w takim
samym liczniku czy przyczyna leży gdzie indziej.
Jako że jestem świeży w tym temacie to mogłem popełnić jakiś oczywisty błąd.
Odbiornik leżał 1.5m od skrzynki z licznikiem
Byłbym wdzięczny za poradę jak uzyskać odczyt z pozostałych sensorów.
Mój config:
external_components:
- source: github://SzczepanLeon/esphome-components@main
components: [ wmbus ]
refresh: 0d
wmbus:
mosi_pin: GPIO35
clk_pin: GPIO36
miso_pin: GPIO37
gdo2_pin: GPIO1
gdo0_pin: GPIO2
cs_pin: GPIO34
log_unknown: true
sync_mode: true
sensor:
- platform: wmbus
meter_id: 0x56914504
type: amiplus
key: "XXXXX"
add_prefix: false
mode: T1C1
lqi:
name: "Apator lqi"
rssi:
name: "Apator RSSI"
total_energy_consumption_kwh:
name: "Total_consumption"
current_power_consumption_kw:
name: "Current_consumption"
total_energy_production_kwh:
name: "Total_production"
current_power_production_kw:
name: "Current_production"
voltage_at_phase_1_v:
name: "Voltage Phase 1"
voltage_at_phase_2_v:
name: "Voltage Phase 2"
voltage_at_phase_3_v:
name: "Voltage Phase 3"
Mój log:
[09:54:07][D][mbus:034]: Processing T1 A frame
[09:54:07][V][mbus:040]: Frame: 97271C58D59A59C71994D65A58D58E963A654E62F158B9565999B1B34966656A53C93C6366C8E9D263633594E338B3B2B23B263A666558B7328F266CA4E671B1ACB1C72C5CC698EC4E98CBD1CA72C8EC65969C654E35A5C71A666AC5B1A599ACB233566639668CD656C539B1CAC59AC9CB324DA58B9B44D6D133B1B1A8F134D3A52F23A365C35AC4DB256B4C6CC8EC9CB3134EC4D3633A368EA6CCB499CA744DCD239B14CEB324F1B19CA6C4ED298DC7316639A695AA5A665723399C7467298E8D64CDD1A6596B4C [RAW]
[09:54:07][V][mbus:042]: 63396953D233532DC95CA698EC8D9359CB269C36CC4D6568D395A4E68D3A664E62F259AA72C8D6A558D72C4CEC93A7466CA5998EC999933A96749B4D134E56B4C71A4D656393A695 (272) [RAW]
[09:54:07][V][mbus:052]: Frame: 9E4401060445915601029BF97A3D039005AD8C9A50F7E7DB58BFCA1B157B232E8B8A2A59034EBE58F25D86EDDED4DFB87FB3C4FEE2D99FD97B09DDFA680DF5A88B105B9AB150D7ADE806E48E7603AC70C72D86BD11293E2B5416D1896CD8E2E48D12D11B2B62F8ECA4FC74CBAD728E7D85EAD2CFB44D5BAA96F6594B25DC5EA2B071C6556CDB2097CB173494FFB8B515EE6418D150B7967AB7FA7A3E06FEE169014872E7FC58F5A2E5A72F5CACC7796CDDF15027FF (181) [with CRC]
[09:54:07][V][mbus:095]: Validating CRC for Block1
[09:54:07][V][crc:031]: calculated: 0x9BF9, read: 0x9BF9
[09:54:07][V][mbus:115]: Validating CRC for Block2
[09:54:07][V][crc:031]: calculated: 0x157B, read: 0x157B
[09:54:07][V][mbus:115]: Validating CRC for Block3
[09:54:07][V][crc:031]: calculated: 0xDFB8, read: 0xDFB8
[09:54:07][V][mbus:115]: Validating CRC for Block4
[09:54:07][V][crc:031]: calculated: 0x8B10, read: 0x8B10
[09:54:07][V][mbus:115]: Validating CRC for Block5
[09:54:07][V][crc:031]: calculated: 0x86BD, read: 0x86BD
[09:54:07][V][mbus:115]: Validating CRC for Block6
[09:54:07][V][crc:031]: calculated: 0x2B62, read: 0x2B62
[09:54:07][V][mbus:115]: Validating CRC for Block7
[09:54:07][V][crc:031]: calculated: 0x5BAA, read: 0x5BAA
[09:54:07][V][mbus:115]: Validating CRC for Block8
[09:54:07][V][crc:031]: calculated: 0xCB17, read: 0xCB17
[09:54:07][V][mbus:115]: Validating CRC for Block9
[09:54:07][V][crc:031]: calculated: 0x7A3E, read: 0x7A3E
[09:54:07][V][mbus:115]: Validating CRC for Block10
[09:54:07][V][crc:031]: calculated: 0xACC7, read: 0xACC7
[09:54:07][V][mbus:115]: Validating CRC for Block11
[09:54:07][V][crc:031]: calculated: 0x27FF, read: 0x27FF
[09:54:07][V][mbus:062]: Frame: 9E4401060445915601027A3D039005AD8C9A50F7E7DB58BFCA1B232E8B8A2A59034EBE58F25D86EDDED47FB3C4FEE2D99FD97B09DDFA680DF5A85B9AB150D7ADE806E48E7603AC70C72D11293E2B5416D1896CD8E2E48D12D11BF8ECA4FC74CBAD728E7D85EAD2CFB44D96F6594B25DC5EA2B071C6556CDB20973494FFB8B515EE6418D150B7967AB7FA06FEE169014872E7FC58F5A2E5A72F5C796CDDF150 (159) [without CRC]
[09:54:07][D][wmbus:097]: Using driver 'amiplus' for ID [0x56914504] RSSI: -41 dBm LQI: 128 Frame: T1 A T: 9E4401060445915601027A3D039005AD8C9A50F7E7DB58BFCA1B232E8B8A2A59034EBE58F25D86EDDED47FB3C4FEE2D99FD97B09DDFA680DF5A85B9AB150D7ADE806E48E7603AC70C72D11293E2B5416D1896CD8E2E48D12D11BF8ECA4FC74CBAD728E7D85EAD2CFB44D96F6594B25DC5EA2B071C6556CDB20973494FFB8B515EE6418D150B7967AB7FA06FEE169014872E7FC58F5A2E5A72F5C796CDDF150 (159)
[09:54:07][V][utils:291]: 2F2F check after decrypting - OK
[09:54:07][D][wmbus:104]: Decrypted T : 9E4401060445915601027A3D0390052F2F066DC076091935800C78044591560E032088300000008E10032088300000008E20030000000000008E30030000000000008E8010030000000000000E833C2702000000008E10833C2702000000008E20833C0000000000008E30833C0000000000008E8010833C0000000000000AFDC8FC0136240AFDC8FC0262240AFDC8FC0389222F2F2F2F2F2F2F2F2F2F2F2F (159)
[09:54:08][V][sensor:043]: 'Apator lqi': Received new state 128.000000
[09:54:08][D][sensor:094]: 'Apator lqi': Sending state 128.00000 with 0 decimals of accuracy
[09:54:08][V][sensor:043]: 'Apator RSSI': Received new state -41.000000
[09:54:08][D][sensor:094]: 'Apator RSSI': Sending state -41.00000 dBm with 0 decimals of accuracy
[09:54:08][V][wmbus:121]: Publishing 'total_energy_consumption_kwh' = 308.8200
[09:54:08][V][sensor:043]: 'Total_consumption': Received new state 308.820007
[09:54:08][D][sensor:094]: 'Total_consumption': Sending state 308.82001 kWh with 3 decimals of accuracy
[09:54:08][V][wmbus:121]: Publishing 'total_energy_production_kwh' = 0.2270
[09:54:08][V][sensor:043]: 'Total_production': Received new state 0.227000
[09:54:08][D][sensor:094]: 'Total_production': Sending state 0.22700 kWh with 3 decimals of accuracy
[09:54:08][W][component:237]: Component wmbus took a long time for an operation (213 ms).
[09:54:08][W][component:238]: Components should block for at most 30 ms.
[09:56:07][V][rxLoop:167]: Have 272 bytes from CC1101 Rx, RSSI: -41 dBm LQI: 128
[09:56:07][V][rxLoop:172]: Synchronus mode enabled.