Hello,
I have a Dimmer that I “converted” to a Binary Switch, by changing the Device File to Binary_Light1. Vera’s interface works great, allowing this device to only turn on or off, the intended goal.
Unfortunately, the Mobile apps, such as Vera Mobile and AutHomationHD still show the device as a Dimmable Light, despite the changed in the VeraUI, allowing the light to be dimmed to different percentages etc. How do these apps get info on devices? And why do they not match with what the Vera UI shows?
I’ve tried reloading LuuP and rebooting, same on either app.
Thanks,
What is the device type of the device? It depends on what the app developer is using to distinguish the type of device. In the new version of AutHomationHD 3.0, I use the device type to figure out the type of device. If the dimmer that you converted over still shows that the device is “urn:schemas-upnp-org:device:DimmableLight:1” than it will show up in my app as a dimmable light. Because you are changing the intended behavior of a device, you are very likely to break compatibility with 3rd party apps. Do not expect those changes to be reflected in those apps. Same goes for plugins, most of the apps require the developer to support those plugins and require them to write the code to do so.
Garret,
Thanks for the insight.
With some research and experimentation, I discovered that apparently the “category_num” for a dimmer is “2” where as for a binary light it’s “3”. And the mobile programs seem to recognize this and use it to determine a dimmer or not.
Thanks
It all depends on how the developer of the app is interpreting the information. I fallback to the device category if I can not distinguish the device type of the device. Like I mentioned before you are changing the type of device that it is originally suppose to be and you will run into issues with 3rd party apps by doing this.