This plugin adds a simple watchdog to pimatic for unix based systems (as it is using bash)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
package.json
pimatic-watchdog-unix.sh
watchdog-unix-config-schema.coffee
watchdog-unix.coffee

README.md

Pimatic Watchdog Unix plugin

This plugin adds a simple watchdog to pimatic for unix based systems (as it is using bash)

It can do the following:

  • Check if pimatic process is still running
  • Check if pimatic is still reachable via webinterface
  • Restart pimatic if one of the above fails
  • Reboot the machine if restart of pimatic fails

Example config.json entries:

    {
      "plugin": "watchdog-unix",
      "processEnabled": true,
      "httpURL": "http://127.0.0.1:80/",
      "httpEnabled": true,
      "active": true
    },