Witam, mam licznik Otus 1 od PGE, właśnie mi uruchomili zdalny odczyt po wmbus, działa idealnie! Moja konfiguracja:
meter_id: 0xXXXXXXX
key: "XXXXXXXXXXXXXXXXXXXXXXX"
type: amiplus
mode: T1C1
lqi:
name: "Otus 1 lqi"
rssi:
name: "Otus 1 rssi"
total_energy_consumption_kwh:
name: "Energia pobrana"
current_power_consumption_kw:
name: "Aktualny pobór"
total_energy_production_kwh:
name: "Energia wysłana"
current_power_production_kw:
name: "Aktualna wysyłka"
Ale jak dekoduję ramki w wmbusters mam jeszcze inne info (m.in. pobór i wysyłka w taryfie dziennej i nocnej), zdekodowana ramka:
Auto driver : not found!
Best driver : amiplus 60/98
Using driver : amiplus 60/98
000 : ce length (206 bytes)
001 : 44 dll-c (from meter SND_NR)
002 : 0106 dll-mfct (APA)
004 : 29301555 dll-id (55153029)
008 : 01 dll-version
009 : 02 dll-type (Electricity meter)
010 : 7a tpl-ci-field (EN 13757-3 Application Layer (short tplh))
011 : f7 tpl-acc-field
012 : 00 tpl-sts-field (OK)
013 : c005 tpl-cfg 05c0 (AES_CBC_IV nb=12 cntn=0 ra=0 hc=0 )
015 : 2f2f already decrypted check bytes
017 : 06 dif (48 Bit Integer/Binary Instantaneous value)
018 : 6D vif (Date and time type)
019 C!: C0510E043480 ("device_date_time":"2024-04-04 14:17:00")
025 : 0C dif (8 digit BCD Instantaneous value)
026 : 78 vif (Fabrication no)
027 C?: 29301555
031 : 0E dif (12 digit BCD Instantaneous value)
032 : 03 vif (Energy Wh)
033 C!: 661318000000 ("total_energy_consumption_kwh":181.366)
039 : 8E dif (12 digit BCD Instantaneous value)
040 : 10 dife (subunit=0 tariff=1 storagenr=0)
041 : 03 vif (Energy Wh)
042 C!: 742511000000 ("total_energy_consumption_tariff_1_kwh":112.574)
048 : 8E dif (12 digit BCD Instantaneous value)
049 : 20 dife (subunit=0 tariff=2 storagenr=0)
050 : 03 vif (Energy Wh)
051 C!: 928706000000 ("total_energy_consumption_tariff_2_kwh":68.792)
057 : 8E dif (12 digit BCD Instantaneous value)
058 : 30 dife (subunit=0 tariff=3 storagenr=0)
059 : 03 vif (Energy Wh)
060 C!: 000000000000 ("total_energy_consumption_tariff_3_kwh":0)
066 : 8E dif (12 digit BCD Instantaneous value)
067 : 80 dife (subunit=0 tariff=0 storagenr=0)
068 : 10 dife (subunit=0 tariff=4 storagenr=0)
069 : 03 vif (Energy Wh)
070 C?: 000000000000
076 : 0E dif (12 digit BCD Instantaneous value)
077 : 83 vif (Energy Wh)
078 : 3C combinable vif (BackwardFlow)
079 C!: 322315000000 ("total_energy_production_kwh":152.332)
085 : 8E dif (12 digit BCD Instantaneous value)
086 : 10 dife (subunit=0 tariff=1 storagenr=0)
087 : 83 vif (Energy Wh)
088 : 3C combinable vif (BackwardFlow)
089 C!: 029711000000 ("total_energy_production_tariff_1_kwh":119.702)
095 : 8E dif (12 digit BCD Instantaneous value)
096 : 20 dife (subunit=0 tariff=2 storagenr=0)
097 : 83 vif (Energy Wh)
098 : 3C combinable vif (BackwardFlow)
099 C!: 302603000000 ("total_energy_production_tariff_2_kwh":32.63)
105 : 8E dif (12 digit BCD Instantaneous value)
106 : 30 dife (subunit=0 tariff=3 storagenr=0)
107 : 83 vif (Energy Wh)
108 : 3C combinable vif (BackwardFlow)
109 C!: 000000000000 ("total_energy_production_tariff_3_kwh":0)
115 : 8E dif (12 digit BCD Instantaneous value)
116 : 80 dife (subunit=0 tariff=0 storagenr=0)
117 : 10 dife (subunit=0 tariff=4 storagenr=0)
118 : 83 vif (Energy Wh)
119 : 3C combinable vif (BackwardFlow)
120 C?: 000000000000
126 : 0B dif (6 digit BCD Instantaneous value)
127 : 2B vif (Power W)
128 C!: 000000 ("current_power_consumption_kw":0)
131 : 0B dif (6 digit BCD Instantaneous value)
132 : AB vif (Power W)
133 : 3C combinable vif (BackwardFlow)
134 C!: 550100 ("current_power_production_kw":0.155)
137 : 0B dif (6 digit BCD Instantaneous value)
138 : FB vif (First extension FB of VIF-codes)
139 : 14 vife (Reserved)
140 C?: 000000
143 : 0B dif (6 digit BCD Instantaneous value)
144 : FB vif (First extension FB of VIF-codes)
145 : 94 vife (Reserved)
146 : 3C combinable vif (BackwardFlow)
147 C?: 240100
150 : 0A dif (4 digit BCD Instantaneous value)
151 : FD vif (Second extension FD of VIF-codes)
152 : C8 vife (10^-1 Volts)
153 : FC combinable vif (CombinableVIFExtension)
154 : 01 combinable extension vife
155 C?: 0424
157 : 0B dif (6 digit BCD Instantaneous value)
158 : AB vif (Power W)
159 : C8 combinable vif (UpperLimit)
160 : FC combinable vif (CombinableVIFExtension)
161 : 10 combinable extension vife
162 C?: 000000
165 : 8B dif (6 digit BCD Instantaneous value)
166 : 40 dife (subunit=1 tariff=0 storagenr=0)
167 : AB vif (Power W)
168 : C8 combinable vif (UpperLimit)
169 : FC combinable vif (CombinableVIFExtension)
170 : 10 combinable extension vife
171 C?: 000000
174 : 8B dif (6 digit BCD Instantaneous value)
175 : 80 dife (subunit=0 tariff=0 storagenr=0)
176 : 40 dife (subunit=2 tariff=0 storagenr=0)
177 : AB vif (Power W)
178 : C8 combinable vif (UpperLimit)
179 : FC combinable vif (CombinableVIFExtension)
180 : 10 combinable extension vife
181 C?: 000000
184 : 8B dif (6 digit BCD Instantaneous value)
185 : C0 dife (subunit=1 tariff=0 storagenr=0)
186 : 40 dife (subunit=3 tariff=0 storagenr=0)
187 : AB vif (Power W)
188 : C8 combinable vif (UpperLimit)
189 : FC combinable vif (CombinableVIFExtension)
190 : 10 combinable extension vife
191 C?: 000000
194 : 0A dif (4 digit BCD Instantaneous value)
195 : AB vif (Power W)
196 : C8 combinable vif (UpperLimit)
197 : FD combinable vif (MultiplicativeCorrectionFactorForValue103)
198 : 66 combinable vif (DurationOfDLast)
199 C?: 1111
201 : 2F skip
202 : 2F skip
203 : 2F skip
204 : 2F skip
205 : 2F skip
206 : 2F skip
{
"media":"electricity",
"meter":"amiplus",
"name":"",
"id":"55153029",
"current_power_consumption_kw":0,
"current_power_production_kw":0.155,
"total_energy_consumption_kwh":181.366,
"total_energy_consumption_tariff_1_kwh":112.574,
"total_energy_consumption_tariff_2_kwh":68.792,
"total_energy_consumption_tariff_3_kwh":0,
"total_energy_production_kwh":152.332,
"total_energy_production_tariff_1_kwh":119.702,
"total_energy_production_tariff_2_kwh":32.63,
"total_energy_production_tariff_3_kwh":0,
"device_date_time":"2024-04-04 14:17:00",
"timestamp":"2024-04-04T12:20:13Z"
}
Using: wmbusmeters: 1.15.0-1-g097f91f
097f91fac0585c6e47beec7dcb086cce3fcb0e5e
@_Szczepan - jest szansa na dodanie info o poborze i wysłaniu ze względu na taryfę?