Open glynhudson opened 1 year ago
please also see: https://community.openenergymonitor.org/t/mqtt-interfacer-gets-no-data/23097 related to this issue when trying to use emonhub as standalone. Thanks
Could create a symlink from /etc/emonhub/
at install time to point back to where autoconf
is and use the /etc/emonhub/
location in the script.
Could we use a relative path here i.e
conf/available.conf
instead of hardcoding the path to handle emonhub being installed in a different location?https://github.com/openenergymonitor/emonhub/blob/f67244500821b196f98c54f15062bcc60a757daf/src/emonhub_auto_conf.py#L49
Also, even when autoconf is disabled emonhub still tries to load
available.conf