From Pimagical

Use a ShellSensor

{
  "id": "system-time",
  "name": "System Time",
  "class": "ShellSensor",
  "attributeName": "time",
  "attributeType": "string",
  "attributeUnit": "",
  "command": "date +%d-%m-%Y\" \"%H:%M\" \"%Z",
  "interval": 60000
},