HADashboard on Raspberry PI (sudo issue)

Hi

I am quite new to Home assistant, but I simply cannot find a way to install the Dashboard on my raspberry as the instructions (http://appdaemon.readthedocs.io/en/latest/INSTALL.html) state to install the appdaemon (and some other stuff) but in the instruction it uses sudo that returns -ash: sudo: not found.

I saw some posts about this but none has rtesolved the issue. Can someone help me please?

Thanks

do you use hassio?
then you cant use sudo or pip and need to use hassio to install appdaemon.

2 Likes

Yes that is what I cannot seem to be able to get how I do that with hassio.

Also I am trying to add my amazon firestick and the instructions are talking about sudo commands, so I am a bit confused about how to add that as well withouth being able to sudo.

Any advice is highly appreciated.

if i have understand it correct you can only use what hassio offers.
so something has to be a hassio addon and you cant install anything the “normal” way with pip or sudo.

Yep that is correct it seems.

To enable HADashboard with Hassio, you need to add it has on Add-ON.

Add this link in the Add-On Repositories.

Then you’ll be able to install it.

Thanks I have installed it from the repo, it went flawless!

I am still trying to make the dashboard work on my local network.

Bit struggling to set the domain up on my LAN.

In the appdeamon page, use your HA as the domain. I also changed to port 80.

Also make sure you have a valid config directory under config/hadaemon/appdaemon.yaml
mine look like this:

AppDaemon:
cert_verify: False
disable_apps: 1
logfile: STDOUT
errorfile: STDERR
threads: 10
app_dir: /config/hadaemon/apps
HASS:
ha_url: http://192.168.3.242:8123
ha_key: MY HTTP PASSWORD
HADashboard:
dash_url: http://192.168.3.242
dash_dir: /config/hadaemon/dashboards
dash_compile_on_start: 1

1 Like

Hi Sparck75

Thanks for this I have done it. How do I access the Dashboard now?

(sorry if it is a stupid question but I got a bit confused now)

Did you create at least one yaml control in the hadeamon folder.

Take a look at the examples in the config folder on the github repository.

Then accessong your local ip should work

Hi

I am a bit confused which one you are talking about. I created the Hello.dash within the dashboards folder. as per the original Dashboard instruction.

But not sure if that is the one you are talking about. The content is:

title: Hello Panel
widget_dimensions: [120, 120]
widget_margins: [5, 5]
columns: 8

label:
widget_type: label
text: Hello World

layout:
- label(2x2)

Also I have the the appdeamon.yaml with the following content:

AppDaemon:
cert_verify: False
disable_apps: 1
logfile: STDOUT
errorfile: STDERR
threads: 10
app_dir: /config/hadaemon/apps
HASS:
ha_url: http://192.168.0.47:8123
HADashboard:
dash_url: http://192.168.0.47
dash_compile_on_start: 1
dash_dir: /config/hadaemon/dashboards

Your setup looks good, you should normally be able to access your dashboard by using 192.168.0.47.

Also, in the Appdeamon setup, make sure you select port 80… nothing else works.

Thanks I have attached my setup page, can you check if it is what it should be, or if you are referrring to setup somewhere else.

Your help is greatly appreciated! :slight_smile:

Can anyone help what could be wrong?

Thanks in advance!

what is not working?
what do you get?
do you have errors?

Hi

Well not really when I go to my LAN ip it comes up with the usual hassio board. I may be missing something, but I don’t quite get how to enable the dashboard, for a tablet I want to use as the main controller of the house.

Thanks,
Peter

you need to go to the appdaemon port you set.

so not to:

http://192.168.0.47

but to:

http://192.68.0.47:3030

if you have set 3030 for the dashboards.
to go to a specific dahboard you need to go to

http://192.168.47:your_dashboardport/the_name_from_your_dashboard
1 Like

Thanks got it working now!

Thanks everyone for the help.