Visual Productions forum

Products => Kiosc => Topic started by: Miky on June 21, 2021, 08:05:55 PM

Title: Indicator colour in KioscTouch
Post by: Miky on June 21, 2021, 08:05:55 PM
Hi, I need to set more different colour change of Indicator, Actually there is is only small difference in intensity, not too significant. How I can set the different colour of active indicator?

Thanks. M.
Title: Re: Indicator colour in KioscTouch
Post by: Bootsy van der Zande on June 22, 2021, 09:32:39 AM
Hi,

Page 51 and 51 of the (English) Kiosc manual explains all the feedback options for the Indicator.

In short, it can be toggled on and off using a bool. This will visually make it brighter or less bright, much like a LED light.
By sending a colour via either an OSC colour message or hex colour via UDP (my_indicator=#FF00FF) you can change the colour.

Greetings,
Bootsy
Title: Re: Indicator colour in KioscTouch
Post by: Miky on June 22, 2021, 10:52:08 AM
I saw it there, but Im not clear what exact string I should put into tag line. It should show the state of pb01 on LPU. Please send me an example. Actually I type /pb01/ac.

Thanks. Michal.


Title: Re: Indicator colour in KioscTouch
Post by: Bootsy van der Zande on June 22, 2021, 12:17:56 PM
Hi Michal,

Are you using LPU-1 or LPU-2? Only the LPU-2 has support for network control and feedback. It also has a webinterface, including a monitor page. You can see any commands that are send and received there.

For OSC the /pb01/ac should work, as long as all the network settings are setup correctly. (check the incoming port on Kiosc)
After saving the showfile to Kiosc, make sure that you are not running KioscEditor when testing feedback, especially not on the same machine as Kiosc. Close everything, then open Kiosc. Then make sure you send an API command to the LPU using Kiosc. (You can send the "hello" command) so the LPU knows where to send the feedback. Now start a playback that was previously not active, and the indicator should light up. (As previously mentioned, look at the monitor page of the LPU-2 to see if and what it sends)

For UDP, it is pretty much the same. Do note that the commands are a bit different though, it would be "pb01/ac" instead of "/pb01/ac"

Greetings,
Bootsy
Title: Re: Indicator colour in KioscTouch
Post by: Miky on June 23, 2021, 08:22:27 AM
All you describe is working me fine. But my question is, how to change the light up colour. Default colour (brightness) change is not enought noticeable. I mean like this: - no playback indicator is grey colour, active playback turn indicator to red colour.

M.
Title: Re: Indicator colour in KioscTouch
Post by: Bootsy van der Zande on June 24, 2021, 10:48:04 AM
Hi Miky,
Unfortunately that is not part of the LPU-2 API. I can add it to the wishlist though.

If the change in brightness is not big enough, I recommend using a button element instead of an indicator. Give it a try, the difference is much more visible.

Greetings,
Bootsy
Title: Re: Indicator colour in KioscTouch
Post by: Miky on February 12, 2023, 06:44:34 PM
Hello,

Is there some news regarding custom colours of indicators?

Another issue I need to solve. We controll LPU-2 via OSC from 6pcs B-stations, which are located in 6 rooms (studios), simultaneously we controll the same LPU-2 from Kiosc Touch located at controll room. Kiosc touch has 6 pages, for every studio, so when the operator need to change lighting preset in studio 4, he have to switch kiosc touch to page "Studio 4" and there is 6 buttons+indicators for 6 presets. He press preset 3 and LPU-2 activate this preset, also B-station button 3 is backlighted. Thats all oK. But when Sombody in studio 1 change the preset on B-station locally, then operator at controll room after he jump to page "Studio 1" is not able to recognise what preset is active, because indicator is not refreshed. Only on kiosc´s active page is indicator working..

What to do to refresh indicator status after page change?

Thanks for advice, attached is kiosc´s config file

Michal
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on February 15, 2023, 10:14:20 AM
hi,

About the indicators color, you can send a  hex color code to an indicator and this will change the color of it.  So you can have a off red indicator that turn green when it's on. You just need to add the color OSC message task to the action in the Bstation.

In the last firmware version, the KIOSC touch  updates the status of all elements even if they are in a page that is not active. You can update the Kiosc Touch firmware to 1,15.12 using the vmanager software.

You can also use the page tag to know which page is displayed on kiosc. The page tag will be send each time the page is displayed. You can also use this tag to change the page displayed on the Kiosc touch.

I hope this will help you,
enjoy ;)
Title: Re: Indicator colour in KioscTouch
Post by: Miky on February 17, 2023, 03:10:11 PM
Thanks for such information, Finally, before your answer I did rebuild the kiosc touch´s layout so now all studios are on one page..

Even after fw update, when kiosc is just rebooted, it didnt show any changes on indicators (made by B-station)  until I press any button on kiosc. Then all seems to be working correctly (buttons and indicators).

M.
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on February 17, 2023, 03:25:23 PM
I am glad to know that everything is working fine.
To get all the feedback values when you restart the kiosc app, you need to add a tag to the first page, this tag will be sent when Kiosc will start.
This way you can use this message to trigger a refresh of all the feedbacks informations from the B-station.
I hope this will help you,
Enjoy ;)
Title: Re: Indicator colour in KioscTouch
Post by: Miky on February 18, 2023, 12:16:20 AM
OK, thanks,
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on February 20, 2023, 09:23:24 AM
you're welcome!  :)
Title: Re: Indicator colour in KioscTouch
Post by: Miky on February 20, 2023, 11:04:11 AM
Can you show me please how such tag looks like?  :)
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on February 20, 2023, 01:09:14 PM
See the included screen shot,
 1- select the first page of your layout
 2- set an OSC, UDP or TCP tag

This tag will be sent everytime the page is displayed by the Kiosc touch, and also when it starts.
Sending this tag to the Kiosc Touch with  a "on" value will also able to y ou to display the desired page.
Title: Re: Indicator colour in KioscTouch
Post by: Miky on February 20, 2023, 02:41:51 PM
Thank you, I understand where, but please what string I have to put to the OSC line to refresh the indicators status.  ::)

Thank you.
Michal
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on February 20, 2023, 04:39:35 PM
In your Bstation you need to store the status of which playback had been requested using a variable.

For example you can choose to use the variable 1, if you press the button 1 of the Bstation to start the playback 1 of the LPU then you set the variable 1 to 1. If you press button 2, then variable 1 goes to 2. (when everything is off, variable goes to 0)

Create a variable actionlist, and create an action for each value of the variable.
One action will be, when variable 1=1 then send an OSC message that will update the status of the corresponding button in kiosc touch.
Do the same for when variable 1= 2 to 6.

Last step is to create an OSC action triggered when the tag of the first page is received. In this action create a variable task and select refresh variable 1.
The refresh will make the Bstation send again the messages corresponding at the variable value.

To make it even better, the best would be to send the message to the LPU when the button of the bstation is pressed, set the variable depending on the feedback message received by the LPU. This way you are sure that the connection is working, and then send the OSC feedback message from the Bstation using the variable value to the Kiosc Touch.

I hope this is clear enough!
Good luck :)

Title: Re: Indicator colour in KioscTouch
Post by: Miky on February 20, 2023, 11:54:04 PM
OK, theoretically I understand, practically I have to think, learn and try. :) Its a bit difficult because of system is running as real traffic (24/7) and moreover, its 450 Km far from me and only remote access via vpn is actually possible.. :)

Thank you. M.
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on February 21, 2023, 05:05:40 PM
Yes I understand that it imply you to redo the whole programming and doing it remotely is not the best thing!
Good luck with that!
 :)
Title: Re: Indicator colour in KioscTouch
Post by: Miky on March 07, 2023, 01:09:21 AM
Hello Julienne,

regarding the kiosc´s touch indicators, we notice a strange behaviour.  I'll ignore your advice about "variable" for now, I don't know if it would help in this case..
The entire system include kiosc touch is in continuous operation 24/7. Even It happens, that the kiosk does not correctly indicate status changes at B-station's. (sometime) this means that preset 2 is active on the b station, but another one is indicated on the kiosk.

We used the template for LPU-2 on the B-station, but I change the preset numbers as required (pb and ac of course)...

I suspect that due to security and restrictions on the corporate network, OSC communication is not fully functional and some feedbacks do not pass correctly. Possible? Do you have any experience in this issue or some recommendations? Would be the solution to use TCP/UDP communication instead of OSC? Thank you. Michal
Title: Re: Indicator colour in KioscTouch
Post by: Julien Levaufre on March 07, 2023, 11:11:46 AM
Hello Michal,

I would say that if it was a network setting problem it would not work at all.  But maybe sometimes the network gets a bit overloaded and some packets get lost.

You can easily do the same thing that you did with OSC with UDP messages as B-Station2 and Kiosc Touch can easily send and receive UDP messages.
For TCP, this is not possible as the B-Station2 cannot send TCP messages.

I can see 2 solutions, first would be to send twice each osc message that you send from the B-station, by adding a second OSC task in each action. The second one would be to use the TCP connection between the KIOSC Touch and the B-station. Kiosc touch can send TCP messages and B-Station can receive them. Using TCP should make make the connection much more stable.

If you still have some problem  you can then also try to replace the OSC connection by the UDP connection.

I hope this will help you,