Lesson 8: Webhook

This program’s basic function is that every minute, to our webhook, it will send a LED signal, with an indefinite time. We can achieve this with the timer and webhook function.

JSON code:

{	"do": [		{			"timer": {				"do": [					{						"webhook": {							"url": "https://webhook.site/f0c1602e-2535-4367-9d8e-439520dbc8d6",							"values": true						}					},					{						"light": {							"color": 1,							"duration": 1,							"led": 0						}					}				],				"every": 60,				"id": 0,				"play": -1			}		}	]}