在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):michaelmcarthur/GoogleGeocode-HASS开源软件地址(OpenSource Url):https://github.com/michaelmcarthur/GoogleGeocode-HASS开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Google GeocodeThis component has been created to be used with Home Assistant. Google geocode is the process of converting device tracker location into a human-readable address. The sensor will update the address each time the device tracker location changes. If the device tracker is in a zone it will display the zone. Installation:Copy the manifest.json file and place it in <config_dir>/custom_components/google_geocode/manifest.json Copy the sensor.py file and place it in <config_dir>/custom_components/google_geocode/sensor.py Example Screenshot:Example entry for configuration.yaml
Configuration variables:origin (Required): Tracking can be setup to track entity type device_tracker. The component updates it will use the latest location of that entity and update the sensor. name (Optional): A name to display on the sensor. The default is “Google Geocode" options (Optional): Select what level of address information you want. Choices are 'street_number', 'street', 'city', 'county', 'state', 'postal_code', 'country' or 'formatted_address'. You can use any combination of these options, separate each option with a comma. The default is “street, city" display_zone (Optional): Choose to display a zone when in a zone. Choices are 'show' or 'hide'. The default is 'show' gravatar (Optional): An email address for the device’s owner. You can set up a Gravatar here. If provided, it will override api_key (Optional): Your application’s API key (get one by following the instructions below). This key identifies your application for purposes of quota management. Most users will not need to use this unless multiple sensors are created. You need to register for an API key to use Google Geocode. This can be done by following these instructions
Example with optional entry for configuration.yaml
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论