{
	"platforms": [
		{
			"platform": "SynTexWebHooks",
			"baseDirectory": "/var/homebridge/SynTex",
			"options": {
				"port": 1710,
				"language": "us"
			},
			"log": {
				"debug": false
			},
			"accessories": [
				{
					"id": "sensor1",
					"name": "Contact",
					"services": [
						{ "type": "contact" }
					]
				},
				{
					"id": "EC:FA:BC:59:3F:3C",
					"name": "Climate",
					"services": [
						{ "type": "temperature" },
						{ "type": "humidity" }
					]
				},
				{
					"id": "multi1",
					"name": "Multi Switch",
					"services": [
						{ "type": "switch", "name": "First" },
						{ "type": "switch", "name": "Second" }
					]
				},
				{
					"id": "multi2",
					"name": "Multi Device",
					"services": [
						{ "type": "switch", "name": "First" },
						{ "type": "motion", "name": "Second" },
						{ "type": "light", "name": "Third" },
						{ "type": "leak", "name": "Leak" },
						{ "type": "smoke", "name": "Smoke" },
						{ "type": "occupancy", "name": "Present" }
					]
				},
				{
					"id": "EC:FA:BC:59:3F:3F",
					"name": "Switch",
					"services": [
						{
							"type": "switch",
							"requests": [
								{
									"trigger": "on",
									"method": "GET",
									"url": "http://192.168.1.100/switch?state=true"
								},
								{
									"trigger": "off",
									"method": "GET",
									"url": "http://192.168.1.100/switch?state=false"
								}
							]
						}
					],
					"pingURL": "http://192.168.1.100/ping"
				},
				{
					"id": "EC:FA:BC:59:3F:30",
					"name": "Relais",
					"services": [
						{
							"type": "relais",
							"requests": [
								{
									"trigger": "on",
									"method": "GET",
									"url": "http://192.168.1.100/switch?state=true"
								},
								{
									"trigger": "off",
									"method": "GET",
									"url": "http://192.168.1.100/switch?state=false"
								}
							]
						}
					],
					"pingURL": "http://192.168.1.100/ping"
				},
				{
					"id": "light1",
					"name": "Dummy Dimmer",
					"services": [
						{
							"type": "dimmer",
							"requests": [
								{
									"trigger": "dimmer",
									"method": "GET",
									"url": "http://192.168.1.100/brightness="
								}
							]
						}
					],
					"pingURL": "http://192.168.1.100/ping"
				},
				{
					"id": "light2",
					"name": "Dummy Light",
					"services": [
						{
							"type": "rgb",
							"spectrum":  "RGB",
							"requests": [
								{
									"trigger": "color",
									"method": "GET",
									"url": "http://192.168.1.100/color"
								}
							]
						}
					],
					"pingURL": "http://192.168.1.100/ping"
				},
				{
					"id": "event1",
					"name": "Events",
					"services": [
						{
							"type": "statelessswitch",
							"buttons": 1
						}
					]
				},
				{
					"id": "blind1",
					"name": "Blind",
					"services": [
						{
							"type": "blind",
							"delay": {
								"up": 11000,
								"down": 10000
							}
						}
					]
				}
			]
		}
	]
}