home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Amblight project/guide - Hyperion - WS2801/ WS2812B / APA102
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ixdvc" data-source="post: 1197756" data-attributes="member: 92134"><p>Yes, this is possible. In the past it was a little difficult but since Hyperion V1.03.0 you can start two Hyperion configs with only one service file. I have attached my two hyperion config files (for my APA102 strip and the AtmoOrb). You only have to activate forwarder in your main config (APA102 in my case):</p><p>[code] "forwarder" :</p><p> {</p><p> "proto" : ["127.0.0.1:19447"],</p><p> "json" : ["127.0.0.1:19446"]</p><p> },[/code]</p><p>Additionally you have to configure the ports accordingly in the second configuration file:</p><p>[code] "jsonServer" :</p><p> {</p><p> "port" : 19446</p><p> },</p><p> "protoServer" :</p><p> {</p><p> "port" : 19447</p><p> },[/code]</p><p>Also you have to edit your hyperion service. I can only tell you how to do this for systemd because that is what I have on the latest OSMC. You have to edit [code]/etc/systemd/system/hyperion.service[/code] and append the path to your second configuration file to ExecStart:</p><p>[code]ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json /etc/hyperion/hyperion.config2.json[/code]</p><p>It might be necessary to use [code]sudo systemctl daemon-reload[/code] after that. Then just restart the service with [code]sudo systemctl restart hyperion.service[/code] (this might not be necessary after the previous command - I am not a linux guru <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> - but does not hurt) or reboot the Pi and it should work.</p></blockquote><p></p>
[QUOTE="ixdvc, post: 1197756, member: 92134"] Yes, this is possible. In the past it was a little difficult but since Hyperion V1.03.0 you can start two Hyperion configs with only one service file. I have attached my two hyperion config files (for my APA102 strip and the AtmoOrb). You only have to activate forwarder in your main config (APA102 in my case): [code] "forwarder" : { "proto" : ["127.0.0.1:19447"], "json" : ["127.0.0.1:19446"] },[/code] Additionally you have to configure the ports accordingly in the second configuration file: [code] "jsonServer" : { "port" : 19446 }, "protoServer" : { "port" : 19447 },[/code] Also you have to edit your hyperion service. I can only tell you how to do this for systemd because that is what I have on the latest OSMC. You have to edit [code]/etc/systemd/system/hyperion.service[/code] and append the path to your second configuration file to ExecStart: [code]ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json /etc/hyperion/hyperion.config2.json[/code] It might be necessary to use [code]sudo systemctl daemon-reload[/code] after that. Then just restart the service with [code]sudo systemctl restart hyperion.service[/code] (this might not be necessary after the previous command - I am not a linux guru :) - but does not hurt) or reboot the Pi and it should work. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Amblight project/guide - Hyperion - WS2801/ WS2812B / APA102
Contact us
RSS
Top
Bottom