在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:allistoncarlos/homebridge-servo-switch开源软件地址:https://github.com/allistoncarlos/homebridge-servo-switch开源编程语言:JavaScript 80.5%开源软件介绍:Homebridge Servo SwitchControl a Servo Motor through Homebridge as a switch. Designed to use with RaspberryPi and Homebridge, it helps to transform a dumb lightswitch to a smart one. Depends on python-shell package. Installation$ sudo npm install -g homebridge-servo-switch Configuration
Where
Using Servo Motor with NodeMCUI've uploaded a INO file to be used with NodeMCU. It creates a HTTP Server that allows Homebridge to connect and control, through Homebridge HTTP Plugin. I'm using D4, 3v and GND pins to connect the Servo on NodeMCU. Follows the config.json to configure it EXCLUSIVELY when using NodeMCU {
"accessory": "HTTP-RGB",
"name": "Light Test",
"switch": {
"status": "http://<YOUR_IP>/switch/status",
"powerOn": "http://<YOUR_IP>/switch/1",
"powerOff": "http://<YOUR_IP>/switch/0"
}
} Doubts, suggestions and bugsPlease feel free to report at Issues page |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论