Device Dropping out of Scene Trigger List

I am trying to develop a new device for my HVAC application for which I am using the BinaryLight as a starting point.

Can any one explain why, as soon as I change the name of the device in the D_*.xml file from BinaryLight to my own name, the device drops out of the scene trigger list? The device works fine with the new name and my own .json file but I can’t get a scene to trigger from the buttons because of this problem.

Can I carry on modifying the device files with the name left as BinaryLight? I have not encountered any problem in doing this but all the advice seems to be to change it to avoid falling foul of the UpnP regulations.

Hi terencec,

This happens when you surprise the JavaScript of the HTML dashboard with “wrong” JSON. If it happens when you mess with the device type, then it might be because you haven’t modified the corresponding string in the D_.xml file. the device type is mentioned in both D_ files, as you can see from existing examples.

It might be worthwhile looking through the JavaScript error console and seeing if there are any unexpected nulls.

Many thanks futzle.

That nailed it.