Skip to content

Commit

Permalink
Sonoff: complete demo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
atrovato committed Sep 24, 2019
1 parent f90320d commit d6de27a
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions front/src/config/demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,60 @@
}
],
"get /api/v1/service/mqtt": {},
"get /api/v1/service/sonoff": {},
"get /api/v1/service/sonoff/device": [
{
"name": "Switch",
"external_id": "sonoff-basic",
"room_id": "cecc52c7-3e67-4b75-9b13-9a8867b0443d",
"features": [
{
"category": "switch",
"type": "binary"
}
],
"params": [
{
"name": "model",
"value": "basic"
}
]
}
],
"get /api/v1/service/sonoff/discover": [
{
"name": "Sonoff Basic Kitchen",
"external_id": "sonoff-basic",
"features": [
{
"category": "switch",
"type": "binary"
}
],
"params": [
{
"name": "model",
"value": "basic"
}
]
},
{
"name": "Sonoff Pow Kitchen",
"external_id": "sonoff-pow",
"features": [
{
"category": "switch",
"type": "binary"
}
],
"params": [
{
"name": "model",
"value": "pow"
}
]
}
],
"get /api/v1/service/rtsp-camera/device": [
{
"id": "c2204fdc-c22f-4fc9-b7d7-c862f3c514c7",
Expand Down

0 comments on commit d6de27a

Please sign in to comment.