Request to support another thermostat
See original GitHub issueHello, Thanks again for supporting these devices, I came with new Thermostat (I am looking for the perfect one for my home).
While trying to add the thermostat it shows as switch only.
The thermostat is from a company called owon here is a link of the product
The thermostat is very nice and it looks like it is a good quality. It have touch screen and not only temp sensor but also humidity sensor.
The below is what I can read from the device
{
"result": {
"active_time": 1640294954,
"category": "wk",
"category_name": "Thermostat",
"create_time": 1640294954,
"gateway_id": "",
"icon": "smart/icon/ay1515026431018saCFs/0653ce64488da6986d1572a86924d30f.png",
"id": "xxxxxxx",
"ip": "xxxx",
"lat": "xxx",
"local_key": "xxxxxxx",
"lon": "xxxx",
"model": "513-TY",
"name": "New Thermostat",
"online": true,
"owner_id": "xxxx",
"product_id": "rsujjtinksnzcezy",
"product_name": "Thermostat",
"sub": false,
"time_zone": "+04:00",
"update_time": 1640295006,
"uuid": "xxxxx"
},
"success": true,
"t": 1640297197338
}
as for the DPS
{‘dps’:
{
‘2’: ‘cool’, # working mode range: ‘cool’ or ‘off’ or ‘heat’ or ‘emergencyheat’ or ‘auto’ (my use case only cool)
‘16’: 2150, # set temp in C (21.50)
‘17’: 71, # set temp in F
‘23’: ‘c’, # the temp unit c or f
‘24’: 2950, # current temp of the senor in C (29.50)
‘29’: 85, # current temp of the senor in F
‘34’: 52, # humidity
‘45’: 0,
‘107’: ‘0’, # mode of connected device ( 0 cool only system either 1 stage or 2 stage no heating here my use case is only cooling)
‘108’: 2150, # set temp in C (I guess for display)
‘109’: 1650, # something to do with vacation mode (I didn’t understand it) probably it is the heat limit
‘110’: 71, # sensor temp in F
‘111’: 62,
‘115’: ‘auto’, # fan mode (auto / on / cycle)
‘116’: ‘1’, # something to do with vacation mode (I didn’t understand it)
‘119’: True, # true = enable schedule / false = disable schedule
‘120’: ‘permhold’, # type of operation “only possible when schedule is enabled dps 119 is true” (permhold=Permanent hold, temphold = temporary hold, followschedule= follow schedule)
‘123’: 25, # minimum Fan run time (min/h)
‘129’: ‘coolfanon’ #coolfanon = Cool and Fan is on / alloff = cooling is off and fan is off / fanon = cooling is off and fan is on ( this dps is for status cannot be changed via thermostat)
}}
Thanks for the support as always cheers!
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
From GNU coreutils, there is base64 and hexdump that can help with decoding.
Then paste in the string, press Enter and Ctrl-D gives a hex decoding.
But the dps anyway looks write-only or at least optional (not always included in the output), so even if the decoding/encoding could be externalised to a different special purpose integration, it would still require significant work to support as a custom service call to set it.
I have tried an online tool https://v2.cryptii.com/base64/decimal it show me the information as you have noted, I’m not able to get the 2 bytes fields.
As you have said there it is optional, but if you need more information I will gladly test the device more.
The control of the device via Home Assistant is what I really need and automation can be done to mimic vacation mode any ways
Thank you 👍