[mbsystem-moonset] string appears in email **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
LAWx
Senior Boarder
Senior Boarder
Posts: 56
Joined: Sun Apr 14, 2013 2:46 am

[mbsystem-moonset] string appears in email **solved**

Post 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.
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: [mbsystem-moonset] string appears in email

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: [mbsystem-moonset] string appears in email

Post by admin »

Wim, I couldn't have explained better, thanks!
Post Reply