Kane610/deconz

Add support for Tuya TRV

kgorszczyk opened this issue · 2 comments

With Version 2.05.83 deCONZ added support for Tuya Thermostats (as Sensors). Would it be possible to add support for the config variables "preset" and "windowopen_set" which are Tuya only?
Thanks!

Can you share debug logs of the device

Here are just the REST Responses:

Initialization:

{
	'sensors': '2': {
		'config': {
			'battery': 100,
			'heatsetpoint': 1550,
			'locked': None,
			'offset': 0,
			'on': True,
			'preset': 'auto',
			'reachable': True,
			'schedule': {},
			'schedule_on': None,
			'setvalve': True,
			'windowopen_set': True
		},
		'ep': 1,
		'etag': '36850fc8521f7c23606c9304b2e1f7bb',
		'lastseen': '2020-11-11T21:23Z',
		'manufacturername': '_TYST11_kfvq6avy',
		'modelid': 'fvq6avy',
		'name': 'fvq6avy',
		'state': {
			'lastupdated': 'none',
			'on': None,
			'temperature': 2290
		},
		'swversion': '20180727',
		'type': 'ZHAThermostat',
		'uniqueid': 'bc:33:ac:ff:fe:47:a1:95-01-0201'
	}
}

Setting temperature:

{
	"config": {
		"battery": 100,
		"heatsetpoint": 1700,
		"offset": 0,
		"on": true,
		"preset": "auto",
		"reachable": true,
		"setvalve": true,
		"windowopen_set": true
	},
	"e": "changed",
	"id": "2",
	"r": "sensors",
	"t": "event",
	"uniqueid": "bc:33:ac:ff:fe:47:a1:95-01-0201"
}

Changing mode (aka preset):

{
	"config": {
		"battery": 100,
		"heatsetpoint": 1900,
		"offset": 0,
		"on": true,
		"preset": "manual",
		"reachable": true,
		"setvalve": true,
		"windowopen_set": true
	},
	"e": "changed",
	"id": "2",
	"r": "sensors",
	"t": "event",
	"uniqueid": "bc:33:ac:ff:fe:47:a1:95-01-0201"
}

Locking device:

{
	"config": {
		"battery": 100,
		"heatsetpoint": 1900,
		"locked": true,
		"offset": 0,
		"on": true,
		"preset": "manual",
		"reachable": true,
		"setvalve": true,
		"windowopen_set": true
	},
	"e": "changed",
	"id": "2",
	"r": "sensors",
	"t": "event",
	"uniqueid": "bc:33:ac:ff:fe:47:a1:95-01-0201"
}