HA: Difference between revisions
Content added Content deleted
(Page Created) |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Raspberrypi]] |
|||
__TOC__ |
|||
<br /> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
Source: [https://www.home-assistant.io/installation/raspberrypi#platform-installation home-assistant.io] |
Source: [https://www.home-assistant.io/installation/raspberrypi#platform-installation home-assistant.io] |
||
* Install Docker [https://aman.awiki.org/wiki/Rpi_Softwares#Docker Docker] |
|||
⚫ | |||
* Installation: |
|||
sudo docker run -d \ |
sudo docker run -d \ |
||
--name homeassistant \ |
--name homeassistant \ |
||
Line 16: | Line 21: | ||
--network=host \ |
--network=host \ |
||
ghcr.io/home-assistant/home-assistant:stable |
ghcr.io/home-assistant/home-assistant:stable |
||
= Notifications = |
|||
== Telegram == |
|||
#################################################### |
|||
# Telegram # |
|||
#################################################### |
|||
# Telegram Bot |
|||
telegram_bot: |
|||
- platform: polling |
|||
api_key: "1183862178:AAGfLdGrWFmCrTB53OhVF5eKxwF8s9_03Vk" |
|||
allowed_chat_ids: |
|||
- 1058880213 # Rpiwz Personal Chat |
|||
- -623610061 # My Family Group Chat |
|||
# Notifier |
|||
notify: |
|||
- platform: telegram |
|||
name: "rpiwz" |
|||
chat_id: 1058880213 |
|||
- platform: telegram |
|||
name: "myfamily" |
|||
chat_id: -623610061 |
|||
= Sensors = |
|||
== CPU Temperature == |
|||
#################################################### |
|||
# Command Line # |
|||
#################################################### |
|||
# Pi Temperature |
|||
command_line: |
|||
- sensor: |
|||
command: "cat /sys/class/thermal/thermal_zone0/temp" |
|||
name: HA CPU Temperature |
|||
unit_of_measurement: " C" |
|||
value_template: '{{ value | multiply(0.001) | round(1) }}' |
|||
<br /> |
|||
;References |
|||
<references/> |
|||
<br /> |
|||
<br /> |
|||
<br /> |
|||
{{DISQUS}} |
Revision as of 18:25, 25 April 2024
Installation
HomeAssist Docker Install
Source: home-assistant.io
- Install Docker Docker
- Installation:
sudo docker run -d \ --name homeassistant \ --privileged \ --restart=unless-stopped \ -e TZ=Europe/Dublin \ -v /home/pi/homeassist/config:/config \ -v /run/dbus:/run/dbus:ro \ --network=host \ ghcr.io/home-assistant/home-assistant:stable
Notifications
Telegram
- Telegram #
- Telegram Bot
telegram_bot:
- platform: polling api_key: "1183862178:AAGfLdGrWFmCrTB53OhVF5eKxwF8s9_03Vk" allowed_chat_ids: - 1058880213 # Rpiwz Personal Chat - -623610061 # My Family Group Chat
- Notifier
notify:
- platform: telegram name: "rpiwz" chat_id: 1058880213
- platform: telegram name: "myfamily" chat_id: -623610061
Sensors
CPU Temperature
- Command Line #
- Pi Temperature
command_line:
- sensor: command: "cat /sys/class/thermal/thermal_zone0/temp" name: HA CPU Temperature unit_of_measurement: " C" value_template: 'Template:Value'
- References
{{#widget:DISQUS
|id=networkm
|uniqid=HA
|url=https://aman.awiki.org/wiki/HA
}}