Skip to content

Commit

Permalink
Add 3156105 (#4261)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigun27 authored May 18, 2022
1 parent 0f8c53f commit 94b11a0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions devices/centralite.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,36 @@ module.exports = [
await reporting.thermostatTemperatureSetpointHold(endpoint);
},
},
{
zigbeeModel: ['3156105'],
model: '3156105',
vendor: 'Centralite',
description: 'HA thermostat',
fromZigbee: [fz.battery, fz.thermostat, fz.fan, fz.ignore_time_read],
toZigbee: [tz.factory_reset, tz.thermostat_local_temperature, tz.thermostat_local_temperature_calibration,
tz.thermostat_occupied_heating_setpoint, tz.thermostat_occupied_cooling_setpoint,
tz.thermostat_setpoint_raise_lower, tz.thermostat_remote_sensing,
tz.thermostat_control_sequence_of_operation, tz.thermostat_system_mode,
tz.thermostat_relay_status_log, tz.fan_mode, tz.thermostat_running_state, tz.thermostat_temperature_setpoint_hold],
exposes: [e.battery(),
exposes.binary('temperature_setpoint_hold', ea.ALL, true, false)
.withDescription('Prevent changes. `false` = run normally. `true` = prevent from making changes.'),
exposes.climate().withSetpoint('occupied_heating_setpoint', 6.66, 30, 1).withLocalTemperature()
.withSystemMode(['off', 'heat', 'cool', 'emergency_heating'])
.withRunningState(['idle', 'heat', 'cool', 'fan_only']).withFanMode(['auto', 'on'])
.withSetpoint('occupied_cooling_setpoint', 6.66, 30, 1)
.withLocalTemperatureCalibration(-30, 30, 0.1)],
meta: {battery: {voltageToPercentage: '3V_1500_2800'}},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'hvacThermostat', 'hvacFanCtrl']);
await reporting.batteryVoltage(endpoint);
await reporting.thermostatRunningState(endpoint);
await reporting.thermostatTemperature(endpoint);
await reporting.fanMode(endpoint);
await reporting.thermostatTemperatureSetpointHold(endpoint);
},
},
{
zigbeeModel: ['4200-C'],
model: '4200-C',
Expand Down

0 comments on commit 94b11a0

Please sign in to comment.