matthinc / homeassistantelectron Goto Github PK
View Code? Open in Web Editor NEWDesktop app for Home Assistant based on Electron
Desktop app for Home Assistant based on Electron
The desktop file is lacking a Categories=
entry in the *.desktop
file.
According to the menu spec,
By including one of the Main Categories in an application's desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated to this category. If multiple Main Categories are included in a single desktop entry file, the entry may appear more than once in the menu.
Hence, please add at least one of the following in the Categories=
key.
Main Category | Description | Notes |
---|---|---|
AudioVideo | Application for presenting, creating, or processing multimedia (audio/video) | |
Audio | An audio application | Desktop entry must include AudioVideo as well |
Video | A video application | Desktop entry must include AudioVideo as well |
Development | An application for development | |
Education | Educational software | |
Game | A game | |
Graphics | Application for viewing, creating, or processing graphics | |
Network | Network application such as a web browser | |
Office | An office type application | |
Science | Scientific software | |
Settings | Settings applications | Entries may appear in a separate menu or as part of a "Control Center" |
System | System application, "System Tools" such as say a log viewer or network monitor | |
Utility | Small utility application, "Accessories" |
In addition, you could specify one or more from the longer list of Additional Categories.
Please test the result with desktop-file-validate
and make sure it passes.
electron-builder offers native support for this since v19.22.1.
Reference: AppImage/appimage.github.io#2
Love your app - really nice application specific browser for HA.
One thing I use a lot in chrome is in-page search - e.g. on the states page (http:///dev-state), where I have 100s of elements so search is invaluable.
Its the only thing I found that stops me adopting this completely.
Thanks!
When I open the app, it always opens at the center of the screen instead of the last position where I put it.
I notice in your README you have HA shown with different colours to the standard HA. How is that done?
Been stuck on HA 49.1 for a long time as I don't get a chance to keep upgrading. Only upgraded to 69.1 today. Is that a new feature on HA or in your Electron app ?
Great BTW
I have noticed that history_graphs in cards are truncated rather than resized to fit the available card width. MacOS High Sierra 10.13.3. Hass .62.1 on Hassio. V1.1 of your (AWESOME!!!!!) app.
Here is a screenshot of the same card in the app and in Chrome 65 - same result in Safari.
currently have the following in configuration.yaml
frontend:
javascript_version: es5
Cmd + H (hide window) & cmd + W (close window) don't work in this app, unlike other Mac apps.
Any chance you could package up your menu and other fixes from 1.1? The Menu fix would be handy on MacOS - I tried to hack the js but caused other problems. Thanks.
Please provide the AppImage for download, too. Thanks.
$ npm run-script build_linux
doesn't work on Fedora out-of-the-box.
$ npm run-script build_linux
> [email protected] build_linux /home/fab/Documents/repos/HomeAssistantElectron
> build -c electron-builder.yml --linux
Using electron-builder.yml configuration file
No native production dependencies
Packaging for linux x64 using electron 1.6.5 to dist/linux-unpacked
Unhandled rejection Error: Exit code: ENOENT. spawn icns2png ENOENT
[...]
npm ERR! Linux 4.10.8-200.fc25.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run-script" "build_linux"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build_linux: `build -c electron-builder.yml --linux`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] build_linux script 'build -c electron-builder.yml --linux'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
$ npm test
works.
Any chance you can make this a full Windows10 Store application? So it also always is the latest version (if there are any updates and the sorts?
cool program, keep it up :)
Hi!
On every start I'm getting:
Tray Error
Unable to connect to https://domain:port/My Nameapis/states?api_password=xyz
I masked the sensitive info.
After I click OK, it continues and seems to be working fine.
The dropdown lists of entities on Mac OS X is sorted in a non deterministic order. It would be much better to have it devices sorted in alphabetical order.
BR Robban
Since 0.65.0 I get this
2018-03-12 08:17:08 ERROR (MainThread) [frontend.js.es5.201803100] /Applications/Home Assistant.app/Contents/Resources/app/src/preload.js:22:11 Uncaught TypeError: Cannot read property 'querySelector' of null
5 times every second
when I close the electron app this stops
I recently started using your this app to manage my home assistant and it is truly awesome! I am however having an issue with the configurator addon. I added it to my home assistant frontend using iframe and it is also using SSL along with a username and password. I'm not sure if you can fix it but if you could that would be awesome! Also if you could get html5 notifications working with electron (if that is even possible) that would even cooler!
On edge, I noticed one isseu, When opening in the application the tiles in the groups on screen do not align properly, it seems the groups are aligning with the Home assistant border and not with the border underneath wit in my case a few views. However when resizing the application the groups align properly. I am using the newest version (1.01), on a Windows 10 (64-bit version 1709) machine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.