(Last Updated: July 1, 2020)

Colour Wheel



  • I promise I'll stop asking for thing soon 😄

    Vosmont colour wheel is installed from the Alt store

    When I go into the Settings tab:

    an error occurred while displaying the javascript tab. devid: 0-21 err:Cannot read property 'showColorWheel' of undefined
    stack:TypeError: Cannot read property 'showColorWheel' of undefined
        at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.70.249:3480/J_ALTUI_uimgr.js:3024:17), :1:15)
        at _deviceDrawControlPanelJSTab (http://192.168.70.249:3480/J_ALTUI_uimgr.js:3024:17)
        at _deviceDrawControlPanelOneTabContent (http://192.168.70.249:3480/J_ALTUI_uimgr.js:3719:8)
        at _displayActiveDeviceTab (http://192.168.70.249:3480/J_ALTUI_uimgr.js:3746:4)
        at HTMLAnchorElement. (http://192.168.70.249:3480/J_ALTUI_uimgr.js:7038:4)
        at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:42571)
        at HTMLDivElement.v.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:40572)
        at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:70627)
        at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:71222)
        at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:2777)
    

    I can see the J_ALTUI_uimgr.js file in the root folder and in /files
    Does it need to be somewhere else?

    TIA

    C



  • Posting some code from the Vera forum, in case you're blocked:

    you should update it , cf https://github.com/vosmont/Vera-Plugin-RGBController 2.
    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) {
    


  • Oh thanks so much!

    C



  • IIRC, this plugin actually uses low-level calls to the ZWave controller on the Vera. It’s the reason I cloned that device over VeraBridge. If this is correct, then it perhaps needs a bit of a tweak for ZWay? ...or maybe I have that all wrong?



  • Dunno. It's certainly not happy yet 😄

    Again, I have a work around, given that I only ever use them on white <shrug>

    C



  • Seems fine, actually

    Thanks!

    C



  • @akbooer said in Colour Wheel:

    low-level calls to the ZWave controller on the Vera

    Looking at the code, you are correct. It's using a lot of SendData calls. Maybe you could encapsulate that and implement in ZWayBridge.

    I'm not sure what's different than the standard RBG device implementations. I use D_DimmableRGBLight1.xml/.json even with my own virtual devices and it's well supported on both Vera and ALTUI.



  • @therealdb said in Colour Wheel:

    @akbooer said in Colour Wheel:

    low-level calls to the ZWave controller on the Vera

    Looking at the code, you are correct. It's using a lot of SendData calls. Maybe you could encapsulate that and implement in ZWayBridge.

    I'm not sure what's different than the standard RBG device implementations. I use D_DimmableRGBLight1.xml/.json even with my own virtual devices and it's well supported on both Vera and ALTUI.

    No idea, in honesty, I guess I found this first....

    C



  • @therealdb said in Colour Wheel:

    I use D_DimmableRGBLight1.xml/.json even with my own virtual devices and it's well supported on both Vera and ALTUI.

    Yes, that's what I'd try first.

    PS: (TBH, I don't think that existed when Vosmont wrote it originally.)

    PPS: also, IIRC, it allows use of built-in firmware programs that things like Fibaro dimmers have for cycling colours / thunderstorm effects / etc... whatever floats your boat, I suppose!



  • I confess my boat is mostly floated by being able to see stuff 😉 So white 100% is my normal operation but I try and work stuff out for myself (sometimes, I know right now it probably doesn't seem like it)
    So the solution I came up with was to use the plugin, and copied over to Openluup.

    For reference if I created a devices with that RGB dimmable light would it effectively be the controller (the module) , or a a replacement for the virtual RGB that I now have that I can configure to have each of the sub devices in?

    Cheers!

    C


Log in to reply