m |
m |
||
Line 1: | Line 1: | ||
+ | [[File:http://timg.nu/loggor/temperatur.nu_logo_c.png]] | ||
This is a module getting temperature data from [http://temperatur.nu temperatur.nu] which is mainly relevant in Sweden. | This is a module getting temperature data from [http://temperatur.nu temperatur.nu] which is mainly relevant in Sweden. | ||
File:Http://timg.nu/loggor/temperatur.nu logo c.png This is a module getting temperature data from temperatur.nu which is mainly relevant in Sweden.
Parameters used from /etc/opt/agocontrol/conf.d/system.conf
[system] units=SI # Coordinates for sunrise/sunset event lat=56.05 lon=12.7 #Your mail adress mailadress=a@b.c
Lat/Lon will be used to locate the weather station with closest proximity to you.
/etc/opt/agocontrol/conf.d/temperaturenu.conf
[temperaturenu] waittime=300 debug=false
Waittime cannot be shorter than 300 seconds due to API constraints
sudo apt-get install python-lxml
Place agotemperaturenu.pi in /opt/agocontrol/bin
chmod +x /opt/agocontrol/binagotemperaturenu.pi
Enable a service as per Autostart Devices