Giovanni Harting
7d6d289178
fixed wrong calculation of read pwm frequency
...
some more error handling
2015-11-14 14:35:42 +01:00
Giovanni Harting
db379ccdf0
reverted some derps
2015-11-13 23:58:41 +01:00
Giovanni Harting
99a7252194
added default val for pwm_freq 2/2
2015-11-13 23:56:09 +01:00
Giovanni Harting
a99d879298
added default val for pwm_freq
2015-11-13 23:51:53 +01:00
Giovanni Harting
6ae2cc4fb8
added some more error handling
...
fixed pwm_freq not getting set on init
2015-11-13 23:41:38 +01:00
Giovanni Harting
a65bb770fd
added error handling when color can't get read
2015-11-13 23:17:49 +01:00
Giovanni Harting
02f6837d27
removed more unnecessary debug output
2015-11-13 23:13:17 +01:00
Giovanni Harting
f9d696b1b3
removed more unnecessary debug output
2015-10-31 22:47:09 +01:00
Giovanni Harting
aadcfafd00
added error handling of oserror 70 mostly caused by a busy i2c line
...
need to add a proper rate limiting and requeue of requests for a future release
2015-10-31 22:41:07 +01:00
Giovanni Harting
01ba0a4d2c
added set_all_channel method
...
reintroduced caching of stripes & controllers
added session cleanup handling
renamed --daemon to --detach for better understanding
added coloredlogs to make logs better readable and more appealing
2015-10-15 13:26:36 +02:00
Giovanni Harting
4c052b8edb
moved json encoder to a monkey patch
...
added bugs introduced in latest sqlalchemy and json-rpc switch (d5f403d557
)
2015-10-11 21:43:33 +02:00
Giovanni Harting
2bb52aa3a4
added paramcheck too all functions
...
updated documentation
updated codestyle
2015-10-11 17:04:54 +02:00
Giovanni Harting
d5f403d557
Moved to SQLAlchemy
...
Finished switch to JSONRPC
commit 9cf6dd9a0e03c71135c01d4ad4f7d3be0f1e3066
Author: Giovanni Harting <giovanni.harting@touchdata.net >
Date: Sat Oct 10 21:09:20 2015 +0200
fixed some bugs
added some missing things from transition
commit 8ed44b8fcde739b541b1834049025b055a50e6fe
Author: Marius Schiffer <marius@mschiffer.de >
Date: Sat Oct 10 05:53:41 2015 +0200
Creating fresh database works now. Fixed pwm_freq property.
commit dc88ef0df427f90746a499912eff70dfce967c55
Author: Marius Schiffer <marius@mschiffer.de >
Date: Sat Oct 10 04:40:41 2015 +0200
Completed SQLAlchemy integration. Completed JSON-RPC integration.
All daemon class functionality is now on module-level (required for
JSON-RPC decorators).
Migrations will have to be reimplemented with alembic.
commit a4cabdcd00a3e2a3cbbd92a3c9d59a4235e4d277
Author: Marius Schiffer <marius@mschiffer.de >
Date: Sat Oct 10 03:00:19 2015 +0200
First steps towards SQLAlchemy integration.
2015-10-10 21:13:29 +02:00
Giovanni Harting
87f2d12c22
fixed missing json + encode
2015-10-09 21:07:05 +02:00
Giovanni Harting
4ad3fd50fb
first json rpc implementation
2015-10-09 20:44:55 +02:00
Giovanni Harting
1a568b194c
renamed stuff
...
added first gamma correction, closes #1
added db upgrade logic
2015-10-04 08:10:52 +02:00
Giovanni Harting
ad009bd0d5
fixed some bugs
...
rearranged all to single request only
ready for first release \o/
2015-09-13 16:55:07 +02:00
Giovanni Harting
1623bba1fe
added command line options
...
added reset and pwm frequency methods
2015-09-12 20:48:55 +02:00
Giovanni Harting
2602852e63
removed zeroconf for now, may be added back later, closes #8
...
added avahi service configuration file
some small improvments
2015-09-02 00:31:35 +02:00
Giovanni Harting
12e946ab39
added stop_effect, get_effects
...
fixed some wrong calculations from hsv to pwm
added lots of todo descriptions
changed find_stripe from requiring a json to sid directly
2015-08-28 21:10:14 +02:00
Giovanni Harting
dfaeea33c9
some formatting changes and added missing licences
2015-08-28 19:59:10 +02:00
Giovanni Harting
31f9ad5541
some small improvements and fixes for zeroconf
2015-08-28 19:56:00 +02:00
43c956c61d
Added simple effect system
2015-08-28 19:55:54 +02:00
Giovanni Harting
4ad8b85019
added get_color
2015-08-28 19:04:17 +02:00
Giovanni Harting
d21fd04f95
moved find_stripe
2015-08-28 18:47:57 +02:00
Giovanni Harting
f683e2e709
added zeroconf service announcement
...
closes #5
2015-08-28 18:26:21 +02:00
Giovanni Harting
0d8105c93b
switched from colour to spectra
...
disabled gamma correction for now - needs some more work
implemented set_color and add_stripe
2015-08-28 06:12:20 +02:00
Giovanni Harting
597de55291
fixed missing rename
2015-08-28 02:46:28 +02:00
Giovanni Harting
7e421bc676
moved class stripe to another file
...
renamed decorator
2015-08-28 02:44:21 +02:00
Marius Schiffer
4c60dcdc4f
Added cleanup code; Update SMBus emulator
2015-08-28 00:47:32 +02:00
Giovanni Harting
ebf7871bdc
switched to asyncio
2015-08-28 00:43:01 +02:00
Giovanni Harting
d64aef6447
added setup.py
2015-08-27 21:36:48 +02:00