Skip to content

Commit

Permalink
Add zigbee-thermostat for Vimar 02973 product (#613)
Browse files Browse the repository at this point in the history
* add vimar zigbee-thermostat sub-driver

* add vimar zigbee-thermostat sub-driver dual profiles with relative tests, fix Farenheit behavior and stability

* delete duplicated setpoint handlers for ZigBee in Vimar thermostat driver
  • Loading branch information
sciaccom-vimar authored Aug 24, 2023
1 parent 19b7761 commit ad4c43b
Show file tree
Hide file tree
Showing 6 changed files with 1,063 additions and 2 deletions.
5 changes: 5 additions & 0 deletions drivers/SmartThings/zigbee-thermostat/fingerprints.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
zigbeeManufacturer:
- id: "Vimar/02973-smart-wheel-thermostat"
deviceLabel: Vimar Smart Thermostat
manufacturer: Vimar
model: WheelThermostat_v1.0
deviceProfileName: thermostat-fanless-heating-no-fw
- id: "LUX/KONOZ"
deviceLabel: LUX Thermostat
manufacturer: LUX
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: thermostat-fanless-cooling-no-fw
components:
- id: main
categories:
- name: Thermostat
capabilities:
- id: temperatureMeasurement
version: 1
- id: thermostatCoolingSetpoint
version: 1
config:
values:
- key: "coolingSetpoint.value"
range: [6, 40]
step: 0.1
- id: thermostatOperatingState
version: 1
config:
values:
- key: "thermostatOperatingState.value"
enabledValues:
- cooling
- idle
- id: thermostatMode
version: 1
- id: refresh
version: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: thermostat-fanless-heating-no-fw
components:
- id: main
categories:
- name: Thermostat
capabilities:
- id: temperatureMeasurement
version: 1
- id: thermostatHeatingSetpoint
version: 1
config:
values:
- key: "heatingSetpoint.value"
range: [5, 39]
step: 0.1
- id: thermostatOperatingState
version: 1
config:
values:
- key: "thermostatOperatingState.value"
enabledValues:
- heating
- idle
- id: thermostatMode
version: 1
- id: refresh
version: 1
5 changes: 3 additions & 2 deletions drivers/SmartThings/zigbee-thermostat/src/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Copyright 2022 SmartThings
-- Copyright 2023 SmartThings
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -292,7 +292,8 @@ local zigbee_thermostat_driver = {
require("stelpro"),
require("lux-konoz"),
require("leviton"),
require("popp_danfoss")
require("popp_danfoss"),
require("vimar")
},
}

Expand Down
Loading

0 comments on commit ad4c43b

Please sign in to comment.