Giter Site home page Giter Site logo

homebridge-weather-plus's Introduction

homebridge-weather-plus

npm npm GitHub last commit Weather

This is a weather plugin for homebridge that features current observations, daily forecasts and history graphs for multiple locations and services. You can download it via npm.

Screenshots Screenshots 2 and 3 are taken from the Elgato Eve app.

If you like this plugin and find it useful, I would be forever grateful for your support:

Buy Me A Coffee

Feel free to leave any feedback here.

Features

  • Get 27 observation and forecast values for up to 7 days
  • Choose from 3 different weather services
  • Add multiple locations/services
  • See the weather history in the Eve App
  • See all values, translations and icons in the Eve App
  • See all values in the Home app with compatibility mode "Home"
  • Use all values in HomeKit rules with the Eve App
  • Configure everything easily with the homebridge config-ui-x

Choose your Weather Service

This plugin supports multiple weather services. Each has its own advantages. The following table shows a comparison to help you to choose one.

OpenWeatherMap (recommended) Weather Underground 2 Tempest weather station 7
Current observation values 15 12 20
Forecast values 186 0 10
Forecast days today + 76 0 today + 9
Location city name, geo-coordinates station id local
Personal weather stations ✔️ ✔️ ✔️
Free ✔️ ✔️ (only if you own a station) ✔️ (you need the station)
Register here here here

You can add more services easily by forking the project and submitting a pull request for a new api file.

2 You can use the weather underground service only if you can provide weather data from your own station in exchange.
6 uv-index, dew point, sunrise, sunset are only available after registering for the new OpenWeatherMap One Call API 3.0, which is free as well. The old API also has 4 instead of 7 forecast days.
7 Weatherflow's Tempest is a physical weather station that can be installed in your home. Current weather conditions are published on home network.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-weather-plus Note: The installation might take 5 minutes.
  3. Gather an API key for a weather service from the register link in the table above
  4. Configure via the plugin homebridge-config-ui-x or update your configuration file manually. See the explanations and samples below.

Observations and Forecasts

The following observation and forecast values can be displayed and used in HomeKit rules, though not all weather sources provide all values below.
I recommend using the Eve app to see all the values. However, if you don't want to use a 3rd party app, use the compatibility mode home for displaying most values in the Apple home app.

  • Air Pressure
  • Cloud Cover
  • Condition
  • Condition Category 3, 4
  • Dew Point
  • Humidity
  • Ozone
  • Rain Currently
  • Rain Last Hour
  • Rain All Day
  • Rain Chance
  • Snow Currently
  • Solar Radiation
  • Sunrise Time
  • Sunset Time
  • Temperature
  • Temperature Min
  • Temperature Max
  • Temperature Apparent
  • Wet Bulb Temperature
  • UV-Index
  • Visibility
  • Light level
  • Wind Direction
  • Wind Speed
  • Wind Speed Maximum
  • Wind Speed Lull
  • Lightning Avg Distance
  • Lightning Strikes
  • Observation Time
  • Observation Station
  • Day of the forecast

3 Simple: clear (0), overcast (1), rain (2), snow (3)
4 Detailed: clear (0), few clouds (1), broken clouds (2), overcast (3), fog (4), drizzle (5), rain (6), hail (7), snow (8), severe weather (9)

Configuration

Below are example configurations for all weather apis.

OpenWeatherMap

key
The API key that you get by registering for the OpenWeather service API 3.0.

  • The service requires a payment method despite being free for 1000 calls per day. The plugin should not exceed this limit in the default interval configuration, but I cannot guarantee that!
  • To be on the safe side you can limit your api key to 1000 calls on the OpenWeather website under "Billing plans".
  • It can take up to 30 minutes until a newly generated ApiKey is accepted.

locationCity5
City name and optional country code, can be found here.

locationGeo5
List with the latitude and longitude for your location (don't forget the square brackets). You can get your coordinates: here.

5 You need only one of these location options.

"platforms": [
	{
		"platform": "WeatherPlus",
		"service": "openweathermap",
		"key": "YOUR_API_KEY",
		"locationCity": "Berlin, DE",
		"locationGeo": [52.5200066, 13.404954]
	}
]

Weather Underground

Since March 2019 you need to register your own weather station with Weather Underground to get weather data in exchange. After you registered your weather device (here), you can use the API.

key
The API key that you get by registering for the Weather Underground service.

stationId
Your personal StationID.

"platforms": [
    {
        "platform": "WeatherPlus",
        "service": "weatherunderground",
        "key": "YOUR_API_KEY",
        "stationId": "YOUR_STATION_ID"
    }
]

WeeWX

WeeWX is an open source software for your weather station monitoring that can be found (here), to utilize this plugin you need to have the following extension that create a JSON input that can be found here. Once that is installed a JSON response needs to be created using the following template that creates a JSON file on your server which can be created by adding a new file called YOUR_FILE_NAME_HERE.json.tmpl and adding it to the skin.conf file.

key
Weewx doesnt use a key but uses the key as the location for your JSON file. Just place the URL in the key and the app will use that to pull the json location.

locationCity
Used to indicate Weewx version. The homekit plugin requires an location field that is used to run. It technically can be any text you want but I just have added the Current Weewx versin..

"platforms": [
    {
        "platform": "WeatherPlus",
        "service": "weatherunderground",
        "key": "http://weewx.lan/homekit.json",
        "locationCity": "V.4.3.1"
    }
]

Tempest Weatherflow

The Tempest Weatherflow is a local weather reporting device that publishes the current weather on the local network via UDP packets. Data is broadcast once per minute, so the Interval setting is ignored. The physical station can only provide the current weather. This uses data published on your local network for the current weather, and therefore runs fine without an internet connection. Future forecasts are available from Tempest for your weather station using a Personal Use Token and your station id.

key
(Optional - only needed for Forecasts) The API key that you get by logging into your Account and creating a personal use token.

stationId
(Optional - only needed for Forecasts) Your personal StationID. Viewing your station settings, it is the number on the end of the URL.

"platforms": [
    {
        "platform": "WeatherPlus",
        "service": "tempest",
        "key": "PERSONAL_USE_TOKEN",
        "stationId": "STATION_ID"
    }
]

Advanced Configuration

Below are explanations for a lot of advanced parameters to adjust the plugin to your needs. All parameters are optional.

compatibility
Compatibility for the Apple Home app, the Eve app or both. This is required due to limitations in the Apple Home app recognized weather conditions. The default is "eve".
"eve" (recommended) Use this for the Eve app or another 3rd party HomeKit App. All conditions will be displayed. The Apple Home app will show only temperature and humidity.
"eve2" Same as above but the values for temperature, humidity and pressure will be grouped into a single row. The Apple Home app will show nothing.
"home" Use this if you don't want to install a 3rd party HomeKit App but want to see as many values as possible in the Apple Home app6. 3rd party apps will show some useless sensors that are required for Home app support.
"both" Combines eve and home. You will need to hide some useless sensors in the Eve app that are required for Home app support. But after that you will get a solution that looks nice in the Home app and in 3rd party apps at the same time.

6 The following values will be represented as occupancy sensors that trigger on specific limits: CloudCover > 20%, UVIndex > 2, WindSpeed > 4 m/s, Rain, Snow

conditionCategory
Detail level of the condition category. Not available for WeatherUnderground. Default is "simple".
"simple" 4 different categories
"detailed" 10 different categories

extraHumidity (compatibility "eve" or "both")
Separate humidity from the weather accessory to an own accessory if set to true. Default is false.

forecast
List of forecast days with 0 for today, 1 for tomorrow, 2 for in 2 days etc. Default are none []. Maximum depends on the chosen weather service.

hidden
List of observation and forecast values that should not be displayed. Possible options are ["AirPressure", "CloudCover", "Condition", "ConditionCategory", "DewPoint", "ForecastDay", "Humidity", "ObservationStation", "ObservationTime", "Ozone", "Rain1h", "RainBool", "RainChance", "RainDay", "SnowBool", "SolarRadiation", "TemperatureMin", "UVIndex", "Visibility", "WindDirection", "WindSpeed", "WindSpeedMax"]. Don't forget the square brackets.

interval
Update interval in minutes. The default is 4 minutes because the rate for free API keys is limited.

language
Translation for the current day. The default is en.

nameNow
Name for the current condition accessory. The default is "Now". You could set this to your city name or weather service type.

nameForecast
Name for the forecast accessories. Adds a prefix to the forecast days. You could set this to your city name or weather service type as well.

now Option to hide the Now accessory if you only need forecasts. Default is true which shows the Now accessory. Set to false to hide it.

units
Conversions used for reporting values. The default is "metric". The options are:
"si" or "metric"
"sitorr" to report air pressure in mmhg
"us" or "imperial"
"ca" to report wind speeds in km/h "uk" to report visibility in miles and wind speeds in miles/h

thresholdAirPressure (compatibility "home" or "both")
At what threshold should the air pressure sensor trigger? Provide a number without unit. The range depends on your unit setting (sitorr -> mmhg, otherwise -> hPa).

thresholdCloudCover (compatibility "home" or "both")
At what threshold should the cloud cover sensor trigger? Provide a number between 0 (clear) and 100 (overcast).

thresholdUvIndex (compatibility "home" or "both")
At what threshold should the UV-Index sensor trigger? Provide a number >= 0. See https://en.wikipedia.org/wiki/Ultraviolet_index

thresholdWindSpeed (compatibility "home" or "both")
At what threshold should the wind speed sensor trigger? Provide a number without unit. The range depends on your unit setting (si/metric/sitorr -> m/s, ca -> km/h, uk/us/imperial -> miles/h).

fakegatoParameters
Customization of the history storage system. By default, the history is persisted on the filesystem. You can set your own option using this parameter. In order to change the location of the persisted file or to use GoogleDrive. Do not modify the parameter for the fakegato internal timer.

Example

"platforms": [
    {
        "platform": "WeatherPlus",
        "service": "openweathermap",
        "key": "YOUR_API_KEY",
        "locationCity": "Berlin, DE",
        "locationGeo": [52.5200066, 13.404954],
        "compatibility": "both",
        "conditionCategory": "detailed",
        "forecast": [0,1,2,3,4,5,6],
        "hidden": ["CloudCover", "DewPoint"],
        "interval": 5,
        "language": "en",
        "nameNow": "Berlin",
        "nameForecast": "Berlin Forecast",
        "now": true,
        "units": "metric"
    }
]

Multiple Stations Configuration

You can set up multiple stations for different locations and weather services by putting your configuration in a stations array. The following parameters are global and must be placed outside of the array: platform, interval, units.

Each stations must have a unique displayName. If you don't set one, the plugin will take care of that.

Example

"platforms": [
    {
        "platform": "WeatherPlus",
        "interval": 5,
        "units": "si",
        "stations": [
            {
                "displayName": "Berlin",
                "displayNameForecast": "Berlin forefacst",
                "service": "openweathermap",
                "key": "YOUR_API_KEY",
                "forecast": [0,1,2,3,4,5,6],
                "locationGeo": [52.5200066,13.404954]
            },
            {
                "displayName": "Los Angeles",
                "displayNameForecast": "Los Angeles forecast",
                "service": "openweathermap",
                "key": "YOUR_API_KEY",
                "forecast": [1],
                "locationGeo": [34.0536909,-118.2427666]
            }
        ]
    }
]

Example Use Cases

  • Switch on a blue light in the morning when the chance for rain is above 20% today (or white when the forecast condition is snow / yellow when it's sunny).
  • Start your automatic garden irrigation in the evening, depending on the amount of rain today and the forecast for tomorrow.

Hint: To trigger rules based on time and weather condition you will need a plugin like homebridge-delay-switch. Create a dummy switch that resets after some seconds. Set this switch to on with a timed rule. Then create a condition rule that triggers when the switch goes on depending on weather conditions of your choice.

Contributors

Many thanks to the awesome contributors who support the project with pull requests (chronological order):

  • simont77 for his fakegato-history library, the eve weather emulation, the multiple stations feature and several other great improvements
  • GatoPharaoh for his interval option pull request
  • David Werth for integrating the OpenWeatherMap and Yahoo apis
  • Marshall T. Rose for adding support for imperial units and the displayName parameter
  • Bill Waggoner for his fix for the crashing weatherunderground api
  • Russell Sonnenschein for adding the new 2019 weatherunderground api
  • Jay O'Conor for improving the value rounding and fixing the wind sensor for non metric units
  • Angela Herring for adding compatibility mode for total precip and improving the WeatherUnderground integration
  • CHAMLEX for integration the WeeWX api
  • Zerosignal84 for fixing the uv index range
  • Vincent Niehues for adding rain chance characteristic to the OpenWeatherMap api
  • Hendrik-Cv for updating the OpenWeatherMap api to v3.0
  • David Carson for integration with Tempest WeatherFlow and fixing several bugs in different apis (essentially maintaining the plugin since 2023)

Also thanks to numerous people helping with the docs.

This plugin is a fork of homebridge-weather-station which is no longer being developed. That one was a fork of homebridge-wunderground.

Attribution

homebridge-weather-plus's People

Contributors

angelaherring avatar chamlex avatar ctgreybeard avatar dacarson avatar davidjbradshaw avatar eiryu avatar gatopharaoh avatar gizmotronic avatar hendrik-cv avatar jkreileder avatar joconor avatar kcharwood avatar mcclurec avatar mrose17 avatar naofireblade avatar rivera-ernesto avatar rsonnens avatar simont77 avatar vniehues avatar werthdavid avatar xfjx avatar zerosignal84 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-weather-plus's Issues

not showing in eve app

Hi,

i think i'm just missing something, but the Plugin is not showing up in Eve or HomeKit.

this is my configuration:

{ "platform": "WeatherPlus", "name": "WeatherPlus", "service": "darksky", "key": "XXXXXXXXXXXXX", "locationGeo": [ xxxxxxxxx, xxxxxxxxx ], "language": "en", "units": "si", "forecast": [ 1, 2, 3, 4, 5, 6, 7 ] }

do i have to add this as accessory?

New Yahoo API

Hi,
are you aware of this advise from Yahoo?

“Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact [email protected] for credentials to onboard to this free Yahoo Weather API service.”

First Wunderground, now Yahoo, It seems more and more difficult to get access to free weather APIs...

Debug module security issue

Hi,
is there any particular reason to stay wtth debug 2.2.0? There a security issue with that version, fixed in 2.6.9

Weather Underground Plugin Error

Hi,

iam getting the following error since updating the homebridhe weather plug plugin to version 2.7.0:

/homebridge/node_modules/homebridge-weather-plus/api/weatherunderground.js:78
report.AirPressure = parseInt(values.pressure_mb);
^
TypeError: Cannot read property 'pressure_mb' of undefined
at WundergroundAPI.parseReport (/homebridge/node_modules/homebridge-weather-plus/api/weatherunderground.js:78:46)
at WundergroundAPI. (/homebridge/node_modules/homebridge-weather-plus/api/weatherunderground.js:58:39)
at Request._callback (/homebridge/node_modules/wundergroundnode/lib/wundergroundnode.js:137:26)
at Request.self.callback (/homebridge/node_modules/request/request.js:185:22)
at Request.emit (events.js:189:13)
at Request. (/homebridge/node_modules/request/request.js:1161:10)
at Request.emit (events.js:189:13)
at IncomingMessage. (/homebridge/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:277:13)
at IncomingMessage.emit (events.js:194:15)

Weather Condition Category incorrect

Hi,

I installed your plugin to make some automations with the telegram Plugin etc.

According to your README file you configured the plugin like this:

Condition Category (Sun = 0, Clouds = 1, Rain = 2, Snow = 3)

I then checked in the controller App to use 0, 1, 2, 3 as a condition but there it shows me for 0: Bewoelkt, 1 for Nebel, ...

So something is not correct here...

If I can not properly choose the condition category numbers, do you know if there is a way to use your sentence for Weather Condition in Telegram? So that it checks your sentence and copies it into a telegram notification?

Thx in advance!

Eve weather data gaps

Sometimes there are gaps in the history of the temperature, airpressure and humidity. Is there something I can do about it? Is the data stored on the iOS device or inside of homebridge?

1.2.2 crash

homebridge crashes with the following log when updating the values in the Eve app.

/usr/lib/node_modules/homebridge-weather-station-extended/index.js:399
                                        pressure: this.accessories[i].currentConditionsService.getCharacteristic(Characteristic.AirPressure).value,
                                                                                                         ^
TypeError: Cannot read property 'value' of undefined
    at WeatherStationPlatform.addHistory (/usr/lib/node_modules/homebridge-weather-station-extended/index.js:399:106)
    at ontimeout (timers.js:460:11)
    at tryOnTimeout (timers.js:298:5)
    at Timer.listOnTimeout (timers.js:261:5)
homebridge-weather.service: Main process exited, code=exited, status=1/FAILURE
homebridge-weather.service: Unit entered failed state.
homebridge-weather.service: Failed with result 'exit-code'.

new plug-in inspired by this one

I created a new plug-in to be a single-purpose homebridge plug-in for turning on and off snow-melting mats. It was inspired by this project but I removed most of the features to make it a simple switch that looks for impending snow.

I gave credit to this plug-in and wanted to give you a shout-out for the excellent work. My original thought was to fork and extend this plug-in but then thought the audience for it would be fairly niche and they would not necessarily need the full set of features. Also, I wanted it to be a simple switch that could trigger the single action rather than needing to add additional virtual switches to trigger checking the values of the weather.

The new plug-in is called homebridge-snowswitch which is a simple switch that goes on and off depending on the snow forecast and current conditions.

Thanks for your great plug-in and inspiration.

History

Why history don’t work in app eve?

Multiple weather stations

Is there any possibility to add multiple 'accessories', either in it's current form in the config or with some changes?

It would be useful to have multiple weather stations, for example a 'local' one, as well as a city, or perhaps another personal weather station elsewhere.

User Education: Unable to add to HomeKit

Apologies, I'm sure this is a simple user education scenario.

I've added the configuration section to my platforms array (example below) and the platform appears to initialize; however, I'm unable to see any new accessories when I attempt to add it to my Home in HomeKit. The Weather Station initialization appears to be complete

config.json (snippet)
"platforms": [ { "platform": "Nest-cam", "username": "[email protected]", "password": "XXXXXXXXXXXXXXXX", "useOMX": false }, { "platform": "WeatherStation", "name": "Weather Station", "key": "XXXXXXXXXXXXXXXX", "location": "pws:KWAMONRO11" } ]

Homebridge console
[2018-3-23 05:03:53] Loaded plugin: homebridge-nest-cam [2018-3-23 05:03:53] Registering platform 'homebridge-nest-cam.Nest-cam' [2018-3-23 05:03:53] --- [2018-3-23 05:03:53] Loaded plugin: homebridge-weather-station-extended [2018-3-23 05:03:53] Registering platform 'homebridge-wunderground-extended.WeatherStation' [2018-3-23 05:03:53] --- [2018-3-23 05:03:53] Loaded config.json with 0 accessories and 2 platforms. [2018-3-23 05:03:53] --- [2018-3-23 05:03:53] Loading 2 platforms... [2018-3-23 05:03:53] [Nest-cam] Initializing Nest-cam platform... [2018-3-23 05:03:53] [Weather Station] Initializing WeatherStation platform... [2018-3-23 05:03:53] [Weather Station] Initializing platform accessory 'Now'... [2018-3-23 05:03:53] [Weather Station] Initializing platform accessory 'Today'... [2018-3-23 05:03:53] [Weather Station] Initializing platform accessory 'In 1 Day'... [2018-3-23 05:03:53] [Weather Station] Initializing platform accessory 'In 2 Days'... [2018-3-23 05:03:53] [Weather Station] Initializing platform accessory 'In 3 Days'... [2018-3-23 05:03:53] Loading 0 accessories... Setup Payload: X-HM://XXXXXXXXXX Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Add four season value?

Hello,

is it possible that you add a value for the four seasons in your plugin?

Would be great for certain functions.

Greeting Nastra

DarkSky Interval Question

Since the DarkSky API "allows up to 1,000 free calls per day" can the interval be set to 1.5 or does it need to be a single digit?

Thanks

Impossible to configure config.json

Hello,

I need to assign a different area than the example:

{ "platform": "WeatherStation", "name": "Weather Station", "key": "XXXXXXXXXXXXXX", "location": "78613" }

I tried to assign longitude and latitude but, I cannot see how can I do it.

May I ask you about ho can be the right syntax?

Many thanks in advance.

plugin installed, but homebridge not recognizing it.

I'm getting the plugin as not registered now, it is probably a stupid problem on my part, but I cannot for the life of me figure it out.
Here is the log:

Sep 05 07:48:51 raspberrypi homebridge[2989]: /usr/local/lib/node_modules/homebridge/lib/api.js:64
Sep 05 07:48:51 raspberrypi homebridge[2989]: throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");
Sep 05 07:48:51 raspberrypi homebridge[2989]: ^
Sep 05 07:48:51 raspberrypi homebridge[2799]: Error: The requested accessory 'WUWeatherStationExtended' was not registered by any plugin.
Sep 05 07:48:51 raspberrypi homebridge[2799]: at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:254:42)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:81:38)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Module._compile (module.js:571:32)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Object.Module._extensions..js (module.js:580:10)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Module.load (module.js:488:32)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at tryModuleLoad (module.js:447:12)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Function.Module._load (module.js:439:3)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at Module.runMain (module.js:605:10)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at run (bootstrap_node.js:425:7)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at startup (bootstrap_node.js:146:9)
Sep 05 07:48:51 raspberrypi homebridge[2799]: at bootstrap_node.js:540:3
Sep 05 07:48:51 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Sep 05 07:48:51 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

and requisite part of the config

  {
    "accessory": "WUWeatherStationExtended",
    "name": "Weather Station",
    "interval": "4",
    "key": "xxxxxxxxxxxxxxx",
    "location": "pws:KTXTYLER51",
    "forecast": "today"
  }

Temperature Forecast

Is it possible to add minimum temperature forecast? The plugin only shows maximum temperature forecast. I want to use the plugin for indicating frost forecast.

Homebrigde loads plugin but platform is not loaded from config.json

Problem:
Homebridge loads the homebridge-weather-station-extended plugin but does not detect the platform declaration in ~/.homebridge/config.json

[2018-4-8 21:12:50] Loaded plugin: homebridge-simplisafe-security-system
[2018-4-8 21:12:50] Registering accessory 'homebridge-simplisafe.Homebridge-SimpliSafe'
[2018-4-8 21:12:50] ---
[2018-4-8 21:12:51] Loaded plugin: homebridge-weather-station-extended
[2018-4-8 21:12:51] Registering platform 'homebridge-wunderground-extended.WeatherStation'
[2018-4-8 21:12:51] ---
[2018-4-8 21:12:51] Loaded config.json with 1 accessories and 0 platforms.
[2018-4-8 21:12:51] ---
[2018-4-8 21:12:51] Loading 1 accessories...
[2018-4-8 21:12:51] [SimpliSafe] Initializing Homebridge-SimpliSafe accessory...

The Homebridge and SimpliSafe accessories both show-up in the Apple Home app as expected. Seems like something is wrong with my config.json but I do not see anything obviously wrong with it. Will you please help me out?

Setup:
Homebridge v0.4.38 on RPI 3 B+ running Raspbian 9 (stretch)
Apple TV 4K running tvOS 11.3
iPhone X running iOS 11.3

~/.homebridge/config.json
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "home name",

"platform": [
    {
            "platform": "WeatherStation",
            "name": "Weather Station",
            "key": "api key",
            "location": "zip code"
    }
],

"accessories": [
    {
        "accessory": "Homebridge-SimpliSafe",
        "name": "SimpliSafe",
    "auth": {
            "username": "username",
            "password": "password"
    }
    }
]

}

Issue with openweathermap-apis

Hi,
I found an issue with the openweathermap api module that you are using. Actually, if network is not up when weather update is requested, an unhandled exception is thrown by the http module and homebridge crashes. The issue has been reported to the developer of openweathermap-apis, but apparently it is not developed anymore
CICCIOSGAMINO/openweather-apis#23 Did you try other openweathermap API? I tried to catch the exception in homebridge-Weather-plus but since it is an async exception it seems to be possible to catch it only directly in the calling function.

Cannot read property 'date' of undefined

A failure in the module is causing homebridge to crash. Here is the output from my error file

TypeError: Cannot read property 'date' of undefined at Wunderground.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-station-extended/index.js:323:80) at Request._callback (/usr/local/lib/node_modules/homebridge-weather-station-extended/node_modules/wundergroundnode/lib/wundergroundnode.js:148:22) at Request.self.callback (/usr/local/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:194:7) at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:1163:10) at emitOne (events.js:96:13) at Request.emit (events.js:191:7) at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:1085:12) at Object.onceWrapper (events.js:293:19) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:188:7) at endReadableNT (_stream_readable.js:975:12) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)

Possible to grab data from specific weather stations

Hi

is it possible to grab the data from specific weather stations?
if you visit the weather overview of a city and scroll all the way down you can see weather stations located in that city and all of it's data

Every single station has a unique ID e.g. ICALIFORN123

Would it be possible to grab the data just from a specific station instead of the whole city?

thank you in advance

still problems with Weather Underground

Updated to 2.7.1 version of the plugin but still getting errors with Weather Underground:

[2019-3-31 19:25:11] [MeteoBCN] Error retrieving weather report for Weather Underground
[2019-3-31 19:25:11] [MeteoBCN] Error Message: TypeError: Cannot read property 'pressure_mb' of undefined
[2019-3-31 19:25:11] [MeteoBCN] Error parsing weather report (forecastday[0]) for Weather Underground
[2019-3-31 19:25:11] [MeteoBCN] Error Message: TypeError: Cannot read property 'simpleforecast' of undefined

any ideas?

Weathercloud as a Service

hey there

with the demise of weather underground allowing pws to be easily used via there api, wondering if Weathercloud will be able to be added as a service for this Homebridge plugin, have been using this service for over a year now with great reliability.

https://weathercloud.net

not sure how involved tis will be to implement into this plugin, but appreciate the work you do for us to be able to utilise this plugin

Cheers

Lcd send data

Is possible sent data to lcd connected to RASPBERRY ?

error in updateWeather hangs homebridge

looks like wunderground returned incomplete data, and it hung homebridge, requiring a restart. Maybe the whole thing should be wrapped in a try catch?

/opt/local/lib/node_modules/homebridge-weather-station-extended/index.js:323
						service.setCharacteristic(CustomCharacteristic.ForecastDay, forecast[day]['date']['weekday']);
						                                                                         ^

TypeError: Cannot read property 'date' of undefined
    at Wunderground.<anonymous> (/opt/local/lib/node_modules/homebridge-weather-station-extended/index.js:323:80)
    at Request._callback (/opt/local/lib/node_modules/homebridge-weather-station-extended/node_modules/wundergroundnode/lib/wundergroundnode.js:148:22)
    at Request.self.callback (/opt/local/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/opt/local/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/opt/local/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:1085:12)
    at IncomingMessage.g (events.js:291:16)

No graph data

I have updated the plugin and uninstalled the eve app and reinstalled it to see the graphs. But, unfortunately, no graph data is shown. Is there another way to enable this?

Change in Wunderground parameters?

I'm getting a new error with this module. Is it possible that Wunderground changed how they arrange their parameters?:

/usr/lib/node_modules/homebridge-weather-station-extended/index.js:323
service.setCharacteristic(CustomCharacteristic.ForecastDay, forecast[day]['date']['weekday']);
^

TypeError: Cannot read property 'date' of undefined
at Wunderground. (/usr/lib/node_modules/homebridge-weather-station-extended/index.js:323:80)
at Request._callback (/usr/lib/node_modules/homebridge-weather-station-extended/node_modules/wundergroundnode/lib/wundergroundnode.js:148:22)
at Request.self.callback (/usr/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:186:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/usr/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:1163:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/usr/lib/node_modules/homebridge-weather-station-extended/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

Direction of temperature change

This is an enhancement request. It would be helpful to know if the current temperature is decreasing or increasing. There might be better ideas on how to implement this, but it might work if the current reading is higher than the last two readings, then a value would indicate the temperature was rising. If the current reading is lower then the last two, then the temperature is going down. If previous readings are the same, or higher and lower, or no readings are available, then the value would indicate staying steady.

Support imperial units for Weather Station Data

Hello! I've got a strange issue on this one!

When using your plugin my Weather Station Data in the Eve App for the Now, Today, 123Day Buttons is being displayed in half Imperial and half metric.

The Temperature seems to be correct, Air Pressure and Humidity are correct too.

But Rain Last Hour, Rain Today, Solar Radiation, Visibility, Wind Speed, and Wind Speed Max are showing in Metric versus Imperial.

Thanks for taking a look. I looked in Eve and did not see anywhere that I could change a setting, but maybe I missed it.

And thanks for your hard work on this plugin for homebridge!

-Shawn

Some texts are not translated

I choose to let me display the results of "Dark Sky" in the language "de".
But inside the Eve App I still can see eg. the texts "Now", "Today" or "In x days". Also some texts of the measured values like "Ozone" are still in English.

Is it not possible to get them also translated?

Best Regards!
Carsten

Update to 2.0.4 interrupts

Trying to update weather-plus but the update interrupts on step

extract:node-forge: sill extract node-forge@^0.7.1 extra

The npm process won't proceed. Latest Homebridge, Node v8.9.4. Any ideas?

Eve history sometimes won't update

My last issue was closed by myself regarding the history inside the Eve app. But now I've discovered that sometimes Eve won't update anymore until I delete and reinstall the app. After that all the history is gone and I have to go through all the reconfiguring inside the app hassle again. Do you have the same issue sometimes? It is very strange I can't see a pattern when this happens. Now this has just happened on my iPhone, while my iPad is reading the history as expected.

I have an issue with this plugin

[2018-4-19 17:53:23] [WeatherStation] Found no current observations
[2018-4-19 17:53:23] [WeatherStation] { response: 
   { version: '0.1',
     termsofService: 'http://www.wunderground.com/weather/api/d/terms.html',
     features: { conditions: 1, forecast: 1 },
     results: [ [Object], [Object], [Object] ] } }
[2018-4-19 17:53:23] [WeatherStation] Found no forecast

I use "Valencia, Spain" as location

SOLVED: "location": "pws:IVALENCI181"

Eve Weather emulation

Hi naofireblade,
as you know some time ago I forked your plugin for using it as a test bench for fakegato. Now you greatly evolved it, with API for services different from the original Wunderground. Now that Wunderground will probably shutdown free API access, I would like to move myself to your new version, but I would still prefer to emulate Eve Weather, with its custom service rather than the standard temperature service, so I would implement some modifications. Would you be interested in such an option for your plugin? If so, I would add this feature as an optional parameter and issue a pull request.
Let me know.

Cannot get plugin to start without errors

Here's my json for the plugin. Removing it from my config, then homebridge loads fine.
{
"platform": "WeatherPlus",
"name": "Weather",
"service": "darksky",
"key": "xxxxxxxxxxxxxxxxx",
"location": [##, -##],
"language": "en",
"forecast": [1]
}

and of course, when loading the platform i get this error

Aug 22 11:18:54 raspberrypi homebridge[3612]: [2018-8-22 11:18:54] [homebridge-plex-sensors.Plex] Initializing homebridge-plex-sensors.Plex platform...
Aug 22 11:18:54 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 11:18:54 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Aug 22 11:18:54 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Aug 22 11:19:04 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.

Weather-Plus being the next platform to load.

How do I get anything but temperature

Its installed as described, I get my forecasts in Homekit which is great.
But its just showing temperature, I want to have the other observations like rain today etc.
Where am I going wrong?

problem with fake-gato data

here is the log - looks like it finds undefined somwhere :( - but still saves some data in json:

[1/15/2019, 1:55:06 PM] [WeatherPlus] **Fakegato-timer: executeCallbacks**
[1/15/2019, 1:55:06 PM] [WeatherPlus] First entry undefined: 0
[1/15/2019, 1:55:06 PM] [WeatherPlus] Last entry undefined: 18
[1/15/2019, 1:55:06 PM] [WeatherPlus] Used memory undefined: 18
[1/15/2019, 1:55:06 PM] [WeatherPlus] 116 undefined: b734000000000000f3daed2103 0102 0202 03021900c00f00000000000000000101
[1/15/2019, 1:55:06 PM] [WeatherPlus] ** Fakegato-storage write FS file: /root/.homebridge/Homebridge_undefined_persist.json "firstEntry":0,"lastEntry":24,"usedMemory":24,"refTime":569236211,"initialTime":
[1/15/2019, 1:55:06 PM] [WeatherPlus] **Fakegato-timer: emptyData ** undefined
[1/15/2019, 1:59:04 PM] [WeatherPlus] Clock adjust undefined: 9810ee21
[1/15/2019, 1:59:04 PM] [WeatherPlus] Data request undefined: 01140500000000
[1/15/2019, 1:59:04 PM] [WeatherPlus] Address requested undefined: 5
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 6, Address: 6
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 7, Address: 7
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 8, Address: 8
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 9, Address: 9
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 10, Address: 10
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 11, Address: 11
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 12, Address: 12
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 13, Address: 13
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 14, Address: 14
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 15, Address: 15
[1/15/2019, 1:59:04 PM] [WeatherPlus] Data undefined:  1505000000 0100 0000 81f3daed210000 0000 00 0000 10 060000006009000007a6ffd0206a27 10 07000000b80b000007a6ffd0206a27 10 08000000100e000007b0ff34216027 10 090000006810000007baff34216027 10 0a000000c012000007c4ff98216027 10 0b0000001815000007cefffc216027 10 0c0000007017000007baff1c256027 10 0d000000c819000007c4ff1c256027 10 0e000000201c000007ceff1c256027 10 0f000000781e000007e2ff1c255627
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 16, Address: 16
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 17, Address: 17
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 18, Address: 18
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 19, Address: 19
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 20, Address: 20
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 21, Address: 21
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 22, Address: 22
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 23, Address: 23
[1/15/2019, 1:59:04 PM] [WeatherPlus] undefined Entry: 24, Address: 24
[1/15/2019, 1:59:04 PM] [WeatherPlus] Data undefined:  10 10000000d020000007e2ff1c255627 10 110000002823000007f6ffb8245627 10 1200000080250000070000b8245627 10 13000000d827000007c4ff1c256027 10 14000000302a000007ceff1c255627 10 15000000882c000007e2ffb8245627 10 16000000e02e000007f6ff54245627 10 1700000038310000070000f0235627 10 18000000b734000007f1ff8c235627

content of json:

cat /root/.homebridge/Homebridge_undefined_persist.json
{"firstEntry":0,"lastEntry":32,"usedMemory":32,"refTime":569236211,"initialTime":1547543411,"history":["noValue",{"time":1547543411,"setRefTime":1},{"temp":-1.6,"pressure":1009,"humidity":87.5,"time":1547543411},{"temp":-1.5,"pressure":1009,"humidity":88,"time":1547544011},{"temp":-1.4,"pressure":1009,"humidity":88,"time":1547544611},{"temp":-1.3,"pressure":1009,"humidity":88,"time":1547545211},{"temp":-0.9,"pressure":1009,"humidity":84,"time":1547545811},{"temp":-0.9,"pressure":1009,"humidity":84,"time":1547546411},{"temp":-0.8,"pressure":1008,"humidity":85,"time":1547547011},{"temp":-0.7,"pressure":1008,"humidity":85,"time":1547547611},{"temp":-0.6,"pressure":1008,"humidity":86,"time":1547548211},{"temp":-0.5,"pressure":1008,"humidity":87,"time":1547548811},{"temp":-0.7,"pressure":1008,"humidity":95,"time":1547549411},{"temp":-0.6,"pressure":1008,"humidity":95,"time":1547550011},{"temp":-0.5,"pressure":1008,"humidity":95,"time":1547550611},{"temp":-0.3,"pressure":1007,"humidity":95,"time":1547551211},{"temp":-0.3,"pressure":1007,"humidity":95,"time":1547551811},{"temp":-0.1,"pressure":1007,"humidity":94,"time":1547552411},{"temp":0,"pressure":1007,"humidity":94,"time":1547553011},{"temp":-0.6,"pressure":1008,"humidity":95,"time":1547553611},{"temp":-0.5,"pressure":1007,"humidity":95,"time":1547554211},{"temp":-0.3,"pressure":1007,"humidity":94,"time":1547554811},{"temp":-0.1,"pressure":1007,"humidity":93,"time":1547555411},{"temp":0,"pressure":1007,"humidity":92,"time":1547556011},{"temp":-0.15,"pressure":1007,"humidity":91,"time":1547556906},{"temp":-0.2,"pressure":1007,"humidity":90,"time":1547557506},{"temp":-0.1,"pressure":1007,"humidity":89,"time":1547558106},{"temp":0,"pressure":1007,"humidity":89,"time":1547558706},{"temp":0.1,"pressure":1007,"humidity":88,"time":1547559306},{"temp":-0.7,"pressure":1007,"humidity":97,"time":1547559906},{"temp":-0.5,"pressure":1007,"humidity":96,"time":1547560506},{"temp":-0.4,"pressure":1007,"humidity":95,"time":1547561106},{"temp":-0.2,"pressure":1007,"humidity":94,"time":1547561706}]}

found another part of a log maybe more helpful in diagnosing what is wrong :)

[1/16/2019, 9:57:25 AM] [WeatherPlus] Initializing WeatherPlus platform...
[1/16/2019, 9:57:25 AM] [WeatherPlus] ** Fakegato-storage AddWriter : undefined
[1/16/2019, 9:57:25 AM] [WeatherPlus] Loading...
[1/16/2019, 9:57:26 AM] [WeatherPlus] ** Fakegato-storage read FS file: /root/.homebridge/Homebridge_undefined_persist.json
[1/16/2019, 9:57:26 AM] [WeatherPlus] ** Fakegato-timer Subscription : undefined
[1/16/2019, 9:57:26 AM] [WeatherPlus] Registring Events undefined
[1/16/2019, 9:57:26 AM] [WeatherPlus] Accessory undefined
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'Now'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'Today'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'In 1 Day'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'In 2 Days'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'In 3 Days'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'In 4 Days'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'In 5 Days'...
[1/16/2019, 9:57:26 AM] [WeatherPlus] Initializing platform accessory 'In 6 Days'...

Exposing more than temperature to Homekit

Even using Elgato's Eve, I am only seeing the daily high temperatures. I would like to see current conditions as well (planning to turn on my roof cables if it is snowing). I'm guessing this involves updating the config.json file, but I'm not sure if I'm to add accessories, or if more lines are needed in the platform section. Please help!

Negative temperature

Hi, this seams à recurring problem from other packages.

The negatives temperature values are showed as 0. On the northern regions the temperature is currently negative specially showed in celsius.

Other have fixes fixes this by changing the minimum value to -100 to force homekit to accept it.
While creating the accessories.

Can this be done here ?

Regards

Error getting Temperature

I loaded the app, I set the forecast for 3days. I see all the parameters, I only see temperature NOW.
I do see parameters for everything else. In Homekit app from apple I also get "No Response" on forecast days. But when I access the data from another app, I do see information there.

Temperature for forecast days displays error. everything else works.

Also it seems to give the "No Response" on other devices on the same page. But when I tap on them they come online.

Localization options

Maybe it is possible add some localization options for the current observations "now" and the forecast "Today", "In 1 Day", "In 2 Days" and "In 3 Days"?

Type: Sensor

Would it be possible to have homebridge-weather-station-extended introduce the data as Sensors which would allow direct usage of Automation in the Home app?

Perhaps this is not the intended usage of sensors and highly frowned upon.

Ability to show humidity as a tile in Home/Eve

I just switched from homebridge-openweathermap to this plugin as this one has a lot more data available and is also greatly integrated with the Eve app!
Great work on that!

The 1 thing that I miss from openweathermap is the ability to show the humidity on a tile in favorites.

Is there a way to do this myself or does it have to be implemented in the code?

I hope this will become available in future versions!

Keep up the great work!

Problem with logging

There is some problem with the logging, almost nothing gets logged

Here is the config:

{
	"platform": "WeatherStation",
	"name": "Weather Station",
	"key": "***",
	"location": "OSD"
}

And below is the logs.

20:47:59 - HAP Warning: Characteristic undefined not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.
20:47:59 - [Weather Station] Exception while parsing current observations: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: cd65a9ab-85ad-494a-b2bd-2f380084134d
20:47:59 - [Weather Station] Exception while parsing forecast for day #0: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:47:59 - [Weather Station] Exception while parsing forecast for day #1: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:47:59 - [Weather Station] Exception while parsing forecast for day #2: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:47:59 - [Weather Station] Exception while parsing forecast for day #3: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:51:58 - HAP Warning: Characteristic undefined not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.
20:51:58 - [Weather Station] Exception while parsing current observations: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: cd65a9ab-85ad-494a-b2bd-2f380084134d
20:51:58 - [Weather Station] Exception while parsing forecast for day #0: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:51:58 - [Weather Station] Exception while parsing forecast for day #1: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:51:58 - [Weather Station] Exception while parsing forecast for day #2: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:51:58 - [Weather Station] Exception while parsing forecast for day #3: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:55:59 - [Weather Station] Exception while parsing current observations: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: cd65a9ab-85ad-494a-b2bd-2f380084134d
20:55:59 - [Weather Station] Exception while parsing forecast for day #2: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:55:59 - [Weather Station] Exception while parsing forecast for day #1: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:55:59 - [Weather Station] Exception while parsing forecast for day #0: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 57f1d4b2-0e7e-4307-95b5-808750e2c1c7
20:55:59 - HAP Warning: Characteristic undefined not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.

Name and translate

Hello,

thanks a lot for your plugin ! It's a good help for the Eve Homekit App...

But i'm facing an issue with the name and translation.

here's an extract of my config:

        "language": "fr",
        "units": "ca",
        "displayName": "Aujourd'hui",
        "displayNameForecast": "Demain",
        "forecast": [
            2
        ]

Here's what I get on Eve app

image

As you can seen, it should all be in French, and the name of the device should only be:

  • "Demain" instead of "Demain in day 1"
  • the day (Journée) should be "Dimanche" instead of "Sunday"

Any idea of what I should change or update, because everything else is fine ?

Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.