Read the statement by Michael Teeuw here.
MMM-BM-OW when 'no rain' for forecast undefined message received.
-
Hi,
I changed the string a bit. I added Math.round to forecast.daily[X].rain + “/mm Rain”
Math.round (forecast.daily[X].rain) + “/mm Rain”
and instead of undefind/mm Rain I now receive NaN/mm Rain.
Cool.
-
@scumbelly this needs some css help but… is this what you’re after?
-
Exceptional. That’s it! What’s the solution? I started to go down an isNAN() rabbit hole but as yet haven’t been successful.
Great job.
-
@scumbelly It takes rewriting parts of the entire module to make it work…
-
I don’t know if I’m headed in the right way but I’ve tried to make showRain a config option - true/false.
Right now it kinda loads - at least I get Openweather data… on the screen instead of a blank “dead zone”.
Gotta play more… Gotta learn more.
Cheers
-
@cowboysdude said in MMM-BM-OW when 'no rain' for forecast undefined message received.:
It takes rewriting parts of the entire module to make it work…
Uhhhh . . .
-
@scumbelly Have at it… it’s how you learn.
-
I’m going to move onto another module for now. I’ll revisit this in the future when I am more experienced. Right now I’m just self immolating.
Thanks for your time and effort.