Home Panel - A web frontend for controlling the home

Hi,
I’m trying to add a camera and i’m not entirely sure what i might be doing wrong.
In the UI i see a broken image but clicking on the image opens up correctly.

For testing purposes i have both the still_url and url set the same:
“still_url”: "http://192.168.1.40:8123/api/camera_proxy/camera.upstairs?api_password=XXXX”,
“url”: "http://192.168.1.40:8123/api/camera_proxy/camera.upstairs?api_password=XXXX”

Camera (nest) image is pulled from HASS and works if you paste the URL into a browser.

From sniffing the traffic i can see that the difference between the UI request for a still image and the request for the full image when clicked on is what’s causing HA to fail on authorization.

Still image that fails authorization:
GET /api/camera_proxy/camera.upstairs?api_password=XXXX?number HTTP/1.1
Each request seems to increase the number. This URL also fails when pasted directly into a browser

Clicked on request that fetches the image correctly:
GET /api/camera_proxy/camera.upstairs?api_password=XXXX HTTP/1.1

Is there anything i can do to avoid it adding the additional parameter/number?

Thanks

1 Like

Initial Login issue - (probably user error)

Error: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc. - Check your credentials and try again

I have seen this error quite a few times for various reasons when I google for it in relation to the home panel. The biggest issue being the hostname/url/IP is wrong. I have tried using localhost, IP, and hass.local and they all give the same error. I can see my user in the db, my log is below. I’m new to this so sorry if I’m missing something simple.

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... 
[cont-init.d] 20-config.sh: exited 0.
[cont-init.d] 40-nginx.sh: executing... 
[cont-init.d] 40-nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:43:37+0000] INFO ----> Starting NGINX...
INFO: Run API..
2019/03/05 18:43:40 [notice] 545#545: using the "epoll" event method
2019/03/05 18:43:40 [notice] 545#545: nginx/1.14.2
2019/03/05 18:43:40 [notice] 545#545: OS: Linux 4.14.98-v7
2019/03/05 18:43:40 [notice] 545#545: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/03/05 18:43:40 [notice] 545#545: start worker processes
2019/03/05 18:43:40 [notice] 545#545: start worker process 597
2019-03-05 12:43:43.934 WARN  SSL (HTTPS) is not active!!!
2019-03-05 12:43:44.003 INFO  API is live on port 3234.
OPTIONS /login 204 15.129 ms - 0
undefined:1
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.getConfig (/opt/api/common/config.js:9:15)
    at db.getUser (/opt/api/routes/login.js:26:56)
    at bcrypt.compare (/opt/api/common/db.js:14:15)
    at /opt/api/node_modules/bcryptjs/dist/bcrypt.js:297:21
    at /opt/api/node_modules/bcryptjs/dist/bcrypt.js:1353:21
    at Immediate.next (/opt/api/node_modules/bcryptjs/dist/bcrypt.js:1233:21)
    at runCallback (timers.js:763:18)
    at tryOnImmediate (timers.js:734:5)
    at processImmediate (timers.js:716:5)
INFO: Run API..
2019-03-05 12:45:15.596 WARN  SSL (HTTPS) is not active!!!
2019-03-05 12:45:15.678 INFO  API is live on port 3234.

Hi there!

This looks really cool. I’m new to Home assistant and new to Home Panel and am early in my set up.

I can’t get to the setup and documentation link here - https://git.timmo.xyz/home-panel/

I get a 404 error.

Was this documentation moved?

Thanks - Marc

I think you can also use: https://github.com/timmo001/home-panel

Thanks Benj … I see where I went wrong now.

I followed a link from the Home Assistant add-in repo, which linked to the first post in this thread. That post has an old (dead) link.

Thanks for bringing this up, I’ve now updated the link to https://timmo.dev/home-panel/ which is the new link. I switched the domain a week or so back

Thanks for awesome addon, But i’m asking how to add climate card, alarm panel, input_number which is a slider and cover to home panel addon>

thanks again

You can add an alarm just like any other HA switch, light etc.

Covers are currently not supported:

https://github.com/timmo001/home-panel/issues/215

Thanks you for this awesome app!

I use a custom component for the Xiaomi Philips Zhirui lamp (Support for the Xiaomi PHILIPS Zhirui 9290019202 Smart Bedside Lamp). From the Lovelace UI, I can change the color of the lamp, but from your application I can not. Lamps that do not use a custom component change color well.

Sorry for bad english.

I’m not sure. Could be an issue with your custom component, since the app talks directly with Home Assistant and will only use what HA provides

I change browser to chrome and now all work, sorry.

Has anyone tried to use an input_boolean as item in home panel? It doesn’t seem to trigger. I tried to use two input_boolean in order to trigger an automation. Did I miss something in the documentation? I tried two different browsers and made sure that within hass.io it’s working as expected.

If anyone has a better way to do this, please let me know.

Thank you!

Is it possible to use Home Panel with hassbian? If so, a guide would be nice :slight_smile:

hi,

installed add on as per instructions, and turned ssl to false as i am not using it ,

created a username and password with same api password mentioned in the home assistant, put in hassio

after when i click logging only the page with 404: not found appears

this is my details from log

Add-on version: 0.2.0
You are running the latest version of this add-on.
System: Resin OS 2.3.0+rev1 (armv7 / raspberrypi3)
Home Assistant version: 0.69.1
Supervisor version: 150

please help , TIA

Gagan

Docker or plain nodejs. Check the docs here :slightly_smiling_face:

This is a known issue. Please check here:

1 Like

:tada: Release v0.8.0

This is a big one. There are a few things you will need to be aware of when updating so please read on.

The first major change is there is now a brand new configuration UI which will allow you to visually see what you are adding or changing. Take a look in the new section in the docs for how to use these new features.

The next one is a complete rewrite of the API that Home Panel uses. This should fix the issues that users were facing, as well as a nice new shiny framework for the project to use. (It’s feathersjs if anyone is interested) This locks down the config to each user, so every user will have their own config instead of having one shared between all.

The API will require users to create a new account which will create a new ‘internal’ config for each user. This means you will have to take a copy of your old config.json and paste it into your new account.

Since the config is now internal, I have added a raw config editor, so you can still edit your config the ‘traditional’ way, just via the UI.

Updating your config

There is also a bunch of updates. The base docker image has been upgraded to Alpine 3.9, ARMv7 is now supported

Highlights

  • 1080691 :sparkles: :art: Rewrite Edit Config UI and Cleanup UI (#199)
  • d41f216 :fire: :hammer: Rewrite API (#238)
  • e53d027 :sparkles: Raw config editor (#250)
  • 4fecf73 Upgrade to alpine 3.9 (#205)
  • 0716cd5 :rocket: Add ARMv7 support

All Changes

  • e12c17c :books: Update docs for community add-on release
  • 4d3069c :arrow_up: Update dependency @material-ui/core to v3.9.0 (#196)
  • 6dfd9f9 :books: Update Shields
  • 7d1295e :books: Update badges
  • d8a20c7 :books: :shirt: Fix duplicate links
  • dcab2e6 :art: Update manifest and icons
  • 4353eb9 :art: Optimize images (#198)
  • a806ac8 :arrow_up: Update busybox to 1.28.4-r3
  • a13c8ae :arrow_up: Update dependency moment to v2.24.0 (#201)
  • 0a21842 :arrow_up: Update dependency home-assistant-js-websocket to v3.2.5 (#200)
  • 4085943 :arrow_up: Updates tar to version 1.31-r0
  • 583dba1 :arrow_up: Update mui monorepo (#202)
  • 3d53bec :boat: :books: Update docker setup
  • 942b260 :arrow_up: Update dependency @mdi/font to v3.4.93 (#203)
  • 4fecf73 Upgrade to alpine 3.9 (#205)
  • 54b6567 :books: Date license
  • 137de79 :sparkles: Automatic rebase with /rebase
  • 345a984 :arrow_up: Update mui monorepo (#206)
  • 0d12a57 :arrow_up: Update s6-overlay to v1.21.8.0
  • 73c9dd0 :arrow_up: Update react monorepo to v16.8.0 (#207)
  • 6751655 :arrow_up: Update react monorepo to v16.8.1 (#208)
  • a109e73 :arrow_up: Update s6-overlay to v1.22.0.0
  • 3e09a5b :arrow_up: Update dependency react-scripts to v2.1.4 (#212)
  • e17f1d7 :arrow_up: Update dependency prop-types to v15.7.1 (#213)
  • 00a85f7 :arrow_up: Update dependency react-scripts to v2.1.5 (#221)
  • 77f4230 :arrow_up: Update Node.js to v8.15.1 (#223)
  • 98bc3bb :arrow_up: Update react monorepo to v16.8.3 (#222)
  • 1a5f9a0 :arrow_up: Update dependency prop-types to v15.7.2 (#220)
  • 1e523e7 :arrow_up: Update build dependencies
  • fdff241 :arrow_up: Update dependency @mdi/font to v3.5.95 (#219)
  • 1f5a902 :arrow_up: Update NodeJS version
  • 15737b1 :arrow_up: Update Node.js to v10.15.2 (#224)
  • 6af6014 :pencil2: Update docs link
  • 6f0f1e4 :pencil2: Update docs links
  • c420645 Merge branch ‘master’ of github.com:timmo001/home-panel
  • 7b3313b :arrow_up: Update Node.js to v10.15.3 (#228)
  • b5a41d1 :arrow_up: Update react monorepo to v16.8.4 (#229)
  • d1f39d4 :arrow_up: Update dependency home-assistant-js-websocket to v3.3.0 (#230)
  • 5400c64 :arrow_up: Update dependency react-scripts to v2.1.8 (#231)
  • 0716cd5 :rocket: Add ARMv7
  • ae0ee1f :boat: Update Dockerfile
  • cc26544 :arrow_up: Update dependency react-router-dom to v5 (#235)
  • e18b64c :arrow_up: Update dependency home-assistant-js-websocket to v3.4.0 (#236)
  • 5cae4f1 :arrow_up: Update react monorepo to v16.8.5 (#237)
  • 1080691 :sparkles: :art: Rewrite Edit Config UI and Cleanup UI (#199)
  • 6cc5a49 :art: Add missing gifs
  • e45622d :pushpin: Pin dependency recompose to 0.30.0 (#239)
  • d41f216 :fire: :hammer: Rewrite API (#238)
  • 8902e4f :pushpin: Pin dependencies (#243)
  • 9ec715a :arrow_up: Update dependency superagent to v5 (#246)
  • 40d7bf3 :arrow_up: Update react monorepo to v16.8.6 (#245)
  • 35bb304 :arrow_up: Update dependency @material-ui/core to v3.9.3 (#247)
  • cd9082b :arrow_up: Update dependency mocha to v6 (#244)
  • 1fd9e1b :arrow_up: Update dependency superagent to v5.0.2 (#248)
  • e53d027 :sparkles: Raw config editor (#250)
  • 28f432d :hammer: Disable yarn ci check
  • 258835b :fire: Fix login loop

Full Changelog

1 Like

Good day! Sorry if not there wrote! After updating Home pane to version 0.3.1 has ceased to authorize by login and password (HASS everything works. and in panel not goes)! Says invalid login! ssl false!

Release v0.9.0 :tada:

A couple of requested features in this one including improvements to the config UI and support for more Home Assistant domains. Also squashed a few bugs as well as the usual updates.

Changes

  • a22d3f7 :sparkles: Add HA entity_id autosuggestions (#261)
  • 5fd4487 :sparkles: Home Assistant Requested Domain Support (#262)
  • 0c69ca4 :ambulance: Fix Raw editor cancel
  • 4df240b :fire: Fix entities for header editor
  • 67ad372 :hammer: Allows disarming alarm_control_panel when pending
  • d62f097 :arrow_up: Update dependency mocha to v6.1.0 (#263)
  • f61e75a :arrow_up: Update dependency mocha to v6.1.2 (#264)
  • 69d7990 :arrow_up: Update dependency nodemon to v1.18.11 (#265)
  • f356f77 :sparkles: Reorder pages, groups and cards (#266)

Full Changelog

Unfortunately there’s still non-working lock support ?