The docker container was designed to be ephemeral, being periodicly fired by cron.
However, this apparently doesn't play well with Synology NAS's which complain that the container exited.
Should add a mode which uses an internal ticker to poll periodically
Activity
18-May-23 18:11
assigned to @btasker
20-May-23 22:02
Although I'd have preferred it to be a commandline flag (so it's obvious why a cron job isn't exiting) that's likely to be less compatible with things like Synology.
So, I think this needs to be an option in the config file.
Currently, example config looks like this
I think the best way to go at this is add a dedicated
poller
section to contain config for the poller itself, with backwards compatible defaults used so that any existing configs still work after the change20-May-23 22:13
Have added support for a persistent run-mode.
The necessary config is
20-May-23 22:30
mentioned in issue #6
20-May-23 23:01
mentioned in commit github-mirror/tplink_to_influxdb@4a3040fd096ec016f6d8a77f7ce794fd5d372144
Message
Update README for utilities/tp-link-to-influxdb#4
20-May-23 23:01
mentioned in commit github-mirror/tplink_to_influxdb@78c5703c8868545174071bd34d61a2a29b49dcfb
Message
Update example yaml for utilities/tp-link-to-influxdb#4
20-May-23 23:01
mentioned in commit github-mirror/tplink_to_influxdb@5534ba7fb200d1bc8f79187fe193a44835be78ad
Message
Break main flow out to new function
do_work
in preparation for utilities/tp-link-to-influxdb#420-May-23 23:01
mentioned in commit github-mirror/tplink_to_influxdb@00f29dd0c169f2aa52df16b7cf2877cd082ce018
Message
Add support for persistent run-mode (utilities/tp-link-to-influxdb#4)
This adds support for new config options in the yaml config