Here's a very simple script that scrapes the currect threat level in the UK and writes it to a virtual device. Simply edit the script to include the virtual device code and then set up a reocurring event to run the script.
The data looks like this example:
The data looks like this example: