Control page window bar on Chromium browser in kiosk mode

Posted on
Wed Apr 12, 2023 7:47 am
rodb offline
Posts: 13
Joined: Nov 10, 2017

Control page window bar on Chromium browser in kiosk mode

After updating to 2022.2 a window bar appears in my kiosk screen. Is there a way in Indigo to eliminate this?

I use this method for kiosk mode raspberry-pi-touchscreen-kiosk:

https://desertbot.io/blog/raspberry-pi- ... iosk-setup
Attachments
IMG_0657.jpeg
2022.1
IMG_0657.jpeg (45.79 KiB) Viewed 1513 times
IMG_0658.jpeg
2022.2
IMG_0658.jpeg (49.98 KiB) Viewed 1513 times
Last edited by rodb on Thu Apr 13, 2023 11:10 pm, edited 1 time in total.

Posted on
Thu Apr 13, 2023 8:52 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Control page window bar on Chromium browser in kiosk mod

Are you using Indigo 2022.2.2 that we just released on April 6th? If not, try that version as we made some changes to how Control Page windows are shown.

Image

Posted on
Thu Apr 13, 2023 9:26 am
rodb offline
Posts: 13
Joined: Nov 10, 2017

Re: Control page window bar on Chromium browser in kiosk mod

I tried 2022.2.2 hoping it would work but it is the same. I am back on 22.1.2.

"--disable-infobars --kiosk" setting on Chromium just doesn't seem to work on the new generated web control pages.

Posted on
Thu Apr 13, 2023 10:32 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Control page window bar on Chromium browser in kiosk mod

Exactly how are you specifying the URL that loads the page?

Image

Posted on
Thu Apr 13, 2023 11:46 am
rodb offline
Posts: 13
Joined: Nov 10, 2017

Re: Control page window bar on Chromium browser in kiosk mod

In the Openbox environment file

export KIOSK_URL=http://USERNAME:PW@192.168.1.7:8176/controlpage?name=Dad&useJS=True

In Chromium on the Pi it prompts me to sign in each time then the Devices, Actions, Variables and Control Pages selection web page is loaded. It doesn't go directly to the page specified. So the window with the title bar isn't loaded from the link.

On a Mac web page it prompts me to log in then takes me directly to the Control Page specified. Or directly to the web page specified if I had already logged in on that browser.

They act differently which I don't mind it is just the window bar that is displayed after I select "Control Pages" then "Dad."

If I knew what I was doing I could probably configure Chromium to act like the Mac web browser but It has been working fine for several years. Just displaying correctly was all I needed.

Posted on
Thu Apr 13, 2023 11:54 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Control page window bar on Chromium browser in kiosk mod

Instead of passing the username/pw in the URL, create an API key (in your Indigo Account on our web site), and then pass the API key into a URL formatted like this:

Code: Select all
http://192.168.1.7:8176/web/controlpage.html?id=YOUR_CONTROL_PAGE_ID_HERE&api_key=YOUR_API_KEY_HERE

Note the URL address path has changed. Also, to get the YOUR_CONTROL_PAGE_ID_HERE right-click on the Control Page in Indigo app and choose the Copy ID menu item.

Image

Posted on
Thu Apr 13, 2023 12:16 pm
rodb offline
Posts: 13
Joined: Nov 10, 2017

Re: Control page window bar on Chromium browser in kiosk mod

"http://192.168.1.7:8176/web/controlpage.html?id=1492211973&api_key=API_KEY_HERE"
Last edited by rodb on Thu Apr 13, 2023 11:08 pm, edited 1 time in total.

Posted on
Thu Apr 13, 2023 1:16 pm
rodb offline
Posts: 13
Joined: Nov 10, 2017

Re: Control page window bar on Chromium browser in kiosk mod

2022.2.2 running and the Openbox environment file edited with Control Page ID and API added to URL.

Logs in automatically, loads "Indigo Touch for Web" page, not the control page specified.

The double window bar remains.

I understand that the problem may be my responsibility to resolve and do appreciate your effort to help me resolve this.

What do others use to set up kiosks with Indigo? This method was so easy to set up and worked well for a long time.
Attachments
Untitled.jpg
Untitled.jpg (91.96 KiB) Viewed 1430 times

Posted on
Fri Apr 14, 2023 10:30 am
rodb offline
Posts: 13
Joined: Nov 10, 2017

Re: Control page window bar on Chromium browser in kiosk mod

Two different displays. Something else different with the update. One running 22.1.x and the other 22.2.2. With the background size changed on the Control Pages you can see the Indigo Touch for Web window still being generated in the background on 22.2.

Not important but on the pi3b the extra window is generating an under voltage warning. I am right on the edge for power to begin with and plan to upgrade all my touch devices.
Attachments
2022.1.jpg
2022.1
2022.1.jpg (33.78 KiB) Viewed 1311 times
2022.2.2.jpg
2022.2.2
2022.2.2.jpg (39.89 KiB) Viewed 1311 times

Posted on
Sat Apr 15, 2023 10:59 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Control page window bar on Chromium browser in kiosk mod

I'm not familiar with Chromium browser, so can you explain in more detail what you are expecting to see versus what you see? The more details on what specifically is wrong or has changed, the better I can understand how to troubleshoot/fix the problem.

In the 2022.1 screenshot above, is it rendering correctly?

In the 2022.2.2 screenshot above, is there a Chromium feature to make the Control Page go full screen? If so, is the problem just that it doesn't automatically do that when clicking on the control page name in the Indigo Touch for Web table?

Image

Posted on
Sat Apr 15, 2023 11:04 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Control page window bar on Chromium browser in kiosk mod

rodb wrote:
2022.2.2 running and the Openbox environment file edited with Control Page ID and API added to URL.

Logs in automatically, loads "Indigo Touch for Web" page, not the control page specified.


It is strange that the URL is not loading the Control Page directly. If you are specifying that URL with a valid control page ID (and API KEY) then it should just load the Control Page and not the main Indigo Touch for Web page. Are you sure the page you are seeing isn't left over from a different window or something?

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests