Skip to content

Lighting Themes & Dash #1167

@jltnol

Description

@jltnol

I'm currently working with AI on building an Indigo Plugin that connects directly with the njsPC, and so far it's going well.

What feature you'd like to see

But here is the only thing that isn't working, and concerns the lights. If a command is issued from the Pentair control center, that change is pushed out from njsPC to the Dash, so the Dash now displays the right Lighting Theme. But when that change is initiated by the njsPC itself (from the plugin), that change is NOT pushed out to the dash.

)## 💥 Proposal-- perhaps take a look at this to see if it is possible for the njsPC to put changes initiated from the Plugin directly to njsPC to be pushed out to the Dash.

What feature you'd like to see

I am NOT a coder, but AI suggested this issue and possible solution:
• /state/light/setTheme successfully sends the Intellibrite power-cycle sequence to the EasyTouch hardware
• But njsPC does not emit a Socket.IO lightGroup event afterward to notify connected clients of the theme change
• So the dashPanel never updates to reflect the new theme
• The fix would be to call cstate.emitEquipmentChange() after setIntelliBriteThemeAsync completes in Circuit.js

I can not verify if what AI suggests is actually the problem, or even if it would be the solution, so take it with the grain of AI salt with which it is offered

Motivation

if I can get this issue resolved, I'd be more than happy to share the plug in for other Indigo users.

Pitch

While very limited in its use, I do think others could use this plugin as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions