We have made significant improvements in this release to support a wider variety of SML meters, thanks to the invaluable contributions from our community. Below are the key updates:
- **Enhanced Meter Compatibility:**
We have expanded our support to retrieve both imported and exported power from the meter, specifically for the 1.8.0 and 2.8.0 values.
- `Total Energy Import (Wh): 3983179.1`
- `Total Energy Export (Wh): 4814912.100000001`
- **New Function for Comprehensive Data Retrieval:**
Introduced a new function, `fetch_all_meter_data()`, which retrieves and decodes all SML data from the meter. This function allows for detailed research and helps identify any special, unsupported values to further enhance our library.
python
All meter data: [
<obis: 010060320101, value: EMH>,
<obis: 0100600100ff, value: 0a01454d4800009f3XXX>,
<obis: 0100010800ff, status: 1839364, val_time: 56769492, unit: 30, scaler: -1, value: 39831791>,
<obis: 0100020800ff, val_time: 56769492, unit: 30, scaler: -1, value: 48149121>,
<obis: 0100100700ff, unit: 27, scaler: 0, value: 50>
]
- **Improved Value Handling with Auto-Scaling:**
Implemented better handling for auto-scaling the reported values by utilizing the `scaler` value provided by `smllib`. This ensures that the reported values are accurate and appropriately scaled.
We are grateful for the ongoing support and contributions from our community, which help us improve the library continuously. If you discover any new values or metrics reported by your meter, please consider contributing by submitting a pull request or opening an issue on our GitHub repository.