I was having a hard time finding some of my devices with the latest VeraPlue UI7 firmware 1.7.3015. After some sleuthing in the Vera JavaScript code. I found the culprit.
There is a bug in the UI7 firmware 1.7.3015 JavaScript code which can prevent some devices from displaying in the web interface. In particular, if the device’s category number (ex. 2 for dimmers, 3 for switches) matches any of the digits of the device number (ex. a dimmer with device 12 or a switch with device 13) then that device will not appear in the web UI. There is a simple fix in /www/cmh/js/interface.js Change the getFilteredDevicesList function from:
Interface.prototype.getFilteredDevicesList = function(options, showOnlyFailed) {
var that = this
, filteredDevices = [];
return showOnlyFailed ? filteredDevices = application.getListOfDeviceIdsByStatuses([2, 3]) : that.interfaceDevices.forEach(function(deviceId) {
var $deviceContainer = $(View.idForDeviceContainer(deviceId));
if (“undefined” != typeof $deviceContainer) {
var categoryNum = $deviceContainer.prop(“categoryNum”);
Utils.inArray(categoryNum, [glow=red,2,300]arguments[0][/glow]) || 0 !== Utils"int" || filteredDevices.push(deviceId)
}
}),
filteredDevices
}
to:
Interface.prototype.getFilteredDevicesList = function(options, showOnlyFailed) {
var that = this
, filteredDevices = [];
return showOnlyFailed ? filteredDevices = application.getListOfDeviceIdsByStatuses([2, 3]) : that.interfaceDevices.forEach(function(deviceId) {
var $deviceContainer = $(View.idForDeviceContainer(deviceId));
if (“undefined” != typeof $deviceContainer) {
var categoryNum = $deviceContainer.prop(“categoryNum”);
Utils.inArray(categoryNum, [glow=red,2,300]options[/glow]) || 0 !== Utils"int" || filteredDevices.push(deviceId)
}
}),
filteredDevices
}
Attached is the updated version of interface.js. To install it you need first unzip the attached file and then use tools such as scp and putty to replace the /www/cmh/js/interface.js with the unzipped contents. Note that the original version is a small symbolic link. You can delete this link or rename it and place this file in its place. After installation, you should clear the cache of your web browser. If you don’t know how to make these changes in the Linux shell, then it is best to wait for the next firmware update which will hopefully fix this bug.