Thanks @Amersfoort ,
Nice. I do more or less already the same with the length and position. But it indeed only updates every 15 seconds or so. I was able to that part without HomeyScript. I used the chronograph app to start when a song starts and executes every second until the length of the song. With that I am updating the position of the song.
It would be great if you could share the HomeyScript. Know my way a bit around, but why re-invent the wheel
@Hans_Gr , @Amersfoort(and all otherâs who requested this, but got too burried in the threat to find them)
Yes, it is finally here: the Menu widget! You can now configure horizontal and vertical menus, and optionally connect them to a button using local topics to create drop-down, drop-up, or slide-sideways menus. You can create single-click menu items, toggle menu items like checkboxes, and even radio menu items.
I also took the opportunity to change a few things in the widget settings, specifically the way fonts and icons are configured. It is now a more universal typography and icon slide-out. I am planning to implement it this way in every widget, but for now, only the button and menu widgets use it.
@Satoer Thanks for version 1.5. Please note that some things got âgarbledâ when migrated to 1.5.
Some buttons lost their icons and on those same buttons, the positioning and styling of the label text got lost as well. For some icons, I used a custom image. That also is not showing anymore. The custom image is still in my Image Gallery, but I donât know itâs name anymore. How can I get this back?
Oh shit.. I needed to change a couple of things in the buttonâs save file and I thought I had migrated everything correctly. Please do not save your dashboard file. I shall see if I can improve the migration script.
Is it possible to move around the added lights in the light grid by drag and drop? Now I have to removed the bottom ones and add a new one and then add the old ones.
Yes, here too. On a switch I see the text âSwitchâ and for custom icons, I see the path to the custom icon not the icon itself. Also switch: text sometimes does not fit anymore, but the switch itself looks okay.
EDIT: the setting âButton Label (inside)â is for âButton label caseâ UPPERCASE and not the earlier setup None.
Guyâs, Iâm trying to figure out why some of the buttons did not migrate correctly. I added extra styling options, and in the previous version the button used the container label as the button label, so that has been fixed in 1.5.0. The migration script I moved the container label (of the button) to the button label so all pre-1.5.0 dashboard should look the same. I always test the migration rules on the demo dashboard, and I did not see any problems, not with the text or with custom images. Question: Are the buttons that are not migrated correctly, grouped in your dashboard?
Please do not manually fix your dashboard. I think I might fix the problem in a extra migration rule.
This is also added in version 1.5.0, but this version is in test right now and some users are reporting migration problems, so I would wait until it is released to the stable release.
When I load that dashboard in the settings it is the correct dashboard. When I call the URL above itâs some kind of half filled canvas, not the dashboard.
Edit: when calling the url it says the json cannot be found. But saving it within Homey creates the json I guess? I have checked the file manager and the dashboard file is there..
This update fixes these problems. Turns out that grouped buttons did not migrate correctly. Also Dashboards that already migrated to version 1.5.0 should be fixed now.
There is also a new âEnable Live Refreshâ option in the Image widget (added in Test release 1.5.0). If you set this to 5 minutes the image is always up to date.
URLâs are Case sensitive. So YV is something different then yv
If you saved it as YV with capitals, can you try to load: http://ip:5050/?dashboard=YV&token=xxxxx ?
I am not able to recreate the problem over here. I have enabled the security token. created a dashboard. Saved it inside homey (Use the âSave to Homeyâ button not the âExport Dashboardâ button) as âYVâ (with capitals) Then went to url:
http://[IP]:5050/?dashboard=YV&token=XXXXX
And it showed the Dashboard just fine
What kind of Homey are you running? What browser are you using? Have you tried other browsers? Does the problem also happens when you disable the security token?
On the one hand my dashboard was unrecognizable because of recent app-updates. Thatâs why I thought it was a different dashboard. Recent updates broke things. Although in the editor it seemed fine.
Another thing is that (here) dashboards with capitals donât work in the url. When I save the other dashboard as yv and call the url it works.
Hmm, I did a few more tests and none of the older dashboards are showing any issues. Even when using the URL method to load them, the dashboards seem to go through the migration process just fine. Do you see a migration message when you use the URL method on an old dashboard?
Also, capitals are working perfectly on my end, provided the capitalization matches the source file. To help me narrow this down, what browser and computer are you using, and which version of Homey do you have?
Quick question about Menu widget: how to activate icons related to a menu item.
Even importing the demo dash on my own Homey, I can see the icon, but icon changes donât seem to have any effectâŚ
EDIT: In a menu item selecting Custom image as an icon wonât change the icon name field. When I define a switch and select âCustom imageâ as an icon source, the next field changing into Image Url instead of âIcon nameâ. Both kind of icons donât show up in a menu.
Crap, I broke something when I implemented the same icon dropdown into the button widget. I did not check the menu widget again. Thanks. I shall solve this.