Git Product home page Git Product logo

nl.inversion.wunderground's People

Contributors

robinbol avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nl.inversion.wunderground's Issues

Use Homey's location

I have inserted a manual location, see below

image

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

image

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.

Wind speed / Wind gusts

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 ?

TypeError: Cannot read property 'conditions' of null

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)

Cannot save settings

After changing some values in the settings page (interval and notification setting) the save button at the bottom stays grayed out.

Flow card with temperature forecast

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!

App crashed

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)

Crash - Cannot read property 'txt_forecast' of undefined

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)

Crash

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)

[Request] Seperate day and night temp logging in insight

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)

SyntaxError: Unexpected end of JSON input

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)

Unexpected token < in JSON at position 0

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)

Crash

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)

crash wu

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

SyntaxError: Unexpected token < in JSON at position 39

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)

Temperature forecast trigger

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 .....

Manual Setting page

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?
image

node-uuid missing via CLI install

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)

App just crashed

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.

App crashes every time

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

Solar radiation

Hello,

Is it possible to add Solar radiation (w/m2) to the app card.

Values as tags

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)

Temperature isn't a number?

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).

"personal key overused" message when storing settings w/o personal key

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?

Wunderground v1.0.1

Even with successfull connection it crashes homey the next morning while retrieving the weather info.

Crash - SyntaxError: Unexpected token <

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)

[Request] Flow Condition - Sunny

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 :)

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.