WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Request: "Keepalive" Interval #191

@codefaux

Description

@codefaux

I enjoy this plugin and its intended function, but I would like to go one step further and design a watchdog system.

I would like this plugin to periodically (configurable) send a "keepalive" command (also configurable) to a Tasmota device. On said device, I will write a ruleset to shut off power if the "keepalive" command is not received for several intervals.

All I need is the ability to send a configurable web request at a configurable interval. The specific web request I will send is event KEEPALIVE=1 in the format of http://<ip>/cm?cmnd=Event%20KEEPALIVE=1 but allowing it to be user-configurable is also of merit.

Alternatively, having two keepalive options (one during print, the other while idle) would allow for different intervals/sensitivity IE Event KEEPALIVE=125 re-sent every 30 seconds would prevent shutdown for ~120 seconds while idle but allow three missed triggers before powering off, and Event KEEPALIVE=35 sent every 15 seconds would prevent shutdown for ~30 seconds but allow two missed triggers before failsafe. (The stated interval/keepalive durations here are hypothetical and not intended implementation.)

My target is to run the command a few times per minute, which will reset a countdown timer in a watchdog ruleset which I will write and store on the Tasmota device itself.

This will terminate power to the system if;

If you like, I could even share my ruleset with you, and the plugin could also transmit the watchdog ruleset to the Tasmota device on request, allowing any* user to enable a printer safety watchdog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions