I have a need to run this script from a daemon (collecting the data into rrdtool, in this case).
It would be helpful to include a command line option to specify the location of the .smartthings_cli.json file instead of hard coding it be in the current user's home directory.
I have a need to run this script from a daemon (collecting the data into rrdtool, in this case).
It would be helpful to include a command line option to specify the location of the .smartthings_cli.json file instead of hard coding it be in the current user's home directory.