question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sunset_time & sunset_time sensors missing

See original GitHub issue

Hi!

I have added the following to my config monitored_conditions:

- sunset_time
- sunrise_time

However, these sensors do not appear. Is there something special about them?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:29 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander0042commented, Nov 25, 2022

Oh wow! @jchhenderson, it doesn’t look like much, but you actually found a bug in the API, not just the integration! Since my goal for the API is drop-in compatibility with Dark Sky, I try to return the same json structure as what they do, and never noticed that I was missing precip_intensity for the daily data block.

I’ll push an update to the API itself to add this in, and you should notice these sensors start returning data later today. It’ll just be accumulation divided by 24 hours, but since it’s in Dark Sky, it needs to be here too!

1reaction
JCHH2commented, Nov 25, 2022

Adding…

forecast:
 - 0

has brought an unknown sensor sensor.pirateweather_precip_intensity_0d.

I bring this up because sensor.pirateweather_precip_intensity is fine.

If I add extra days to the forecast all the sensor.pirateweather_precip_intensity_xd sensors are unknown. All other _xd sensors are fine.

Is this an error or just how it is?

cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sunset time has not been updating for a while : r/SmartThings
My location is set correctly, and even if it wasn't the sunset time should be changing. Not sure what to do to fix...
Read more >
Dark Sky Sunrise / Sunset Times Off - Configuration
I've created a dark sky sensor and everything appears to be working fine except the sunrise and sunet times are way off.
Read more >
The Time Listed for Sunrise or Sunset is Wrong on My Garmin ...
Garmin watches and handhelds, with GPS capabilities, determine sunrise and sunset based on their most recent GPS location, or a location you have...
Read more >
Can't create automation with sunset/sunrise time combined ...
For instance, I have a motion sensor in the bedroom that I would like to trigger a set of lamps ON only after...
Read more >
Sunrise and sunset times in Des Moines - Time and Date
2022, Sunrise/Sunset, Daylength, Astronomical Twilight, Nautical Twilight, Civil Twilight, Solar Noon. Dec, Sunrise, Sunset, Length, Diff.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found