From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m (Dependencies)
Line 30: Line 30:
  sudo apt-get install python-configobj
  sudo apt-get install python-configobj
or use:
or use:
<<Is this still needed?>>
<<Is this still needed?>>

Revision as of 15:47, 1 January 2017

The agoweatherreporter module uploads environment data such as temperature to sites for weather crowd sourcing.

The module is listening for event.environment.temperaturechanged or event.environment.humiditychanged events. The config file contains a list of sensors that should be reported.

Config file example


Delay = 150
		[[[Tempsensor garage]]]
		Hash = 12345678901234567890123456789012
		Sensor = S11
		UUID = 03f3f1d3-41d2-41bc-10d9-7656181a2e28

As of now, the only service supported is

Parameters explained:

[[[Tempsensor garage]]]                        - Just a name you select
Hash = 12345678901234567890123456789012        - The unique hash you get when registering your weatherstation
Sensor = S11                                   - The aGo control device name
UUID = 03f3f1d3-41d2-41bc-10d9-7656181a2e28    - The aGo control UUID for the device

Install package

sudo apt-get install agocontrol-lifx


Likely depreciated:

sudo apt-get install python-configobj

or use:

<<Is this still needed?>>

cd /home/<your username>
tar -xvf six-1.9.0.tar.gz
cd six-1.9.0
sudo python install

Enable and start daemon

Then enable and start the daemon

sudo systemctl enable agoweatherreporter.service
sudo systemctl start agoweatherreporter.service
Personal tools