Home Panel - A web frontend for controlling the home

Release v0.5.2 :tada:


Full Changelog

Changed

  • :fire: :hammer: remove env and add api url to account creation
  • :rocket: add release-file
  • :books: update docs

This release removes the API environment variable. Please check the updated docs for setup and login

This release is also an effort to create a built zip which will be used in the upcoming hassio addon.

I am seeing the following trying to start up the containers on Raspian:

pi@hassbian:~/home-panel $ docker-compose up
Starting home-panel_home-panel_1     ... done
Starting home-panel_home-panel-api_1 ... done
Attaching to home-panel_home-panel-api_1, home-panel_home-panel_1
home-panel-api_1  | standard_init_linux.go:190: exec user process caused "exec format error"
home-panel_1      | standard_init_linux.go:190: exec user process caused "exec format error"
home-panel_home-panel-api_1 exited with code 1
home-panel_home-panel_1 exited with code 1

Yes this doesn’t work on raspbian/arm devices yet. You may be able to get this working by building the image manually though. I haven’t tested this though.

The addon is very close to completion however so this may not be neccesary. Once I have the addon made, I will try creating arm builds for docker

Thanks for the quick response. I may just put this on my Ubuntu machine for now and point to HA

1 Like

Hassio Add-on Released! :tada:


After many days of fixing, updating, documenting and fighting with build servers, I am finally happy to announce the Hassio add-on is ready for public consumption!

Just paste this URL into the add-on store: https://github.com/timmo001/repository

click add, then scroll down and install Home Panel in one click!

image

You can then edit the config file at /config/home-panel-config.json (by default) using the docs.


For documentation on the addon see:

https://github.com/timmo001/addon-home-panel

3 Likes

Hi @timmo001,

Sorry for the delay on testing, but it’s holiday time :slight_smile:

Just reinstalled everything today and started fine with non SSL configuration.

1 Like

Just got it working, got to play with the config.json

1 Like

Glad you got it working. Hope you like it :+1:

@timmo001 I just installed the add-on tonight and I am getting HUGE text in the header. Is there a way to edit the font size? or is it something as simple as I do not have the correct font installed on my laptop?

From the looks of it, the text is right, but the value is a forecast which is quite long. Try using another sensor which has uses a summary like ‘mostly cloudy’ etc.

Scaling text and other parts of the app will be a future enhancement, since it would require adapting text and other components to screen size

Hi OP

How can I clear the user database?

I tried removing and reinstalling the addon but it just keeps saying user found…

I cant seem to get back into it…

Creating user..
Unexpected token , in JSON at position 1071
User not found
User found.
User not found
User found.
Bad password

This is all im getting in the log

You can easily do this by deleting the home-panel.db file in your /config/ directory. This will then give you a clean slate. :+1:

Hi @timmo001,

Tried to configure using json file but always get the base template. If I enter the inside docker I see that config.json is referenced as a directory

Imgur

Tried to create another config.json but doesn’t work.

1 Like

Hi @revin,

Apologies, I made a typo in the docs. The config should now be mapped to /usr/src/app/files/config.json in the API. Check the updated docs here:

https://git.timmo.xyz/home-panel/setup/#docker-compose

Release v0.5.3


Full Changelog

Changed

  • :sparkles: improve login error handling and responses
  • :art: update source placeholder
  • :art: update logo and icons
  • :fire: :books: fix docker mapping
  • :arrow_up: upgrade packages
  • :books: update docs
  • :hammer: cleanup

Hassio add-on users should see an update soon

still having problems getting started :frowning:

After deleting the database file, then uninstalling and reinstalling the addon, i get the following when attempting to create an account:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Hass.io Add-on: Home Panel v0.1.2
 A touch-compatible web-app for controlling the home
 From: Timmo Hass.io Add-ons
 By: Timmo
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing... 
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-config.sh: executing... 
INFO: Copy config to API..
[cont-init.d] 20-config.sh: exited 0.
[cont-init.d] 30-nginx.sh: executing... 
INFO: Copy enabled SSL nginx config
[cont-init.d] 30-nginx.sh: exited 0.
[cont-init.d] 40-api.sh: executing... 
INFO: Copy SSL certs to API directory..
[cont-init.d] 40-api.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
INFO: Run API..
Setting up watches.
Couldn't watch /usr/src/api/files/home-panel.db: No such file or directory
INFO: Run nginx server..
[services.d] done.
Setting up watches.
Watches established.
App is live at https://localhost:3234
Setting up watches.
Couldn't watch /usr/src/api/files/home-panel.db: No such file or directory
Setting up watches.
Couldn't watch /usr/src/api/files/home-panel.db: No such file or directory
Setting up watches.
Couldn't watch /usr/src/api/files/home-panel.db: No such file or directory
Setting up watches.
Couldn't watch /usr/src/api/files/home-panel.db: No such file or directory
Setting up watches.
Watches established.
HASS Request URL: https://myurl.duckdns.org:8123/api/?api_password=password
Creating user..
Unexpected token , in JSON at position 1071

Is there any chance you will be adding the ability to show a background image? Custom themes?

Check your config.json in /config. It may be that your file is not formatted correctly. Easiest way to check this, is to run the file through a validator like this one: https://jsonformatter.curiousconcept.com/

Yes, in fact this is a WIP PR:

Hi @timmo001,

I’ve started to configure some items and faced some issues:

1- the " º "degree symbol doesn’t display correctly. My charset in the server and web browser is spanish.

image

2 - is it possible to scale the font or be able to declare a smaller screen size? tried to view the web on a Fire tablet 7 ( 1280 x 800) but it doesn’t fit with only a few lights

3 - would be possible to use without user/password?

4 - would be possible to have different configurations ? my goal is to have a tablet on each room to manage the lights/switches and automations related to each room.

thanks!