Closed MHillyer closed 2 years ago
The only lights supported at the moment are Colorlogic lights. I'll add this as a potential future backlog item.
Data for testing:
mspconfig: `
`
Telemetry: ` [ { "systemId":"REDACTED", "statusVersion":"7", "airTemp":"79", "status":"1", "state":"1", "configUpdatedTime":"2022-06-10T02:24:38.682Z", "datetime":"2022-06-10T12:16:11.459", "Relays":[
],
"BOWS":[
{
"systemId":"1",
"flow":"255",
"waterTemp":"81",
"Name":"Pool",
"Supports-Spillover":"no",
"Filter":{
"systemId":"3",
"valvePosition":"1",
"filterSpeed":"100",
"filterState":"1",
"lastSpeed":"100",
"Name":"Filter Pump",
"Shared-Type":"BOW_SHARED_EQUIPMENT",
"Filter-Type":"FMT_VARIABLE_SPEED_PUMP",
"Max-Pump-Speed":"100",
"Min-Pump-Speed":"18",
"Max-Pump-RPM":"3450",
"Min-Pump-RPM":"600",
"Priming-Enabled":"no",
"Alarms":[
]
},
"VirtualHeater":{
"systemId":"4",
"Current-Set-Point":"84",
"enable":"no"
},
"Heater":{
"systemId":"5",
"heaterState":"0",
"enable":"yes",
"Shared-Type":"BOW_SHARED_EQUIPMENT",
"Operation":{
"VirtualHeater":{
"System-Id":"5",
"Name":"Heater",
"Type":"PET_HEATER",
"Heater-Type":"HTR_GAS",
"Enabled":"yes",
"Priority":"HTR_PRIORITY_2",
"Run-For-Priority":"HTR_MAINTAINS_PRIORITY_FOR_AS_LONG_AS_VALID",
"Shared-Equipment-System-ID":"14",
"Current-Set-Point":"84",
"Max-Water-Temp":"104",
"Min-Settable-Water-Temp":"65",
"Max-Settable-Water-Temp":"104",
"enable":"yes",
"systemId":"4"
}
},
"Name":"Heater",
"Alarms":[
]
},
"CSAD":{
"systemId":"0",
"ph":"",
"orp":"",
"status":"0",
"mode":"0",
"Alarms":[
]
},
"Lights":[
{
"systemId":"10",
"lightState":"0",
"currentShow":"12",
"Name":"Color Lights",
"Type":"COLOR_LOGIC_UCL",
"V2":"no",
"Alarms":[
]
}
],
"Relays":[
{
"systemId":"8",
"relayState":"0",
"Name":"WaterSlide",
"Type":"RLY_VALVE_ACTUATOR",
"Function":"RLY_WATER_SLIDE",
"Alarms":[
]
},
{
"systemId":"9",
"relayState":"0",
"Name":"Fountain",
"Type":"RLY_VALVE_ACTUATOR",
"Function":"RLY_FOUNTAIN",
"Alarms":[
]
}
],
"Pumps":[
{
"systemId":"6",
"pumpState":"0",
"pumpSpeed":"0",
"lastSpeed":"100",
"Name":"Cleaner",
"Type":"PMP_SINGLE_SPEED",
"Function":"PMP_CLEANER",
"Min-Pump-Speed":"18",
"Max-Pump_Speed":"100",
"Alarms":[
]
},
{
"systemId":"7",
"pumpState":"0",
"pumpSpeed":"0",
"lastSpeed":"100",
"Name":"Waterfall",
"Type":"PMP_VARIABLE_SPEED_PUMP",
"Function":"PMP_WATERFALL",
"Min-Pump-Speed":"25",
"Max-Pump_Speed":"100",
"Alarms":[
]
}
],
"Heaters":[
{
"systemId":"5",
"heaterState":"0",
"enable":"yes",
"Shared-Type":"BOW_SHARED_EQUIPMENT",
"Operation":{
"VirtualHeater":{
"System-Id":"5",
"Name":"Heater",
"Type":"PET_HEATER",
"Heater-Type":"HTR_GAS",
"Enabled":"yes",
"Priority":"HTR_PRIORITY_2",
"Run-For-Priority":"HTR_MAINTAINS_PRIORITY_FOR_AS_LONG_AS_VALID",
"Shared-Equipment-System-ID":"14",
"Current-Set-Point":"84",
"Max-Water-Temp":"104",
"Min-Settable-Water-Temp":"65",
"Max-Settable-Water-Temp":"104",
"enable":"yes",
"systemId":"4"
}
},
"Name":"Heater",
"Alarms":[
]
}
]
},
{
"systemId":"2",
"flow":"255",
"waterTemp":"-1",
"Name":"Spa",
"Supports-Spillover":"no",
"Filter":{
"systemId":"12",
"valvePosition":"1",
"filterSpeed":"0",
"filterState":"0",
"lastSpeed":"18",
"Name":"Filter Pump",
"Shared-Type":"BOW_SHARED_EQUIPMENT",
"Filter-Type":"FMT_VARIABLE_SPEED_PUMP",
"Max-Pump-Speed":"100",
"Min-Pump-Speed":"18",
"Max-Pump-RPM":"3450",
"Min-Pump-RPM":"600",
"Priming-Enabled":"no",
"Alarms":[
]
},
"VirtualHeater":{
"systemId":"13",
"Current-Set-Point":"90",
"enable":"no"
},
"Heater":{
"systemId":"14",
"heaterState":"0",
"enable":"yes",
"Shared-Type":"BOW_SHARED_EQUIPMENT",
"Operation":{
"VirtualHeater":{
"System-Id":"14",
"Name":"Heater",
"Type":"PET_HEATER",
"Heater-Type":"HTR_GAS",
"Enabled":"yes",
"Priority":"HTR_PRIORITY_2",
"Run-For-Priority":"HTR_MAINTAINS_PRIORITY_FOR_AS_LONG_AS_VALID",
"Shared-Equipment-System-ID":"5",
"Current-Set-Point":"90",
"Max-Water-Temp":"104",
"Min-Settable-Water-Temp":"65",
"Max-Settable-Water-Temp":"104",
"enable":"yes",
"systemId":"13"
}
},
"Name":"Heater",
"Alarms":[
]
},
"CSAD":{
"systemId":"0",
"ph":"",
"orp":"",
"status":"0",
"mode":"0",
"Alarms":[
]
},
"Group":{
"systemId":"22",
"groupState":"0"
},
"Lights":[
],
"Relays":[
{
"systemId":"15",
"relayState":"0",
"Name":"Blower",
"Type":"RLY_HIGH_VOLTAGE_RELAY",
"Function":"RLY_BLOWER",
"Alarms":[
]
}
],
"Pumps":[
{
"systemId":"6",
"pumpState":"0",
"pumpSpeed":"0",
"lastSpeed":"100",
"Name":"Cleaner",
"Type":"PMP_SINGLE_SPEED",
"Function":"PMP_CLEANER",
"Min-Pump-Speed":"18",
"Max-Pump_Speed":"100",
"Alarms":[
]
},
{
"systemId":"7",
"pumpState":"0",
"pumpSpeed":"0",
"lastSpeed":"100",
"Name":"Waterfall",
"Type":"PMP_VARIABLE_SPEED_PUMP",
"Function":"PMP_WATERFALL",
"Min-Pump-Speed":"25",
"Max-Pump_Speed":"100",
"Alarms":[
]
}
],
"Heaters":[
{
"systemId":"14",
"heaterState":"0",
"enable":"yes",
"Shared-Type":"BOW_SHARED_EQUIPMENT",
"Operation":{
"VirtualHeater":{
"System-Id":"14",
"Name":"Heater",
"Type":"PET_HEATER",
"Heater-Type":"HTR_GAS",
"Enabled":"yes",
"Priority":"HTR_PRIORITY_2",
"Run-For-Priority":"HTR_MAINTAINS_PRIORITY_FOR_AS_LONG_AS_VALID",
"Shared-Equipment-System-ID":"5",
"Current-Set-Point":"90",
"Max-Water-Temp":"104",
"Min-Settable-Water-Temp":"65",
"Max-Settable-Water-Temp":"104",
"enable":"yes",
"systemId":"13"
}
},
"Name":"Heater",
"Alarms":[
]
}
]
}
],
"BackyardName":"REDACTED",
"Msp-Vsp-Speed-Format":"Percent",
"Msp-Time-Format":"12 Hour Format",
"Units":"Standard",
"Msp-Chlor-Display":"Salt",
"Msp-Language":"English",
"Unit-of-Measurement":"Standard",
"Alarms":[
],
"Unit-of-Temperature":"UNITS_FAHRENHEIT"
} ] `
@MHillyer your lights are appearing in the data as Colorlogic lights so they should be controllable using the integration. When you turn them on, you can go into them to see the light show effects you can set.
Have a look at the wiki page for Lights: https://github.com/djtimca/haomnilogic/wiki/Lights
Let me know if you can set things using the integration as it is - if it works, please close this issue.
Got it, thanks! Closing.
My pool lights, which are not Hayward, have the following state attributes:
`effect_list:
Is there a way to change the light mode on these lights?