Any thoughts that this could provide native nortifications to OSX? Or allow cross platform notifications?
Can there be a option to hide the top option bar(Go, Edit and Developer)? Pressing the ALT button maybe
I noticed youāre using electron-builder to create the package, have you been working on adding auto-update support yet?
Itās pretty easy to set it up, it can work with Github Releases, and it would be easier to make sure everybody is using the latest version before they submit bugs
(I recently created an electron app myself, combining messages regarding updates in my frontend, but anything should be possible, basically this is all you need)
@tmatheussen Oh thank you - thatās a great example! I will definitively play around with this
Let me know when you need help
The docs are sometimes not that clear, but this section might help to get a simple version working first: https://github.com/electron-userland/electron-builder/wiki/Auto-Update
I Just published a new version. Release 0.4 The main features are:
- A message when there is a new version available (thank you @tmatheussen !)
- Desktop notifications for mac/windows (optional)
- The window remembers its size
- Some general stability improvements
Great work on the app! Iāve been appreciating it since the first release.
I am having trouble with the 0.4 on Mac. When I first installed, it loaded up fine. I checked the save window dimensions and desktop notification options in settings, and then quit the app and reopened. Now I am getting the below error on startup, and the app does not load.
I even did a clean uninstall via AppCleaner, and problem remained. Iāve reverted to 0.3, and that is still functional.
Let me know if I can help troubleshoot in any way.
Can you share some information regarding the notifications? Does this utilize the html5 notification component?
@moralmunky
Electron has a very nice cross-platfrom notification library.
I use a Javascript file which is injected in the Home Assistant webview: preload.js
As you see (line 25) I just observe the style of the notification component in Home Assistant and create the notiofication. This is is very simple in Electron:
new Notification('Home Assistant', {body: message})
Hope that helps
this is nice! thanks!
Is there a secret to getting this to work? All Iām getting is a blank grey screen. I saw a login window once but stupidly pressed login without entering my password and now it hasnāt been back.
Edi: Nvm just made a Chrome desktop app. Man why didnāt I do this a long time agoā¦
Hi, @itchaboy,
Just click on the menu item āDeveloper > Reset Configurationā and restart the app.
Then you should be able to enter your credentials again.
Iām not sure what happened. Mightāve been an HA update (running the latest release), but unable to connect anymore. Trying to connect via SSL through the web and it is āconnectingā and never loads. Trying to access locally, it just shows a blank screen.
Still working well here, but Iām not running SSL. You may want to try resetting the app.
Iāve tried resetting, uninstalling and removing all traces of preferences and reinstalling.
Iām sorry to hear that. Iām currently in holiday and have no Computer with me. Iāll check that when Iām home again.
nice work
OK great! Thank you.
Sorry, I just checked everything again and it works fine for me. I use SSL / dyndns myself. What OS/version do you use?