[APP][Pro] Device Capabilities - Enhance the capabilities of devices

image
In develope still, but those are all working allready.

1 Like

No clue about difficulty / amount of work, but I also like to be able to pick a custom icon (home-made or downloaded .svg) for the device tile itself.
So basically an icon picker during device install, no need for icons themselves.

Really just a ‘nice to have’ in the future.

The VD way:

1 Like

I allready have a settings page (in develope) which i completed yesterday.
But i know of no way to use a icon from the ./userdata folder, and that (and ./tmp) are the only locations i can save images.

Which App is that one?

All the work is allready done actually.
I just cannot get the files that are on Homey to load.
I know how to do it for dynamic images etc, but as far as i know there is no way for me to save an image on a location that can be used by iconobjects.

It’s the virtual device app, Arie.
When I press ‘Bestand kiezen’, I can open any folder on my phone or laptop. I didn’t mean custom icons stored on Homey itself…

But like I wrote, maybe in the future

1 Like

Which one? Not the one i have installed.

The app by Arjan Virtual Devices App for Homey | Homey

1 Like

Let me finish this bug and then ill check it out.

1 Like

Thanks Arie, but again, no hurries.

1 Like

Okay, new version is in TEST: many changes to Buttons and Camera’s!

2 Likes

Just tested the new card (v1.9.75) but I’m sorry to say it isn’t working on my end…

image

1 Like

What happends and how?
Did you clear the card and entered a new one? Because else the number is still given as argument.

youre right, fixed in next update.

2 Likes

Modifyable icon coming up.

1 Like

Version 1.9.76 is in test.

I havent have much time to bugfix anything.

But goto settings, upload .svg (only .svg!) and then create a device, now you can pick the icon.

2 Likes

I used the options for button one:

image

but they are missing since version 1.9.75.

Would it be possible te implement that again :pray:

1 Like

Wow, that was quick!
I did some tests.
I uploaded 4 .svg icons, which are used on VD (by Arjan) devices, to be sure they’re valid ones.
But while adding a device:

This screen disappears by itself after ~10 to 15 secs, and then the new device with the default icon appears in the zone.
There’s no ability to select an icon.
I restarted the app and tried again, but no difference.

If you need anything, let me know.
Tia and no hurries

1 Like

All options are now in the Show as dropdown.
Ifon one has the Indicator only option, this is de same has hide en disable.

If the “Indicator only” option is the same as setting the “Show as On/Off” to “No” in 1.9.74 that would be great, but I don’t have that option:

:fearful:

1 Like

I really like the new virtual device(s) you’ve introduced, opens up a lot of possibilities.

I did however found a bug with the latest version (.76) when you remove a camera it will not remove the capability properly (or just the run listener?) completely breaking said device, in turn breaks the GUI (web, mobile app and dev pages → devices).
Chrome console says:

TypeError: Cannot read properties of null (reading 'addListener')
    at Camera.js:111:22

Also send you a log, maybe it specifies what goes wrong:
2da9d178-9fb1-455e-8902-a28a6d17e872

Trying to re-add the camera capability doesn’t fix it.

1 Like