mirror of
https://github.com/irkit/device.git
synced 2025-07-23 03:43:00 +02:00
Update spec
This commit is contained in:
@@ -9,7 +9,7 @@ msc {
|
||||
|
||||
IRKit note IRKit [label = "Start listening on port 80"];
|
||||
|
||||
IRKit => Server [label = "GET /1/m (longpoll)"];
|
||||
IRKit => Server [label = "GET /m (longpoll)"];
|
||||
|
||||
|||;
|
||||
|
||||
@@ -23,10 +23,10 @@ msc {
|
||||
|
||||
User note IRKit [label = "IF User and IRKit are not in the same Wifi"];
|
||||
|
||||
User => Server [label = "POST /1/messages"];
|
||||
User => Server [label = "POST /1/messages (body: clientkey=#{clientkey}&deviceid=#{deviceid})"];
|
||||
User << Server [label = "200 OK"];
|
||||
|
||||
IRKit << Server [label = "Response to \"GET /1/m\" longpoll: 200 OK, IR signal in body"];
|
||||
IRKit << Server [label = "Response to \"GET /m\" longpoll: 200 OK, IR signal in body"];
|
||||
IRKit -> TV [label = "IR signal"];
|
||||
IRKit => Server [label = "GET /1/m (longpoll)"];
|
||||
IRKit => Server [label = "GET /m (longpoll)"];
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 22 KiB |
@@ -9,8 +9,9 @@ msc {
|
||||
|
||||
User -> IRKit [label = "Power On"];
|
||||
IRKit note IRKit [label = "Not connected to home Wi-Fi access point"];
|
||||
IRKit note IRKit [label = "Start IRKit's own access point and start HTTP server"];
|
||||
IRKit note IRKit [label = "Start IRKit's own access point (WPA2) and start HTTP server"];
|
||||
Phone note Phone [label = "Connected to home Wi-Fi access point"];
|
||||
Server note Server [label = "All APIs are HTTPS"];
|
||||
|
||||
|||;
|
||||
|
||||
@@ -37,7 +38,7 @@ msc {
|
||||
|
||||
IRKit note IRKit [label = "Connect to home Wi-Fi"];
|
||||
|
||||
IRKit => Server [label = "POST /door (body: devicekey=#{devicekey}&&hostname=#{hostname})"];
|
||||
IRKit => Server [label = "POST /door (body: devicekey=#{devicekey}&hostname=#{hostname})"];
|
||||
IRKit << Server [label = "Door Response (status code: 200)"];
|
||||
|
||||
IRKit note IRKit [label = "Setup successfully finished"];
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 53 KiB |
Reference in New Issue
Block a user