question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request to support another thermostat

See original GitHub issue

Hello, 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:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
make-allcommented, Jan 2, 2022

From GNU coreutils, there is base64 and hexdump that can help with decoding.

base64 -d | hexdump -C

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.

0reactions
Uaeguycommented, Jan 2, 2022

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 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Request to support another thermostat · Issue #45 - GitHub
Hello, Thanks again for supporting these devices, I came with new Thermostat. While trying to add the thermostat it shows as switch only....
Read more >
Using multiple Nest thermostats in the same home
If you have more than one Google Nest thermostat in your home, they'll work together to try to keep you comfortable and help...
Read more >
Sensi Multiple Thermostat Manager
Easily consolidate and customize settings across multiple thermostats by grouping and sorting. * Does not work with electric baseboard heat and some other...
Read more >
The 4 Best Smart Thermostats of 2022 | Reviews by Wirecutter
Ecobee's top-tier model outperformed all other thermostats, ... It installs easily and supports geofencing, and it's compatible with most ...
Read more >
Smart Thermostat Incentives | San Diego Gas & Electric
Notice something different? ... If you sign up for a Third-Party Demand Response Thermostat program, you can earn $50 for registering your thermostat....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found