Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть HAdashboard in a Python Virtual Environment!!

  • BurnsHA
  • 2018-05-18
  • 2531
HAdashboard in a Python Virtual Environment!!
home assistanthasssmart homehome automationhadashboarddashboardappdaemonpythonvirtualenvironmentvenv
  • ok logo

Скачать HAdashboard in a Python Virtual Environment!! бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно HAdashboard in a Python Virtual Environment!! или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку HAdashboard in a Python Virtual Environment!! бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео HAdashboard in a Python Virtual Environment!!

This video is a tutorial on how to setup HAdashboard in a Python Virtual environment!

Here is a link to get you started...

http://appdaemon.readthedocs.io/en/la...

For starters, make sure your system is up to date....

sudo apt update
sudo apt upgrade

Next we are ready to setup the python virtual environment....

python -m venv appdaemon
cd appdaemon
source bin/activate
python -m pip install wheel

Now we are ready to install appdaemon...

python3 -m install appdaemon
mkdir conf
cd conf
vi appdaemon.yaml

log:
logfile: /home/adrian/appdaemon/conf/appdaemon.log
errorfile: /home/adrian/appdaemon/conf/aderror.log
appdaemon:
threads: 10
app_dir: /home/adrian/appdaemon/conf/apps
plugins:
HASS:
type: hass
ha_url: http://10.10.10.235:8123
hadashboard:
dash_url: http://10.10.10.235:5050
dash_dir: /home/adrian/appdaemon/conf/dashboards

Once thats done, create a couple of folders referenced in the config file...

mkdir apps
mkdir dashboards

Now we are ready to setup a service file for autoboot.....

sudo vi /etc/systemd/system/appdaemon.service

[Unit]
Description=Appdaemon for HASS
After=network-online.target

[Service]
Type=simple
User=adrian
ExecStart=/home/adrian/appdaemon/bin/appdaemon -D DEBUG -c "/home/adrian/appdaemon/conf"

[Install]
WantedBy=multi-user.target

Save that and enabled the service....

sudo systemctl daemon-reload
sudo systemctl enable appdaemon.service
sudo systemctl start appdaemon.service
sudo systemctl status appdaemon.service

Now we are ready to create a test dashboard.....

cd dashboards
vi main.dash

title: Main
widget_dimensions: [170,180]
widget_margins: [15,15]
columns: 11

clock:
widget_type: clock

switch:
widget_type: switch
entity: switch.hasspower
state_text: 1

reload:
widget_type: reload

layout:
clock(4x2), switch(2x2)
-
-
reload(1x1)

sudo systemctl restart appdaemon.service

You should be good to go now, you can view the new dashboard by going to...

http://IP.OF.APPDAEMON:5050

If you like the video, please subscribe to my channel. If you have any questions or comments, hit me up in the comments below. If there are any videos out there you would like to see that I don't already have out there, let me know in the comments as well and Ill see if I can't get something put together.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]