binarybucks / homA

An extensible framework for the smart home
Eclipse Public License 1.0
137 stars 24 forks source link

Read config file when running from command line #128

Open llauren opened 10 years ago

llauren commented 10 years ago

It would be useful if the homA components would read the /etc/homa/homa.conf file when run from the command line too. I'd rather fill in the values in a conf file which are read identically whether i'm running the component as an application or a daemon than start the component with a wrapper script.

In fact, i'm not even sure i can configure values for components other than by a mqtt message. I'm specifically thinking of the weather and solar components which require lat/long (and units) configuration.