Commit Graph

2127 Commits

Author SHA1 Message Date
penfold42
52283b3257 Added debug logging of the Ada header bytes that are sent (#238)
[HYPERIOND LedDevice] <DEBUG> <LedDeviceAdalight.cpp:52:write()> Adalight header for 316 leds: Ada 0x01 0x3b 0x6f
2016-09-13 14:25:42 +02:00
redPanther
adfe2a4b23 effects included in hyperiond binary as qtResource (#237)
* implement effects included in hyperiond  binary

* cleanup

* remove install of effects dir. People who wants to develop effects has to copy them from github
effect params for initial effects can be changed in config permanently and other effect params can be changed
via json (currently only temporarily)

* fix schema of fadecandy
webui fix display of specific led options

* add leddevice write support

* cleanup

* webui: tune hue code

* when use json effect definition from putsiede hyperiond but want to use py script from inside hyperiond use ad a :
e.g. fade.py needs a fade.py near the json file, but :fade.py is taken from resource inside hyperiond

* add ability to di

* add abiloty to diable effcts via hyperion config

* use effect name instead of script in active effects and prio register

* finally solve open file handle during effect is playing. Now script is read before, then file closed and then t is run by python

* fix some webui things
- led config tabs
- inital loading screen

optimize qrc file generation
fix compile warning in hyperion.cpp

* cleanup

* more cleanup
2016-09-13 11:51:16 +02:00
b1rdhous3
d097995a74 Small Hue improvements (#235)
* Small Hue Bridge improvements

* Small Lang fixing
2016-09-11 22:20:57 +02:00
brindosch
0b8d41ed69 Update travis_deploy.sh 2016-09-11 13:21:34 +02:00
redPanther
82611afa25 webui: some editor style tweaks (#234)
* initial support for leddevice options

* fix schema and editor init

* fix led editor labels and schema

* add some led schemas

* led config: insert current values. not yet perfect, but it works

* tune editor style
2016-09-10 23:30:05 +02:00
redPanther
8aff421850 fix setting of current value in led controller 2016-09-10 19:23:13 +02:00
redPanther
2d88cdc2d3 webui: initial support for leddevice options (#232)
* initial support for leddevice options

* fix schema and editor init

* fix led editor labels and schema

* add some led schemas

* led config: insert current values. not yet perfect, but it works
2016-09-10 19:08:08 +02:00
redPanther
678624c959 webui: merge remote control pages into one single page. (#231)
* make enable/disable of bborder work

* fix typo

* smoothing can be disabled via config again

* fix smoothing

* merge remotecontrol into single page

* tiny cleanup in general conf

* tune icons

* fix loading display

* tune some layout stuff

* merge huebridge into leddevice
2016-09-09 18:59:58 +02:00
b1rdhous3
4649786f68 Initial Write Config Support (#230)
* Initial JSON Write

* Initial Write Config Support

* .
2016-09-09 10:15:35 +02:00
brindosch
0e941795d5 Update travis_deploy.sh
[skip ci]
2016-09-09 09:18:32 +02:00
redPanther
951aab1c9d Update LinearColorSmoothing.cpp
disable smooth timer when disabled
2016-09-08 18:07:57 +02:00
redPanther
36124c9afb make blackboder component enable/disable at runtime (#228)
* make enable/disable of bborder work

* fix typo

* smoothing can be disabled via config again

* fix smoothing
2016-09-08 16:32:42 +02:00
b1rdhous3
f23178c770 Deleted flags (#229) 2016-09-08 08:51:03 +02:00
brindosch
012ae23eb1 Update travis_deploy.sh
[skip ci]
2016-09-08 00:33:35 +02:00
brindosch
14b15cc436 Travisci: sf deployment (#215) 2016-09-07 23:11:08 +02:00
redPanther
359559956c testrunner works when compile without ENABLE_TESTS
testrunner works when compile without ENABLE_TESTS
2016-09-07 22:27:43 +02:00
redPanther
2beccb0912 Webui: extend led hardware config + connection lost page (#226)
* split content and js
tune leds config

* implement connection lost page

* split js/html in huebridge

* add js action for connection lost

* extend led config
make connection loss nicer

* tune led code
add menu entry for grabber

* more tuning of webui

* switch back to botstrap textarea
add v4l to components

* add icon

* extend schema for jsoneditor

* implement ledcolors streaming with 4fps

* implement component state
2016-09-07 20:10:37 +02:00
redPanther
4c6a4a1f93 fix effect prio unregister 2016-09-06 11:18:29 +02:00
redPanther
a6d12611a8 webui: enhance led config (#224)
* split content and js
tune leds config

* implement connection lost page

* split js/html in huebridge

* add js action for connection lost
2016-09-06 10:14:54 +02:00
b1rdhous3
ffafe7e306 Simplified Hue Connection (#225) 2016-09-06 09:53:28 +02:00
redPanther
bbffa078fd Webui: view led configuration + lights (#223)
* make hyperion websocket api event based

* implement new websocket handling for generalconf

* migrate all webui stuff to new event based websocket api
some cleanup ... now all html templates are in content
refactoring of web stuff

* add hyperionport to global
start impl. removing advanced key

* separate dashboard
serverinfo is updated every 3 seconds automatily
add input selection
cleanup and remove not needed stuff

* prepare infrastructure for server sided file execution

* webui minor fixes

* fix compile

* implement led layout view with live colors

* live led vies

* fix general conf
unrigister ledcolors request, when not on leds.html

* fix compiler warning

* prepare realtime ledview and enhance ui
2016-09-05 17:26:29 +02:00
b1rdhous3
b99e75d7e4 Fixing Safari Support (#222)
* Switch to non-minified JSON Editor Lib

* Fixing Safari Support
2016-09-04 16:27:48 +02:00
penfold42
49d3d35de1 Ws2812spi and sk6812rgbw have wrong default rate (#221)
* Changed default baud rate in schema for ws2812spi and sk6812spi

* now sets the default baud_rate speed to 2800000 if omitted.
Previously it used the ProviderSPI default which was 1000000 and guaranteed not to work

* Added warnings if the SPI baud rate is likely out of range
Added some debug statements to ProviderSpi
2016-09-04 14:28:06 +02:00
penfold42
4968a11816 Tpm2net rewrite (#217)
* initial tpm2net rewrite - doesnt compile yet

* new tpm2.net drive compiles.
rename old tmp2net typos to tpm2net
fixed compiler warning in ws2812b

* added packetsize calculations and the end of frame character.
Output looks good on tcpdump

* removed old tpm2net driver
renamed tpm2netnew to tpm2net
2016-09-04 09:07:10 +02:00
b1rdhous3
7ac31efd4f Switch to non-minified JSON Editor Lib (#220) 2016-09-03 19:51:30 +02:00
redPanther
4a27f3d43e refactoring of webui and event based websocket layer (#219)
* make hyperion websocket api event based

* implement new websocket handling for generalconf

* migrate all webui stuff to new event based websocket api
some cleanup ... now all html templates are in content
refactoring of web stuff

* add hyperionport to global
start impl. removing advanced key

* separate dashboard
serverinfo is updated every 3 seconds automatily
add input selection
cleanup and remove not needed stuff

* prepare infrastructure for server sided file execution

* webui minor fixes

* fix compile
2016-09-03 15:54:33 +02:00
brindosch
c17c3bd273 Add more schemas + webui integration (#218)
* update schema
... need some fixing regarding schema, will come in next commit
2016-09-02 19:29:04 +02:00
redPanther
06c878e76f fix amlogic for newer kernels (#214)
* fix amlogic for newer kernels
crosscompile stay on 32bit aml with kernel 3.10

* add new platform amlogic64. This is used e.g. for new wetek boxes hub and play2
2016-09-02 07:41:27 +02:00
brindosch
e342927d77 Update hyperion.config.json.commented 2016-09-01 16:20:53 +02:00
brindosch
b893777725 Update hyperion.config.json.default 2016-09-01 16:17:01 +02:00
redPanther
ee26abc6c4 Merge pull request #212 from b1rdhous3/editor
New Json Editor
2016-08-31 18:03:53 +02:00
b1rdhous3
752b32c906 Merge index.html and QJsonSchemaChecker changes 2016-08-31 17:19:41 +02:00
redPanther
742ad9df08 multiple v4l devices. (#210)
* implement use of multiple v4l devices.
Not all v4l devices are compat with that or must be attaches to different usb controllers

* fix typo in config
spilt grabber components in "GRABBER" and "V4L"
2016-08-31 10:13:43 +02:00
redPanther
b9d1439f05 Travisci: add tag and cron support (#211)
travis ci enhancement
[skip ci]
2016-08-31 10:12:58 +02:00
redPanther
6277a280a1 Added debug logging to ProviderSpi.cpp on writes. (#213)
* Added debug logging to ProviderSpi.cpp on writes.
If you have more leds configured than the SPI buffer can support you now get this:
[HYPERIOND LedDevice] <DEBUG> <ProviderSpi.cpp:92:writeBytes()> SPI failed to write. errno: 90, Message too long

* changed debug to error
2016-08-31 10:11:09 +02:00
penfold42
44579f85eb changed debug to error 2016-08-31 17:51:50 +10:00
penfold42
fa152b4560 Added debug logging to ProviderSpi.cpp on writes.
If you have more leds configured than the SPI buffer can support you now get this:
[HYPERIOND LedDevice] <DEBUG> <ProviderSpi.cpp:92:writeBytes()> SPI failed to write. errno: 90, Message too long
2016-08-31 17:34:52 +10:00
redpanther
9a2b167db7 fix typo in config
spilt grabber components in "GRABBER" and "V4L"
2016-08-31 00:54:47 +02:00
b1rdhous3
b6cec24596 Update 2016-08-31 00:46:39 +02:00
b1rdhous3
a6df8aef0d Disabled Form Translatation since this isn't working with new JSON Editor
looking for an other way
2016-08-31 00:28:07 +02:00
b1rdhous3
019e3f5d0c New JSON Editor 2016-08-31 00:22:17 +02:00
brindosch
f6a8c8eb01 Events
[skip ci]
2016-08-30 23:51:32 +02:00
b1rdhous3
dae32f72bf Merge remote-tracking branch 'refs/remotes/hyperion-project/master' into editor
# Conflicts:
#	assets/webconfig/index.html
2016-08-30 23:50:26 +02:00
b1rdhous3
7009aa50ed New JSON Editor 2016-08-30 23:49:21 +02:00
brindosch
c5beedf241 done 2016-08-30 23:39:07 +02:00
brindosch
0603fadd21 Web: Centralize websocket, add json port changer and led schemas (#209)
* add comp test

* update web

* .

* typo

[skip ci]
2016-08-30 23:25:27 +02:00
b1rdhous3
4f5892bb72 Merge pull request #4 from hyperion-project/master
merge
2016-08-30 23:21:03 +02:00
brindosch
146d7b67f7 stu 2016-08-30 23:19:04 +02:00
brindosch
73258809d1 le 2016-08-30 23:15:59 +02:00
brindosch
a7da6cb3d9 . 2016-08-30 23:10:10 +02:00