rscada / libmbus

Meter-bus library and utility programs
http://www.rscada.se/libmbus
BSD 3-Clause "New" or "Revised" License
229 stars 142 forks source link

Pollucom E- reduced / unexpected answer? #210

Open kr0815 opened 1 year ago

kr0815 commented 1 year ago

Trying to read out a Pollucom E, i only get something like a short answer, no real live data

I have 5 other Pollucom E- all others behave like expected

Really strange, with MiniCom3 and even LotusFree, i get all values as expected, but not with libmbus

This i all i get: <?xml version="1.0" encoding="ISO-8859-1"?> <MBusData> <SlaveInformation> <Id>1240325</Id> <Manufacturer>SEN</Manufacturer> <Version>25</Version> <ProductName>Sensus PolluCom E</ProductName> <Medium>Heat: Outlet</Medium> <AccessNumber>78</AccessNumber> <Status>20</Status> <Signature>0000</Signature> </SlaveInformation> <DataRecord id="0"> <Function>Instantaneous value</Function> <StorageNumber>17</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Time Point (time &amp; date)</Unit> <Value>2020-02-29T23:59:00</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="1"> <Function>Instantaneous value</Function> <StorageNumber>17</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Energy (kWh)</Unit> <Value>169484</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="2"> <Function>Instantaneous value</Function> <StorageNumber>17</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Volume (m m^3)</Unit> <Value>5517571</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="3"> <Function>Instantaneous value</Function> <StorageNumber>17</StorageNumber> <Tariff>1</Tariff> <Device>0</Device> <Unit>Energy (kWh)</Unit> <Value>0</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="4"> <Function>Instantaneous value</Function> <StorageNumber>17</StorageNumber> <Tariff>2</Tariff> <Device>0</Device> <Unit>Energy (kWh)</Unit> <Value>0</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="5"> <Function>Value during error state</Function> <StorageNumber>17</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>On time (hours)</Unit> <Value>0</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="6"> <Function>Value during error state</Function> <StorageNumber>17</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Reserved VIF extension</Unit> <Value>0</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="7"> <Function>Maximum value</Function> <StorageNumber>49</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Power (W)</Unit> <Value>0</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="8"> <Function>Instantaneous value</Function> <StorageNumber>49</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Time Point (time &amp; date)</Unit> <Value>2000-00-00T00:00:00</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="9"> <Function>Maximum value</Function> <StorageNumber>81</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Volume flow (m m^3/h)</Unit> <Value>0</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> <DataRecord id="10"> <Function>Instantaneous value</Function> <StorageNumber>81</StorageNumber> <Tariff>0</Tariff> <Device>0</Device> <Unit>Time Point (time &amp; date)</Unit> <Value>2000-00-00T00:00:00</Value> <Timestamp>2023-10-17T19:43:14Z</Timestamp> </DataRecord> </MBusData>