Currently looking at it.
This wouldn’t be me preferred option as I need to configure two ui’s but let’s see
@timmo001is working on v2 so not dead yet.
Is there already a preview of changes / additions for version 2?
Happy to beta test
Ipad ios 9 does not work also for me.
Did anyone manage to find a solution?
It’s very unfortunate to not to be able to use ios 9 ipads at all:(
Home Panel v2.0.0
Please read before upgrading!!
Lets start with a TLDR: The whole app has been rewritten. You will lose all your data.
Why? Well… Let’s just say I’ve been busy. Just under 200 commits. (That’s not even counting the rewrite of the app and the API)
Behind the Scenes :shipit:
I started with looking at how the home-assistant-polymer project works.They have been making a huge effort to convert all their code to Typescript. Using Typescript (along with tslint) instead of just sticking to JavaScript helps with making sure the code is much more tight, modern and stable. I started by rewriting the app itself, experimenting with a bunch of different designs and frameworks. Sticking to using Material UI as the base for theming and components, I quickly realised the old way of storing cards, groups etc. in a very deep tree in JSON was a bad idea. So I decided to start from scratch.
App
I started with adding in the core framework, which ended up changing multiple times as I decided what I liked. There were a few attempts at using a different grid system, but none suited the app’s needs. So I decided to stick to the old way and to keep that the same(ish).
There are new and old types of cards in the new frontend. Home Assistant entities, iframes, images and markdown. More to come. (Feel free to suggest new ones)
You should now log into Home Assistant via the button in the sidebar which has also been reworked. (No more getting stuck in a loop when you type the wrong url )
The configuration of the app has been split into different screens. You can still edit pages, groups and cards directly from the front page but everything else such as theming, date formatting and other customisations have been moved to their own section of the app which can be accessed via the sidebar.
API
The backend was going to stay the same for now. However the amazing people at feathersjs released a new major version which also supports Typescript. So I decided to rewrite that too. However, this time was a lot easier. The folks at feathersjs have a CLI which allows you to generate an API in a matter of seconds. It even handles authentication, databases and any other setup for you. So there was very little needed to change in actual code in this one.
For hass.io add-on users
There was a lot that had to change in this app to support ingress. The way that the app originally worked was to use routing (the url decides what section you want) but this causes issues with ingress. So I moved the setup of the app to use single page and a single url, but instead use states. Socket.io was also a bit of a pain to get working, since it defaults to the root of the url you are on.
Final Rambles
There will be a couple of bugs to find and fix, but I’m now at the point that I’m happy to release the app. Be aware that this app is currently a one man operation (contributors welcome!) and any changes will take time. I work on a few different oss projects in my spare time but this has been my pet project for a while now. All being said, I hope you are happy with this release and as always feel free to post your thoughts on the forum.
Please post any bugs or feature requests to this repository as always:
Changes
- c9dc58b Update dependency feathers-swagger to v1.1.0 (#307)
- 81382a2 Update dependency react-router-dom to v5.0.1 (#309)
- 54f2221 Update Node.js to v10.16.0 (#306)
- bf9a388 Update dependency superagent to v5.0.6 (#311)
- 5feb90f Bump js-yaml from 3.13.0 to 3.13.1 in /api (#310)
- cf8296e Update dependency nodemon to v1.19.1 (#301)
- a11b491 Update mui monorepo (#304)
- 4774342 Update dependency react-select to v3 (#303)
- 82d1661 Update mui monorepo to v4.1.0 (#313)
- c387b54 Complete rewrite (#308)
- d63be21 Update Node.js to v12.6.0 (#325)
- 724a9fc Update dependency @types/classnames to v2.2.9 (#326)
- ac5236b Update dependency feathers-nedb to v5 (#324)
- 4677b5d fix: .snyk & package.json to reduce vulnerabilities (#327)
- ce43308 Pin dependency snyk to 1.192.3 (#328)
- 0c3f1b8 [Snyk] Fix for 1 vulnerable dependencies (#330)
- a0d15f2 Update mui monorepo (#322)
- d14c6dd Update dependency @types/markdown-it to v0.0.8 (#329)
- 8312e46 Update dependency @mdi/font to v3.7.95 (#320)
- 0bfeb66 Update dependency superagent to v5.1.0 (#315)
- 4475dd6 Remove stage for yarn install
- e5e4d33 Add missing typescript dependency
- 4b2a5a1 Add missing react-html-parset
- 6343378 Add missing prop-types
- 6fde443 Update dependency @types/react to v16.8.23 (#332)
- 0eaab28 Move TODO to issue
- ea00dc3 Remove unused packages
- 26aec97 Remove broken types
- 3a0c11f Set default card
- 9b6925b Fix entity select
- a20b109 Fix edit view
- 1d3b496 Remove entites from header
- 878e75b Fix grid size
- ea9fe70 Autohide toolbar option
- 79add11 Edit groups (#334)
- 76e2b45 Upgrade dockerfile and add tslint
- f0338e4 Cleanup
- 075ba57 Add ko-fi link
- 225b026 Remove github sponsor link
- a82fc88 Merge branch ‘master’ of github.com:timmo001/home-panel
- 13878b9 Update topics
- 71b3ab4 Update dependency @types/node to v12.6.0 (#336)
- d9345ee Update dependency snyk to v1.192.4 (#335)
- 5128c1a Fix group delete issue
- 2dc3c97 Update dependency @types/node to v12.6.2 (#337)
- 54ce963 Update dependency typescript to v3.5.3 (#339)
- a397650 Update dependency markdown-it to v9 (#340)
- b0d7bca Pages support (#338)
- 08c02dc Update dependency snyk to v1.192.5 (#341)
- c290ad7 Cleanup
- 564915e Remove edge repo
- 85a4818 Update dependency snyk to v1.192.6 (#342)
- d694c33 Bump lodash from 4.17.11 to 4.17.14 in /api (#343)
- c3f6b9d Bump lodash.merge from 4.6.1 to 4.6.2 in /api (#344)
- e6e75ca Update dependency snyk to v1.193.0 (#346)
- e3ff168 Bump lodash.template from 4.4.0 to 4.5.0 (#345)
- 470d2ab Update dependency markdown-it to v9.0.1 (#348)
- cabcaaa Update dependency snyk to v1.193.1 (#347)
- 34ca5c5 Enable automerge for minor and patch dependency updates
- b93b2c3 Cleanup
- c6b8f68 Remote support and fix toggle icons
- ca0551c Cleanup
- 98b120a Update dependency snyk to v2 (#363)
- 217d19a Update dependency home-assistant-js-websocket to v4.3.1 (#362)
- d298f1d Update dependency @types/react-dom to v16.8.5 (#361)
- 43222bf Update Node.js to v12.7.0 (#352)
- da1dedb Roll back dependency snyk to 1.199.2 (#364)
- 12670aa Update dependency eslint to v6.1.0 (#360)
- 3e827ae Update dependency helmet to v3.20.0 (#355)
- efa98a0 Update dependency @material-ui/core to v4.2.1 (#354)
- 71dac4f Update dependency feathers-nedb to v5.0.1 (#353)
- 1080e56 Update dependency @mdi/font to v3.8.95 (#350)
- 5bf8c2b Update dependency typeface-roboto to v0.0.75 (#356)
- 2b2fedc Update dependency @types/react-html-parser to v2.0.1 (#357)
- 0cd90e0 Update dependency flow-bin to v0.103.0 (#358)
- 2a43967 Update dependency mocha to v6.2.0 (#359)
- 2b5fa21 Update dependency flow-bin to v0.104.0 (#365)
- fa34dfd Update dependency snyk to v1.200.1 (#367)
- 6c0f018 Update dependency query-string to v6.8.2 (#366)
- 997ba12 One port (#368)
- bf8bf0d Update dependency @material-ui/core to v4.3.0 (#369)
- 75f6a8b Update dependency snyk to v1.207.2 (#370)
- 9ec19ff Update dependency @types/react to v16.8.24 (#372)
- bdd7ec5 Update dependency @types/jest to v24.0.16 (#371)
- 6df32ac Fix typo
- a9347be Handle hass unavaliblity on cards
- 2b45649 Fix not found
- c5f38a2 Cleanup
- b84ed6d Fix overflow
- 5375fff Update dependency @material-ui/core to v4.3.1 (#377)
- d3bd58d Update dependency @types/node to v12.6.9 (#376)
- 0d804bf Update dependency snyk to v1.208.0 (#375)
- d928ce5 Update Node.js to v12.8.0 (#383)
- ad526f3 Update dependency @types/jest to v24.0.17 (#380)
- b8ed955 Update dependency @types/react-select to v3.0.2 (#379)
- a78b5cf Update dependency snyk to v1.216.0 (#378)
- ecdacba Update dependency @mdi/font to v3.9.97 (#384)
- d443526 Update dependency @types/react to v16.9.1 (#385)
- 553e04b Update react monorepo to v16.9.0 (#386)
- b0afdd3 Update dependency @material-ui/core to v4.3.2 (#389)
- 4f93c24 Update dependency flow-bin to v0.105.1 (#388)
- 137bfe0 Update dependency react-scripts to v3.1.0 (#387)
- 7ec2161 Support more Home Assistant Entities (#374)
- bb58827 Update dependency markdown-it to v9.1.0 (#390)
- 048af9e Update Node.js to v12.8.1 (#396)
- 0e7008f Update dependency @mdi/font to v4 (#395)
- cf17847 Update dependency react-scripts to v3.1.1 (#394)
- a8a3757 Update dependency snyk to v1.217.0 (#393)
- 170454b Update dependency flow-bin to v0.105.2 (#392)
- 5167dbd Update dependency @types/react to v16.9.2 (#397)
- 111d6d3 One port fixes (#373)
- 23c5e02 Update Node.js to v12.9.0 (#403)
- c036732 Update dependency flow-bin to v0.106.1 (#409)
- 612d2d2 Update dependency eslint to v6.2.2 (#399)
- c003621 Update dependency snyk to v1.219.0 (#400)
- 1794a40 Update dependency @types/jest to v24.0.18 (#401)
- a8ad318 Update dependency @types/react-dom to v16.9.0 (#402)
- 2787839 Update dependency tslint to v5.19.0 (#404)
- 401bbc2 Update dependency @types/react-select to v3.0.4 (#408)
- 2e30757 Update dependency @material-ui/core to v4.3.3 (#406)
- 6105816 Update dependency @mdi/font to v4.1.95 (#405)
- 813b2af Update dependency @types/react-router-dom to v4.3.5 (#407)
- a90a5cf .snyk & package.json to reduce vulnerabilities (#398)
- 9ac35cb remove prepublish script
- e8089a9 Theming support (#391)
- af0a2cd Page editing (#349)
- 6b784d3 Flatten config structure to separate groups and cards (#410)
- 333c5e6 Update dockerfile
- a4d4e0a Cleanup login
- 96bd275 Update dockerfile
- 45fcc46 Get name and icon from HA (#411)
- 3eb8355 Improved HA and Entity Support (#413)
- 67adc54 Update Node.js to v12.9.1 (#414)
- cb01ca2 Bump eslint-utils from 1.3.1 to 1.4.2 (#415)
- 6a97765 Update dependency snyk to v1.220.0 (#412)
- 60a041c Update dependency flow-bin to v0.106.2 (#416)
- bc6e2ee Fix for 1 vulnerable dependencies (#417)
- f77327d Update dependency @mdi/font to v4.2.95 (#419)
- 34e9c54 Update dependency snyk to v1.221.0 (#426)
- 9676427 Update dependency snyk to v1.221.1 (#430)
- e436ddd Add prettier preflight check
- 25a6dc3 Upgrade and rewrite API to typescript (#433)
- d243235 Pin dependencies (#434)
- caeab07 Update dependency snyk to v1.222.0 (#437)
- dfb0f15 Update dependency flow-bin to v0.106.3 (#435)
- cfb21f5 Update dependency @types/node to v12.7.3 (#436)
- f4df920 Remove engines (stick to nvm)
- edfc45b Update dependency snyk to v1.222.1 (#438)
- 4f94379 Update dependency query-string to v6.8.3 (#439)
- 391b5c2 Fix effect when none
- 591c05d Fix unavaliable to on state
- 91f87c9 Scrolling (#441)
- 7fabda8 Fix loading layout
- 42e7df5 Update dependency @material-ui/core to v4.4.0 (#440)
- ea7aa93 merge
- bb29096 Fix config for current user
- dc40ccd Cleanup and improve login and error views
- 1809578 Tweak sizes
- a5410ee Fix error layout
- 7c84b10 v2 Docs (#442)
- 4c9e844 Change db to new location
- 1653c92 Optimize images (#443)
- 1cf08ed Fix linting
- 964b78a Fix linting
- bfa2c7d Fix linting
- 70a6916 Update docker scripts
- 64142df Compile on build
- b9a21da Fix to use sed
- 8d82c28 Move socket setup into main setup
- 57d0c79 Add missing openssl lib
- f75b424 More logging and cleanup
- 755b75f Test
- 6a57ec7 Test
- 4e2b04a Test 3
- d09140f Allow debugs
- 2bba111 Enable test
- 46bcd88 Remove / on redirect
- 3893b44 Test
- d2a77db Remove unused definition
- 6f45eda Something
- fa8cb1c Non exact paths
- ea709c8 Non exact paths 2
- cde47db Update dependency snyk to v1.223.0 (#445)
- e9f9ee5 Update dependency nodemon to v1.19.2 (#446)
- e6d0579 Update Node.js to v12.10.0 (#447)
- f9946c8 Replace routes (#453)
- b4b8191 Updates
- b98f71a Update dependency snyk to v1.226.2
- ddeca57 Update dependency typescript to v3.6.3
- e05a437 Update dependency @material-ui/core to v4.4.2
- 38aca04 Update dependency @types/node to v12.7.5 (#469)
- 6584173 Update dependency ts-jest to v24.1.0
- ffb8ced Update dependency home-assistant-js-websocket to v4.4.0 (#468)
- 58b8088 Update dependency markdown-it to v10 (#467)
- 6c8e4ee update openssl
- 06d47f3 Merge branch ‘master’ of github.com:timmo001/home-panel
- b17e4c4 Fix drawer to use state instead of location
- 4227400 paths and urls
- 832a797 Remove temporary logs
Great update. Persistent storage for docker?
Thanks. There’s actually a fix for that we found in the hassio add-on. I’ll push a patch asap. Long story short, it should be pointing the database to /data
Update: Releasing now
That’s all working now .
Couple of visual issues I’ve found so far:
Date and time cut off at the top on mobile.
Also when editing a theme when you delete entries they re-populate again with the same name, they can’t be deleted. I have a video of it in action but i can’t upload here.
Added the issues to GitHub.
UPDATE: also added a potential major bug where the configuration editor fails to show after editing theme.
Hi!. First of all, your jor is great!!
I have a problem, I updated to the last version, I have a small 7" tablet, and the interface I had before the upgrade doesn´t fit in the new version. Can I scale it? is there a way to do a zoom?
Other Thing, the date text is so much big and uses a lot of my screen. Can I change its size?
Thanks a lot!!
Hi - I feel stupid asking as i had this working fine yesterday, but whats the port i need to access HP on another device? I was using :8234 yesterday, just had to scrap my HA install so downloaded fresh. I can only access it via Home Assistant side bar, but then i have the left bar taking up space.
So you are able to access via ingress, but not directly? If you head into the network section of the add-on you can add 8234
there to access normally
Ok, i guess i would need to use 8234 instead since HA is already using 8123? The other thing is i dont seem to be able to get the light entities to pop up the colour wheel. Just using a long press normally bought that up
This is now only shown on larger cards, so if you increase the size, the color picker will show.
(There is an open feature request to improve upon this)
Ahh ok yeah i found it now. Ok good to know, the old way with a pop up on long press was quite nice i thought for whats its worth.
Thanks!
Is there a way to rename the pages? I was looking for the raw editor but was that removed on this release
Where is best to leave issues etc by the way if not here? Cant get an iframe card to set bigger than 1 height
Press and hold the page whilst in edit mode as before.
Any feature requests and bugs can be raised here:
running hassio 0.98.5, and just upgraded to home panel 1.0.3, when clicking on the new home panel sidebar, after prompt to login to home panel i get a blank tab. no edit button or anything else.
I am experiencing the same problem so for now reverted back to 0.5.0
What device, os, browsers, browser version (if known) are you both using?