I'm working on integrating UK smart meters (mains electricity and gas) into Hubitat via an intermediary device. It's pretty much all working, except there's a lot of potential event data to handle. I'm receiving MQTT messages every 10 seconds which provides the following from the meters:
- Current power usage in W.
- Daily, weekly, monthly energy usage in kWh.
- Unit rate and standing charges.
- Meter and supplier information.
- LQI and RSSI information.
- Intermediary device data (model, firmware, etc)
Not only is this data available for import from the grid, it's also present as grid export data to the grid. I've not implemented export data yet... but all this data adds up to hitting the old "Some devices are generating excessive events." message in short order.
Not all of this information is necessarily an event to act upon, so things such as supplier and meter details I'm throwing into state variables, with only 'actionable' data going via sendEvent().
Is this sensible behaviour? Are there other techniques I should be investigating to reduce hub load?