51 Commits

Author SHA1 Message Date
Giacomo Bertolazzi
2ce6c18476 Create LICENSE.md 2022-09-28 22:08:17 +02:00
d7cef1f623 Merge remote-tracking branch 'origin/master' 2018-09-24 17:25:24 +02:00
abd68e0eb1 LAST
- fixed some conversion
- fixed DB
- audio now use Javax instead of sun
- wav now works (apparently they must be at 16bit)
2018-09-24 17:24:59 +02:00
Giulia
70dadc2111 Added report on the project w youtube link 2018-09-23 20:42:29 +02:00
Giulia
75ebc025a3 Maybe last commit
- updated docs and improved readability
- added recordings
2018-09-21 18:06:05 +02:00
20015091
898e25fcf3 Pre-Final
- Removed all the TODO
- Fixed some code
- Added missing Docs
2018-09-20 15:56:30 +02:00
eea9dd50e0 Fix and last TODO
- Various fix in code
- Fitbit now support steps by minutes
- Added data retrieving from WebHook
- Added checkSteps
2018-09-19 22:57:11 +02:00
2ed9eef8d1 Auto Brightness
- Added AudioFile class replacing Musich
- RemoteDb now can connect and successfully read/load data
- Added some audio file for testing
2018-09-19 00:30:17 +02:00
e5237b5da4 Auto Brightness
- Hue now thread safe
- Added the auto-brightness
  * probably realistic enough
  * probably a bit buggy
- Added test for it
- Rearranged imports
2018-09-17 12:54:20 +02:00
afe644c9e7 Main Refactor
- Main now is called SeniorAssistant
- Moved all threads methods of main in VariousThreads
- Added class VariousThreads
- Handled rest exception better
2018-09-14 22:18:56 +02:00
20015091
dd708201c1 Tests
- aggiunte librerie SWT
- modificato main per dialogflow
2018-09-13 15:53:36 +02:00
e1efbafe45 Musich!
- added working class for retrieving videos ID and playing them
- added a test for it
- added some dependencies (SWT and NativeSwing)
2018-09-12 22:59:20 +02:00
20015091
40fb445262 Musich
- fixed database
- added music class
2018-09-11 15:57:32 +02:00
a4c6c095c6 Database revolution
- added in fitbitData an interface for keeping track of date
- removed annoying IOException, now will write a LOG
- same thing in sensor
- fixed main and adapted to new Database system
- Database now has Local or Remote (to implement)
2018-09-10 21:32:09 +02:00
Giulia
662fb40df3 Added method that manages lights depending on heartbeat rate 2018-09-10 13:56:34 +02:00
DawitG96
e7dd9162c2 Fixing
- final version of build.gradle
- fixed colors
- removed Todos
2018-09-06 15:02:43 +02:00
4ab578226c Main
- added Mainfest for exporting in .jar
- Fixed fitbit getHeartRate
- Classes now throws exceptions if not initialized properly
- Added arguments for main
- Added try and catch system in main
- Todos now are more clear
- Added Log in Rest for errors
2018-09-05 20:46:57 +02:00
20015091
db1c6e0801 LOG
- tested some classes
- added logs
- added hue function for attributes
2018-09-04 12:50:23 +02:00
f7942abae2 Lights, Doc, Db
- Now lights works with DialogFlow
- Database automatically update data from user's fitbit
- Doc is written well (well.. it is ok)
- Added logging here and there
- Removed unused code
- Improved code reading and code quality
2018-09-02 00:04:29 +02:00
d891e53c8e Some changes
- Database now has insert in background (not tested tho)
- Hue lights tested on simulator
- LocalServerReciver.java is now part of package, but still throw exception (maybe is not only this class)
- Sleep class have changed (not tested)
- Fitbit now thread safe (maybe?)
- build.gradle cleaned

* for all the classes not tested is because i need the account fitbit, and TROPPO SBATTI for ask
2018-09-01 01:54:09 +02:00
20015091
f2e8991049 Refined build.gradle 2018-08-30 15:52:12 +02:00
1f4a4b80c0 Init of Database
- don't look in the database, 'cause is a little messy
2018-08-29 23:35:27 +02:00
7b21345f89 Builded WebHook for DialogFlow 2018-08-29 00:52:40 +02:00
20015091
2c6789c33a Added Main 2018-08-28 12:47:41 +02:00
8feb04990f Added some Docs 2018-08-23 20:35:33 +02:00
09d8b7781f Refactor classes 2018-08-23 15:25:12 +02:00
Giacomo Bertolazzi 20015159
3798d18844 Secondary (#2)
* Added Sensor
* Modified something
2018-08-23 15:12:45 +02:00
8647649a6d Added Steps 2018-08-22 19:23:10 +02:00
Dawit Gulino 20013954
18a54e2888 Added new Class for FitBit and Fixes 2018-06-28 16:42:27 +02:00
20015091
051f1ce121 FITBIT is almost finished 2018-06-14 12:05:52 +02:00
Giulia
e1693911e3 new passes on FITBIT 2018-06-14 09:05:11 +02:00
Giulia
caff07bc5b added method to retrieve heartbeats, needs to be tested 2018-06-08 12:39:37 +02:00
Giulia
59aaba9b63 Updated AuthFITBIT class 2018-06-08 11:30:26 +02:00
Giulia
2ff959d3e7 Updated FITBIT classes 2018-06-06 15:40:29 +02:00
4695b9ddfc Fixed some thing
* api -> www
* fixed test lights (for some reason it was sent back in time)
2018-06-01 23:10:15 +02:00
Dawit Gulino 20013954
9d995e093e Branch #Dawit (this was a test)
* lampadine funzionano
* Aggiunto classe Sensor e testSensor. NON SO se giusto
* Aggiunto jar per Z-Wave
* Removed .gradle .idea
2018-06-01 21:36:47 +02:00
Giulia
fc135908f5 Work on FITBIT classes proceeds 2018-06-01 12:30:44 +02:00
Giulia
cd65149211 Added classes for manage authentication and retrieve data to/from fitbit... but the code needs some mods! 2018-05-29 18:18:13 +02:00
Giulia
0949ce4299 Seems that the test for lights passes, tried with the emulator 2018-05-28 17:46:17 +02:00
Giulia
b132736a8e Updated build gradle
Added functions ph. hue
2018-05-28 16:35:48 +02:00
Dawit Gulino 20013954
9a83a06215 Updated hue nad compile settings 2018-05-24 11:49:35 +02:00
Giacomo Bertolazzi 20015159
3ce64c12dc Update .gitignore
* ignoring Idea and gradle
2018-05-24 09:33:19 +02:00
Dawit Gulino 20013954
a67aea0c37 Src folder 2018-05-24 09:20:46 +02:00
Dawit Gulino 20013954
f1abd91c3a Update README.md 2018-05-22 10:50:50 +02:00
Dawit Gulino 20013954
7fe3654392 Update README.md 2018-05-22 10:39:19 +02:00
Dawit Gulino 20013954
8ac1d9190d Update README.md 2018-05-22 10:38:43 +02:00
Dawit Gulino 20013954
ed0702fe63 Update README.md 2018-05-22 10:37:55 +02:00
Dawit Gulino 20013954
231b490429 Update README.md 2018-05-22 10:37:17 +02:00
Dawit Gulino 20013954
fe74a51e2a Update README.md 2018-05-22 10:36:47 +02:00
Dawit Gulino 20013954
57c02ec6f2 Update README.md 2018-05-22 10:34:47 +02:00