Use this repository as template when developing apps for NetDaemon. Please note that NetDaemon is still under development.
- Make new repository with this repo as template
- RENAME
_deamon_config.json
todaemon_config.json
. Edit the daemon_config.json file to provide details about how to connect to Home Assistant. You will need a long lived token, ip, port. - Run dotnet restore in the terminal
- Add and edit your apps in the apps folder. There are a few code-snippets you can use.
- Copy the edited apps to the folder
netdaemon/apps
under your Hass.io config folder. Even more easy is to use HACS to deploy your APP to Home Assistant - Install add-on or run a docker container. Please see https://netdaemon.xyz/docs/started/installation for details how to run the daemon.
For detailed information about using netdaemon please see https://netdaemon.xyz.
Each app should have it´s own subfolder under the apps
folder. So rename the HelloWorld
folder and HelloWorld.cs
and HelloWorld.yaml
according to your app. The class name should also be renamed to the same unique app name. We also recommend using namespaces and fully qualified names like the sample included in the template.
If you have issues or suggestions of improvements, please add an issue
Please join the Discord server to get support or if you want to contribute and help others.
ICON: Attribution: chris 論