Skip to content

Instantly share code, notes, and snippets.

@Pash237
Created September 3, 2020 17:04
Show Gist options
  • Save Pash237/300ee1ec6a09f2496839668a40aa0446 to your computer and use it in GitHub Desktop.
Save Pash237/300ee1ec6a09f2496839668a40aa0446 to your computer and use it in GitHub Desktop.
19:56:33.011 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
},
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"type" : "Relay",
"state" : "off",
"name" : "Газовый котёл"
},
...
]
}
19:56:34.766 | --> POST objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators/299e5dca-c128-4273-91f2-eb6c7baa28b1 {
"action" : "make_impulse"
}
19:56:35.395 | <-- POST objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators/299e5dca-c128-4273-91f2-eb6c7baa28b1 200
19:56:35.395 | --> GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators
19:56:35.524 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"name" : "Газовый котёл",
"type" : "Relay",
"state" : "impulse_in_progress",
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
}
},
...
]
}
19:56:35.395 | --> GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators
19:56:35.571 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"name" : "Газовый котёл",
"type" : "Relay",
"state" : "impulse_in_progress",
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
}
},
...
]
}
19:56:39.571 | --> GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators
19:56:39.796 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"name" : "Газовый котёл",
"type" : "Relay",
"state" : "impulse_in_progress",
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
}
},
...
]
}
19:56:39.872 | --> GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators
19:56:39.992 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"type" : "Relay",
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"name" : "Газовый котёл",
"state" : "off",
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
}
},
...
]
}
19:56:40.171 | --> GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators
19:56:40.330 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"state" : "off",
"type" : "Relay",
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"name" : "Газовый котёл",
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
}
},
...
]
}
19:56:40.471 | --> GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators
19:56:40.605 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 {
"actuators" : [
...
{
"relay_params" : {
"mode" : "impulse",
"impulse_duration" : 5
},
"type" : "Relay",
"name" : "Газовый котёл",
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1",
"state" : "impulse_in_progress"
},
...
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment