Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 192.168.178.49 - - [16/Jan/2018 16:35:07] "POST /api/470a0c52e89555f73b11904c84af61924c487816/sensors HTTP/1.1" 200 -
- in post method
- /api/470a0c52e89555f73b11904c84af61924c487816/sensors
- {"type":"CLIPGenericFlag","name":"Timer.companion","modelid":"PHA_CTRL_START","manufacturername":"Philips","uniqueid":"VvZKUF6mFY85","swversion":"1.0","recycle":true}
- [
- {
- "success": {
- "id": "1"
- }
- }
- ]
- 192.168.178.49 - - [16/Jan/2018 16:35:07] "POST /api/470a0c52e89555f73b11904c84af61924c487816/schedules HTTP/1.1" 200 -
- in post method
- /api/470a0c52e89555f73b11904c84af61924c487816/schedules
- {"name":"Timer","description":"Timer","command":{"address":"/api/470a0c52e89555f73b11904c84af6192/sensors/1/state","method":"PUT","body":{"flag":true}},"localtime":"PT00:01:00","autodelete":false,"status":"enabled","recycle":true}
- [
- {
- "success": {
- "id": "1"
- }
- }
- ]
- 192.168.178.49 - - [16/Jan/2018 16:35:08] "POST /api/470a0c52e89555f73b11904c84af61924c487816/rules HTTP/1.1" 200 -
- in post method
- /api/470a0c52e89555f73b11904c84af61924c487816/rules
- {"name":"Timer 1.action","recycle":true,"conditions":[{"address":"/sensors/1/state/flag","operator":"dx"},{"address":"/sensors/1/state/flag","operator":"eq","value":"true"}],"actions":[{"address":"/sensors/1/state","method":"PUT","body":{"flag":false}},{"address":"/groups/1/action","method":"PUT","body":{"scene":"5"}}]}
- [
- {
- "success": {
- "id": "1"
- }
- }
- ]
- 192.168.178.49 - - [16/Jan/2018 16:35:08] "POST /api/470a0c52e89555f73b11904c84af61924c487816/resourcelinks HTTP/1.1" 200 -
- in post method
- /api/470a0c52e89555f73b11904c84af61924c487816/resourcelinks
- {"name":"Timer 1","description":"Timer 1 behavior","type":"Link","classid":20120,"recycle":false,"links":["/sensors/1","/schedules/1","/groups/1","/rules/1","/scenes/5"]}
- [
- {
- "success": {
- "id": "1"
- }
- }
- ]
- Execute:
- execute timmer: 1 withe delay 0
- 127.0.0.1 - - [16/Jan/2018 16:36:07] "PUT /api/470a0c52e89555f73b11904c84af6192/sensors/1/state HTTP/1.1" 200 -
- in PUT method
- /api/470a0c52e89555f73b11904c84af6192/sensors/1/state
- {"flag": true}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement