Page 1 of 1
[mbsystem-moonset] string appears in email **solved**
Posted: Wed Oct 01, 2014 2:46 pm
by LAWx
I have a daily email that goes out including the moonrise and moonset. It was worked fine for weeks, but this morning's email contains the string literal [mbsystem-moonset] instead of a time. I'm not sure what would cause this.
Re: [mbsystem-moonset] string appears in email
Posted: Wed Oct 01, 2014 3:36 pm
by wvdkuil
LAWx wrote:I have a daily email that goes out including the moonrise and moonset. It was worked fine for weeks, but this morning's email contains the string literal [mbsystem-moonset] instead of a time. I'm not sure what would cause this.
When you do not add a "no data" string to a Metehub/Meteobridge sensor the whole sensor name is returned when there is no data to return.
And supprisingly even for weather people:
Not every day there is a moonrise, or a moonset either.
So you should always for EVERY sensor add a string for when there is no data available.
[mbsystem-moonset:--] or [mbsystem-moonset:before midnight] would probably work.
Succes, Wim
Re: [mbsystem-moonset] string appears in email
Posted: Wed Oct 01, 2014 8:33 pm
by admin
Wim, I couldn't have explained better, thanks!