2021.9.0
Highlights
-
Implement MQTT (#1395)
- This adds support for the MQTT protocol in OpenEMS Edge. The new "Controller.Api.MQTT" publishes data to an MQTT broker.
- It uses the following MQTT topics:
edge/{OpenEMS-Edge-ID}/channel/{Component-ID}/{Channel-ID}
- Data of Channels is published on change and at least every 5 minutes to these topics.
- Example:
edge/edge0/channel/_sum/GridActivePower
edge/{OpenEMS-Edge-ID}/channel/lastUpdate
- Timestamp of the latest data update on any of the Channel topics above.
- Example:
edge/edge0/channel/lastUpdate
edge/{OpenEMS-Edge-ID}/edgeConfig
- Configuration of the OpenEMS Edge instance is published to this topic as a JsonObject.
- Example:
edge/edge0/edgeConfig
- The implementation is built on version 5 of the MQTT protocol and was tested with Eclipse Mosquitto (https://mosquitto.org).
- Be aware that this implementation only marks the start of MQTT support in OpenEMS. Therefor implementation details might change with future versions.
-
Improved Login and Session-Handling (#1013)
- New User-Area in UI
- Allow login on Backend
- Dummy and File Metadata services store sessions in memory
- Odoo Metadata service uses Odoo sessions
- Add option for logout
- Always explicitly authenticate via JSON-RPC Request (not via http headers)
Bug Fixes and Other Changes
- Add Compatibility with IntelliJ and Amdatu Plugin (#1460), thanks @DerStoecki/Consolinno
- Update dependencies #1455, #1456, #1457, #1458, #1459
- CHP Controller: Fix possible NaN-error #1013
- Fix "Factory definition for [*] is missing." error in UI #1013
- UI Cleanup for websocket state + resubscribe #1013
- Update UI with a little bit better state-machine; should switch NgRx eventually #1013
- Bridge.OneWire: add readme for JSON-RPC methods 49af2ab
- UI: FlatWidget for Storage (#1445), thanks @lukasrgr
- GoodWe: update calculation of DC and AC Power and Energy 700b0e3
- SystemdNetworkd: improve parsing of configuration files c4ca421
- SymmetricBatteryInverter: add missing PersistencePriority 8e142f9
- this fixes issues with energy values for GenericEss
- Add Hostname Channel "_host/Hostname" 1d1aea3