Skip to main content

NetDaemon

This is the application daemon project for Home Assistant. This project makes it possible to make automatons using the .NET 5. The API uses the new nullable types and C# 9.0. Please make your self familiar with these concepts.

NetDaemon is a great alternative to appdaemon for people who wants to build their automation logic using .NET 5 ecosystem and C#. The daemon will be supported by all supported platforms of .NET 5.

Deprecated API V1 will be removed from next release (21 february 2021)#

Deprecation and removal of V1 API

Version async API using NetDaemonApp will be deleted the upcoming release. If your applications inherit from NetDaemonAppthey should be rewritten using NetDaemonRxApp instead.

Stage of project#

Warning

This is project is in beta stage. Things can break. The API:s is fairly stable at this point. The project use github pre-release for early drops.

The daemon core runtime is distributed through Hassio add-on or as docker container.

Please see the getting started documentation for setup.

info

You need to restart the add-on every time you change a file. C# needs to compile the changes. This will be autodetectable in future releases.

Issues#

If you have issues or suggestions of improvements, please add an issue

Discuss the NetDaemon#

Please join the Discord server to get support or if you want to contribute and help others.

If you prefer discussing using github discussions your are welcome to post questions and feature requests there. Bugs are reported as issues.

Async model#

The application daemon are built entirely on the async model in .Net. Even if the API is syncronous it still can be helpful to have some knowledge of async/await/Tasks to use it properly. Especially using the unit test framework.