Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Météo openweathermap
#3
Voici ce que j'ai chez moi :

<calaos:input file_type="json" gui_type="temp" id="input_2" interval="900" name="Température extérieure" offset="-274.15" path="main/temp" type="WebInputTemp" url="http://api.openweathermap.org/data/2.5/weather?q=Toulouse&amp;lang=fr" visible="true"/>
<calaos:input file_type="json" gui_type="analog_in" id="input_5" interval="900" name="Préssion atmosphérique" path="main/pressure" type="WebInputAnalog" unit="hPa" url="http://api.openweathermap.org/data/2.5/weather?q=Toulouse&amp;lang=fr" visible="true"/>
<calaos:input file_type="json" gui_type="analog_in" id="input_6" interval="900" name="Humidité" path="main/humidity" type="WebInputAnalog" unit="%" url="http://api.openweathermap.org/data/2.5/weather?q=Toulouse&amp;amp;lang=fr" visible="true"/>
<calaos:input file_type="json" gui_type="temp" id="input_7" interval="900" name="Température Minimale" offset="-274.15" path="main/temp_min" type="WebInputTemp" url="http://api.openweathermap.org/data/2.5/weather?q=Toulouse&amp;amp;lang=fr" visible="true"/>
<calaos:input file_type="json" gui_type="temp" id="input_8" interval="900" name="Température Maximale" offset="-274.15" path="main/temp_max" type="WebInputTemp" url="http://api.openweathermap.org/data/2.5/weather?q=Toulouse&amp;amp;lang=fr" visible="true"/>
<calaos:input file_type="json" gui_type="string_in" id="input_10" interval="900" name="Temps" path="weather/[0]/description" type="WebInputString" url="http://api.openweathermap.org/data/2.5/weather?q=Toulouse&amp;lang=fr" visible="true"/>

A noter, que frequency=10000 est buggué :/ c'est a dire au lieu de lire toutes les 10 secondes, la données est lue toutes les 10000secondes. J'ai corrigé dans la version master de calaos, et la correction sera dispo dans la prochaine version. Une parade es tde garder interval="900" 900 étant bien en secondes.
Ca me semble cohérent pour mes valeurs
Reply


Messages In This Thread
Météo openweathermap - by Eric64 - 11-05-2014, 06:35 PM
RE: Météo openweathermap - by azerty - 11-05-2014, 07:11 PM
RE: Météo openweathermap - by captainigloo - 11-05-2014, 10:45 PM
RE: Météo openweathermap - by ActionProd - 01-02-2015, 03:23 PM
RE: Météo openweathermap - by Eric64 - 01-26-2015, 09:17 PM
RE: Météo openweathermap - by captainigloo - 01-26-2015, 09:44 PM
RE: Météo openweathermap - by Eric64 - 01-28-2015, 03:18 PM
RE: Météo openweathermap - by Eric64 - 01-30-2015, 11:32 PM
RE: Météo openweathermap - by Eric64 - 02-06-2015, 11:56 AM
RE: Météo openweathermap - by Eric64 - 03-11-2015, 05:03 PM
RE: Météo openweathermap - by raoulh - 03-12-2015, 09:43 AM
RE: Météo openweathermap - by Eric64 - 03-13-2015, 10:20 AM
RE: Météo openweathermap - by Eric64 - 03-23-2015, 07:24 PM
RE: Météo openweathermap - by raoulh - 03-23-2015, 08:46 PM
RE: Météo openweathermap - by Eric64 - 03-25-2015, 08:51 AM
RE: Météo openweathermap - by raoulh - 03-25-2015, 09:32 AM
RE: Météo openweathermap - by Eric64 - 03-25-2015, 02:28 PM
RE: Météo openweathermap - by Eric64 - 03-29-2015, 12:38 PM
RE: Météo openweathermap - by Eric64 - 05-15-2015, 02:50 PM
RE: Météo openweathermap - by Cyridle - 05-22-2015, 08:40 AM
RE: Météo openweathermap - by Eric64 - 05-26-2015, 10:14 PM
RE: Météo openweathermap - by Cyridle - 05-28-2015, 04:36 PM
RE: Météo openweathermap - by bernievds - 02-01-2017, 10:08 PM
RE: Météo openweathermap - by raoulh - 02-02-2017, 10:34 AM
RE: Météo openweathermap - by bernievds - 02-02-2017, 11:03 AM
RE: Météo openweathermap - by raoulh - 02-02-2017, 11:08 AM
RE: Météo openweathermap - by davidinfo - 02-05-2017, 01:58 AM
RE: Météo openweathermap - by bernievds - 02-13-2017, 07:39 PM
RE: Météo openweathermap - by davidinfo - 02-17-2017, 12:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)