Temperaturnu

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "This is a module getting termperatur data from [http://temperatur.nu temperatur.nu] which is mainly relevant in Sweden. == Installation == sudo apt-get install python-lxml")
 
Line 1: Line 1:
This is a module getting termperatur 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.
  
== Installation ==
+
= Configuration =
 +
 
 +
/etc/opt/agocontrol/conf.d/system.conf
 +
[system]
 +
units=SI
 +
 
 +
# Coordinates for sunrise/sunset event
 +
lat=56.05
 +
lon=12.7
 +
 
 +
/etc/opt/agocontrol/conf.d/temperaturenu.conf
 +
[temperaturenu]
 +
waittime=300
 +
debug=false
 +
Waittime cannot be shorter than 300 seconds due to API constraints
 +
 
 +
= Installation =
 
  sudo apt-get install python-lxml
 
  sudo apt-get install python-lxml
 +
 +
Place agotemperaturenu.pi in /opt/agocontrol/bin
 +
chmod +x /opt/agocontrol/binagotemperaturenu.pi
 +
 +
Enable a service as per [[autostarting devices|Autostart_Devices]]

Revision as of 09:27, 12 January 2014

This is a module getting temperature data from temperatur.nu which is mainly relevant in Sweden.

Configuration

/etc/opt/agocontrol/conf.d/system.conf

[system]
units=SI
# Coordinates for sunrise/sunset event
lat=56.05
lon=12.7

/etc/opt/agocontrol/conf.d/temperaturenu.conf

[temperaturenu]
waittime=300
debug=false

Waittime cannot be shorter than 300 seconds due to API constraints

Installation

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

Personal tools