Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connects to query.yahooapis.com even no Yahoo ID is set #1

Closed
christoph-morrison opened this issue Jan 10, 2019 · 1 comment
Closed
Assignees
Labels
bug Something isn't working invalid This doesn't seem right
Projects

Comments

@christoph-morrison
Copy link
Collaborator

heikoh81 reports a wrongful behavior for 59_Twilight. He didn't define a Yahoo ID, but Twilight does connect to the (not longer active) host query.yahooapis.com:

2019.01.07 00:11:01 3: [myTwilight] got no weather info from yahoo. Error code: gethostbyname query.yahooapis.com failed
2019.01.07 00:11:01 3: [myTwilight] 12 attempt(s) needed got NO valid weather data from yahoo

This should not be.

@christoph-morrison christoph-morrison added the bug Something isn't working label Jan 10, 2019
@christoph-morrison christoph-morrison added this to To do in Rewrite via automation Jan 10, 2019
@christoph-morrison christoph-morrison self-assigned this Jan 13, 2019
@christoph-morrison christoph-morrison added the invalid This doesn't seem right label Jan 13, 2019
@christoph-morrison
Copy link
Collaborator Author

After further investigation: heikoh81 did indeed provide an Yahoo ID:


Internals:
   CONDITION  50
   DEF        48.7xx 9.1xx 1 652005
   INDOOR_HORIZON 1
   LATITUDE   48.7xx
   LONGITUDE  9.1xx
   NAME       myTwilight
   NR         205
   STATE      12
   SUNPOS_OFFSET 300
   SWIP       1
   TYPE       Twilight
   VERSUCHE   0
   WEATHER    652005
   WEATHER_HORIZON 0
   READINGS:
     2019-01-10 18:40:54   aktEvent        ss_astro
     2019-01-10 21:28:57   azimuth         290.48
     2019-01-10 21:28:57   compasspoint    west
     2019-01-04 00:00:01   condition       28
     2019-01-04 00:00:01   condition_txt   Mostly Cloudy
     2019-01-10 21:28:57   elevation       -44.79
     2019-01-10 18:40:54   horizon         -18
     2019-01-10 18:40:54   light           0
     2019-01-10 18:40:54   nextEvent       sr_astro
     2019-01-10 18:40:54   nextEventTime   06:20:31
     2019-01-10 03:14:41   sr              08:20:38
     2019-01-10 03:14:41   sr_astro        06:20:31
     2019-01-10 03:14:41   sr_civil        07:38:12
     2019-01-10 03:14:41   sr_indoor       08:28:04
     2019-01-10 03:14:41   sr_naut         06:58:31
     2019-01-10 15:51:55   sr_weather      08:20:38
     2019-01-10 03:14:41   ss              16:40:44
     2019-01-10 03:14:41   ss_astro        18:40:54
     2019-01-10 03:14:41   ss_civil        17:23:09
     2019-01-10 03:14:41   ss_indoor       16:33:17
     2019-01-10 03:14:41   ss_naut         18:02:52
     2019-01-10 15:51:55   ss_weather      16:40:44
     2019-01-10 18:40:54   state           12
     2019-01-10 21:28:57   twilight        0
     2019-01-10 21:28:57   twilight_weather 0
   TIMER:
     myTwilight_Midnight:
       HASH       myTwilight
       MODIFIER   Midnight
       NAME       myTwilight_Midnight
     myTwilight_sr:
       DEG        0
       HASH       myTwilight
       LIGHT      4
       MODIFIER   sr
       NAME       myTwilight_sr
       NAMENEXT   sr_indoor
       STATE      4
       SWIP       0
       TIME       1547104838.03
     myTwilight_sr_astro:
       DEG        -18
       HASH       myTwilight
       LIGHT      1
       MODIFIER   sr_astro
       NAME       myTwilight_sr_astro
       NAMENEXT   sr_naut
       STATE      1
       SWIP       0
       TIME       1547097631
     myTwilight_sr_civil:
       DEG        -6
       HASH       myTwilight
       LIGHT      3
       MODIFIER   sr_civil
       NAME       myTwilight_sr_civil
       NAMENEXT   sr
       STATE      3
       SWIP       0
       TIME       1547102292.02
     myTwilight_sr_indoor:
       DEG        1
       HASH       myTwilight
       LIGHT      5
       MODIFIER   sr_indoor
       NAME       myTwilight_sr_indoor
       NAMENEXT   sr_weather
       STATE      5
       SWIP       0
       TIME       1547105284.04
     myTwilight_sr_naut:
       DEG        -12
       HASH       myTwilight
       LIGHT      2
       MODIFIER   sr_naut
       NAME       myTwilight_sr_naut
       NAMENEXT   sr_civil
       STATE      2
       SWIP       0
       TIME       1547099911.01
     myTwilight_sr_weather:
       DEG        0
       HASH       myTwilight
       LIGHT      6
       MODIFIER   sr_weather
       NAME       myTwilight_sr_weather
       NAMENEXT   ss_weather
       STATE      6
       SWIP       1
       TIME       1547104838.05
     myTwilight_ss:
       DEG        0
       HASH       myTwilight
       LIGHT      3
       MODIFIER   ss
       NAME       myTwilight_ss
       NAMENEXT   ss_civil
       STATE      9
       SWIP       0
       TIME       1547134844.97
     myTwilight_ss_astro:
       DEG        -18
       HASH       myTwilight
       LIGHT      0
       MODIFIER   ss_astro
       NAME       myTwilight_ss_astro
       NAMENEXT   sr_astro
       STATE      12
       SWIP       0
       TIME       1547142054
     myTwilight_ss_civil:
       DEG        -6
       HASH       myTwilight
       LIGHT      2
       MODIFIER   ss_civil
       NAME       myTwilight_ss_civil
       NAMENEXT   ss_naut
       STATE      10
       SWIP       0
       TIME       1547137389.98
     myTwilight_ss_indoor:
       DEG        1
       HASH       myTwilight
       LIGHT      4
       MODIFIER   ss_indoor
       NAME       myTwilight_ss_indoor
       NAMENEXT   ss
       STATE      8
       SWIP       0
       TIME       1547134397.96
     myTwilight_ss_naut:
       DEG        -12
       HASH       myTwilight
       LIGHT      1
       MODIFIER   ss_naut
       NAME       myTwilight_ss_naut
       NAMENEXT   ss_astro
       STATE      11
       SWIP       0
       TIME       1547139772.99
     myTwilight_ss_weather:
       DEG        0
       HASH       myTwilight
       LIGHT      5
       MODIFIER   ss_weather
       NAME       myTwilight_ss_weather
       NAMENEXT   ss_indoor
       STATE      7
       SWIP       1
       TIME       1547134844.95
     myTwilight_sunpos:
       HASH       myTwilight
       MODIFIER   sunpos
       NAME       myTwilight_sunpos
   TW:
     sr:
       DEG        0
       LIGHT      4
       NAME       sr
       NAMENEXT   sr_indoor
       STATE      4
       SWIP       0
       TIME       1547104838.03
     sr_astro:
       DEG        -18
       LIGHT      1
       NAME       sr_astro
       NAMENEXT   sr_naut
       STATE      1
       SWIP       0
       TIME       1547097631
     sr_civil:
       DEG        -6
       LIGHT      3
       NAME       sr_civil
       NAMENEXT   sr
       STATE      3
       SWIP       0
       TIME       1547102292.02
     sr_indoor:
       DEG        1
       LIGHT      5
       NAME       sr_indoor
       NAMENEXT   sr_weather
       STATE      5
       SWIP       0
       TIME       1547105284.04
     sr_naut:
       DEG        -12
       LIGHT      2
       NAME       sr_naut
       NAMENEXT   sr_civil
       STATE      2
       SWIP       0
       TIME       1547099911.01
     sr_weather:
       DEG        0
       LIGHT      6
       NAME       sr_weather
       NAMENEXT   ss_weather
       STATE      6
       SWIP       1
       TIME       1547104838.05
     ss:
       DEG        0
       LIGHT      3
       NAME       ss
       NAMENEXT   ss_civil
       STATE      9
       SWIP       0
       TIME       1547134844.97
     ss_astro:
       DEG        -18
       LIGHT      0
       NAME       ss_astro
       NAMENEXT   sr_astro
       STATE      12
       SWIP       0
       TIME       1547142054
     ss_civil:
       DEG        -6
       LIGHT      2
       NAME       ss_civil
       NAMENEXT   ss_naut
       STATE      10
       SWIP       0
       TIME       1547137389.98
     ss_indoor:
       DEG        1
       LIGHT      4
       NAME       ss_indoor
       NAMENEXT   ss
       STATE      8
       SWIP       0
       TIME       1547134397.96
     ss_naut:
       DEG        -12
       LIGHT      1
       NAME       ss_naut
       NAMENEXT   ss_astro
       STATE      11
       SWIP       0
       TIME       1547139772.99
     ss_weather:
       DEG        0
       LIGHT      5
       NAME       ss_weather
       NAMENEXT   ss_indoor
       STATE      7
       SWIP       1
       TIME       1547134844.95
Attributes:
   verbose    2

Rewrite automation moved this from To do to Done Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
Rewrite
  
Done
Development

No branches or pull requests

1 participant