I think I have a couple issues with Edge device capabilities working correctly on the mobile app dashboard . Could you see if you can recreate these and confirm if this is something that needs to be reported back to the engineering team?
BTW, I am seeing these issues on the iOS mobile app:
smokeDetector capability: no state shown on dashboard, and no change in the icon when state changes from clear to detected or back again. I have no device config/vid defined - just using the stock capability defined in an Edge profile.
momentary capability: button not appearing on dashboard. I happen to have a different driver with a different device also using the momentary capability and it is appearing ok for that device. One difference is that device also includes some other capabilities, including custom capabilities. In the device where Iām not getting the button on the dashboard, I have only the momentary capability defined for the device. I even tried defining an explicit device config with momentary in the dashboard action json section and including the vid in the device profile metadata, but it didnāt change anything.
It would be great if you could confirm if these are indeed known issues in Edge devices.
I guess you are talking about the action button on the dashboard tile? I donāt see that on Android either. However Iāve also never seen another device that only has the momentary capability and as Iāve commented elsewhere I donāt see the purpose of it.
Iāve find it useful where you simply need to trigger something to execute. Could be a driver device that sends something to another LAN device, for example, or performs a POST request or whatever. I realize these are āspecialtyā devices and not your typical standard capabilities.
Yes, this is already reported but itās not an Edge drivers issue because it affects other integrations.
The momentary capability is not set in the āactionsā section of the Dashboard View by default for the automatically generated presentation.
Your thought of creating a custom device-config was correct, however, you need to verify (in the devices list) that your device is using the new presentation.
I created a device with the momentary capability, assigned a custom VID and the button is displayed correctly (both Android and iOS).
Yes, my presentationId (154237ea-dea5-33bd-864d-af27063083ba) is shown as expected in the device list (c036de58-1977-49da-bd14-0a42a504a451). So not sure why itās not working. Does the category matter? I am using āOthersā.
I generated a new presentationId and then created 3 identical momentary devices. One of the three had the button on the dashboard. However when you tap it, it spins for a long time and you get the message āwe are having trouble connectingā¦ā. Whereas if you tap the button on the details screen it works normally (for all three devices).
So Iām going to assume for now this is indeed buggy.
ok, I double-checked and this plugin issue seems to be only affecting Edge Drivers.
I already created the corresponding report, so the engineering team can look at it.
Thank you for bringing it to our attention.
Oh yes, you can have a device with just a Momentary action as long as it actually includes the code to actually do something. It is the idea of a āvirtual Momentaryā that doesnāt seem to make any sense.
Hereās an update:
The issue appears when we use only the āmomentaryā capability in the device profile (in iOS). If we add another capability, the button is displayed in the Dashboard View. However, the team will look into that as itās not present on Android devices.