This plugin integrates the esphome platform into homebridge so that you don't have to gothrough homeassistant if you don't want to (not that there is anything wrong with that). It makes use of the native API of esphomeso that you can expect instant updates for all your binary sensors what have you.
Supported components include:
This project is currently still in beta, but I thought that many eyes see more than justmy two :)
Unless you haven't done so already, make sure to install homebridge first. See instructionshere. Once you have done this, you can install this plugin by typing
npm i -g homebridge-esphome-ts
Once this is done, you can configure your homebridge config.json according to the next section.
{
"platform": "esphome",
"devices": [
{
"host": "my_esp.local",
"password": "Passw0rd!",
"port": 9001,
"retryAfter": 120000 // optional, time in milliseconds!
}
],
"retryAfter": 60000 // optional, time in milliseconds!
}
Only the host
key is mandatory under devices. As password ''
is assumed aka no password and the defaultport number 6053 is also wired into the plugin. You can add, in theory, as many ESP devices as you want tothat array.
If some of your devices are password-less you can enable devices discovery to let the plugin find all yourdevices by setting discover: true
in platform configuration. In case if you don't have any password-secureddevices you can even fully omit "devices"
section in platform configuration.
In case you don't have a working esphome configuration you can have look at the examples folder. There you willfind both an example homebridge config.json
file as well as an example esphome configuration. For further guidanceon esphome please check out their website.
Both retryAfter
keys are as explained optional and need to contain an integer that tells this pluginafter what time frame it should try to reconnect. Keep in mind that this value needs to be in milliseconds. The innerretryAfter
will trump the outer value if present. The default value is 90 seconds.
If for some reason you want to exclude a specific component from this plugin justadd a key containing its name (as it was defined in esphome and is shown initially in HomeKit) to a string array under the key blacklist
:
{
"platform": "esphome",
"devices": [
...
],
"blacklist": [
"My blacklisted switch"
]
}
Please make sure to add the api
entry to your config!
If you still have problems please feel free to open a ticket on GitHub. Before doing so add this to yourconfig "debug": true
. The plugin will now output what it has gotten from your ESP device.Please append this when you open a ticket here on GitHub. Please attach your config as well and makesure to remove any sensitive information such as WiFi passwords.
In addition to simply writing stuff to the console, it will also write everything received from your devices to individualfiles under /tmp
. You can then submit these files with any issues you might file on GitHub.
Slight warning The writing of these files means that it will also occupy more space on your SD card or whatever youmight have. So simply turn off this option once you don't need it anymore.
这两天在折腾esphome来接入homeassistant,感觉啥都可以来控制, 物料说明:nodemcu一个,四路继电器一个,200v to 3.3v模块一个, 1.首先上代码 esphome: name: my_out platform: ESP8266 board: nodemcuv2 wifi: ssid: "Xiaomi" password: "1292993725"
手动更新esphome固件包 这里我才用了pip3的安装 基于linux操作系统下的环境 市容winSCP文件上传 固件路径 /usr/local/lib/python3.7/dist-packages/esphome/ 下载官方的esphome文件,找到\components,把这个文件直接拖入进去替换即可,如果不放心,可以把整个esphome拖入替换
一、思想 最近想用esphome flasher工具,然后百度一下,看见某些人为了那几个币居然还要付费下载,真几把 二、下载 这是windows的下载点击 三、原文地址 esphome flasher 在github上的下载地址,里面包含了linux,window,mac的下载还有手动下载的方式 点击 四、 readme部分内容 ESPHome-Flasher ESPHome-Flasher is
esphome: name: xxx friendly_name: xxx esp8266: board: esp01_1m # Enable logging logger: # Enable Home Assistant API api: encryption: key: "FmNG2S8tc9ZtD/xDErosQdkWMzHCMIx93aXSN4HCD3s="
Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。
homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support
homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A
homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r
Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg
Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r