OpenWeatherMap

Questions and comments specific to a particular plugin should go here.
User avatar
Pako
Plugin Developer
Posts: 2280
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: OpenWeatherMap

Post by Pako » Tue Dec 05, 2017 2:01 pm

Medy wrote:
Mon Dec 04, 2017 6:56 pm
Can someone explain how i can create events , lets say for example temperature with this ? Im not familiar with python.
I do not understand the question. What does "how i can create events" mean?
I think it's totally intuitive.

Only two things are essential:
1) Add your city to the list (the checkbox is automatically checked)
2) Check if the "Temperature" checkbox is checked.
The event is automatically triggered as soon as the temperature changes.

Pako
Attachments
OWMplugin.png
OWMplugin2.png

Medy
Posts: 12
Joined: Sat Nov 15, 2014 8:33 pm

Re: OpenWeatherMap

Post by Medy » Tue Dec 05, 2017 9:39 pm

I see .
Though I would have liked a command to manually get the data.

I saw in a screenshot that u can use eg.print result after get current weather ... it returns a long string with all the data ...
I want to know how to output just the temperature for example / select which data to get.

My goal was tro press a button and display just the temperature via "Onscreendisplay" message for example.

Im aware of that window with a table. Im using that for now.

When I said that I dont know python , I meant im not able to extract specific info from that eg.result string.

User avatar
Pako
Plugin Developer
Posts: 2280
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: OpenWeatherMap

Post by Pako » Thu Dec 07, 2017 12:45 pm

Well, now I understand a little better what you need.
See the attached picture. This is one example of how you can do it.

Pako
Attachments
OWM-temp2.png

Post Reply