Commit Graph

53 Commits

Author SHA1 Message Date
redPanther
2c61b49b57 add json check before compile (#354)
* add json check before compile

* do more checking on effects

* add effects checking

* better effects checking.

* integrate schema check for default config
reduce size of default configs
2016-12-29 23:27:33 +01:00
redPanther
3746f643af multi bugfix pr ... (#348)
* move name to general
add a version for config file

* start impl. config migrator

* fix typo amd set access level

* fix schemaa name

* fix schema

* add structure for config migrator

* add more structural things for config migrator

* fix not all grabber provide live video

* add schema for trails
2016-12-24 10:02:12 +01:00
jonudewux
8ed8823033 Trails effect (#346)
* Create trails.py

* Create trails.json

* Create trails_color.json
2016-12-24 09:34:14 +01:00
brindosch
88bed79c07 impl options explanation, uiLock (#343)
* update schemas

* update

* killed upstream change

* min prio is now 100

* reset watchdog regularly

* update

* fix

* update
2016-12-21 18:24:03 +01:00
redPanther
a724fd1535 detect config is readonly, adalight and other stuff (#333)
* update lightberry sketches
update compilehowwto (windows disclaimer)
some refactoring in main cmakelists + preparation for windows compile
tune ada driver, set delayAfterConnect default to 1.5s because some arduino (e.g. mega r3) needs this
set priority min/max for grabber/network services - prevent colliding prios between webui/background stuff and grabbers/net services

* add check if config is writable. TODO do something usefull in webui

* fix indention error

* fix typo

* fix webui can't write led config

* typo

* fix cmakelists

* change methode of detecting linux
2016-12-14 22:45:00 +01:00
penfold42
33f5530a1c Added new Candle effect - like those fake flickering led candles (#317)
* Added new Candle effect - like those fake flickering led candles

* Candle work...
code cleanups
parameter changes
schema file
english labels

* renamed a title

* candle effect german localisation

* fix typo in police.py
2016-12-09 13:21:32 +01:00
brindosch
8d55154164 Transit translation system (#309)
* update schemas

* update schemas

* update schemas

* schema update

* update translation

* upd
2016-12-04 19:32:23 +01:00
redPanther
5b0e401ca5 always output latest version of config file to webui (#307)
* always output latest version of config file to webui

* fix permissions after default config export

* tune code

* set permissions for exported effects

* use qt setperm instead of chmod
update effects code style a bit

* add fallback when config is not readable
2016-12-03 21:11:52 +01:00
brindosch
3e5ca4601d Update webui (#301)
* update

* update

* fix

* implement opt groups

* spaces

[skip ci]

* page wrapper adjust

[skip ci]

* implement optgroups for remote, adjust effect schemas

* lost id

[skip ci]
2016-11-30 17:32:12 +01:00
penfold42
6b3f0e42b5 fix strobe effect frequency (#300)
* fix strobe effect frequency

* Changed the frequency in the effect definitions
2016-11-27 11:39:20 +01:00
redPanther
9e5903e1aa platform cleanup and cmake osx fix (#294)
* rename platform rpi-pwm to rpi. remove original rpi platform
install symlink to bin folder
create effects folder for custom effects

* fix osx jobs evaluation
2016-11-20 22:57:19 +01:00
brindosch
c05181666c LED Layouts, Delete Effect, Colorpicker for EC (#290)
* upd

* ipadte schemas

* update html

* update

* fix matrix index increment

[skip ci]

* matrix 1 led as minimum

[skip ci]

* disable zoom

[skpi ci]
2016-11-18 18:39:27 +01:00
brindosch
864538f188 Effects Configurator (#281)
* update translation

* add css

* Update JsonClientConnection.cpp

* add effectscreator

* remove udp

* fix title c/p issue for sparks

[skip ci]

* update schemas

[skip ci]

* typo

[skpi ci]
2016-10-30 17:54:38 +01:00
Paulchen Panther
fab0c208fe Create Effect configuration files (.json) with JSON RPC (#277)
* Add getEffectSchemas and loadEffectSchema function

* Add getEffectSchemas function

* add effect schema files to internal resources

* Add loadEffectSchema and getEffectSchemas function

* add effect schema resources

* add getEffectSchemas function

* extend handleSchemaGetCommand to get ...

... all available effect schemas
add handleCreateEffectCommand function

* add handleCreateEffectCommand function

* include schema-create-effect.json file

* add create-effect schema

* Add schema-create-effect.json file

* Add createEffect to hyperion-remote

* Add createEffect function

* add createEffect function

* Create fade.schema.json

* Add files via upload

* Add files via upload

* Update police.schema.json

* Update EffectEngine.qrc.in

* Update CMakeLists.txt
2016-10-24 23:52:53 +02:00
redPanther
89afedf3d5 light clock (#260)
* extend image effects
add a basic light clock

* add alpha values  to rainbow

* some effect tuning

* make seconds hand optional and change color to yellow
make blue hours hand always visible
2016-10-01 21:34:30 +02:00
redPanther
f88cd3a230 extend effect engine with qt image effects (#249)
* - effects now can use qt image effects
- rainbow swirtl is now suitable for any led layout - including matrix

* fix rainbow effect

* effect: add radialGradient

* fix some js errors

* optimize code

* try fix travis test not working as expected

* fix default config files

* fix config
2016-09-21 22:01:50 +02:00
penfold42
bab27964f2 added multicast reception in the udp effect (#675)
* Removed -HUP so the default -TERM signal is sent instead.
- hyperiond only listens for TERM and INT. HUP is often used to get an exe to reread its config

Changed pgrep to add '-x' so it wont partial match on the exe name.
- I have multiple instances with multiple hyperiond-instance1 names
- this ensures the service script only kills the right process

* reversing errant change to hyperion.systemd.sh

* cleaned up a couple of compiler warnings

* moved bitpair_to_byte initialiser to (hopefully) work with older GCC

* compiler warning in udp driver
removed some tabs in ws2812b.cpp

* formatting - spaces to tabs

* moved rpi_281x to tag sk6812-v1.0

* moving to my fork of rpi_281x

* removed dos line endings

* Found some more "dos" line ending files

* Added multicast support to the udp listener "effect"

* the default udp.json will listen to unicast on port 2391 (as it used to)

the new udp-mcast.json will listen on multicast 239.255.28.01:2801


Former-commit-id: 5c76fabd3da141094f5434ed869420ad6e581fd8
2016-06-04 19:27:47 +02:00
redPanther
945f3d1c5b big code cleanup. mostly line endings and indentions (#659)
No functional changes - except protobuffer is mandatory and not optional now.

Former-commit-id: 1e6347e708707cc388cdedb8d0352a9f017030b8
2016-05-26 23:44:27 +02:00
Peter Fern
3ba86a1253 Allow random mood blobs color, set mood-blobs-full to random
Small change to allow a random start hue for mood blobs - adds a bit of
spice instead of starting at the same color every time.


Former-commit-id: 2b5a0250b95ac5632661d3b8fce3c1567f5daaa3
2016-05-10 16:34:24 +10:00
AEtHeLsYn
9db45c0ffb Merge remote-tracking branch 'refs/remotes/tvdzwan/master'
# Conflicts:
#	include/hyperion/Hyperion.h
#	libsrc/hyperion/CMakeLists.txt
#	libsrc/hyperion/Hyperion.cpp


Former-commit-id: 1144520581d4531952038d2118cb11e01bebc10e
2016-03-09 19:25:04 +01:00
redpanther
102d56b8f9 Merge remote-tracking branch 'upstream/master/master'
Former-commit-id: 089220e45a3108c7d123e71eda2e227c8a813f0a
2016-02-29 04:25:19 +01:00
wisc
773222192d fixed upd merge conflicts and fadecandy compiler warning
Former-commit-id: cb9506a68deff80a331f6455c3cb8fa783a2140e
2016-02-10 00:57:21 +01:00
redpanther
e5b802c01d simplify effects
Former-commit-id: bbb8dc4c3852d0651eb2f4e9999e426db4a905d0
2016-01-28 06:12:28 +01:00
redpanther
8732ffacf4 simplify code of effect fade.py
Former-commit-id: 3c7c633e764d14c9e11c6e145289894954695c65
2016-01-28 05:50:32 +01:00
redpanther
e7c7e05f88 add fading effect like in a cinema. sped start and end color are selectable in json file
rename loop effects to more meaningfull names


Former-commit-id: bed033e19d7cb38b0d5f11313a9f927ac8121194
2016-01-24 08:10:36 +01:00
redpanther
2555c50710 add shutdown effect:
system shutdown is disabled by default. enable it in json (set false to true)
the shutdown is abortable. simply select another effect before shutdown time reached
this effect is made for linux and did not workl on windows without modifications


Former-commit-id: 32f92246fbc87de576e4b1059dd319646917ec74
2016-01-23 13:09:23 +01:00
redpanther
3327251ba7 Merge remote-tracking branch 'tvdzwan/master'
Former-commit-id: c10089870868d7019404f566c0105b9d7a8f5b49
2016-01-21 23:30:10 +01:00
redpanther
de5b284975 modify effects
- snake has a nice tail
- random is not so fast anymore
- merge sparks and sparks-color
- make more params available in json files


Former-commit-id: fc2a4f6f6ce2b44a35a75a9c0dbe36504b790be9
2016-01-20 22:36:21 +01:00
redpanther
7dfe8ae8cf all effects has same lineendings
Former-commit-id: c2586f57ce03c20a7a1083a5d62c8ddde7359b84
2016-01-20 14:45:17 +01:00
redpanther
645a376da6 Merge remote-tracking branch 'jm-github/master'
Former-commit-id: dc9401e9e6609887ef7f8059cddc81662a6ac5a4
2016-01-20 14:43:55 +01:00
Paulchen-Panther
7d9de67449 Create police.py
Former-commit-id: 97f31beef808c6b4950d598affc5259bbc8edee4
2016-01-17 18:19:33 +01:00
Paulchen-Panther
da914e0135 Create police-lights-solid.json
Former-commit-id: d3f433361bb305b3d367754fc4c4818092a6c74b
2016-01-17 18:18:49 +01:00
Paulchen-Panther
641e8ba6e0 Create police-lights-single.json
Former-commit-id: 1503be1ff3092af365cfb3479e2911e1c3b8dd97
2016-01-17 18:18:12 +01:00
penfold42
6d062adc35 Added a "udp" effect that listens for UDP packets and then sets the LEDs.
A good companion for the UDP led driver i also commited


Former-commit-id: f9c43eab8fe1c805c32de3e3612b238b33d1d153
2016-01-08 14:11:57 +11:00
snoerenberg
d3b3ce7630 New X-Mas Effect added
Former-commit-id: b5fb724f5b07f1cd55fef620c02f285522680cf6
2015-12-09 16:18:08 +01:00
snoerenberg
8a6414b250 New X-Mas Effect added
Former-commit-id: d34644b1cab491b4f5c326d77098d9ee198f0b11
2015-12-09 16:08:26 +01:00
jm-github
fb8c10876b 5 more effects
Former-commit-id: e6a826299ad48143cb155e7113a34bd6d3b20246
2014-10-30 16:02:30 +00:00
Fabian Hertwig
2b3a3be0d3 Added the possibility to change the base color of the mood blobs over time.
The base Color is moved 1 degree in baseColorChangeRate seconds if activated.
It is moved between baseColorRangeLeft and baseColorRangeRight. These Values are in degrees. When these borders are set to the full circle (eg. 0 and 360), the base color moves around the colorwheel, otherwise it moves from left to right and back again.
Furthermore there are three effects script for this feature: "Full color mood blobs" which moves around the full circle, "Warm mood blobs" and "Cold mood blobs" which only shows the warm, cold colors.
This update wont change the functionality of the old scripts.


Former-commit-id: 0c7a2ad280e49cd1ac0d6a9fbc9d1a9ff0eea236
2014-05-24 13:03:46 +02:00
spudwebb
6d6f4bf629 add color parameter to the knight rider effect
Former-commit-id: 9d4cd0e18b7871acd76a9cafb04efc39ce6fac74
2014-04-22 14:15:09 -04:00
tostadora
b781c4403a back to the old decrement. It had a better effect
Former-commit-id: a00b1c8c84c7846f760e7c0cec7d08949bd6e6b7
2014-02-05 19:24:36 +01:00
tostadora
e6ebd6696b clear code and change the decrement of value to make it even
Former-commit-id: c13cb44cfe48314c087cf6b80257317a38f260ba
2014-02-05 09:14:42 +01:00
tostadora
faee31c83f new effect!
Former-commit-id: e19975e298fd6b11e7012739ac37ee3047d2c184
2014-02-04 23:51:11 +01:00
T. van der Zwan
1161748013 Fixed bug in strobe.py
Former-commit-id: b951ab714019518cfcbb1550e49b41de649b535c
2013-12-14 05:55:06 +00:00
T. van der Zwan
e769117dfd Added some strobes, removed execute flag from json files
Former-commit-id: 0589c5014451b775d61a42d97a90f03f358c7ab3
2013-12-14 02:03:21 +00:00
T. van der Zwan
9d26238d49 Updated the deploy with the new index option (and strobe effect)
Former-commit-id: 93335ab096599c355686b1644d5e5a34f37f567e
2013-12-13 22:00:57 +00:00
johan
0537fdc741 Moved effect configurations from the config file to effect directory
Former-commit-id: b8db13f25b93a0007adf613f0310a1cfbb6b8224
2013-12-11 21:58:59 +01:00
johan
9872d8f02b Ensure types in effects to avoid integer calculations were floats were needed
Former-commit-id: 84d8b281a544478bf14e88284cb600fdbb11f65c
2013-12-08 16:23:01 +01:00
johan
000117e393 Some small optimizations in the effect engine
Former-commit-id: ed35fc4ff0dc3afa133f584b6625227eb7b615dc
2013-12-08 12:46:33 +01:00
johan
c47ae445dc Mood blobs effect added
Former-commit-id: 4bae584f7fa0c688573ad6051458f99954ded686
2013-12-08 12:46:14 +01:00
johan
9954cb3e0d Added parameter value checks to effects
Former-commit-id: daf5d46862d9deeb12df56d262c7a0026a191a25
2013-12-01 15:22:51 +01:00