-
Notifications
You must be signed in to change notification settings - Fork 15
Migration guide
parnic edited this page Mar 11, 2023
·
4 revisions
- searchAsync()
- Methods
- connect() -> connectAsync()
- close() -> closeAsync()
-
Methods
- bodies.setCoolSetPoint(bodyId, temperature, senderId)
- chlor.setIntellichlorIsActiveAsync(isActive, senderId)
- circuits.setCircuitAsync(circuitId, nameIndex, circuitFunction, circuitInterface, freeze, colorPos, senderId)
- equipment.getCircuitDefinitionsAsync(senderId)
- equipment.getCircuitNamesAsync(size, senderId)
- equipment.getCustomNamesAsync(senderId)
- equipment.setCustomNameAsync(idx, name, senderId)
- equipment.setEquipmentConfigurationAsync(data, senderId)
- reconnectAsync()
- status()
-
Events
- coolSetPointChanged
- intellichlorIsActive
- circuit
- circuitDefinitions
- circuitNames
- getCustomNames
- setCustomName
- setEquipmentConfigurationAck
- setEquipmentConfiguration
- intellibriteDelay
-
Methods
- new UnitConnection(server) -> unit = new UnitConnection(), unit.initUnit(server)
- new UnitConnection(port, address, password) -> unit = new UnitConnection(), unit.init(gatewayName, address, port, password, senderId?)
- connect() -> connectAsync()
- close() -> closeAsync()
- addClient(clientId, senderId) -> addClientAsync(clientId, senderId)
- addNewScheduleEvent(scheduleType, senderId) -> schedule.addNewScheduleEventAsync(scheduleType, senderId)
- cancelDelay(senderId) -> equipment.cancelDelayAsync(senderId)
- deleteScheduleEventById(scheduleId, senderId) -> schedule.deleteScheduleEventByIdAsync(scheduleId, senderId)
- getChemHistoryData(fromTime, toTime, senderId) -> chem.getChemHistoryDataAsync(fromTime, toTime, senderId)
- getChemicalData(senderId) -> chem.getChemicalDataAsync(senderId)
- getControllerConfig(senderId) -> equipment.getControllerConfigAsync(senderId)
- getEquipmentConfiguration(senderId) -> equipment.getEquipmentConfigurationAsync(senderId)
- getHistoryData(fromTime, toTime, senderId) -> equipment.getHistoryDataAsync(fromTime, toTime, senderId)
- getPoolStatus(senderId) -> equipment.getEquipmentStateAsync(senderid)
- getPumpStatus(pumpId, senderId) -> pump.getPumpStatusAsync(pumpId, senderId)
- getSaltCellConfig(senderId) -> chlor.getIntellichlorConfigAsync(senderId)
- getScheduleData(scheduleType, senderId) -> schedule.getScheduleDataAsync(scheduleType, senderId)
- getSystemTime(senderId) -> equipment.getSystemTimeAsync(senderid)
- getVersion(senderId) -> getVersionAsync(senderId)
- getWeatherForecast(senderId) -> equipment.getWeatherForecastAsync(senderId)
- pingServer(senderId) -> pingServerAsync(senderId)
- removeClient(clientId, senderId) -> removeClientAsync(clientId, senderId)
- sendLightCommand(controllerId, command, senderId) -> circuits.sendLightCommandAsync(command, senderId)
- setCircuitRuntimebyId(circuitId, runTime, senderId) -> circuits.setCircuitRuntimebyIdAsync(circuitId, runTime, senderId)
- setCircuitState(controllerId, circuitId, circuitState, senderId) -> circuits.setCircuitStateAsync(circuitId, circuitState, senderId)
- setHeatMode(controllerId, bodyType, heatMode, senderId) -> bodies.setHeatModeAsync(bodyId, heatMode, senderId)
- setPumpFlow(pumpId, circuitId, setPoint, isRPMs, senderId) -> pump.setPumpSpeedAsync(pumpId, circuitId, speed, isRPMs, senderId)
- setSaltCellOutput(controllerId, poolOutput, spaOutput, senderId) -> chlor.setIntellichlorOutputAsync(poolOutput, spaOutput, senderId)
- setScheduleEventById(scheduleId, circuitId, startTime, stopTime, dayMask, flags, heatCmd, heatSetPoint, senderId) -> schedule.setScheduleEventByIdAsync(scheduleId, circuitId, startTime, stopTime, dayMask, flags, heatCmd, heatSetPoint, senderId)
- setSetPoint(controllerId, bodyType, temperature, senderId) -> bodies.setSetPointAsync(bodyId, temperature, senderId)
- setSystemTime(date, adjustForDST, senderId) -> equipment.setSystemTimeAsync(date, adjustForDST, senderid)
-
Events
- poolStatus -> equipmentState
- saltCellConfig -> intellichlorConfig
- setPumpFlow -> setPumpSpeed
- setSaltCellConfig -> setIntellichlorConfig