Commit graph

225 commits

Author SHA1 Message Date
Jacob Salvi
fd5c28b1c9 stateOrDevice() added in various places 2020-04-25 17:27:56 +02:00
Jacob Salvi
7f9a42fb84 sceneState.kind 2020-04-25 16:47:53 +02:00
Jacob Salvi
12f64ffbc2 changes to various devices 2020-04-25 16:18:01 +02:00
Jacob Salvi
a4c13a2691 i am dumb 2020-04-25 15:44:02 +02:00
Jacob Salvi
b56b9a8260 added updateState to store 2020-04-25 15:43:27 +02:00
Jacob Salvi
1484026afd added updateState to store 2020-04-25 15:37:40 +02:00
Andrea Brites Marto
a3eff85149 Merge branch 'helpWithBackend' into 'dev'
Help with backend

See merge request sa4-2020/the-sanmarinoes/frontend!93
2020-04-25 14:50:07 +02:00
Jacob Salvi
1f063aebb6 small fixes and clean up 2020-04-25 14:46:49 +02:00
Jacob Salvi
71bd9cecd5 small fixes and clean up 2020-04-25 13:53:55 +02:00
Jacob Salvi
272b0dc330 small fixes 2020-04-25 09:21:48 +02:00
britea
6ecfe9653d fix turn on/off thermostat 2020-04-24 23:34:01 +02:00
2c3272a6a8 Merge branch 'camera-fix' into 'dev'
Added backend source URL for camera

See merge request sa4-2020/the-sanmarinoes/frontend!92
2020-04-23 17:22:41 +02:00
a15ec55bb4 Added backend source URL for camera 2020-04-23 17:19:21 +02:00
Christian Capeáns Pérez
3ca1f519b6 Connection frontend-backend for Curtains and Thermostat. Added button to handle off/on of thermostats 2020-04-23 16:55:44 +02:00
Jacob Salvi
e0dd8f1273 small fixes 2020-04-23 16:02:02 +02:00
Jacob Salvi
1d4945a6a2 small changes 2020-04-23 15:34:23 +02:00
Andrea Brites Marto
a097ee447c Merge branch '81-fix-on-security-camera' into 'dev'
fix security camera

Closes #81

See merge request sa4-2020/the-sanmarinoes/frontend!91
2020-04-23 11:43:03 +02:00
britea
3fdd89e238 fix security camera 2020-04-22 20:14:18 +02:00
Matteo Omenetti
cdf0f88cd9 Merge branch 'dashboard-videocamera' into 'dev'
Dashboard videocamera

See merge request sa4-2020/the-sanmarinoes/frontend!86
2020-04-22 16:37:29 +02:00
Matteo Omenetti
2f3ede238f Merge branch 'dev' into 'dashboard-videocamera'
# Conflicts:
#   smart-hut/src/components/dashboard/devices/Device.js
2020-04-22 16:35:09 +02:00
Fil Cesana
f9d1d9d678 videocam connected to back end 2020-04-22 14:25:24 +02:00
Fil Cesana
840d5ab6a2 moved everyting in the right files, ready to work on the backend part. 2020-04-22 13:34:10 +02:00
Fil Cesana
509335a061 video component is finished and ready for those who want to be tested in the file light.js; tomorrow I will move everything back in Videocam.js (in devices) and with Andrea we will perform the connection with the backend. If you test it, enjoy the video I put in loop ;) 2020-04-21 16:44:41 +02:00
df1f753785 Merge branch '80-fix-editname-device' into 'dev'
fixed edit name on devices

Closes #80

See merge request sa4-2020/the-sanmarinoes/frontend!90
2020-04-21 16:35:20 +02:00
britea
3b67e57f1a fixed edit name on devices 2020-04-21 16:18:05 +02:00
Matteo Omenetti
77f7abed92 Merge branch '79-addscene-getscenestates' into 'dev'
Able to add scenes and get scenes in a right way

Closes #79

See merge request sa4-2020/the-sanmarinoes/frontend!89
2020-04-21 15:02:25 +02:00
britea
0b4fefbd35 Able to add scenes and get scenes in a right way 2020-04-21 14:58:36 +02:00
Fil Cesana
3443bc8530 video now plays in loop. muted, in a responsive way: still to do: modal, enlarge full screen, communication with the backend - lost quite a lot of time testing both Embed from semantic and the simple video tag, Embed would have been good since it acts as a youtube player, but certain important tags like autoplay, loop etc did not seem to work. Also added the button 'enlarge', toggle now automatically set to on 2020-04-20 16:19:21 +02:00
Fil Cesana
82d6576324 for the rebase, now you can find the code of the videocam under devices/Videocam.js 2020-04-18 17:45:35 +02:00
Fil Cesana
63d9063983 first version of the videocamera, temporarily under the device light.js, for testing 2020-04-18 17:40:05 +02:00
Matteo Omenetti
e9745bb5f0 Merge branch '77-fixe-major-bug' into 'dev'
Resolve "fixe-major-bug"

Closes #77

See merge request sa4-2020/the-sanmarinoes/frontend!85
2020-04-18 16:29:37 +02:00
britea
9c2a16732f Fixed bugs and Initial Scene Navbar 2020-04-18 16:26:12 +02:00
britea
d219716526 Fix data on adding room 2020-04-17 14:30:34 +02:00
Nicola Brunner
dc22c008d3 changed design things 2020-04-17 14:25:22 +02:00
britea
9430de90d0 back to previous settings device 2020-04-17 14:15:22 +02:00
Nicola Brunner
b3abffa5b7 made some design changes 2020-04-17 11:29:40 +02:00
Nicola Brunner
1239559f45 changed Home in navbar into House view as required by user story 1 2020-04-16 18:38:34 +02:00
Nicola Brunner
1330f3cfea For edit device modal: added possibility to exit window without modifications (cross) | For Sensors: Now displays general device name and not specific device name in the icon 2020-04-16 18:20:22 +02:00
britea
f99a5d49ff fixed major bug 2020-04-16 17:07:56 +02:00
af209221f0 Merge branch 'redux-fix' into 'dev'
Fix to socket state reducer and state updated in devices that use circularinput

See merge request sa4-2020/the-sanmarinoes/frontend!84
2020-04-16 16:01:34 +02:00
Claudio Maggioni (maggicl)
b070273c73 Fix to socket state reducer and state updated in devices that use circularinput 2020-04-16 15:58:56 +02:00
Matteo Omenetti
0664d502fe Merge branch '76-fixed-registration-bug' into 'dev'
Fixed registration bug

Closes #76

See merge request sa4-2020/the-sanmarinoes/frontend!83
2020-04-16 15:19:13 +02:00
britea
56da195894 Fixed registration bug 2020-04-16 15:15:33 +02:00
Matteo Omenetti
cbbb703803 Merge branch '74-dashboard-tab-system' into 'dev'
Resolve "dashboard-tab-system"

Closes #74

See merge request sa4-2020/the-sanmarinoes/frontend!82
2020-04-15 15:58:39 +02:00
britea
b03e6b1850 Added and Fixed Scenes and Automations Modal and Navbars 2020-04-15 15:54:30 +02:00
britea
3bc219c926 New style for tabs 2020-04-14 22:56:00 +02:00
britea
82c4f3ea57 Basic Tabs system 2020-04-14 14:58:03 +02:00
2976ed7dc3 Merge branch '73-redux-refactor-for-device-state' into 'dev'
Resolve "Redux refactor for device state"

Closes #73

See merge request sa4-2020/the-sanmarinoes/frontend!81
2020-04-12 17:55:55 +02:00
Claudio Maggioni (maggicl)
76d10ba431 Fixed tests for redux 2020-04-12 17:52:35 +02:00
Claudio Maggioni (maggicl)
0805d9d4d0 Redux websockets implemented 2020-04-12 17:46:16 +02:00