hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.11k stars 384 forks source link

Enable/Disable components during runtime - Issues #204

Closed brindosch closed 7 years ago

brindosch commented 8 years ago

More not tested yet

Feel free to use this PR for easy testing: https://github.com/hyperion-project/hyperion.ng/pull/203

redPanther commented 8 years ago

and the last 3 services? any testers? ( @tpmodding ) for boblight and udp listerns you can use nmap or other network port spy tool to see if hyperion opens the ports or not ...

tpmodding commented 8 years ago

i can test boblight and forwarder

redPanther commented 8 years ago

.. that would be great :-)

@penfold42 , can you test if udplistener vsn be enabled/disabled through hyperion-remote and/or webui?

penfold42 commented 8 years ago

It seems really buggy via web interface

most times i get "Error while parsing json: illegal value at Line: 0, Column: 2" (or some other line/column reference). The one time it did save without error, it did rewrite the config file, but the change didnt take effect until i restarted it.

Also noticed this: [HYPERIOND JSONCLIENTCONNECTION] Someone is sending very big messages over several frames... it's not supported yet

penfold42 commented 8 years ago

./hyperion-remote --disable UDPLISTENER ./hyperion-remote --enable UDPLISTENER

both seem to work fine

redPanther commented 7 years ago

@tpmodding any news from boblight and forwarder? I would like to close this issue

tpmodding commented 7 years ago

total vergessen, ich tests heute, ich geb dann feedback

brindosch commented 7 years ago

ich tests heute, ich geb dann feedback :)

tpmodding commented 7 years ago

jap bin dabei, hab probleme mit boblight... forwarder funzt zwar aber boblight macht mucken...bin aber nicht sicher obs an hyperion oder am boblight liegt der daten verschickt bzw nicht verschickt, auf android geräten mit kodi bekomme ich kein boblight installiert, der will abhängigkeiten aber spuckt dabei fehler aus (kodi auf fire tv stick). muss jetzt mal nen neues libre installieren, bin noch auf einer alpha

tpmodding commented 7 years ago

@redPanther i updated everything today again and now my leds dont light up... if iy use hyperion it works, hyperion.ng workds nothing anymore?

brindosch commented 7 years ago

You could check with my "trans" branch. that worked before and hasn't the latest commits of redPanther. In case this is the reason.

redPanther commented 7 years ago

@tpmodding can you give some more details ... (config, leds, os, system)

You can get debug output with hyperiond --debug my.config.json

BTW it works for me with adalight and fadecandy. Other drivers I can't test atm

tpmodding commented 7 years ago

@redPanther ähm lpd8806, raspbian on rpi3, config -> http://pastebin.com/pFcx7aeQ

its only with hyperion.ng, hyperion starts and everything works fine

penfold42 commented 7 years ago

I dont have a device to test, but this looked wrong...

tpmodding commented 7 years ago

i will try, why was it changed?

penfold42 commented 7 years ago

an error i suspect when someone was cleaning up and refactoring the led devices

redPanther commented 7 years ago

I merged it with a small fix for the fix ....

tpmodding commented 7 years ago

will try it tomorrow, hope it works :)

tpmodding commented 7 years ago
  1. i have alot of warnings? no errors, just warnings http://pastebin.com/W1D3qD23
  2. now it works! :) but why i get no more information on command line? do i have to set a option for this?

pi@raspberrypi:~/hyperion.ng/build/bin $ ./hyperiond export.config.json ^Cpi@raspberrypi:~/hyperion.ng/build/bin $ ./hyperiond export.config.json ^Cpi@raspberrypi:~/hyperion.ng/build/bin $

penfold42 commented 7 years ago

1) I just ignore the cmake policy crap!

2) yay! If you add --debug you get more output? Hyperion.ng is a lot quieter by default

tpmodding commented 7 years ago

ok that explains it, yes i know the debug option, that works well :)

just have to test know the boblight part

redPanther commented 7 years ago

@tpmodding how is it going?

tpmodding commented 7 years ago

forwarder works, but i have no boblight to test

redPanther commented 7 years ago

I've tested boblight, ... it works :-)

brindosch commented 7 years ago

I am sorry, i found a tiny glitch. If you set framegrabber in config to false, it is never shown at the components control.

redPanther commented 7 years ago

solved, can be reclosed .. hopefully

brindosch commented 7 years ago

Can't test due to this strange segfault, it crashes even if i just change the enable to false (after export).

brindosch commented 7 years ago

Up and running