Commit graph

198 commits

Author SHA1 Message Date
Nicola Brunner
c5aab751df fix update sensor 2020-04-25 16:33:00 +02:00
britea
24804d2d82 fix scene repository 2020-04-24 23:09:31 +02:00
54c27921d9 Fixed DeviceService 2020-04-23 17:10:59 +02:00
Claudio Maggioni (maggicl)
3da04ccaef Fixed user story 5 and 7 2020-04-23 11:17:46 +02:00
Claudio Maggioni (maggicl)
7ebf74a4c8 WIP merge with dev 2020-04-22 23:11:32 +02:00
Claudio Maggioni (maggicl)
37ea9591cf Code review 2020-04-22 23:04:43 +02:00
Claudio Maggioni (maggicl)
3894fa14a9 Code review 2020-04-22 22:54:34 +02:00
389af7c04d all device controllers have been updated with device service 2020-04-22 18:13:06 +02:00
omenem
570b1e8b29 wip, implemented very long stream in DeviceService, SceneService is missing though 2020-04-22 17:30:16 +02:00
c6d5a1acd7 controllers fixed and updated for guest or host checks 2020-04-22 17:17:07 +02:00
omenem
5c2f828834 wid, added implements keyword for Boolean/RangeTriggerable in all the devices 2020-04-22 16:48:49 +02:00
a428d57fe1 WIP: controllers check for owner or guest, device service needs review 2020-04-22 15:30:23 +02:00
db21aa0a26 Code review 2020-04-21 17:36:17 +02:00
c4f295d7d9 refactored controllers code 2020-04-21 17:09:11 +02:00
Claudio Maggioni (maggicl)
4357606187 Code review 2020-04-21 16:58:12 +02:00
omenem
618c152466 wip 2020-04-21 15:21:47 +02:00
Claudio Maggioni (maggicl)
eef0887da1 Code review 2020-04-21 14:57:11 +02:00
omenem
0692f7e2ee wip 2020-04-21 14:45:04 +02:00
Claudio Maggioni (maggicl)
6317ac99e4 Code review 2020-04-21 14:25:42 +02:00
Claudio Maggioni (maggicl)
cfe3848d7e Done method to get dimmable light if owner or guest 2020-04-21 14:06:56 +02:00
db102f75e4 light and room controller routes check for guest authorization 2020-04-20 16:41:11 +02:00
Claudio Maggioni (maggicl)
319629a681 Pseudocode for automation implemmentation 2020-04-20 14:14:04 +02:00
omenem
5c0df55de9 wip 2020-04-20 13:47:27 +02:00
7b80b52f9e guest controller should be finished, must be reviewed 2020-04-19 17:10:42 +02:00
36a7a649d5 started guest controllers (WIP) 2020-04-18 17:35:14 +02:00
566a2e72e3 invited model finally works 2020-04-18 15:35:04 +02:00
262dbf12e7 hopefully fixed invited relationship II: The Revenge 2020-04-18 14:52:11 +02:00
d2aaa45a8b hopefully fixed invited relationship 2020-04-18 14:11:21 +02:00
6e36d7d306 updated onetomany relationship 2020-04-18 12:43:01 +02:00
3921fe1330 started invitation relationship 2020-04-18 12:43:01 +02:00
Claudio Maggioni (maggicl)
61ff797ea1 Fixes to Scene implementation 2020-04-18 12:38:52 +02:00
omenem
e79ab46cb8 added sceneBinding method in cotrollers of output devices 2020-04-18 10:54:53 +02:00
Claudio Maggioni (maggicl)
f565a3be6e Added documentation to Device.cloneState() 2020-04-17 21:12:33 +02:00
Claudio Maggioni (maggicl)
4aa4d68738 Fix on thermostat 2020-04-17 21:05:17 +02:00
Claudio Maggioni (maggicl)
57a6e22e2a Corrections on Scene controllers and method cloneState on all OutputDevices 2020-04-17 20:54:09 +02:00
Claudio Maggioni (maggicl)
2bfff689b3 Simplified Models for States 2020-04-17 20:22:28 +02:00
Claudio Maggioni (maggicl)
7bb4cd34e1 Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into 53-users-can-create-scenes 2020-04-17 19:19:46 +02:00
Claudio Maggioni (maggicl)
fefd073534 Converted thermostat to dimmable state and fixed errors on generics 2020-04-17 19:09:32 +02:00
omenem
3cedaf5f50 Fix 2020-04-17 18:28:42 +02:00
omenem
80088c0dc3 State controller, saveRequest and Repository 2020-04-17 18:13:46 +02:00
omenem
e3aa44435e Scene Controller, saveRequest and Repository 2020-04-17 17:03:21 +02:00
Claudio Maggioni (maggicl)
cde88f2ca9 Added new hierarchy for dimmable devices and removed duplications in controllers and dtos 2020-04-16 18:28:33 +02:00
Claudio Maggioni (maggicl)
7cbacd7406 Implemented Many-to-Many behaviour for Switches and Dimmers 2020-04-16 17:43:25 +02:00
Claudio Maggioni (maggicl)
495c317eb8 Added apply() method on State to change underlying device accordingly 2020-04-15 23:10:05 +02:00
6be999ffcc Created models for scenes and states 2020-04-15 18:02:24 +02:00
1fe31c0d46 Merge branch 'thermostat-feature' into 'dev'
Thermostat feature

See merge request sa4-2020/the-sanmarinoes/backend!77
2020-04-15 18:00:03 +02:00
646672e3db Code review for Thermostat 2020-04-15 17:55:04 +02:00
9088a765b8 Merge branch '52-security-cameras' into 'dev'
Resolve "Users can add security camera in a room"

Closes #52

See merge request sa4-2020/the-sanmarinoes/backend!76
2020-04-15 17:06:30 +02:00
cddf718767 Code review for SecurityCamera 2020-04-15 17:00:16 +02:00
afea11931f Merge branch '51-users-can-add-smart-curtains-blinds' into 'dev'
Resolve "Users can add smart curtains/blinds"

Closes #51

See merge request sa4-2020/the-sanmarinoes/backend!70
2020-04-15 16:43:06 +02:00