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.
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?
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.
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.
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.
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
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.
There is also a bunch of updates. The base docker image has been upgraded to Alpine 3.9, ARMv7 is now supported
Highlights
1080691 Rewrite Edit Config UI and Cleanup UI (#199)
d41f216 Rewrite API (#238)
e53d027 Raw config editor (#250)
4fecf73 Upgrade to alpine 3.9 (#205)
0716cd5 Add ARMv7 support
All Changes
e12c17c Update docs for community add-on release
4d3069c Update dependency @material-ui/core to v3.9.0 (#196)
6dfd9f9 Update Shields
7d1295e Update badges
d8a20c7 Fix duplicate links
dcab2e6 Update manifest and icons
4353eb9 Optimize images (#198)
a806ac8 Update busybox to 1.28.4-r3
a13c8ae Update dependency moment to v2.24.0 (#201)
0a21842 Update dependency home-assistant-js-websocket to v3.2.5 (#200)
4085943 Updates tar to version 1.31-r0
583dba1 Update mui monorepo (#202)
3d53bec Update docker setup
942b260 Update dependency @mdi/font to v3.4.93 (#203)
4fecf73 Upgrade to alpine 3.9 (#205)
54b6567 Date license
137de79 Automatic rebase with /rebase
345a984 Update mui monorepo (#206)
0d12a57 Update s6-overlay to v1.21.8.0
73c9dd0 Update react monorepo to v16.8.0 (#207)
6751655 Update react monorepo to v16.8.1 (#208)
a109e73 Update s6-overlay to v1.22.0.0
3e09a5b Update dependency react-scripts to v2.1.4 (#212)
e17f1d7 Update dependency prop-types to v15.7.1 (#213)
00a85f7 Update dependency react-scripts to v2.1.5 (#221)
77f4230 Update Node.js to v8.15.1 (#223)
98bc3bb Update react monorepo to v16.8.3 (#222)
1a5f9a0 Update dependency prop-types to v15.7.2 (#220)
1e523e7 Update build dependencies
fdff241 Update dependency @mdi/font to v3.5.95 (#219)
1f5a902 Update NodeJS version
15737b1 Update Node.js to v10.15.2 (#224)
6af6014 Update docs link
6f0f1e4 Update docs links
c420645 Merge branch ‘master’ of github.com:timmo001/home-panel
7b3313b Update Node.js to v10.15.3 (#228)
b5a41d1 Update react monorepo to v16.8.4 (#229)
d1f39d4 Update dependency home-assistant-js-websocket to v3.3.0 (#230)
5400c64 Update dependency react-scripts to v2.1.8 (#231)
0716cd5 Add ARMv7
ae0ee1f Update Dockerfile
cc26544 Update dependency react-router-dom to v5 (#235)
e18b64c Update dependency home-assistant-js-websocket to v3.4.0 (#236)
5cae4f1 Update react monorepo to v16.8.5 (#237)
1080691 Rewrite Edit Config UI and Cleanup UI (#199)
6cc5a49 Add missing gifs
e45622d Pin dependency recompose to 0.30.0 (#239)
d41f216 Rewrite API (#238)
8902e4f Pin dependencies (#243)
9ec715a Update dependency superagent to v5 (#246)
40d7bf3 Update react monorepo to v16.8.6 (#245)
35bb304 Update dependency @material-ui/core to v3.9.3 (#247)
cd9082b Update dependency mocha to v6 (#244)
1fd9e1b Update dependency superagent to v5.0.2 (#248)
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!
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 Add HA entity_id autosuggestions (#261)
5fd4487 Home Assistant Requested Domain Support (#262)
0c69ca4 Fix Raw editor cancel
4df240b Fix entities for header editor
67ad372 Allows disarming alarm_control_panel when pending
d62f097 Update dependency mocha to v6.1.0 (#263)
f61e75a Update dependency mocha to v6.1.2 (#264)
69d7990 Update dependency nodemon to v1.18.11 (#265)