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

Forwarder Multiple instances not working #831

Closed RaymondMouthaan closed 4 years ago

RaymondMouthaan commented 4 years ago

Hi guys,

Thanks for the great work on this amazing piece of software!

I am trying to setup a multiple hyperion instance configuration, but after a few days of trying I just can't figure it out. I've read this https://hyperion-project.org/threads/forwarder-on-coreelec-proto-hyperionrequest-missing-command.3585/ and followed the steps.

Your help is very much appreciated!

Bug report

Not sure whether it's a bug or I just missed something in my configuration.

Steps to reproduce

hyperion-1

This instance controls a ws2813 ledstrip (271 leds) behind my TV perfectly fine, while playing a movie or using the hyperion app on my iPhone.

hyperion-2

This instance controls a ws2813 ledstrip (140 leds). Using the hyperion app on my iPhone the effects and color wheel controls the ledstrip as expected.

What is expected?

That hyperion-1 forwards to json target and flatbuffer, while hyperion-2 receives this data and controls the secondary ledstrip.

What is actually happening?

From the hyperion-1 logs is seems it connects to hyperion-2:

 [hyperiond FLATBUFCONNECTION] (INFO) Connecting to Hyperion: 10.10.1.11:19400
 [hyperiond NETFORWARDER] (INFO) Forward now to json targets '10.10.1.11:19444'
 [hyperiond NETFORWARDER] (INFO) Forward now to flatbuffer targets '10.10.1.11:19400'

However at hyperion-2 there is nothing to see in the logging related to the connection and the ledstrip isn't controlled as expected.

System

Hyperion-1

Hyperion Server:

Hyperion Server OS:

Hyperion-2

Hyperion Server:

Hyperion Server OS:

szlop commented 4 years ago

I've got a setup similar to this with adalight and forwarding to a Raspberry Pi and I experienced the same problems. Today I compiled #820 and my setup is working fine since.

RaymondMouthaan commented 4 years ago

I've got a setup similar to this with adalight and forwarding to a Raspberry Pi and I experienced the same problems. Today I compiled #820 and my setup is working fine since.

Thanks for the tip! I'll try that branch as well 👍

RaymondMouthaan commented 4 years ago

@szlop , your right #820 fixes this issue as well, thanks! 👍🏽