Comments (18)
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.
from tuya-local.
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.
from tuya-local.
From the manual, one of 101 or 102 should be the child lock, the other may be an aux_heat setting.
112 may be related to the program settings, or the configuration of the thermostat, and 113 an error code (covering the other indicators on the panel, such as UV lamp replacement indicator).
from tuya-local.
I have checked for the remaining dps and found the below,
Also I want to note that once I have added the new thermostat the old one went missing from HA I don't know why I will try restarting HA and reconnecting it.
DPS: {
'1': False, #true is on false is off
'2': 240, # set temp
'3': 275, # current temp
'4': 'off', # mode off or cold
'5': 'auto', # fan auto or on
'19': 'c', #c or F
'101': False, #True = away mode (it sets the temp to 28 C)
'102': False, #True = activate 7 day program / False if you don't want to use it
'103': 'cold', # mode cold (related to the 7 days program)
'112': '1',
'113': 0,
'114': 24, # set temp "c"
'115': 27, # current temp "c"
'116': 75, # set temp "f"
'117': 81, # current temp "f"
'updated_at': 1633111820.2566292}
I couldn't find the cods for 112 and 113
from tuya-local.
You can try the change I just pushed on 'main' (not released yet). I haven't yet made the changes from your last comment, but it looks like they can be accommodated as presets.
from tuya-local.
Release 0.11.0 has preliminary support (with the away/program settings still reported as unknown)
from tuya-local.
Hello,
I got it reporting the correct temps, but I cant control anything with HA
from tuya-local.
I found out the below, Mode can be cold hot or off
to enable the thermostat switch on it should (turn the switch to on "true" and change mode to cold at the same time)
Mode:
type: Enum
{
"range": [
"cold",
"hot"
]
}
as for setting the temp, it can only read the temp_set_f, I have tired setting the temp with temp_set (which is the c unit) it will not accept it for some reason.
from tuya-local.
Only one method of setting the temperature can be provided. Previously dps 2 was used (in 0.11.0 that is the case), but in main, I have changed it to dps 114/116 depending on the setting of dps 19 (c = 114, f = 116).
But it may be that there is still some problem with the scaling, or with the C/F conditions in the 0.11.0 version, so if it is still not working in main, I could try simplifying the temperature set conditions. Like the Beka thermostat, we may end up needing to use different configs for the C and F settings so the conditions can be removed.
For mode, currently dps 103 is used to set the mode. If that is not working, then I could modify it to try dps 4 instead (but the inclusion of "off" in that one makes it look more like it is feedback from the device about current operation, rather than mode setting.
from tuya-local.
I have tried the main as well, I can't control the thermostat, If you need me to do anything else I'm ready.
I just want to share the info I have in Tuya developer page if that can help
Standard Instruction Set tap
Standard Status Set tap
from tuya-local.
I think the previous issue with setting the temperature may be because the temperature units were originally reported as 'c', but from the info above, it should be 'C'. I have modified the config in main.
from tuya-local.
Still I can't control the thermostat, when trying to control it via HA, it shows idle.
edit, I just noticed that set temp have 2 variables one for the heat mode and one for the cooling mode, now when I reinstalled the integration. however I'm not sure, I'm testing it now and then.
from tuya-local.
Idle means the thermostat is reporting that it is off in dps 4, even though the switch on dps 1 is on.
My understanding is that this should mean it is below the threshold temperature for turning on.
from tuya-local.
It is only displaying the manual setting on the thermostat. I can't control it not sure what to do here.
from tuya-local.
From the developer page in tuya, I found that I cannot turn the thermostat off once I change the mode to cold I suppose also hot. When I get the JSON file it shows that the mode is actually off when I turned it physically off. below what I have found from the debugging tool in tuya website. Also as I have mentioned before, in the debugging tool I was not able to change the temperature from the C, only from F.
[
{
"code": "c_f",
"value": "C"
},
{
"code": "switch",
"value": false
},
{
"code": "mode",
"value": "off"
},
{
"code": "temp_set_f",
"value": 73
},
{
"code": "temp_set",
"value": 23
}
]
from tuya-local.
Update: I have installed tinytuya on my pc, I was able to control the thermostat normally. Everything seems to function correctly. I don't know what we are missing.
I used the following DPS
{'1': True, '4': 'cold'} this was successfully mapped to my thermostat switched on cold mode.
{'1': False, '4': 'off'} this was successfully mapped to my thermostat switched off.
{'2': 245} & {'114': 24} both successfully changed the temperature to 24 and 24.5
{'114': 'auto'} this successfully changed fan from on to auto and if I change it back to on it will map it
all of the above returned a value of DPS {'111': 'IwU='}
I hope this will be helpful. I have debug info as well from tinytuya if required.
Thanks
Edit:
I want to add changing {'1': False} & {'1': True} worked as well it is not dependent on DPS 4
I'm sorry if I'm confusing you ;^_^
from tuya-local.
I want to update,
The thermostat is working now, It was a mistake from my side actually, I was using the uuid as required by the integration when it actually meant the ID of the device.
Now when I used the ID it registered everything, I'm able to control it (off, cool, fan on, fan auto, temp, away and home)
if you can just a request for enhancement, DPS are not depended on each other as my previous post maybe you can amend the code a little bit.
Thank you again, Cheers.
from tuya-local.
DPS 1 turns the full system on or off not just the display.
Also DPS 4 turn off if it sets to off.
Actually in this thermostat the display do not turn off, the word OFF is displayed on it when the thermostat is off
I found out what is DPS 112 (system type option code SYS) as follows
1 (Thermostat code CO1 & CO2 which is Cool conventional 1 stage and 2 stage) ----- EDIT: not allowed to switch to heat in this mode on thermostat but it is possible via tinytuya and your integration.
2 (Thermostat code HE1 & HE2 which is Heat conventional 1 stage and 2 stage)----- EDIT: not allowed to switch to cool in this mode but it is possible via tinytuya and your integration.
3 (Thermostat code HC1 & HC2 which is Heat/Cool conventional 1 stage and 2 stage)
5(Thermostat code HP1 HP2 HPA "HP1 = compressor heat pump, 1-AUX" "HP2 = 2 compressors or 2 speed compressor heat pump, 1 AUX" "HPA = 2 compressors or 2 speed compressor heat pump, 2 AUX")
you can find the code details CO1,CO2,HE1 .... etc in the manual as well.
from tuya-local.
Related Issues (20)
- Request support for Brilliant Smart Sensor Light HOT 4
- Request support for Petoneer Fresco Mini HOT 4
- Fix Support for Modern Flames Orion Traditional Fireplace HOT 1
- New feature flags for Fan platform
- New HVACAction DEFROSTING for climate entity
- Request support for Princess 350000 Smart Tower Fan
- Request support for ElectriQ Dehumidifier DESD9LW-V2
- Request support for Wifi Energy Meter
- Request support for <TY-WFH V3.01 Tuya Wi-Fi Sliding gate opener> HOT 2
- Kogan 3.0 kw Smart Vertical Aircon HOT 7
- Ceiling Fan with Light by 'Create'
- The use of switch for Smart watering device is deprecated and should be replaced by valve. HOT 1
- Connection issue adding device HOT 1
- Request support for Aroma diffuser WB
- Ble Solar Light not an option? HOT 1
- Request support for Calibo Cloudfan DC With Light HOT 2
- humidity sensor shows 3 characters without comma HOT 1
- Air Purifier is added as a switch and not a fan type entity in HA HOT 4
- Request support for O'TU R1O1
- humidity sensor shows 3 digits instead of 2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-local.