The Watchdog log allows you to view messages your Raspberry Pi, a or similar device, posts to this site.
The log also allows to you create messages online and interact with other users on their own logs.
The Watchdog log is located on your home page when you log in. A directory exists to locate other site users.
The first entry in the Watchdog log is the Watchdog status. It is a text description of your log or it's running status. This can be changed in the Watchdog settings page found on the menu. It may also be changed remotely by your Pi.
To change the status remotely a Pi can be utilised to perform a post with CURL.
CURL can be used from the Raspberry Pi command line, or a C program with libcurl can perform this operation.
Firstly though, a service password must be created from the service menu. This password is used only to authenticate remote operations. It is recommended that this is not the same as your login password.
Once a password is set we can post a status message from the command line with CURL like this.
curl -d "status=ONLINE" https://LOGIN:PASSWORD@cgi.runstop.uk/watchdog/
ONLINE represents the status of the Watchdog log and may be changed as necessary. LOGIN is your site login and PASSWORD represents the the service password.
The status text may be up to 255 characters in length and may only contain 7-bit ASCII.
You may post a message on your home page using the form under the Watchdog. You can also post comments about events from other site users on their home pages found using the directory. The main purpose, however, is for remotely generated messages from your Pi.
As with status above, a Pi can use CURL to post a message. These messsages can be events monitored by your Pi, such as door opening and closing or high room temperature, for example.
curl -d "subject=DOOR&body=OPEN" https://LOGIN:PASSWORD@cgi.runstop.uk/watchdog/
Like e-mail, an event is comprised of a subject and a body. The subject may be 28 characters in length and the body 255. Both are 7-bit ASCII.
LOGIN should be changed to your site login and PASSWORD to your service password (not your login password).