Home Assistant
不能改用户ID
这个作者很懒,什么都没留下…
展开
-
【Home Assistant】NPS 内网穿透(自建服务器)
受够了 ngrok 内网穿透,抽空自建。原创 2023-05-14 18:38:33 · 593 阅读 · 1 评论 -
【Home Assistant】ngrok 内网穿透
Home Assistant 内网穿透原创 2022-08-21 16:57:54 · 1370 阅读 · 0 评论 -
【Home Assistant】command_line 执行本地 python 脚本文件实现网络唤醒开机
1.创建唤醒脚本在 configuration.yaml 文件同一目录下新建 python 文件夹,在python 文件夹内,创建 wake_on_lan.py 文件,内容如下:#!/usr/bin/pythonfrom socket import socket, AF_INET, SOCK_DGRAM, SOL_SOCKET, SO_BROADCASTdata = b'\xFF\xFF\xFF\xFF\xFF\xFF' + b'\x11\x22\x33\x44\x55\x66' * 16soc原创 2021-05-16 21:01:29 · 3833 阅读 · 0 评论 -
【Home Assistant】HACS 安装
https://hacs.xyz/docs/installation/prerequisites原创 2021-04-02 11:24:26 · 6029 阅读 · 1 评论 -
【Home Assistant】获取米家设备 token
软件下载方法1:来源 homeassistant 官网:https://www.home-assistant.io/integrations/xiaomi_miio/#retrieving-the-access-token软件1https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor软件2https://github.com/Maxmudjon/Get_MiHome_devices_token下载软件后,输入米家账号、密码原创 2021-03-29 20:07:32 · 5987 阅读 · 0 评论 -
【Home Assistant】设备在线检测 ping组件
#设备在线检测binary_sensor: - platform: ping name: mi11 count: 2 scan_interval: 5 host: 192.168.2.100 - platform: ping name: PC host: 192.168.2.66scan_interval 扫描间隔,单位秒count 每次发送的包数参考:https://www.home-assistant.io/integrati原创 2021-03-29 19:53:17 · 1529 阅读 · 0 评论 -
【Home Assistant】代码执行组件 command_line
sensor:#执行代码 - platform: command_line #command: python3 -c "import requests; print(requests.get('https://pypi.python.org/pypi/homeassistant/json').json()['info']['version'])" command: python3 -c "print('hello')" name: HA releasedocker原创 2021-03-29 19:50:59 · 872 阅读 · 0 评论 -
【Home Assistant】scrape 爬虫组件
sensor:# 使用爬虫组件 - platform: scrape resource: https://book.qidian.com/info/1019941746 name: 123 select: ".update .detail a" scan_interval: 3600 - platform: scrape resource: https://book.qidian.com/info/1023035179 name: 456 s原创 2021-03-29 19:49:45 · 492 阅读 · 0 评论 -
【软路由】esxi + ubuntu + docker 搭建 HomeAssistant
一、安装ESXI 6.71.安装过程一路下一步就可以2.设置IPF2进入设置:选择 “Configure Management Network” 然后 IPV4 configuration设置IP地址:设置完IP,用浏览器输入对应IP进行访问3.激活主机->管理->许可->输入 0U0QJ-FR1EP-KZQN9-J1C74-23P5R二、安装ubuntu系统下载服务器版本进行安装 https://ubuntu.com/download/server1. 设置 r原创 2021-03-29 18:09:44 · 3812 阅读 · 1 评论