[APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator

Hey Peter,

Could you update to the latest test version and try again?
And if you recieve and error (would be in Web now also), let me know what it says, and share your device.json please, maybe there is something wrong with that?

Sorry about that Peter!

Solved in latest test version.

1 Like

It’s live: Share your Device!


Thanks thanks, Arie, it works!

Hey @Peter_Kawa ,

Wanna help me with the Share Your Device, Including Advanced Flows?

Install the newest Test version, create a JSON and PM me the JSON?

Anyone else who can help?

Wanna help me with the Share Your Device, Including Advanced Flows?

Install the newest Test version, create a JSON (select Include Flows) and PM me the JSON?

PM doesn’t allow more than 32000 characters :rofl:

Send you an email.

1 Like

Drop the icons and give me one with just one flow?

Dropped the icon, it includes 4 flows, I haven’t got one with only one flow. PM-ed the JSON

Hey Arie, this puzzled me, why do you average the curtains from AVDevice Living Room?
The way I look at it:
When all 4 curtains are at 100% (= opened), and someone sets Woonkamer Gordijn to 50%, Living Room Curtains is going to be set to 350/4=87%

@Peter_Kawa , yes, so when they are all closed, the button will be black, but if one is not closed, the button will be white.
Easy way to see if the are all closed or not.

Please note that Positions are handled as 0 to 1, not 0 to 100.
And note the finishing >0.01 part, making it a true/false condition: when all are closed (well almost 0.01) it is false, thus making the button dark. If one (or more) is open, it makes it white.

Ah I see, it’s about the button status. Yes I’m aware of the 0 to 1 position values. I managed to replicate it and it sets the Y/N button like it should, very nice!

@HuisCHovens Did you manage to import my TEF file?
It still works here, but you’ll have to manually pick the right devicename in every h.o.o.p. flow card.

It works half way. Tag flow cards from advence triggers flow card is not filled in and the device does not change name.
While if you click on test you get
no errors in the flow. I dont see what is missing?

Import works good for device.

Flows import in AVD is a bit behind on The Flow Exchanger.
Not all improvements are allready in AVD import.

Okay, update in test:

  • App Settings design and UI UX improved
  • The Templates are beter loaded with beter regexpr, loading all Posts on the topic and showing them as Templates (h1 needed, Description, and preformated H4s code).
  • All TFE functions are copied to Share Your Device Again.


I have a problem when importing an svg as an icon. It shows the following message:

I tested with lots of different svg, and the result is the same. Have you encountered this problem?

Thanks !

Hey Dino (Love that name!),

What version of DC are you using?
Because in the current Test version, i cannot simulate the issue.
Could you open de browser log (useally on a Windows its the F12 button) and make a print-screen of the console log?
Wait for the next testversion, try it again and send me a diagnostic.

I’ll let you know when it’s in Test.

Actually, looking at your images again, i think you are using a somewhat older version, which had a bug in it.

I tested with the test version and it works correctly! the icon is however very small. Do you have any tips for making it bigger? Thank you very much for your work anyway :slight_smile:

1 Like

Well just make sure the svg is as much stretched within the “canvas” as possible.
If you open the SVG with an editor at least.

If you edit it with texteditor, its a bit harder, but you have a viewBox.
And the elements need to be as close to the beginning and end of the viewbox.

Beside that, there is not much you can do about it :wink:
(Not yet at least)

<svg height='100px' width='100px'  fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" x="0px" y="0px"><title>device</title><g><path d="M61,8a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H57a1,1,0,0,0-1,1V7a.987.987,0,0,0,.82.964L56.057,10H54a1,1,0,0,0-1,1v1H45V11a1,1,0,0,0-1-1H40a.974.974,0,0,0-.46.126L35,5.586V3a1,1,0,0,0-1-1H30a1,1,0,0,0-1,1V5.586l-4.54,4.54A.974.974,0,0,0,24,10H20a1,1,0,0,0-1,1v1H11V11a1,1,0,0,0-1-1H7.943L7.18,7.964A.987.987,0,0,0,8,7V3A1,1,0,0,0,7,2H3A1,1,0,0,0,2,3V7A1,1,0,0,0,3,8H5.057l.763,2.036A.987.987,0,0,0,5,11v4a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V14h8v1a1,1,0,0,0,1,1h2.7l4.375,7H5a3,3,0,0,0-3,3V50a3,3,0,0,0,3,3H19.534a3.967,3.967,0,0,0,.493,1.039,1.116,1.116,0,0,0,.1.12l7.15,7.529A1,1,0,0,0,28,62H43.994a1,1,0,0,0,.961-.72c.139-.356,1.1-2.465,1.953-4.322A.987.987,0,0,0,47,56.54V53H59a3,3,0,0,0,3-3V26a3,3,0,0,0-3-3H37.929L42.3,16H44a1,1,0,0,0,1-1V14h8v1a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V11a.987.987,0,0,0-.82-.964L58.943,8ZM4,4H6V6H4ZM9,14H7V12H9ZM33.7,26H31.3L24.792,15.581A.976.976,0,0,0,25,15V12.414l4.54-4.54A.974.974,0,0,0,30,8h4a.974.974,0,0,0,.46-.126L39,12.414V15a.994.994,0,0,0,.952.99ZM31,28h2v2H31ZM31,4h2V6H31ZM21,12h2v2H21ZM4,50V26a1,1,0,0,1,1-1H8V51H5A1,1,0,0,1,4,50Zm41,6.321c-.907,1.969-1.4,3.055-1.673,3.679H28.43l-6.8-7.156a2,2,0,0,1,.555-2.722,2.06,2.06,0,0,1,2.778.506.956.956,0,0,0,.13.153l4.016,,1,0,0,0,31,54.168q0-.042,0-.084T31,54V34.985a1,1,0,0,1,1.715-.681.938.938,0,0,1,.285.681V52a1,1,0,0,0,2,0V44a1,1,0,0,1,1-1,.974.974,0,0,1,.712.306A.957.957,0,0,1,37,44v8a1,1,0,0,0,2,0V45a1,1,0,0,1,1-1,.974.974,0,0,1,.712.306A.957.957,0,0,1,41,45v7a1,1,0,0,0,2,0V46a1,1,0,0,1,1-1,.974.974,0,0,1,.712.306A.957.957,0,0,1,45,46ZM60,26V50a1,1,0,0,1-1,1H58V25h1A1,1,0,0,1,60,26Zm-4-1V51H47V46a2.928,2.928,0,0,0-.874-2.108,3.079,3.079,0,0,0-3.6-.507,2.8,2.8,0,0,0-.4-.493,3.079,3.079,0,0,0-3.6-.507,2.8,2.8,0,0,0-.4-.493A3.058,3.058,0,0,0,35,41.171V34.985a2.906,2.906,0,0,0-.876-2.1A2.949,2.949,0,0,0,32,32a3,3,0,0,0-3,2.985V51.758L26.55,49.4A4,4,0,0,0,19.4,51H10V25H28.321l.887,1.419A.976.976,0,0,0,29,27v1H21a1,1,0,0,0-.868.5L16.42,35H15a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V36a1,1,0,0,0-1-1h-.277l2.857-5H29v1a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V30h7.42l2.857,5H45a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V36a1,1,0,0,0-1-1H47.58l-3.712-6.5A1,1,0,0,0,43,28H35v-.531l.1.061L36.679,25ZM18,37v2H16V37Zm28,0h2v2H46ZM43,14H41V12h2ZM58,4h2V6H58ZM57,14H55V12h2Z"></path><rect x="5" y="36" width="2" height="4"></rect><rect x="42" y="5" width="2" height="2"></rect><rect x="46" y="5" width="2" height="2"></rect><rect x="44" y="3" width="2" height="2"></rect><rect x="44" y="7" width="2" height="2"></rect><rect x="20" y="5" width="2" height="2"></rect><rect x="16" y="5" width="2" height="2"></rect><rect x="18" y="3" width="2" height="2"></rect><rect x="18" y="7" width="2" height="2"></rect><rect x="29" y="15" width="2" height="2"></rect><rect x="33" y="15" width="2" height="2"></rect><rect x="31" y="13" width="2" height="2"></rect><rect x="31" y="17" width="2" height="2"></rect><rect x="48" y="18" width="2" height="2"></rect><rect x="52" y="18" width="2" height="2"></rect><rect x="50" y="16" width="2" height="2"></rect><rect x="50" y="20" width="2" height="2"></rect><rect x="14" y="18" width="2" height="2"></rect><rect x="10" y="18" width="2" height="2"></rect><rect x="12" y="16" width="2" height="2"></rect><rect x="12" y="20" width="2" height="2"></rect></g></svg>