Open builderjer opened 1 year ago
maybe we can add a little twist. Even though it's nighttime i'd probably like to know the condition (cloudy, rain, etc.) if i can squeeze time, i'll check the options.
Yes, all of the icons are there, just not added
That involves work on both weather and homescreen skill btw. Weather sends a code 0-7 and based on that homescreen is showing the svg.
I'm looking into overlay moon + condition a make them code 01, 02, ...
neons weather skill works with all of the icons and the same homescreen as ovos
notice that this is kind of a hack neon uses. It doesn't send a code, but the image location of the homescreen skill image.
(Both skills setting the code of sun
and moon
to 0, homescreen doesn't have a code for moon)
Furthermore it only differentiates between night and night(cloudy). The other conditions fall flat. I intend to also map other conditions (rain, wind, ...)
Nice!!
Looking at the code it's relatively easy. is_day
is passed to the Condition class. Just the map has to be expanded/broken down, overlays like night cloudy to be created and the additional code sent to homescreen expanded.
On a second look, not that easy compat-wise.
Neon doesn't care about Mark1. And we are stuck because of that. I think @JarbasAl has to step in for suggestions.
neon has their own weather skill
On a second look, not that easy compat-wise.
Neon doesn't care about Mark1. And we are stuck because of that. I think @JarbasAl has to step in for suggestions.
dont worry about the Mk1 , it is not officially supported yet and the new codes should be handled there too!
neon has their own weather skill
not sure what the differences are, other than using the NeonMQ backend proxy instead of OpenMeteo as provider
but skills should be synced if Neon is diverging in anything other than provider, I assumed that was the case already with PRs being sent here
Yes, I sent it here because neon already handled it, even if it is hacky
I am creating this issue here so I don't forget. The weather icon does not change from "sun" to "moon" after sunset. The neon version does, and all of the icons are present, so it probably just needs to check the time against 'sunset' and 'sunrise'.