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

Thanks!


image

New: Fully Customisable Virtual Device!
See the topic for examples.

Create a device and configure it yourself:

  • Textual Status on Device Tile in Mobile App setable through flows.
  • Custom uploadable icons can be set as capability icon.
  • Have the Device Tile function as a Pushbutton (staying light/dark after clicked) but set Dark/Light on the Tile as status from a flow.
  • 10 Numbers, Texts, Yes/No’s, Buttons and Cameras can be add_devices.
  • Hide device tile button from the device itself.

And

A flowcard to retrieve the User and Client from the Insights from x minutes ago (can be zero for now).
Example: Retrieve the value from LivingRoom for Temperature from 30 minutes ago.

Or

Set capabilities of device’s per zone, for example open or close all curtains in a certain zone, including (or not) the subzones.
Also listens for capabilities of which there are no triggers from the app developer.
And a condition able to set a capability and wait for a specific “error”.

Now also a new actioncard, which retrieves the value from a capability from a device from [numberof] minutes ago (including the User and Client which changed the value).
No more need to temporarily save your values in a variable every 10 minutes, and having that not work when running a flow manually.

New: App [[app]] is started card (When).
image

New: App [[app]] is running conditioncard (And).
image

So:


“Apparaat mogelijkheden” means “Device Capabilities”


Examples

Example: Retrieve the value from LivingRoom for Temperature from 30 minutes ago.

Example: Set curtain.windowcoverings_set To 0 in Home including subzones (Yes).
This will close all curtains in the Home and subzones. Setting it to 1 will open all curtains.

Example: Listen (watch) from Vacuumcleaner1 for bin_full
The flow will be triggered when a device called Vacuumcleaner1 has the capacity bin_full changed.
Check the value for true and send a notification to your phone to know when the vacuumcleaner bin is full.

Also gives you tokens with the User and Client (App) which activated/changed the capability value.


Example: Set SamsungFrameTV.onof to True and wait for error: Powered on already…
The flow will continue after the TV has been turned ON. So no more flows with delays for waiting for TV or Coffeemaker to turn on.
To know which Errors are given, create a flow with the normal On/Off flowcard and execute that flow. You will recieve errors like “Powering on in progress” or “Allready powered on…”. These errors can be “watched” for.
For example; In the next flow i turn on the TV (Called Frame).
If the TV is turned of and when I start it, no error returns.
If i directly press it again, i get an “Powering on in progress…”. If i wait a few seconds and start it again, i get the messages “Powered on allready…”.

This way you can get the error messages. You can copy the text from the red error message and use it in the Wait for error FlowCard.

How to find a capability for a device?
In the first field, you enter the device name.
In the second field, you will get a list of the capabilities (Stoffie is a Roomba 980 and this is my working case):
You can then select the correct Capability, in this case bin_full

image


This works great voor a PA system:
How to make a Great Public Announcement ¶ System with any device! - Apps - Homey Community Forum (athom.com)



Updates

Version 1.9.0

  • Re-wrote the Virtual Device, with configurable fields through settings, able to be set through flowcards, but more advanced.

Version 1.5.0

  • Added a Virtual Device, with configurable fields through settings, able to be set through flowcards.

Version 1.4.5

  • Updated hints and description.
  • Bugfixed: filtered capabilities correctly on optional brand and devicetype.

Version 1.4.4

  • Performance improvements.
  • Added better hints and descriptions.
  • Enum/DropDown capabilities are now setable through the Zet [text] capability Card.
  • Zet [deviceClass] Cards now also have optional Brand and DeviceType arguments for more specific selections.
  • All cards have (hopefully usefull) hints.
2 Likes
Share Your Device! - Advanced Virtual Devices from Device Capabilities
The Flow Exchange(r) - Exchange Your Flows with Others!
Logs for all actions made by Homey
Device Capabilities
Teilen Sie Ihr Gerät! - Erweiterte virtuelle Geräte aus den Gerätefähigkeiten
[TUTORIAL] How to make a Great Public Announcement (P.A.) System with any device!
Share Your Device! (HCS edition) - Advanced Virtual Devices from Device Capabilities
Na een poosje kom je er achter dat "iets niet werkt"
Device Capabilities
The Flow Exchange(r) (HCS edition) - Exchange Your Flows with Others!
How to listen events for launch my device application
Is there a way to insert dummy items?
Past value of variables in flows
The Flow Exchange(r) - Tauschen Sie Ihre Flows mit anderen aus!
Homeydash.com, a Homey dashboard
The Flow Exchange(r) - Helfen und Fragen stellen
[APP][Pro] JSON Handler and Manipulator
[APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator
Welke actie/flow/app veroorzaakt aanzetten licht?
[APP][Pro] Erweitertes virtuelles Gerät (Device Capabilities App) mit eindeutiger Textstatus-Anzeige
Neo Coolcam plug flow worked for a while and then stopped
Reduce the number of Node.js modules to use less memory
[App][Pro] Virtual Devices
Verwarming voor oa. ploegendienst / klimaat regeling deel 1
Advanced Flow — Community Q&A (from Ask Me Anything 05-07-2022)
[APP][Pro] Advanced Triggers - Trigger and action cards with eventname for Advanced Flows
Universal Media Player - A Generic storages place for your Homey, speakers, tv's or other media devices
Music Url Converter - Play Music URL's on Homey bigger then 900 KB
H.O.O.P. (Hope) - Homey Object Oriented Programming

Hi @Arie_J_Godschalk,
this is maybe slightly off the actual topic but have you tried doing the set part with my Zone Memory app?
I am asking because this is an interresting usecase. I have never tested or gotten any test reports about it being used in combination with window coverings.
If you are willing to give that a shot, I would be interrested in your experience by using it in combination with those devices.

No i havent actually, Zone memory is on my to-install-list :wink:

But I am actually updating Device Capabilities as we speak to work in combination of two other apps I am publishing (hoping) today.

But go ahead in testing whatever you like :wink:

The sourcecode is available.

Hi @Arie_J_Godschalk

I really like the idea and use cases of this app. im trying to reproduce your example of the robot vacuum. im using the iRobot Roomba 960 and it has an capability “Afvalbak Vol” but i cant select it in your app.
could you point me in the right direction?

Thnx!

Hey, in the first field, you enter the device name.
In the second field, you AGAIN fill in the Exact name of the Device, then you will get a list of the capabilities (Stoffie is a Roomba 980 and this is my working case):
You can then select the correct Capability, in this case bin_full

image

Yes great this works. on my homey it took a while before the capabilities were shown.

Thanks!

Nah, were you using the webbrowser? Because then you somethimes need to do a space and backspace to get the results, or click in the flowcard JUST outside the textbox :wink:

Yes the my.homey.app ah ok, thanks, like your app!

Thanks!
Funny, you use it exactly why i wrote it in the first place, a trigger for when my Roomba or Braava is full/empty-water :wink:

1 Like

Hey @Arie_J_Godschalk, I just want to trie out your app but I didn’t get the list of capabilities.
Then I tried a little bit and find out that you get the capabilities list only if the device name has no space/blank in the device name.
Is it possible to solve this problem?

Hey Fantross,

To be honest, I am gonna rewrite the card(s) that use two seperate fields (Device and Capability) and put them into one field (where all devices are listed with there capabilities). This will be much more userfriendly.
This was my first published App, and i needed to learn, untill then all Apps i wrote (for Homey) were private apps.

For work i have a deadline to hold to, as soon as i am able, i will improve these card(s).
(and when i do, i will make sure devices with spaces in it will be listed and can be searched upon, i allready have the perfect functionality in the HOOP app).

I have created an issue (enhancement) at the issues site DeviceCapabilities / issues / #1 - Watch - combine the two fields (Device and capability) into one — Bitbucket

3 Likes

Suggestion for user friendliness: why not enhance the app so that the device name does not need to be entered 2x on one flow card? If I’m listening to Stoffie, then most likely I would only like to see Stoffie’s events?

Haha, indeed, read my post just before your post :wink:
This is exaclty what i will change as soon as i am able.

LOL - perfect - liked your other post :slight_smile:

1 Like

Okay @fantross and @RogerSt ,
I changed it, a bit differently, or better yet a bitt the same.
I keept the two fields (so flows will not break), but in second field you don’t have to re-enter the device name.
Also device names spaces are allowed, also in searching:

image

image

Also beter orderby and other fixes.

Just submitted for approval.

1 Like

Safe enough to try :slight_smile: go for it!

@Arie_J_Godschalk how do you send a massage to your watch? I can’t find the watchman app. I hava an apple watch and this looks good.

Sorry, that is a private App and i would need a Athom Api Client and Secret for it (which i have) and use it publicly (which is still not allowed by Athom).
image

They do allow it, but you need to contact Athom support with good examples etc, then they can(/will) give you public api keys

How does that work when it says: The Web API is not yet available for 3rd party developers.

Kind of an impossible enigma :wink: