在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:kcharwood/homebridge-weather-station开源软件地址:https://github.com/kcharwood/homebridge-weather-station开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-weather-stationThis is a weather station plugin for Nfarina's Homebridge project,and is a fork of homebridge-wunderground. This fork combines all characterstics into a single service, exposes the current weather conditons, and automatically updates every few minutes. You can use these values as conditions for triggers or just look at them via HomeKit enabled Apps on your iOS device or even ask Siri for them. Weather ConditionsCurrently, the current weather conditions are exposed in two properties,
You can combine this with the homebridge-suncalc to create rules that turn on and off the lights when its raining during the day. Installation
All you need now is a developer key for Weather Underground which can be easily created here. ConfigurationConfiguration sample: Add the following information to your config file. Make sure to add your API key and provice your city or postal code. "accessories": [
{
"accessory": "WUWeatherStation",
"name": "Weather Station",
"key": "XXXXXXXXXXXXXXX",
"location": "78613"
}
] Location can be any value that wunderground is able to associate with a known location (city, state, zip, etc) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论