inversion-nl / nl.inversion.wunderground Goto Github PK
View Code? Open in Web Editor NEWWeather Underground app for Homey
Weather Underground app for Homey
If possible I'd like to have a flow condition for whether it's sunny or not.
Basically, I have a flow which will trigger when the sun is at it's highest (and it's not raining) to ask if the sun screen should be opened. However, since there are so many cloudy days around now, I'd prefer it to only ask me if it's also sunny outside :)
Issue 22 was closed because it should be solved but it is not solved with version v1.0.0.
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:49)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request.<anonymous> (/node_modules/request/request.js:1036:10)
at emitOne (events.js:120:20)
at Request.emit (events.js:210:7)
at IncomingMessage.<anonymous> (/node_modules/request/request.js:963:12)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1059:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Feature request could you add labels in for "knots" and "BF" km/u to knots is * 1.94384449244 BF is https://nl.wikipedia.org/wiki/Schaal_van_Beaufort
Hello,
Is it possible to add Solar radiation (w/m2) to the app card.
To insert a Weather-Station with a ID. You have to insert "pws:" before the ID.
I recommended to explain this in the settings page. I have found this solution in an issue on Github. Thanks for that!
I'm really love this app. Using the weather station from someone else. Really dutchie.
Remark. is it possible to add the weather forecast for the next hour or day?
A crash occurred for your app (version 0.2.5) at Nov 21, 2016 6:24 PM (UTC).
Homey software version: 1.0.1
Crash report:
TypeError: Cannot read property 'txt_forecast' of undefined
at null. (/app.js:457:49)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:26)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
Have s setting in settings to disable the build in voice triggers
The weather underground app on homey tells me that wind direction (schiphol) is ZZO
The website (https://www.wunderground.com/cgi-bin/findweather/getForecast?query=schiphol&MR=1) says is is NW.
All the other data is correct.
Would it be possible to create a trigger for temperature ranges?
!. When the temperature forecast drops below * then .......
2. When the temperature forecast rises above * then .....
TypeError: Cannot read property 'conditions' of null
at Object.updateWeather (/app.js:440:21)
at Object.trigger_update (/app.js:89:18)
at ontimeout (timers.js:469:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:264:5)
I can not find where to perform configuration?
In the settings I need to enter a personal key or I can only update every 90 min. I'm happy with the 90min, however there is no way to save, as the save button is disabled. The Test button is enabled, but obviously complains that the personal key is incorrect or overused. Can the app be changed so that it is possible to store the settings w/o having a personal key?
I would like to see Homey opens the sunscreen automaticly based on current wheater (opens when status is , and .
Is it possible to add a status for forcast predicitions (see https://www.wunderground.com/weather/api/d/docs?d=resources/phrase-glossary&_ga=2.112232580.1287320125.1495359498-1891528888.1486638204#forecast_description_numbers)?
SyntaxError: Unexpected token < in JSON at position 39
at JSON.parse ()
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:49)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:120:20)
at Request.emit (events.js:210:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1059:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Homey 10.9 and WU 0.2.5
Since 10.9 i had two crashes of WU
Stack trace:
TypeError: Cannot read property 'relative_humidity' of undefined
at null. (/app.js:479:72)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:26)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
Exit code: 1
Anyone else who got this
A crash occurred for your app (version 0.2.5) at Nov 19, 2016 11:47 PM (UTC).
Homey software version: 0.10.7
Crash report:
SyntaxError: Unexpected token <
at Object.parse (native)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:49)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
Would love to have an insight graph that shows the day temp and the night temp. (like saving the temperature around 13:00 for that day and 01:00 for the night) So you get a more clear view of how the temps where doing last month (without it dropping in the night/climbing during day)
Can you add a flow card with temperature forecast?
For example:
I would like my window covers to stay down in the morning when it will be warm in the afternoon so I can keep my home nice and cold! :)
Could you add this feature? Thanks!
When I use the action card "Temperature has changed" the attached tag temperature can't be used to set for example a better logic number var or to input as outside temperature in the opentherm gateway app. Temperature is set as a String, that is unwanted behaviour (at least for me).
Would it be possible to provide tags for each parameter?
So that in a flow you just get the actual value.
I have a workaround now with better logic and creating custom variables. but i have some issues setting them. I'm using the Temperature has changed card but the value's are not being set. I' will look into it tomorrow, maybe it just takes a long time for values to get initial set ( although insights are showing the correct values)
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:49)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.<anonymous> (/node_modules/request/request.js:1036:10)
at emitOne (events.js:121:20)
at Request.emit (events.js:211:7)
at IncomingMessage.<anonymous> (/node_modules/request/request.js:963:12)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1055:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Hi,
The App just crashed on my Homey with the following error:
Stack trace:
TypeError: Cannot read property 'relative_humidity' of undefined
at null. (/app.js:362:55)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:137:26)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
Just to let you know, it worked correct for a few weeks.
After changing some values in the settings page (interval and notification setting) the save button at the bottom stays grayed out.
I keep getting the following error after updating Homey to 0.8.39:
Stack trace:
TypeError: Cannot read property 'relative_humidity' of undefined
at null. (/app.js:529:55)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:137:26)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
Even with successfull connection it crashes homey the next morning while retrieving the weather info.
https://forum.athom.com/discussion/comment/39451/#Comment_39451
The lowest temperature will be the upcoming night.
Highest temperature will be the next day?
Just tried to install version 0.30 on Homey 1.1.2. When I run the project via CLI, I get the following debug log:
1/4 - Archiving...
2/4 - Uploading to Homey @ 192.168.1.34:80...
3/4 - Running nl.inversion.wunderground
, press CTRL+C to abort...
4/4 - Debugging...
[homey-log] App is running in debug mode, disabling log
Initializing Weather Underground
checkInsightsLogs
Registering trigger and condition listeners
Registering settings listener
Registering app unload listener
Check settings
No unit value existed, resetting to auto
Use error notifications: true
Error: Cannot find module 'node-uuid'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at generateUniqueId (/app.js:1463:16)
at Object.self.checkSettings (/app.js:192:28)
at Object.self.init (/app.js:75:14)
at /bootstrap.js:222:19
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
I use the read forecast card in a good morning flow, the card is not triggered and gets a red question mark with the error: missing_listener.
Hi,
I just found out tat Weather underground stopped their free api key service. Only paid api keys are available. The cheapest data package cost you about 850/mo.
Sorry to say cos I loved this app for Homey!
If there is any news I'm interested.
A crash occurred for your app (version 0.1.0) at Nov 19, 2016 1:50 PM (UTC).
Homey software version: 1.0.1
Crash report:
TypeError: Cannot read property 'count' of undefined
at Object.self.appWarning (/app.js:324:17)
at emitNone (events.js:72:20)
at Object.emit (events.js:166:7)
at /bootstrap.js:201:30
at /bootstrap.js:148:6
at Array.filter (native)
at WriteStream.cb (/bootstrap.js:147:39)
at emitNone (events.js:72:20)
at WriteStream.emit (events.js:166:7)
at finishMaybe (_stream_writable.js:481:14)
It looks as if the wind speed and the wind gusts are not correct. If I compare the insights tab with the values in the wunderground website they differ. Is this a known issue ?
A crash occurred for your app (version 0.2.5) at Nov 4, 2016 6:13 AM (UTC).
Homey software version: 0.10.7
Crash report:
TypeError: Cannot read property 'relative_humidity' of undefined
at null. (/app.js:479:72)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:26)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
please add wind direction flow card
App crashes every now and then, see below:
Stack trace:
TypeError: Cannot read property 'txt_forecast' of undefined
at null. (/app.js:457:49)
at Request._callback (/node_modules/wundergroundnode/lib/wundergroundnode.js:138:26)
at Request.self.callback (/node_modules/request/request.js:199:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/node_modules/request/request.js:1036:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/node_modules/request/request.js:963:12)
at emitNone (events.js:72:20)
Exit code: 1
Exit signal: null
I have inserted a manual location, see below
I tested and saved this location. When I switch to antoher App (for instance Smart Presence) and go back to the Weather Underground App the checkbox ("vinkje" in dutch) spontaniously is set on (Use Homey's location.) See below
Homey Insights shows the data based on Homey's location and not the manually set location (which I want).
Am I doing something wrong? Please help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.