Download OpenAPI specification:
The API for the EatBacon IOT project
{- "id": "0729a580-2240-11e6-9eb5-0002a5d5c51b"
}sets a dimmer to a specific value on a timer
| deviceId required | string |
| value required | integer <int32> |
| timeunit required | integer <int32> |
| units | string Default: "milliseconds" Enum: "seconds" "minutes" "milliseconds" |
{- "code": 0,
- "message": "everything is ok"
}{- "city": {
- "id": 0,
- "name": "string",
- "lat": 0.1,
- "lon": 0.1,
- "country": "string"
}, - "values": [
- {
- "date": "2019-08-24T14:15:22Z",
- "pressure": 0.1,
- "humidity": 0,
- "windSpeed": 0.1,
- "clouds": 0,
- "temperature": {
- "low": 0.1,
- "high": 0.1,
- "morning": 0.1,
- "day": 0.1,
- "evening": 0.1,
- "night": 0.1
}, - "weather": {
- "summary": "string",
- "description": "string",
- "icon": "string"
}
}
]
}