Temperaturnu

From ago control wiki
Revision as of 10:27, 12 January 2014 by JoakimL (Talk | contribs)

Jump to: navigation, search

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