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.

While trying to add the thermostat it shows as switch only.

The thermostat is from a company called saswell here is a link of the product

and another link for the manual

The below is what I can read from the device

{
  "result": {
    "active_time": 1633009656,
    "biz_type": 18,
    "category": "wk",
    "create_time": 1633008214,
    "icon": "smart/icon/ay1537509218624daaHb/1568701541ef9f14aff8e.jpg",
    "id": "quoted for security",
    "ip": "quoted for security",
    "lat": "quoted for security",
    "local_key": "quoted for security",
    "lon": "quoted for security",
    "model": "T29UTW-7-WIFI(TY)",
    "name": "Room Thermostat",
    "online": true,
    "owner_id": "quoted for security",
    "product_id": "q2cf9qt8zl2qyqhz",
    "product_name": "T29UTW",
    "status": [
      {
        "code": "switch",
        "value": true
      },
      {
        "code": "mode",
        "value": "cold"
      },
      {
        "code": "c_f",
        "value": "C"
      },
      {
        "code": "temp_set",
        "value": 23
      },
      {
        "code": "temp_current",
        "value": 23
      },
      {
        "code": "temp_set_f",
        "value": 74
      },
      {
        "code": "temp_current_f",
        "value": 81
      }
    ],
    "sub": false,
    "time_zone": "+00:00",
    "uid": "quoted for security",
    "update_time": quoted for security,
    "uuid": "quoted for security"
  },
  "success": true,
  "t": .....
}

Edit:

I added the DPS from HA while detecting it as simple switch and what I think it will be

Device matches simple_switch with quality of 7%. DPS: {
'1': True, #True the thermostat is on position False is off position 
'2': 240,  #set tempreture 24.0 (exact reading on the panel)
'3': 241,  #currunt tempreture 24.1 (exact reading on the panel)
'4': 'cold',  #mode cold / off (it can be heat as well) it changes from cold to off when the thermostat in off position
'5': 'auto',  #fan auto or on
'19': 'c',  # Celsius or Fahrenheit
'101': False, 
'102': False, 
'103': 'cold',  #mode it doesn't change when it is in off position
'112': '1', 
'113': 0, 
'114': 24, #set temp in C
'115': 24,  #current temp in C
'116': 75,  #set temp in F
'117': 81,  # current temp in F
'updated_at': 1633013846.2673612
}

I can find out the others if I played with the configuration of the device if needed

Thanks again 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
make-allcommented, Oct 17, 2021

0.11.3 should have the changes raised in the last comment. If you have any suggestions for further improvement, please open a new issue.

1reaction
make-allcommented, Oct 14, 2021

For DPS 1, is it turning off the full system, or just the display? I notice that quite a few thermostats use DPS 1 for the display on/off, and don’t actually have a way to turn them off remotely. If it is full system, then it needs to be linked to hvac_mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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
A smart thermostat like our pick, the Ecobee Smart Thermostat Premium, automates your home's heating and cooling system to maximize comfort ...
Read more >
How To Move A Thermostat - Comfort Pro
Our customers often ask about thermostats, and many of them want to know if ... Secondly, another common reason to move the thermostat...
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