Paulchen-Panther
536b51dba1
Update JsonClientConnection.cpp
...
JSON API: Get current LED color
Former-commit-id: 0b40c1eb1627afd8077bdf690109609fd531c2fb
2016-05-06 15:05:28 +02:00
RickDB
3227a3125b
AtmoOrb - removed skip same color change.
...
Former-commit-id: 399ad830d9ecad8bf8d1e62241744f15631f0515
2016-05-05 14:48:33 +02:00
penfold42
deed8066b0
Piblaster fix ( #614 )
...
* 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
* Experimental changes to piblaster code to work how i think it should
It is now assumed that the PWM pins in groups of 3 correspond to RGB channels of the led.
"assignment" : "rgbrgbrgb",
Would result in:
//Channel number GPIO number Led channel
// 0 4 0 red
// 1 17 0 green
// 2 18 0 blue
// 4 27 1 red
// 5 21 1 green
// 6 22 1 blue
// 7 23 2 red
// 8 24 2 green
// 9 25 2 blue
* Ammend pwm channel mapping comments to match the code
* 1st cut of the new more flexible piblaster pin mapping support
it works but is still rough
* removed old "assignment" handling
- prints an error messaage if found and terminates
fixed the switchoff method
* removing iPins hard coded list of valid GPIO pins
* removed iPins array for switchOff function
* code cleanups
input validation
* Handle catching (and ignoring) SIGPIPE.
You can now kill and restart pi-blaster daemon and hyperiond will gracefully recover
* added a binary for testing
* Added sample config and my modified pi-blaster version to support more GPIOs
* moved hyperiond
* removed testing binaries
move sample configuration to the configs directory
* re enabled device config display
* removed sample configuration
Former-commit-id: 95e4d4ea2fb7cb5439e8cd597883a638da61a574
2016-04-29 16:00:33 +02:00
Paulchen-Panther
bb9b02cf05
get current state (active Effects) over JSON Interface ( #608 )
...
* Create ActiveEffectDefinition.h
* Update EffectEngine.h
* Update Hyperion.h
* Update Effect.h
* Update EffectEngine.cpp
* Update Hyperion.cpp
* Update JsonClientConnection.cpp
Former-commit-id: 5664b69da6893dd0d0de0e7c74c01cdcafd57310
2016-04-24 17:07:31 +02:00
Rick164
d4dda2dcc4
AtmoOrb LedDevice now only processes new color commands and skips identical, saves last send color per light id separately in Qmap. ( #602 )
...
Former-commit-id: 38873e5b718c73d95111abcb10cf148f6a6ab18b
2016-04-21 14:51:43 +02:00
Rick164
02fef83bb8
AtmoOrb smoothing additions
...
* Updated smoothing options for AtmoOrb, can now choose between Orb external or Hyperion's internal smoothing.
With skipSmoothingDif you can set the maximum allowed color difference before overriding / clearing Orb smoothing during faster color change like for instance color <-> black.
* Updated inline documentation.
* Fixed command type typo in AtmoOrb device.
* Corrected variable spelling in AtmoOrb device.
* Make smoothing also match equal values for AtmoOrb smoothing differential
Former-commit-id: 3eede43c2f76fa324f0144aeac0526b8125ad149
2016-04-02 00:07:28 +02:00
AEtHeLsYn
b37cbd26d5
Add color adjustment to all RBG channels
...
* Channel adjustment config
* Create RgbChannelAdjustment.h
* Delete RgbChannelAdjustment.h
* Create RgbChannelAdjustment.cpp
* Create RgbChannelAdjustment.h
* Delete RgbChannelAdjustment.cpp
* Create ColorAdjustment.cpp
* Delete RgbChannelAdjustment.h
* Create ColorAdjustment.h
* Update ColorAdjustment.h
* Update ColorAdjustment.h
* Update ColorAdjustment.h
* Update ColorAdjustment.cpp
* Update Hyperion.cpp
* Update Hyperion.cpp
* Update Hyperion.cpp
* Update Hyperion.h
* Create RgbChannelAdjustment.cpp
* Create RgbChannelAdjustment.h
* Create ColorAdjustment.h
* Create MultiColorAdjustment.h
* Update MultiColorAdjustment.h
* Create MultiColorAdjustment.cpp
* Delete ColorAdjustment.cpp
* Delete ColorAdjustment.h
* Update RgbChannelAdjustment.cpp
* Update Hyperion.cpp
* Update Hyperion.h
* Update Hyperion.cpp
* Bug fixes
* Update hyperion.config.json
* Add color adjustment to json server and client and adapt hyperion-remote
* Change the color modification order
* Minor bug fix
* Create calibration Images folder
* Create calibration Gamma folder
* Create calibration RGB folder
* Added files via upload
* Delete .gitkeep
* Delete .gitkeep
* Added files via upload
* Delete .gitkeep
* Update color effect order and don't correct twice
* Uploaded gradient images
Former-commit-id: 8ab465e59834f12a21709a6f4546bd6808a2a495
2016-04-02 00:04:11 +02:00
brindosch
ad584aa548
Typos
...
Former-commit-id: fc7bc3c0e4bddcb5a6b778c2afabc3940a08782c
2016-03-23 18:54:49 +01:00
brindosch
f332473b77
Merge remote-tracking branch 'refs/remotes/origin/Beta'
...
Former-commit-id: 5bdbda1406bb0ddb99440502584604b85b0f3063
2016-03-23 17:53:32 +01:00
brindosch
fa66c3b2b5
Rework log messages
...
Former-commit-id: eac93c0fd78fdf353e940d08df3cabf0b962a3e2
2016-03-23 17:40:45 +01:00
penfold42
a3204ae6be
LedDeviceFile now defaults to /dev/null if the output is omitted.
...
Former-commit-id: eff12ec16d08ffa00287ed68238ab6b397f1c53d
2016-03-23 21:28:31 +11:00
penfold42
7dce3ab798
renamed the "Test" device to be "File"
...
No functional changes, but
- files have been renamed
- the device name is now "file" not "test"
Former-commit-id: 3fbc03c3fe1d764654c1d28ebb80562ce6276ab1
2016-03-23 21:12:34 +11:00
penfold42
6143075365
1. changed default number of pwm LEDs to 256
...
2. Adds support for level shifters that invert the data
Config option - "invert" (integer)
if omitted, do not invert
if == 0, do not invert
if !=0, invert
Former-commit-id: fd5b2863a85b11ac3a8444d1e02822f852feb556
2016-03-22 23:50:14 +11:00
brindosch
fb7445b545
Update
...
Former-commit-id: 3c6ac5d2f618cd7499c16bca950ff3d41f855318
2016-03-22 01:01:54 +01:00
brindosch
1f18073f00
Merge pull request #534 from AEtHeLsYn/master
...
Color correction
Former-commit-id: 7be726f1adb8698684a2b4726650082ed517901f
2016-03-22 00:56:41 +01:00
brindosch
2677304ec4
Merge pull request #553 from ntim/support_for_philips_hue
...
Improved validity checks and memory footprint for Philips Hue
Former-commit-id: 65b450ae730fd5e06006a8fe6ab3e3b6ce260c43
2016-03-22 00:56:27 +01:00
AEtHeLsYn
3c2682b626
Update JsonClientConnection.cpp
...
Former-commit-id: 5014c392b3c7629b6f02ead321621f7edc560680
2016-03-21 17:42:13 +01:00
AEtHeLsYn
b46d231f75
Update JsonClientConnection.cpp
...
Former-commit-id: fef896ef86f04901cf2227a0897dd9ea999325b7
2016-03-21 17:07:02 +01:00
AEtHeLsYn
642de44c7c
Update JsonClientConnection.cpp
...
Former-commit-id: 53b8cf73df6f3cec49886169b870e5490828716b
2016-03-21 17:04:02 +01:00
AEtHeLsYn
ef1f269c51
Update schema-correction.json
...
Former-commit-id: 223e5d183fd2ec83f61421aaa142bc86958fff6a
2016-03-21 17:00:01 +01:00
AEtHeLsYn
35b7707b3f
Update schema-temperature.json
...
Former-commit-id: 3f5a96e0275e239ba0361905282b59a9bd4412d0
2016-03-21 16:59:46 +01:00
Mark Walker
d2973ff20b
Add ws281x driver parameter for PWM channel
...
The RPi 2 and 3 have two PWM channels and 3 PWM pins available to the
gpio header. BCM18 and BCM12 run on PWM channel 0. BCM13 runs on PWM
channel 1. This change allows BCM13 to be used by allowing the PWM
channel to be specified.
Former-commit-id: 3693ab438c2b369e6307c262d32bba509409e5b9
2016-03-20 22:05:24 -07:00
ntim
e0c3ece80d
Deletion of qt network reply objects.
...
Former-commit-id: 258badb680014a187d76d9183080ea3de6895692
2016-03-20 13:33:41 +01:00
ntim
926f47fc1a
Added more precise outputs on failures as well as some additional checks.
...
Former-commit-id: a0def586410d90abda002504d9c2ae88abc43088
2016-03-19 12:36:55 +01:00
ntim
d75a88eb9f
Retreived one light more than necessary.
...
Former-commit-id: 6ee5b0f4a86210fcf4bf3ee96b369aff20c25720
2016-03-17 09:06:28 +01:00
AEtHeLsYn
75991c16e1
Merge pull request #7 from tvdzwan/master
...
Up-to-date
Former-commit-id: ca05f264b29838c2444f2687ff1bf510bbf9d9af
2016-03-16 10:40:38 +01:00
RickDB
7adb339dea
Updated orbIds config setting and sample config.
...
Former-commit-id: 350db40b53d04efbb43dc8c87c88bf2eb378fa6b
2016-03-15 18:37:55 +01:00
RickDB
f783c59185
Corrected indenting in LedDeviceFactory.cpp.
...
Former-commit-id: 31713a4a0ce9bd25fd1e39969bbb481363a80167
2016-03-15 12:06:24 +01:00
RickDB
e5545eaac0
Code reformatted.
...
Former-commit-id: 6f3688791602efb33389c3ba789e7a8a723ee290
2016-03-15 12:03:00 +01:00
RickDB
dcc6a9b449
Make sure the byte array is empty before filling it.
...
Former-commit-id: 64f76fa358234e131377ecfabf196f3c7324e79f
2016-03-15 11:45:25 +01:00
RickDB
5be072be24
Added more inline documentation.
...
Simplified joinedMulticastgroup.
Removed non-required functions and includes.
Former-commit-id: 829b5c6f89ee1e9a4789dbe18f911b05e3b5d8e1
2016-03-15 11:10:04 +01:00
RickDB
fdb164da0a
Added multi Orb support, Orb ID should match that of leds index with a +1 offset (index 0 = Orb id 1 etc..)
...
Code cleanup.
Former-commit-id: af8a6df876f334c9a65b1a936b5bb85b380d86d1
2016-03-14 23:19:20 +01:00
RickDB
0d8c4ac5fb
Correctly set buffer size based on number of leds so that it works with non-standard AtmoOrb setups.
...
Former-commit-id: 6aec2410d6e870c8489e565269f2990e3a9e1b85
2016-03-14 21:19:47 +01:00
RickDB
bd1a45216a
Initial AtmoOrb support including sample json config.
...
Former-commit-id: 51ad57afd39695095b5886966e8c71c4e47f269e
2016-03-14 20:19:19 +01:00
AEtHeLsYn
1f1aee0c37
Final fixex
...
Former-commit-id: 7b2e1a33ab7705dddadfa1ec99d3d7c379ab10dd
2016-03-13 21:14:22 +01:00
AEtHeLsYn
28f67871dc
More fixes
...
Former-commit-id: 331ba604dba8aa16f9cf42c5827c8542502be545
2016-03-13 13:05:47 +01:00
AEtHeLsYn
a5a17776d4
BugFix
...
Former-commit-id: 8887ee93d5bcaa7ee13f4f5afb601a65d59ee113
2016-03-13 12:10:54 +01:00
AEtHeLsYn
e4d77660a4
Bug fixes
...
Former-commit-id: a6783a75edb83988d1737df3d4a7a14c71ec4223
2016-03-13 11:59:36 +01:00
AEtHeLsYn
84c48b9a0a
Merge remote-tracking branch 'refs/remotes/tvdzwan/master' into test
...
Former-commit-id: 19831aa23078659d7f285b0e91bffff21a932283
2016-03-13 11:52:38 +01:00
brindosch
deb010cc22
fix leddevicephue
...
Former-commit-id: eb4f93bf7a59d496f83d8db534f99cf589c46bc9
2016-03-12 00:55:28 +01:00
brindosch
7508b9c9b0
Merge pull request #535 from redPanther/prio_cleanup
...
Prio cleanup
Former-commit-id: 9b801630fe3c32232666cc2c5f3f3cfd43da381b
2016-03-11 19:26:01 +01:00
brindosch
e82643ff50
Merge pull request #533 from markwal/rpi_ws281x
...
Add new WS281x driver
Former-commit-id: 1264edf7f5e0bc29f091e72989ab7116b78056bf
2016-03-11 19:10:13 +01:00
brindosch
9e3b98dfc3
Merge pull request #538 from ntim/support_for_philips_hue
...
Reads hue light ids in case the user did not supply any.
Former-commit-id: 7dc1e6a14c0bd2b08439d13e7e2acf9f539cf1c1
2016-03-11 19:08:11 +01:00
brindosch
385d5a896d
Cleanup and bugfixes
...
Former-commit-id: 8622ff7fb963eb7c52e816f1c779e9e9869ece53
2016-03-11 19:06:36 +01:00
AEtHeLsYn
28fd10cdcd
Update JsonClientConnection.cpp
...
Former-commit-id: 6216d16565b82427094b030cede48ee589f5c969
2016-03-11 12:46:09 +01:00
AEtHeLsYn
c937dfa674
Update JsonClientConnection.h
...
Former-commit-id: adc564d5259638c3e79ab5a12550a89c0d719186
2016-03-11 12:32:48 +01:00
AEtHeLsYn
da7183d28b
Update Hyperion.cpp
...
Former-commit-id: 5bad6209c49a8fd9eba5582119d9e130b9bea565
2016-03-10 18:13:46 +01:00
AEtHeLsYn
3370cc6271
Update MultiColorTransform.cpp
...
Former-commit-id: c743c2fec460d645b64c1172212469287af6a8db
2016-03-10 17:54:39 +01:00
AEtHeLsYn
b6c08ae34f
Update CMakeLists.txt
...
Former-commit-id: 808a5c9a22a57f6d6ee77adb1c1f112b291b7188
2016-03-10 17:28:34 +01:00
AEtHeLsYn
9e13303a4a
Added files via upload
...
Former-commit-id: 55b74524b06af6f5c443053a56216c0db465fb2f
2016-03-10 17:27:25 +01:00