Check for Internet Connectivity?

Using the Rules API, you can have something happen on a recurring interval. Here is an example:

{
  "name": "Every 15 min Temp copy to Number Field 2",
  "actions": [
        {
            "every": {
                "interval": {
                    "value": {
                        "integer": 15
                    },
                    "unit": "Minute"
                },
			  "actions": [
					  {
						"command": {
						  "devices": [
							"id number field device"
						  ],
						  "commands": [
							{
							  "component": "main",
							  "capability": "legendabsolute60149.numberFieldTwo",
							  "command": "setNumberFieldTwo",
							  "arguments": [
								{

You could also use an Edge driver like the Edge Counter Utility to accumulate a specific amount of time and then trigger an event when that amount has been reached. You then reset the timer to zero and the process repeats. Here is an example I use to notify when a gate has been left open.










You could also use “seconds timer” of the (EDGE Driver-Mc): Aplicaciones Virtuales Mc (virtual Switch Mirror, Virtual Calendar and virtual Switch Board…) driver to count the amount of elapsed time and then trigger the URL polling when the timer turns off. When set to infinite mode, it will run continuously turning on then off then on, etc.

3 Likes