Comments (19)
Alright, this is added in v3.0.0-beta.1
You can test the beta with npm install -g homebridge-weather-plus@beta
from homebridge-weather-plus.
Currently not implemented. You could use both plugins at the same time or open a PR π
from homebridge-weather-plus.
interested in this as well. thanks.
from homebridge-weather-plus.
+1, Interested in this functionality as well! great work on the project! maybe an additional value for 'currentObservations' that breaks out relative humidity into it's own object..
edit:
you can accomplish this by using plugin: homebridge-weather(if using OpenWeatherMap Service)
from homebridge-weather-plus.
Interested in this as well. May attempt to add it when I have some free time, but if anyone else has time, I am totally ok with you beating me to it!
from homebridge-weather-plus.
I'm working on this for the next release.
from homebridge-weather-plus.
Added in v3.0.0 (not yet released).
from homebridge-weather-plus.
Seeing an error... using DarkSky:
Oct 31 14:38:33 raspberrypi homebridge[30313]: [10/31/2019, 14:38:33] TypeError: Cannot read property 'toLowerCase' of undefined
Oct 31 14:38:33 raspberrypi homebridge[30313]: at WeatherPlusPlatform.parseStationConfig (/usr/lib/node_modules/homebridge-weather-plus/index.js:118:43)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at /usr/lib/node_modules/homebridge-weather-plus/index.js:57:8
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Array.forEach (<anonymous>:null:null)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at new WeatherPlusPlatform (/usr/lib/node_modules/homebridge-weather-plus/index.js:54:22)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:337:32)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:90:36)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:59:10)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Module._compile (internal/modules/cjs/loader.js:956:30)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Module.load (internal/modules/cjs/loader.js:812:32)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Function.Module._load (internal/modules/cjs/loader.js:724:14)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
Oct 31 14:38:33 raspberrypi homebridge[30313]: at internal/main/run_main_module.js:17:11
Oct 31 14:38:33 raspberrypi homebridge[30313]: [10/31/2019, 14:38:33] Got SIGTERM, shutting down Homebridge...
here is my config (key and gps removed):
"platforms": [
{
"platform": "WeatherPlus",
"name": "WeatherPlus",
"service": "darksky",
"key": "removed",
"locationGeo": [0.00,0.00],
"units": "us",
"displayName": "Outside",
"compatibility": "mix"
},
]
from homebridge-weather-plus.
Thanks for the log and config. I fixed it in version 3.0.0-beta.2
You also need to add this to the config to make humidity an extra tile "extraHumidity" = true,
And you can get rid of βnameβ in the latest version.
You can find the latest readme with updated examples in the 3.0.0 branch oder here: https://www.npmjs.com/package/homebridge-weather-plus/v/3.0.0-beta.2
from homebridge-weather-plus.
Working great!
from homebridge-weather-plus.
Hi!
Great to see my request being added! Thanks for that!
However I seem to have an issue adding the extraHumidity part.
When adding "extraHumidity": "true", I'm getting following error when starting homebridge:
[2019-12-8 14:36:15] [WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
[2019-12-8 14:36:15] [WeatherPlus] Forecast: undefined
[2019-12-8 14:36:15] [WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
[2019-12-8 14:36:15] [WeatherPlus] Forecast: undefined
[2019-12-8 14:36:15] [WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
[2019-12-8 14:36:15] [WeatherPlus] Forecast: undefined
[2019-12-8 14:36:15] [WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
[2019-12-8 14:36:15] [WeatherPlus] Forecast: undefined
[2019-12-8 14:36:15] [WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
[2019-12-8 14:36:15] [WeatherPlus] Forecast: undefined
I checked previous posts and you mention using "extraHumidity" = true, but this triggers a syntax error as it's not a correct layout for the json file.
How should I add the feature correctly?
Thanks in advance!
from homebridge-weather-plus.
@kimme1024 I assume you used syntax "extraHumidity": true ?
from homebridge-weather-plus.
@kimme1024 I assume you used syntax "extraHumidity": true ?
First I've used:
"extraHumidity": "true",
as this was in line with the other ones
now I just tried
"extraHumidity": true,
Sadly with the same results.
EDIT:
I just checked and temperature and humidity are shown in the app.
However the forecast doesn't work anymore.
from homebridge-weather-plus.
plugin version v3.0.4
Added "extraHumidity": true and get extra Humidity but can conform that my 2 day forecast is gone.
[WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
from homebridge-weather-plus.
plugin version v3.0.4
Added "extraHumidity": true and get extra Humidity but can conform that my 2 day forecast is gone.
[WeatherPlus] Exception while parsing weather forecast: TypeError: Cannot read property 'setCharacteristic' of undefined
same issue here
from homebridge-weather-plus.
@tooh @kimme1024 could u provide your config please?
from homebridge-weather-plus.
I just removed the forecast for now.
{
"platform": "WeatherPlus",
"service": "darksky",
"compatibility": "eve",
"extraHumidity": true,
"key": "xxx",
"locationGeo": [
50.947881,
4.60274
],
"interval": "5",
"displayName": "Temperature",
"language": "en"
},
from homebridge-weather-plus.
I just added a forecast to your config and its working for me. Could you check I u still experience problems with the latest version 3.1.1 please?
{
"platform": "WeatherPlus",
"service": "darksky",
"compatibility": "eve",
"extraHumidity": true,
"key": "xxx",
"locationGeo": [
50.947881,
4.60274
],
"interval": "5",
"displayName": "Temperature",
"language": "en",
"forecast": [0,1,2]
}
from homebridge-weather-plus.
I think the issue no longer exists. I will close this until new information is provided.
from homebridge-weather-plus.
Related Issues (20)
- weewx problem HOT 1
- Network event and crash HOT 1
- openweathermap set to metric only HOT 3
- [homebridge-weather-plus] Could not retreive weather report with API 3.0, trying API 2.5 now ... HOT 5
- UV index is always 0 HOT 7
- Sharing Wind Speed Hack HOT 1
- Remove support for DarkSky HOT 3
- Each sensor is named "Now" HOT 9
- Temperature data is merged when you have multiple weather stations HOT 1
- OpenWeatherMap nor forcast devices, data available in Browser HOT 3
- Cannot read properties of undefined (reading 'list') HOT 6
- Openweather map dew point and UV index HOT 10
- [Tempest Weatherflow] When station offline: 1) history repeats last measurement forever, 2) one warning per minute in log HOT 11
- [Tempest WeatherFlow] v3.3.2 ReferenceError: accumulation is not defined HOT 9
- [Weatherflow Tempest] Report additional failed sensors HOT 2
- Error retrieving weather report: undefined HOT 10
- thresholdCloudCover on openweathermap.org HOT 16
- Add Light Level history/graphing support HOT 4
- [Weatherflow Tempest] Bizarrely reporting 0ΒΊC, even though the Tempest app does not HOT 40
- Unable to uninstall or update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-weather-plus.