SIMULATION - oihanagarciaa/GBL-IoTMonitoringSTREL Wiki

{
	"services": [
		{
			"serviceId": "sensorService",
			"command": "start",
			"serviceType": "sensors",
			"connection": {
				"type": "simulation",
				"settings": {
					"broker": "tcp://stefanschupp.de:1883",
					"topic": "institute/thingy/#",
					"username": "oihana",
					"password": "22oihana22"
				}
			}
		},
		{
			"serviceType": "moonlight",
			"serviceId": "moonlightService",
			"command": "start",
			"formula": "import dsl.* \nval temp = \"temperature\" greaterThan 10 \nval humidity = \"humidity\" lessThan 10 \nval f1 = temp and (eventually(humidity) within interval(0, 1)) or somewhere(humidity) \nSpecification.formula = f1"
		},
		{
			"serviceId": "thingsboardService",
			"command": "start",
			"serviceType": "thingsboard",
			"connection": {
				"type": "simulation",
				"settings": {
				"broker": "tcp://thingsboard.stefanschupp.de:1883",
				"topic": "v1/board/runner"
				}
			},
			"devices": [
				{
					"identifier": "1",
					"accessKey": "v8iK9AKNXuRZNhIrzROu"
				},
				{
					"identifier": "2",
					"accessKey": "q1qbXmY3KR51xhD24iHP"
				}
			]
		}
	]
}