Hi guys,
Could you me out making a choose?
which is preferred and why?
https://github.com/FastLED/FastLED
https://github.com/RanzQ/serial-fastled
TY
Hi guys,
Could you me out making a choose?
which is preferred and why?
https://github.com/FastLED/FastLED
https://github.com/RanzQ/serial-fastled
TY
Alles anzeigenxbmcVideoChecker" :
{
"xbmcAddress" : "127.0.0.1",
"xbmcTcpPort" : 9090,
"grabVideo" : true,
"grabPictures" : true,
"grabAudio" : true,
"grabMenu" : false,
"grabPause" : false,
"grabScreensaver" : true,
"enable3DDetection" : true
},
What's your grabMenu set to ?
yes it is.
it also doesn't grab pictures, only movies btw it worked earlier on a RPI, now on x64 PC.
something i found on the internet: still the case?
ZitatAmbilight from the XBMC menu will not work, because the information is not available for XBMC addons at the moment. So there will only be Ambilight when watching a movie. Also the XBMC-checker will only have an effect when using the grabber of the RPi at the moment which you don't so you could disable that one.
Was it necessarily to choose some other compile options?
To use framebuffer instead of dispmanx (for example on the *cubox-i*):
```
cmake -DENABLE_FB=ON -DCMAKE_BUILD_TYPE=Release ..
not sure sorry
ZitatEDIT: Proberly not, i rebuilded with :
cmake -DENABLE_FB=ON -DPLATFORM=x86 -DCMAKE_BUILD_TYPE=Release ..
still same, exactly same, not sure if this enable_FB=ON danythinging..
I think we should maintain a separate Hyperion "addons" repository for stuff like this.
I've already got a lirc script to act on key presses and this would make a good addition to the collection
Thanks for sharing !
That seems cool, but I have no clue how to install this and how it works, do I need to configure the key mapping towards you're scripts or? TY
Maybe we can put some pictures as an advice in the installation wiki, for testing purposes. I used them configure the colours etc for my leds. Very handy
Hi, i have a nice feature in my kodibuntu, i dont take credits writing the code, cause someone else did.
But its such a nice feature.
From my harmony remote (i configured 2 buttons) with keymap the refer to scripts.
One script will change static background colour, each time i press the same button it will go to the next, same idea for the effectswitch.py
Can we implant this script in hyperion ng, and make and hyperion-remote command? for me there is no need, but maybe others also like this.
Scnd request: in hyperion,ng maybe its nice if we can setup the background to change to some pre-defined effects.
The scripts are down below.
effectswitch.py
import json
import subprocess
colors = ['Snake',
'Strobe',
'Rainbow swirl fast',
'mood-blobs',
'red',
'purple',
]
defaultData = {"color":"purple",
"effect":"Blue\\ mood\\ blobs"
}
effects = ['Blue\\ mood\\ blobs',
'Cold\\ mood\\ blobs',
'Full\\ color\\ mood\\ blobs',
'Green\\ mood\\ blobs',
'Red\\ mood\\ blobs',
'Warm\\ mood\\ blobs',
'Rainbow\\ swirl',
]
def read_current():
try:
with open('/usr/share/hyperion/scripts/currenteffect.json', 'r') as f:
data = json.load(f)
f.close()
if data == '':
return defaultData
else:
return data
except (IOError, ValueError):
return defaultData
def write_current(data):
try:
with open('/usr/share/hyperion/scripts/currenteffect.json', 'w') as f:
json.dump(data, f)
f.close()
except IOError:
pass
def parse_current_effect():
pass
def set_current_effect():
pass
def set_effect(effect):
subprocess.Popen('/usr/share/hyperion/bin/hyperion-remote --priority 100 --effect ' + effect, shell=True)
def main():
current_data = read_current()
for i,effect in enumerate(effects):
if effect == current_data['effect']:
if i == len(effects) - 1:
current_data['effect'] = effects[0]
break
else:
current_data['effect'] = effects[i + 1]
break
write_current(current_data)
set_effect(current_data['effect'])
main()
Alles anzeigen
colourswitch.py
import json
import subprocess
colors = ['purple',
'orange',
'blue',
'green',
'red',
'cyan',
]
defaultData = {"color":"purple",
"effect":"night rider"
}
def read_current():
try:
with open('/usr/share/hyperion/scripts/currentcolour.json', 'r') as f:
data = json.load(f)
f.close()
if data == '':
return defaultData
else:
return data
except (IOError, ValueError):
return defaultData
def write_current(data):
try:
with open('/usr/share/hyperion/scripts/currentcolour.json', 'w') as f:
json.dump(data, f)
f.close()
except IOError:
pass
def parse_current_effect():
pass
def set_current_effect():
pass
def set_color(color):
subprocess.Popen('/usr/share/hyperion/bin/hyperion-remote --priority 100 --color ' + color, shell=True)
def main():
current_data = read_current()
for i,color in enumerate(colors):
if color == current_data['color']:
if i == len(colors) - 1:
current_data['color'] = colors[0]
break
else:
current_data['color'] = colors[i + 1]
break
write_current(current_data)
set_color(current_data['color'])
main()
Alles anzeigen
Hi, i have an question, sorry about spamming the forums with questions xD.
Eerlier i had RPI -> SPI -> WS2801, then the menu was always grabbed and played to the led.
Current i have -> WS2801 -> Arduino Nano -> USB - .> X86 HTPC (kodibuntu)
Anyway it doesnt grab the menu, video works ok.
I think i had something to do with boblightserver or x11, does anyone can give me some intel on this?
Thank You
Just wanted to share this
From teamviewer on work i connected my eyetoy to watch if the lights are working :p
just to be clear, you got hyperion.ng working? If so great! and congratulations! You can follow the github issues in hyperion.ng if there call for testers or you have a hint, then let us know ...
yes got hyperion.ng working, it was rather an easy install then i suspected.
Its working, got it compiled enabled boblight an finally having a nice background effect. If i can help with something, like test my situation ore something, im here keep up the good work! this hyperion version is going to be awesome!
solved with hyperion ng, perfect!
you mean i need to compile hypercon? or the hyperion ng.
is this the ng download link?
https://hyperion-project.org/t…st-hyperion-beta-none.25/
i just found this link
https://github.com/hyperion-pr…ob/master/CompileHowto.md
wish me luck my first time compiling, the guide is such nice
Could anybody clear some things up?
What is the big difference with hyperion ng
Will hypercon support it?
Could we get a feature list?
I know it in early state, i can help as an tester if needit, got an arduino nano connected to a kodibuntu machine with x86 /x64 processor (CORE2)
And is it dangerous to run it as an daily driver?
Thanks
do we need hyperion.ng for this? cause this method didnt work for me
i recently have read that the duration argument has been cancelled out of hyperion? Why?
I used this for clear state effect. hereby my scripts
autoxec.py in/home/.kodi/userdata
import xbmc,xbmcgui
import subprocess,os
import time
class MyPlayer(xbmc.Player) :
def __init__ (self):
xbmc.Player.__init__(self)
def onPlayBackStarted(self):
if xbmc.Player().isPlayingVideo():
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L03")
os.system('/usr/share/hyperion/bin/hyperion-remote --clear')
def onPlayBackEnded(self):
if (VIDEO == 1):
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L04")
os.system('/usr/share/hyperion/bin/hyperion-remote --priority 100 --duration 86400 --effect "Blue mood blobs"')
def onPlayBackStopped(self):
if (VIDEO == 1):
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L04")
os.system('/usr/share/hyperion/bin/hyperion-remote --priority 100 --duration 86400 --effect "Blue mood blobs"')
def onPlayBackPaused(self):
if xbmc.Player().isPlayingVideo():
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L04")
def onPlayBackResumed(self):
if xbmc.Player().isPlayingVideo():
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L03")
os.system('/usr/share/hyperion/bin/hyperion-remote --clear')
player=MyPlayer()
subprocess.call('/usr/share/hyperion/bin/hyperiond /etc/hyperion.config.json </dev/null >/dev/null 2>&1 &', shell=True,)
time.sleep(3)
subprocess.call('/usr/share/hyperion/bin/hyperion-remote --effect "Blue mood blobs"', shell=True,)
while(1):
if xbmc.Player().isPlayingVideo():
VIDEO = 1
else:
VIDEO = 0
xbmc.sleep(3000)
Alles anzeigen
cause of duration the effect would keep playing 24 hours after watching a movie a affect would called up, but with this new hyperion the effect only stays on for a couple minutes and then goes to clear state, i have read about replacing the bootsequance to initaleffectin here: https://github.com/hyperion-project/hyperion.ng/pull/30
but this didn't work for me, i also read that its only compatible with hyperion.ng or something, don't know what it is.
could the devs please put --duration back, or give us the possibility to add an static effect, not color when no content is played?
Thank You!
i recently have read that the duration prefix has been cancelled out of hyperion? Why?
I used this for clear state effect. hereby my scripts
autoxec.py in/home/.kodi/userdata
import xbmc,xbmcgui
import subprocess,os
import time
class MyPlayer(xbmc.Player) :
def __init__ (self):
xbmc.Player.__init__(self)
def onPlayBackStarted(self):
if xbmc.Player().isPlayingVideo():
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L03")
os.system('/usr/share/hyperion/bin/hyperion-remote --clear')
def onPlayBackEnded(self):
if (VIDEO == 1):
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L04")
os.system('/usr/share/hyperion/bin/hyperion-remote --priority 100 --duration 86400 --effect "Blue mood blobs"')
def onPlayBackStopped(self):
if (VIDEO == 1):
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L04")
os.system('/usr/share/hyperion/bin/hyperion-remote --priority 100 --duration 86400 --effect "Blue mood blobs"')
def onPlayBackPaused(self):
if xbmc.Player().isPlayingVideo():
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L04")
def onPlayBackResumed(self):
if xbmc.Player().isPlayingVideo():
os.system("/home/iiidefconiii/HarmonyHubControl/HarmonyHubControl thomasvdalen@gmail.com 192.168.1.11 issue_device_command 13630846 L03")
os.system('/usr/share/hyperion/bin/hyperion-remote --clear')
player=MyPlayer()
subprocess.call('/usr/share/hyperion/bin/hyperiond /etc/hyperion.config.json </dev/null >/dev/null 2>&1 &', shell=True,)
time.sleep(3)
subprocess.call('/usr/share/hyperion/bin/hyperion-remote --effect "Blue mood blobs"', shell=True,)
while(1):
if xbmc.Player().isPlayingVideo():
VIDEO = 1
else:
VIDEO = 0
xbmc.sleep(3000)
Alles anzeigen
cause of duration the effect would keep playing 24 hours after watching a movie a affect would called up, but with this new hyperion the effect only stays on for a couple minutes and then goes to clear state, i have read about replacing the bootsequance to initaleffectin here: https://github.com/hyperion-project/hyperion.ng/pull/30
but this didn't work for me, i also read that its only compatible with hyperion.ng or something, don't know what it is.
could the devs please put --duration back, or give us the possibility to add an static effect, not color when no content is played?
Thank You!
after removing the priority setting in framegrabber it grabbed again. should we report this to devs?
Tried it, still no grab of video any other idea? config looks kinda same right, strange it works with the first config
had the same bug again today, J2D_D3D java envoirement variable solved it.
Thank again!
Alles anzeigenHow are you sending it commands (boblight / x11 / kodi etc..)?
If it''s the boblight interface the only difference I see at first glance is the added priority so could try without:
Before:
After:
Heej Rick,
Im putting back an old image a.t.m. then ill retry, if i remember correctly i already tried to remove the prio and it didnt work then, but ill double check and repost after testing
Im using a simple core2duo machine with kodibuntu installed on it, kodi V16.1. then WS2801 connected to the arduino nano, which is connected by usb to the htpc core2machine. My old config works just fine, but i wanted a new config cause of the new hypercon, so in future its easier to update the settings. (dont own the old dat file from current working config).
btw, is hyperion dev also Dutch?