SENSBLUE ATLAS/Home Assistant: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Home Assistant}} | {{DISPLAYTITLE:Home Assistant}}[[File:Home Assistant Logo.png|frameless|150x150px]] | ||
== Fast installation script == | |||
(If u are feeling lazy) | |||
<table style="border: none; background: transparent; margin: 15px 0; border-collapse: collapse;"> | |||
<td style="padding: 0 0 0 10px; border: none; background: transparent;"> | |||
<span class="atlas-btn">[[Media:Atlas-ha-install-v1.zip|Atlas-ha-install-v1.zip]]</span> | |||
</td> | |||
</table> | |||
= Home Assistant integration = | = Home Assistant integration = | ||
'''Installing Home Assistant on the SENSBLUE ATLAS / i.Cee²''' | '''Installing Home Assistant on the SENSBLUE ATLAS / i.Cee²''' | ||
| Line 17: | Line 26: | ||
=== 1. Prerequisites === | === 1. Prerequisites === | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Item | !Item | ||
!Value / check | !Value / check | ||
| Line 51: | Line 60: | ||
=== 2. Ports used on ATLAS === | === 2. Ports used on ATLAS === | ||
Before and after installation, confirm that the existing stack continues to respond. | Before and after installation, confirm that the existing stack continues to respond. | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Service | !Service | ||
!Port | !Port | ||
| Line 114: | Line 123: | ||
EOF | EOF | ||
</syntaxhighlight>'''Important notes:''' | </syntaxhighlight>'''Important notes:''' | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Option | !Option | ||
!Reason | !Reason | ||
| Line 141: | Line 150: | ||
curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8123 | curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8123 | ||
</syntaxhighlight>'''Expected result:''' | </syntaxhighlight>'''Expected result:''' | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Code | !Code | ||
!Meaning | !Meaning | ||
| Line 168: | Line 177: | ||
=== 7. Configure MQTT integration in Home Assistant === | === 7. Configure MQTT integration in Home Assistant === | ||
Since the container uses <code>network_mode: host</code>, Home Assistant can access the local Mosquitto via: | Since the container uses <code>network_mode: host</code>, Home Assistant can access the local Mosquitto via: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Field | !Field | ||
!Value | !Value | ||
| Line 346: | Line 355: | ||
EOF | EOF | ||
</syntaxhighlight>'''Notes about this mqtt.yaml''' | </syntaxhighlight>'''Notes about this mqtt.yaml''' | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Entity | !Entity | ||
!MQTT Topic | !MQTT Topic | ||
| Line 382: | Line 391: | ||
In Home Assistant, check for entities similar to: | In Home Assistant, check for entities similar to: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Entity | !Entity | ||
!Type | !Type | ||
| Line 469: | Line 478: | ||
cd /opt/atlas-ha | cd /opt/atlas-ha | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Action | !Action | ||
!Command | !Command | ||
| Line 499: | Line 508: | ||
=== 15. Production notes === | === 15. Production notes === | ||
Before sending a unit to a client, review the following points: | Before sending a unit to a client, review the following points: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Point | !Point | ||
!Note | !Note | ||
| Line 563: | Line 572: | ||
==== 16.2 What the script does ==== | ==== 16.2 What the script does ==== | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Step | !Step | ||
!Action | !Action | ||
| Line 637: | Line 646: | ||
" http://localhost:8123 | " http://localhost:8123 | ||
</syntaxhighlight>'''Expected result:''' | </syntaxhighlight>'''Expected result:''' | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Code | !Code | ||
!Meaning | !Meaning | ||
| Line 665: | Line 674: | ||
=== 18. Summary === | === 18. Summary === | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Step | !Step | ||
!Command / Action | !Command / Action | ||
| Line 679: | Line 688: | ||
|- | |- | ||
|Access | |Access | ||
|[http://<ip-do-atlas>:8123 http://<atlas-ip>:8123] | |[http://<ip-do-atlas>:8123 '''<u>http://<atlas-ip>:8123</u>'''] | ||
|- | |- | ||
|Configure MQTT | |Configure MQTT | ||
| Line 699: | Line 708: | ||
|sudo docker compose down | |sudo docker compose down | ||
|} | |} | ||