Closed gregrahn closed 2 years ago
Thanks for your detailed description.
I've just uploaded a new pre-release build of version 2.0.1, which includes a bug fix. You can install the latest build version from the web UI by clicking on the version number in the footer and selecting "Install Latest Version".
An empty Fan object was created which then crashed the hkknx process. Upon restart, the configuration is loaded but causes an immediate crash of hkknx. Process is unable to be restarted successfully until invalid accessory is removed from
database/server.json
. Stack trace below.Version 2.0.1
Steps to reproduce:
cp server.json server.json.ok
Seems likely that the non-optional attribute
rotation-speed
is missing a validation check before the object is created.