You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/tutorials/publish_script.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,35 +21,40 @@ Write an PowerShell script that deploys your apps to Home Assistant with the fol
21
21
22
22
After installing Samba share, please make sure that you can access your Home Assistant share from your machine:
23
23
1. Press Windows + R to open the Run dialog
24
-
2. In the Open Textbox write \\homeassistant.local\ (adapt if you use a different host name)
24
+
2. In the Open Textbox write \\homeassistant.local\ (adapt if you use a different host name or use the ip adress)
25
25
3. You will be prompted to enter User name and Password. Provide your User and Password from your Samba share configuration. Don't forget to tick "Remember my credentials".
26
26
27
27
The Home Assistant PowerShell Module uses the IP address of Home Assistant to start/stop the addons. It's a anyway a good idea to give a fix IP address to your Home Assistant system.
28
28
29
29
## The Script
30
30
31
-
- Create a Powershell file like publish.ps1.
31
+
- Create a Powershell file like publish.ps1 in the same folder as your appsettings.json is located.
32
32
- Create a subfolder "Home-Assistant" and copy the two files from the PowerShell Module into it.
33
33
34
34
```powershell
35
-
$slug = 'c6a2317c_netdaemon5' # the slug can be found in the url of the browser when navigating to the NetDaemon addon
0 commit comments