Skip to content

Commit 0435d6b

Browse files
authored
Merge pull request #1805 from omrid01/main
Configuring Node-RED dashboard 2.0 on Home Assistant
2 parents b7d9f2e + d147eb8 commit 0435d6b

File tree

7 files changed

+32
-2
lines changed

7 files changed

+32
-2
lines changed

docs/.vitepress/config/config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export default {
3232
{ text: locale.sidebar['ui-template-examples'] || en.sidebar['ui-template-examples'], link: '/user/template-examples' },
3333
{ text: locale.sidebar['multi-tenancy'] || en.sidebar['multi-tenancy'], link: '/user/multi-tenancy' },
3434
{ text: locale.sidebar['subflows'] || en.sidebar['subflows'], link: '/user/subflows' },
35-
{ text: locale.sidebar['installing-on-mobile'] || en.sidebar['installing-on-mobile'], link: '/user/pwa' }
35+
{ text: locale.sidebar['installing-on-mobile'] || en.sidebar['installing-on-mobile'], link: '/user/pwa' },
36+
{ text: locale.sidebar['installing-on-home-assistant'] || en.sidebar['installing-on-home-assistant'], link: '/user/home-assistant' }
3637
]
3738
},
3839
{
@@ -135,4 +136,4 @@ export default {
135136
}
136137
}
137138
}
138-
}
139+
}

docs/.vitepress/config/locales/en-US.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"multi-tenancy": "Multi-Tenancy",
2121
"subflows": "Subflows",
2222
"installing-on-mobile": "Installing on Mobile",
23+
"installing-on-home-assistant": "Home Assistant",
2324
"nodes": "Nodes",
2425
"config-nodes": "Config Nodes",
2526
"layouts": "Layouts",
425 KB
Loading
12.1 KB
Loading
23.5 KB
Loading
16 KB
Loading

docs/en/user/home-assistant.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Running Node-RED with Home Assistant
2+
3+
Node-RED can be integrated with Home Assistant (**HA**) in 2 modes:
4+
1. Running Node-RED on an separate host, and connecting to the HA server via HTTP messaging or through the `node-red-contrib-home-assistant-websocket` node-set
5+
6+
2. Using the internal Node-RED add-on within HA, which comes as part of the default HA installation
7+
8+
### Configuring FlowFuse Dashboard (Node-RED dashboard 2.0) in Home Assistant
9+
10+
As of today, the Node-RED add-on within HA includes the Node-RED dashboard 1.0 nodes (`node-red-dashboard`), and exposes its base URL (`.../ui`). However, Node-RED Dashboard 1.0 is now deprecated and has been replaced by FlowFuse Dashboard.
11+
12+
Below are guidelines for installing & configuring FlowFuse Dashboard in the Node-RED add-on within HA
13+
14+
1. Within the Node-RED add-on, install the FlowFuse Dashboard node-set (`@flowfuse/node-red-dashboard`) using the "Manage Palette" option.
15+
16+
2. Create a new iframe container for hosting the FlowFuse Dashboard clients:
17+
- In HA, go to **Settings->Dashboards->Add dashboard**, select **Webpage**
18+
19+
<img src="../../assets/images/ha1-new-dashboard.png" alt="Adding a new dashboard iFrame" data-zoomable><br>*Adding a new dashboard iFrame*<br><br>
20+
- Set the base URL of the dashboard, e.g. `<HA host>:1880/endpoint/dashboard`
21+
22+
<img src="../../assets/images/ha2-set-dashboard-url.png" alt="Setting the base URL" data-zoomable><br>*Setting the base URL*<br><br>
23+
- Set the iframe title & optional icon (which will show in the HA sidebar), and click **Create**
24+
25+
<img src="../../assets/images/ha3-set-title-icon.png" alt="Setting the title & icon" data-zoomable><br>*Setting the title & icon*<br><br>
26+
- You can now open the FlowFuse Dashboard from the HA sidebar, or directly via the endpoint URL defined above
27+
28+
<img src="../../assets/images/ha4-show-dashboard.png" alt="Viewing the FlowFuse dashboard" data-zoomable><br>*Viewing the FlowFuse dashboard*

0 commit comments

Comments
 (0)