Differences
This shows you the differences between two versions of the page.
fr:calaos_tuto_station_meteo [2014/07/05 00:09] azerty created |
fr:calaos_tuto_station_meteo [2016/01/13 20:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Station météo software à partir de openweathermap(utilisation des webanaloginput ) ====== | ||
- | ===== prérequis ===== | ||
- | * calaos | ||
- | ==== exemple ==== | ||
- | |||
- | === Pour des inputs de temperature === | ||
- | Dans calaos_installer: | ||
- | |||
- | choisir une pièce, clicker add item -> web -> temperature sensor | ||
- | |||
- | dans la nouvelle fenetre "new web IO" | ||
- | |||
- | Item Name : Temperature exterieure | ||
- | |||
- | URL: http:// | ||
- | |||
- | Type: JSON | ||
- | |||
- | Path: main/ | ||
- | |||
- | Frequency: par défaut 10000ms | ||
- | |||
- | offset: -274,15 | ||
- | |||
- | unit: °c | ||
- | |||
- | laisser les autres valeurs à défaut | ||
- | |||
- | |||
- | |||
- | |||
- | === Pour d' | ||
- | Dans calaos_installer: | ||
- | |||
- | Choisir une pièce, clicker add item -> web -> analog input | ||
- | |||
- | dans la nouvelle fenetre "new web IO" | ||
- | |||
- | Item Name : Temperature exterieure | ||
- | |||
- | URL: http:// | ||
- | |||
- | Type: JSON | ||
- | |||
- | |||
- | Path: main/ | ||
- | |||
- | Frequency: par défaut 10000ms | ||
- | |||
- | unit: hPa | ||
- | |||
- | coeff :0 (bug, theoriquement coeff=1) | ||
- | |||
- | |||
- | offset: 1 (bug, theoriquement offset=0) | ||
- | |||
- | laisser les autres valeurs à défaut | ||
- | |||
- | |||
- | |||
- | |||
- | le fichier io.xml doit ressembler à ça | ||
- | < | ||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | </ |