jbrusey / cogent-house

Cogent House is a system for sensing temperature, humidity, CO2, Air Quality, VOC, hot water consumption, and electricity consumption within the home. It has been developed by the [http://cogentcomputing.org Cogent Computing Applied Research Centre] at Coventry University. Cogent House is developed using TinyOS and Python.
4 stars 2 forks source link

Push-Script Reverse tunnel fails if Database goes away #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Stop mysql daemon
2. Run /opt/<cogent>/push/RestPusher.py

What is the expected output? What do you see instead?

Fails at initialisation.

It would be better for debugging if we broke out the RPC part of the code into 
a separate cronjob so that it can still be run independently of the actual push 
script code.  Thus, any issues with the database / cogent house can still be 
fixed as the connection will be made.

Original issue reported on code.google.com by DjGoldsm...@googlemail.com on 17 Mar 2014 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by DjGoldsm...@googlemail.com on 17 Mar 2014 at 3:29