Page 1 of 1

Logs shows message about "European weather alert"

PostPosted: Sun Nov 12, 2017 12:12 am
by WouterK
Hi,

Since one of the latest version I am getting a message about the "European weather alert Information" in the log which I did not see before:

    WUnderground Info European weather alert Information provided by , <a href='http://meteoalarm.eu/'>EUMETNET - MeteoAlarm</a> Note: Time delays between this website and <a href='http://meteoalarm.eu/'>Meteoalarm.eu</a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, please visit <a href='http://meteoalarm.eu/'>Meteoalarm</a>. For terms of use of this information, and copyright information, see <a href='http://meteoalarm.eu/'>Meteoalarm</a> Terms of Use.

Debug is disabled. Is there a setting to hide this message?

Thanks

Regards,

Wouter

Re: Logs shows message about "European weather alert"

PostPosted: Sun Nov 12, 2017 6:58 am
by DaveL17
Hi WouterK - Are you pulling weather data from EUMETNET? If yes, I'm afraid that I must display the message as a part of Weather Underground's terms of service (if the 'attribution' key is present in the downloaded data).

European alerts are required to show the "attribution" to Meteoalarm.


API dictionary:
attribution Must include the attribution when displaying an alert from Europe

But your question leads me to a thought. I'm going to reach out to WU to ask them whether the attribution must be displayed with each data download, or whether I can include the attribution some other way--like in the plugin configuration dialog or in the plugin documentation.

Re: Logs shows message about "European weather alert"

PostPosted: Sun Nov 12, 2017 12:32 pm
by WouterK
Hi Dave,

Thanks for the reply.

I was not aware of the conditions of the use of the API. Would be nice if you could place the attribution somewhere else. I am pushing data to WU from my weather station. I am getting data from meteoalarm but that's on a server at a hosting provider running my weatherstation site.
Because these are two separate things I do not understand the log-message which started recently (after updating the plugin to one of the latest version(s)).

Anyway, nothing serious. Thanks again.

Regards,

Wouter

Re: Logs shows message about "European weather alert"

PostPosted: Mon Nov 13, 2017 5:27 am
by DaveL17
That part of the code hasn't changed for quite some time. I simply check to see if the attribution key is something other than an empty string and, if it is, write that value to the log. If the alert attribution wasn't posting before, this is likely due to a change on WU's side.

I have reached out to them, but haven't heard back.

Re: Logs shows message about "European weather alert"

PostPosted: Mon Nov 13, 2017 10:20 am
by WouterK
Thanks for the reply. Must be a change on the WU side.........curious what the response will be.

Regards,

Wouter

Re: Logs shows message about "European weather alert"

PostPosted: Mon Nov 13, 2017 11:00 am
by DaveL17
If history is any guide, it will take them a while to respond. :D

Re: Logs shows message about "European weather alert"

PostPosted: Mon Dec 04, 2017 8:37 am
by mortenkols
Hello. This message spams my log all the time. how can i disable it?

Dec 4, 2017 at 3:34:45 PM
WUnderground Info European weather alert Information provided by , <a href='http://meteoalarm.eu/'>EUMETNET - MeteoAlarm</a> Note: Time delays between this website and <a href='http://meteoalarm.eu/'>Meteoalarm.eu</a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, please visit <a href='http://meteoalarm.eu/'>Meteoalarm</a>. For terms of use of this information, and copyright information, see <a href='http://meteoalarm.eu/'>Meteoalarm</a> Terms of Use.

Re: Logs shows message about "European weather alert"

PostPosted: Mon Dec 04, 2017 8:50 am
by DaveL17
I’m required to display this information by the Weather Underground terms of service. I have a message in to support to see if I can add the language to a prominent place within the plugin instead of the Indigo log. I haven’t heard back yet on whether WU would find this acceptable.
Until WU replies, the message can’t be disabled. Sorry.

Hang in there; I hope to make it less obtrusive. I have on my to do list a note to parse this information to a more human friendly message.


Sent from my iPhone using Tapatalk

Re: Logs shows message about

PostPosted: Mon Dec 04, 2017 10:40 am
by jay (support)
DaveL17 wrote:
I’m required to display this information by the Weather Underground terms of service. I have a message in to support to see if I can add the language to a prominent place within the plugin instead of the Indigo log. I haven’t heard back yet on whether WU would find this acceptable.
Until WU replies, the message can’t be disabled. Sorry.

Hang in there; I hope to make it less obtrusive. I have on my to do list a note to parse this information to a more human friendly message.


When I contacted Weather Underground years ago about building a plugin, their terms of service were so onerous that we decided it just wasn't worth our time. The biggest one was the requirement to show the WU icon. As you know, we don't have any location to show icons in the Mac Client (which is where they insisted it had to show). We would have had to build some extra mechanism just for that (and that was only one of many other things they required at the time). Oh, and they were going to charge us a lot of $ as well.

Dave's done a great job of navigating their requirements if they are happy(ish) with his current plugin, I'll tell you that for sure.

Re: Logs shows message about "European weather alert"

PostPosted: Mon Dec 04, 2017 4:13 pm
by DaveL17
I'm obviously not able to show the icon in the Indigo UI, but I do put the following in the plugin config UI and the docs:

Data are provided by Weather Underground, LLC. This plugin and its author are in no way affiliated with Weather Underground.


I also put the Weather Underground logo prominently in the Indigo Store and the docs. Based on this conversation, I'm going to add the above to the log when the plugin is first run. Hopefully, that's sufficient. :D