Everything happens in the browser. No browser, no loading.
But, if you have the dashboard open in a tab, but not looking at it, the images might be loaded. This depends on what your browser decides to do with inactive-tabs. Some browsers but the tabs to sleep after a while. And if you use a tablet or phone, and turn off the screen while having the dashboard up, at least I’ve experienced that insights and images does not update while iPad screen is off
Your thermostat must have the thermostat_mode capability, otherwise it’s not displayed. I can probably add a feature in the future to manually specify if the thermostat is for heating or cooling, just for display purposes
Yeah, it didn’t survive the patch. You cannot have your cake and eat it too.
By adjusting the text line height to reduce space between lines, I also clipped the bottom half of all q, y, p, g, j letters. So I had to reverse this change, which also ment that the extra space I got by reducing line height, wasn’t available for dynamic spacing
Add an option to add a small resizble window to show the most recent timeline notifications?
Menu Add: “Capabilities” option might be more intuitive to users when changed to “Devices” or “Device Capabilities”?
Edit: would it be possible to allow for multiple capabilities of a device to be added at once?
Edit bug: When moving devices, the info window will popup after you release the item
Bug: when adding an element and then abandoning it without selecting anything, it will stay visible in empty/error state → should be removed on cancel
The deep red color of the top left menu area is a bit distracting IMO, maybe a more subtle color?
Motion alarm: would it be possible to have an option to display “Last active” (x minutes ago) on the device itself (not only the popup)?
Motion alarm: the checkbox icon in “Off” state is a bit confusing (looks as if it triggered). Maybe “Off”, “No” or a “-” might be more clear?
Motion: Use the Homey default orange icon for an active alert.
Camera images on dasboard are usually smaller than the original, and it would be great to see them in the native image size (FHD/4k) in the popup window when clicking on them (right now they are shown in the same small size).
Insights: is it possible to add a option to change the time range dynamically (maybe in the popup)?
Insights; is it possible to add a 12h time span instead of Homey defaults (6h/24h), using thepartial dataset?
@skogsaas looking awesome so far I decided to start creating dashboards from scratch, using local API but I’m not sure if I understood process well.
I can’t get rid of old/online dashboards, so I cleared out the cache, which logged me out.
Then not sure, do I have to install your app to get local dashboards across more devices ? I have it installed, dashboards appeared in the previous logged in online version…
Anyway, navigating to https://homeyboard.github.io/, entering API I have generated (without logging in), I get error :
Then, when reloading/refreshing the page (seems I can enter API key only once?), I just got empty page and need to clear the cache of browser again.
Yeah, it’s a shame that I haven’t sorted this earlier. The “local login” shouldn’t be visible when visiting homeyboard.github.io, it has no functionality at this point. Working on it!
It really depends on your Homey, network and Athom. For me the local url takes about 5-10 seconds to connect, but using connect.athom.com takes less than a second. After it’s connected, it has a persistent stream, keeping the connection available.
Connection time is out of my control, some times it takes a while to tunnel through the NAT
Edit:
The file you point out is the file containing all icons. I can try to add some compile options to compress it. Or split it into two files, one for all internally used icons, and one you as a user will be able to use to select custom icons for what ever you want
I’ve done some changes to the editing mode. The editing dropdown for widgets are now exchanged with multiple buttons for easier access and overview of locked widgets.
Dragging widgets is now done by pressing the move icon.
Resizing widgets now have a new icon with the same look and feal as the rest of the icons.
Locking an widget removes the move-icon.
This fixes scrolling on mobile devices while editing!
I know this also increases the amount of buttons and “noise”, but it also makes it easier to use. It’s not like you’re going to spend most of the time in editing-mode anyway
The code is now compiled with compression. This adds extra pre-compressed versions of all files, reducing file-size. I don’t actually know if this will help, as this depends on the Homey web-server and what your browsers request. But it might help!
Sentry
I almost forgot! I’ve added Sentry.io to log all unhandled exceptions happening in the dashboard. This will help me detect when I break the egg-basket again. Hopefully before you notify me about it
As always I try to remove all privacy information before logging. Sentry already does a lot of privacy filtering, but I’ve added even more filters to remove everything I can think of
Privacy is a great concern of mine!
Edit:
Ugh, testing editing on an actual mobile device, not just using the developer tools to mimic a mobile device, show that you now refresh the page when you try to move a widget
This is like a hydra…
Not sure what is going on with that .js then. Same on another PC and on Edge btw (using mainly Chrome). Is this file cached, or is that determined by Homey/Athom?
BTW: I just noticed that a link to the dashboard from https://homeyboard.github.io/xxxx is also very fast somehow? But I see http response 304 Not Modified, so maybe cached even when loading? Update: indeed devtools say “Disk Cache” when opening/refreshing this page:
I’ve now fixed the issue with dragging widgets on touch devices. Of course I had to introduce new bugs while fixing others
@JeeHaa : Here’s the result from the latest build. The bottom file is the .js containing all icons. You can see that it has been reduced almost 10x from it’s original size. I’ve tested, and when I request the files from homeboard.github.io, I get the compressed files. But when I request the files from Homey (through Athom Connect), I get the uncompressed files.
This basically means that the built-in webserver in the Homey isn’t smart enough to serve the compressed files.