Nymea 1.8 release notes

Release time!

The big news for 1.8 is the complete rework of the logging functionality. That is, we’ve moved from an integrated SQLite database for keeping the history of all the things to influxdb. This implies now that nymea must have access to an influx database service in order for logs to work. Upgrading your existing nymea setup to 1.8 will automatically pull in influxdb and start it up*.

The result of this work is massively improved performance on anything that has to do with logs and charts. State charts will now draw within frictions of seconds, no matter how many state changes a thing may produce. During the rework we’ve also aligned the visuals of all charts with the energy charts by adding the nice blurred tooltips and the selection tabs to zoom in and out on the charts.

But also regular logs benefit from those changes. We’ve also improved the logs for events and actions. Viewing the logs, it’s now possible to distinguish between actions executed by the user or by some automation and we’ve finally fixed the issue that the logs weren’t able to properly keep all the parameters for events and actions with more than one parameter:

Logs for any state/event/action can now be deleted and it’s possible to configure if it should be logged or not.

Apart from the logging, which was quite a bit of work and consumed most of the resources for 1.8.0, there still have been a bunch of fixes and other nice little additions:
nymea can control the used phases for charging electric vehicles (for wallboxes that support it).

  • We’ve added support for the Shelly Pro 3EM.
  • Added support for the easee wallbox.
  • Added support for the IKEA ZigBee roller shutters (FYRTUR)
  • Added a new plugin for ScheinderElectric ZigBee devices
  • Added support for more Mennekes Wallboxes

That’s mostly it for new additions, but there also have been a whole lot of fixes and smaller improvements all around the place. Check the complete change log below if interested in those.

Enjoy the release!

*) nymea will override influxdb default settings to not listen for connections on the outside but instead only listen to localhost. If you have been using influxdb on the same machine as nymea already previously, then you may wonder why you can’t access it from the outside any more. In that case, please uncomment the default settings in influxdb.conf again which have higher priority than nymeas overrides in /etc/systemd/system/influxdb.conf.d/nymea-env.conf. If you want to use influxdb on a different host, the existing settings in nymead.conf for configuring the database will still work, except it’s not possible any more to change the driver. You can still configure the database host, port, database name, user and password.

Complete changelog:

  • nymea-zigbee (1.8.0)

    • Provide access to formatting settings for electrical measurement
    • Add window covering cluster
  • nymea (1.8.0)

    • Add location setting
    • Add desiredPhaseCount state to evcharger interface
    • Add windowOpen and windowOpenDetected states to the thermostat
    • Fix multiple ragisterTransport calls on reconfiguring interfaces
    • Enforce unit on closable interface
    • Rework the log engine to use influxdb instead of sql
    • NetworkDeviceDiscovery: perform reachability verification ping
    • Update mac address database
  • nymea-plugins (1.8.0)

    • go-e: Add possibility to control charging phases
    • Shelly: Reconfigure CoAP on gen 1 shellies if they don’t send any
    • Notify.Events: Fix a typo in meta.json
    • New Plugin: Easee
    • EQ-3, Tado: Update thermostats windowOpenDetected states
    • Shelly: Fix creation of children for the Plus 2PM
    • Meross: Fix polling for totalEnergy
    • EVBox: Split thing class into one with and one without meter
    • Shelly: Add support for the Shelly Pro 3EM
    • Update extendedclosable interfaces
    • Bosswerk: Don’t poll the device when it’s unreachable
    • Sunposition: Add new rpi build for simplejson
    • Shelly: Rework Gen 2 device handling
    • go-eCharger: Fix API V2 energy value parsing
    • Philips Hue: Add support for Hue Tap Dial
    • Tado: Suppress a warning when thermostat is off
    • Fronius: Fix PV power if there are multiple inverters
  • nymea-plugins-zigbee (1.8.0)

    • Tuya: Only poll totalEnergyConsumed for smart plugs
    • Use formatting for the electricalmeasurement cluster
    • Tradfri: Fix a typo in the packaging files
    • Remove custom cluster binding calls and use a generic variant
    • Improve writing of settings for sleepy devices
    • New Plugin: SchneiderElectric
    • Lumi: Add support for the TVOC Air Quality Monitor
    • Generic H/T: Configure attribute reporting for humidity
    • Tradfri: Add FYRTUR block-out roller blind
  • nymea-plugins-genericthings (1.8.0)

    • Add generic energy meter
    • Rework generic battery
    • Thermostat: Add temperaturesensor interface
    • Add charging energy loss as setting for the generic car
    • Update extendedclosable interface
    • Virtual Button: Log presses
    • GenericCar: Fix min charging current setting min value and
  • nymea-plugins-modbus (1.8.0)

    • Drexel und Weiss: Add smartmeterconsumer interface
    • Amperfied/Heidelberg: Disable auto-standby and smaller fixes
    • SunSpec: Fix meter phase power and phase current signs
    • modbus-tool: Introduce string endianess
    • Mennekes: Complete HCC3 controller implementation
    • nymea-modbus-cli: Add modbus RTU functionality
    • SunSpec: Do not delete TCP connection upon reconnect
    • SunSpec: Precise discovery and use network device monitor
    • SMA: Improve speedwire protocol handling and add SMA battery
    • Mennekes: Add support for the Amtron Compact 2.0
    • modbus-tool: process response only if the result register count
  • nymea-update-plugin-packagekit (1.8.0)

    • Add lunar support
  • nymea-experience-plugin-airconditioning (1.8.0)

    • Use the thermostats windowOpenDetected state too for determining
    • Fix notifications being updated too often
    • Allow users with control things permission to set AC temperatures