just upgraded to AltUI v2.01.2206 and RGB controller (Vosmont) gives an error

Gives this error when clicking on color wheel - tbh it may have been giving this error before its a while since I used the color wheel but it definitely worked before - this is in openluup and the veraedge - error shows in chrome and Firefox

an error occurred while displaying the javascript tab. devid: 0-11 err:Cannot read property 'showColorWheel' of undefined stack:TypeError: Cannot read property 'showColorWheel' of undefined at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.2.222:3480/J_ALTUI_uimgr.js:2680:17), :1:15) at _deviceDrawControlPanelJSTab (http://192.168.2.222:3480/J_ALTUI_uimgr.js:2680:17) at _deviceDrawControlPanelOneTabContent (http://192.168.2.222:3480/J_ALTUI_uimgr.js:3192:8) at _displayActiveDeviceTab (http://192.168.2.222:3480/J_ALTUI_uimgr.js:3219:4) at HTMLAnchorElement. (http://192.168.2.222:3480/J_ALTUI_uimgr.js:6157:4) at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:10316) at HTMLDivElement.q.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:8343) at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:4:5628) at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:4:6138) at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715)

chrome console shows this error

Uncaught TypeError: $(...).size is not a function at J_RGBController1.js:96:53 at J_RGBController1.js:785:3 at HTMLScriptElement.<anonymous> (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:17042) at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715) at r.fn.init.each (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:1003) at r.fn.init.<anonymous> (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:16951) at T (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:398) at r.fn.init.text (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:16888) at http://192.168.2.222:3480/J_ALTUI_uimgr.js:3794:48 at J_ALTUI_utils.js:3860:5

any ideas ?

[quote=“NikV, post:1, topic:197583”]Gives this error when clicking on color wheel - tbh it may have been giving this error before its a while since I used the color wheel but it definitely worked before - this is in openluup and the veraedge - error shows in chrome and Firefox

an error occurred while displaying the javascript tab. devid: 0-11 err:Cannot read property 'showColorWheel' of undefined stack:TypeError: Cannot read property 'showColorWheel' of undefined at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.2.222:3480/J_ALTUI_uimgr.js:2680:17), :1:15) at _deviceDrawControlPanelJSTab (http://192.168.2.222:3480/J_ALTUI_uimgr.js:2680:17) at _deviceDrawControlPanelOneTabContent (http://192.168.2.222:3480/J_ALTUI_uimgr.js:3192:8) at _displayActiveDeviceTab (http://192.168.2.222:3480/J_ALTUI_uimgr.js:3219:4) at HTMLAnchorElement. (http://192.168.2.222:3480/J_ALTUI_uimgr.js:6157:4) at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:10316) at HTMLDivElement.q.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:8343) at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:4:5628) at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:4:6138) at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715)

chrome console shows this error

Uncaught TypeError: $(...).size is not a function at J_RGBController1.js:96:53 at J_RGBController1.js:785:3 at HTMLScriptElement.<anonymous> (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:17042) at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715) at r.fn.init.each (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:1003) at r.fn.init.<anonymous> (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:16951) at T (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:398) at r.fn.init.text (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:16888) at http://192.168.2.222:3480/J_ALTUI_uimgr.js:3794:48 at J_ALTUI_utils.js:3860:5

any ideas ?[/quote]

you should update it , cf https://github.com/vosmont/Vera-Plugin-RGBController.
then replace line 96 of J_RGBController1.js
if ($(“style[title=“RGBController custom CSS”]”).size() == 0) {

by
if ($(“style[title=“RGBController custom CSS”]”).length == 0) {

same line 238, replace it by
if ($("#RGBController_controls").length > 0) {

sorted thank you

Best Home Automation shopping experience. Shop at getvera!

© 2021 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules