Can't get dimmer file to behave.

Hi all,

I am back to trying to figure out how to close the existing D_DimmableLight1.xml and D_DimmableLight1.json. When I did this for the relay (on/off) switch, it was pretty straight forward. I changed the in the XML file, changed the file to point to my copy of the D_BinaryLight1.json, and changed the “DeviceType” and “device_type” in the json file to match the that I changed in the XML file. These changes resulted in a set of D_ files that were duplicates of the BinaryLight ones, that I could then modify to fit my needs.

However, if I do this same thing with the D_DimmableLight1 XML and JSON files, I get completely different results. I end up getting the rounded gear. As suggested I ran firebug to see if I was getting any javascript errors, and nothing showed up. Tailing the LuaUPnP.log file also turns up no error messages. So, I am wondering if I have stumbled on to a bug that I need to file in Mantis, or if I am just doing something wrong.

Would someone be willing to look at the attached files, and maybe even load them in your Vera to see if you get the rounded gear, or if you get the dimmer graphics?

Thanks!

Hi,

The files are OK, I created a device using these files and it looks like a dimmable light. Try clearing your browser’s cache and reloading the UI.

Thanks mcvflorin,

I think I figured out what was going on. I used the same static json file for the dimmable keypadlincs. It seemed crazy to me that something like that would be causing a problem, but I copied the json file to a different name, and pointed the keypadlincs at that. Everything cleared up and started working. So, it seems that you shouldn’t try to share the static json files between two different devices. Not sure if this is considered a bug or a feature, but it was an interesting find.