开源软件名称:Sinclair81/Homebridge-Tasmota-TS
开源软件地址:https://github.com/Sinclair81/Homebridge-Tasmota-TS
开源编程语言:
TypeScript
100.0%
开源软件介绍:Homebridge-Tasmota-TS
Control your WLan sockets that are flashed with the Tasmota firmware.
Type of Accessory:
Installation
- Install homebridge using:
sudo npm install -g --unsafe-perm homebridge
- Install homebridge-config-ui-x using:
sudo npm install -g --unsafe-perm homebridge-config-ui-x
- Update your configuration file with this guide: smartapfel.de
- Install homebridge-tasmota-ts using: homebridge-config-ui-x's Webserver (Homebridge must be started with sudo for the installation.)
- Update your configuration file with code like the sample below
Homebridge-Tasmota-TS Main Configuration Parameters
Name |
Value |
Required |
Notes |
accessory |
"Tasmota-TS" |
yes |
Must be set to "Tasmota-TS". |
name |
(custom) |
yes |
Name of accessory that will appear in homekit app. |
device |
"Generic" |
no |
A Device String e.g. "Gosund SP111 A V1.1" or "SMAHO WiFi Plug" |
ip |
"10.0.0.100" |
yes |
Must be set to the IP of your Tasmota Device. |
relais |
1 |
no |
Relais Number - default is 1 |
user |
"none" |
no |
Must be set to the WebUsername - default WebUsername = admin . |
password |
"none" |
no |
Must be set to the WebPassword . |
updateInterval |
0 |
no |
Auto Update Interval in milliseconds, 0 = Off |
debugMsgLog |
0 |
no |
1 - Displays messages of accessories in the log. |
type |
"switch" |
yes |
Type of Accessory: "switch" |
"accessories": [
{
"accessory": "Tasmota-TS",
"name": "WLan socket 1",
"device": "SMAHO WiFi Plug",
"ip": "10.0.0.100",
"updateInterval": 30000,
"debugMsgLog": 1,
"type": "switch"
},
{
"accessory": "Tasmota-TS",
"name": "WLan socket 2",
"device": "Gosund SP111 A V1.1",
"ip": "10.0.0.101",
"relais": 1,
"user": "admin",
"password": "12345",
"updateInterval": 30000,
"debugMsgLog": 1,
"type": "switch"
}
]
The plugin that this one is based on: Homebridge-Logo-TS.
You can also view the full list of supported HomeKit Services and Characteristics in the HAP-NodeJS protocol repository.
Test Homebridge-Tasmota-TS
- Download or clone Homebridge-Tasmota-TS.
- Install:
$ npm install
- Build:
$ npm run build
- Run:
$ homebridge -D -P ~/Homebridge-Tasmota-TS
Flash Tasmota Firmware
- Firmware Binary
- NodeMCU-PyFlasher
- Tasmota Firmware Wiki
- Power Monitoring
- Gosund SP111 A V1.1 - Tasmota Config:
{"NAME":"Gosund SP111 A V1.1","GPIO":[57,255,56,255,132,134,0,0,131,17,0,21,0],"FLAG":0,"BASE":45}
- SMAHO WiFi Plug - Tasmota Config:
{"NAME":"SMAHO WiFi Plug","GPIO":[17,0,0,0,134,132,0,0,131,56,21,0,0],"FLAG":0,"BASE":18}
- Set Voltage:
http://10.0.0.100/cm?cmnd=VoltageSet 230 [in Volt]
- Set CurrentSet:
http://10.0.0.100/cm?cmnd=CurrentSet 326 [in milli Amper]
- Set Power:
http://10.0.0.100/cm?cmnd=PowerSet 75 [in Watt]
- Disable status LED blinking during Wi-Fi and MQTT connection problems:
http://10.0.0.100/cm?cmnd=SetOption31 1
|
请发表评论