Raspberry Pi3

Hi guys,

I picked up a new RPI3 B

I’m running Raspbian Full Desktop, I’m trying to figure out how to set the browser to full kiosk and to automatically load the HA Lovelace page. Also to not blank the screen or go to sleep.

My idea is to have it connected to a extra TV I have installed and use it with Lovelace glance cards (Trackers, weather, sensor statuses etc.)

I’m using the custom header card to only use this view for the device with no header.

I have tried many different configurations and haven’t found anything that works the way the online guides say they will. Also trying to figure out how to set the browser to save the cookies to auto logon has been hard to figure out as well.

Does anybody have any recommendations on guides or and configuration that has worked for them?

Thanks in advance, hopefully I can figure out this over the weekend.

Happy Friday all! :upside_down_face:

When you log in the first time, it should prompt you to save the credentials. I never have to input my credentials from my desktop.

What doesn’t work? What part of it is broken?

I think it’s because there are so many different methods and some might be outdated. So I have gotten close but never got fully what I was looking for. I wiped out the sad card last night and I’m going to give it another go!

methods of what?

Disclaimer: I have only had my RPi 3B+ for a week.

I personally do NOT recommend a straight install of Hassio (HassOS) even thou that is the easiest & officially recommended installation. I had lockups & stability issues when running it in a VM.

If you want the graphical desktop, plain Raspian may be sufficient unless your are need the tools for programming your Pi hardware.

If you are new to Home assistant, installing Hassio on Raspian may be best but has some customization limits in my experience.Hassio installs Home Assistant in a Docker container. To upgrade, it just replaces that container.

I just installed the Hassbian scripts on Raspian. This installs Home Assistant in a Python virtualenv ad the homeassistant user. I am still working on my config for this.

There are other manual options. If I know which way you are “leaning”, I may be able to advise further.

I have been using HomeAssistant for a bit over a year now. I’m much better then I was lol

I would like to stick with Raspbian because I also want to use Homebridge since the HomeKit component doesn’t yet support Cameras. I have been told I can still run Homebridge in Hassio but I haven’t figured out yet how to set that up.

I have tried different terminal commands from online guides but there always seems to be a few files that are outdated and makes the instillation fail or not work as intended.

Thanks for your reply :slight_smile:

If you do not need the RPi desktop, the Hassbian install might be better. It installs Raspian Lite.

https://www.home-assistant.io/docs/installation/hassbian/installation/

1 Like

I’ll give it a go, ty

Is there anything special I need to do to run a browser for my Lovelace config?

If you mean run a browser on the Pi, Hassbian is commandline only.

You could install Raspian using NOOBS or NOONS Lite & then install the hassbian scripts. I tested that quickly in a Debian VM.

That sets up the homeassistant virtualenv & gives you come cli scripts for updating & adding some features. The features are listed in here. https://github.com/home-assistant/hassbian-scripts

I would install the latest deb from https://github.com/home-assistant/hassbian-scripts/releases
Watch the errors and add the missing dependencies until it successfully installs.

You can then install home assistant by typing sudo hassbian-config install homeassistant

I think @Corey_Maxim and @anon34565116 are talking about 2 different things.

Corey just wasn’t to autoload a webpage in full screen at boot. This just happens to be HA.
bosborne is talking about installing HA on the Pi.

2 very different things.

Yeah. I’m not sure where this conversation was going.

The complete Raspian install on the Raspberry Pi is from NOOBS called the Full Desktop. It includes many tools to help you “hack” the Pi that are not generally needed for Home Assistant.

Due to the term “Full Desktop” I assumed they wanted to display HA on the Raspberry Pi.

And in the Original Post, it literally says he’s running Raspbian full desktop.

I’m not understanding why you went on about the various ways to install home assistant. He wants a desktop, where he can run a custom full screen page of his home assistant instance.

They can then install Hassio, or Hassbian. Neither are as thenceforward as the HassOS installation though.

Exactly, the wants to display HA on the Pi. You don’t install HA on the Pi that you want to display.

Well, I guess technically you could install HA in a docker environment on the same pi that you want to display but there is no mention of that sort of info in the original post.

1 Like

So many , including me, buy a Pi to install & run HA.] so I did assume that.

Corey,

First, you can open the browser from a terminal command-line … for example:

     chromium-browser 192.168.86.53:8123/lovelace/kiosk
or  chromuim-browser https://myDomain.duckdns.org:8123/lovelace/kiosk

Second, Use that command in a script …

  • Right-click on your desktop, select ‘Create New’ and ‘Empty File’, then give your file a name with a .sh extension … like myHA.sh.
  • Now double-click to open the file in the text-editor and enter something like this:
     $! /bin/bash
     chromium=browser 192.168.86.53:8123/lovelace/kiosk
  • Then, open a terminal, and type the following command using your file name rather than myHA.sh. This will make your file executable.
     chmod +x Desktop/myHA.sh
or  chmod 755 Desktop/myHA.sh
  • now, Your “script” will execute when you double-click the icon.

Third, Make your script autostart …

For what it is worth … I feel like I struck gold since I upgraded to RPi3B+ with HA loaded on Raspbian Stretch. It provides performance, a nice GUI/browser/text-editor, and a clean starting point. From my perspective, running HASSIO or Hasbian were like starting with a system that someone else had used for 6-months. You don’t know what they installed, how they configured it, if you need it, or how to uninstall it. My new system is much more reliable, and I understand how the pieces fit together.

2 Likes

Sorry, I was at work earlier and wasn’t able to respond. I tried different command line guides in the Raspbain terminal, but was unsuccessful. ended up with errors so I started over a few times.

Im sorry, if I wasn’t clear enough earlier. I had no intentions to do that. I do appreciate it that you took your time to try to help me!

1 Like

This is what im trying, TY. Ill give it a go now. My fingers are crossed! TYTYTY