Open dnwalker68 opened 10 months ago
Hi @dnwalker68
temp current seems to be the current temperature
210 stads for 21,0°C temp set 180 = 18,0°C
So I entered it into local Tuya but unfortunately no thermostat is displayed.
Please describe what you do in detail. My crystal ball is currently undergoing annual maintenance. 😉
Have you already done the following? You have to create an entity and map the data points there.Then you have to use the data points in the dashboard. This is done via the thermostat card. But this card is really not my favorite. You also have access to the thermostat's attributes via other cards, or you can map the thermostat data differently. But only if the basics are there.
Try the following: Go to Templates and type this in the last line. Replace "flurheizung" with your entity name. Normally the entity name will be displayed as a suggestion in the code editor after you set the dot.
{{states.climate.flurheizung}}
The output should look something like this:
<template TemplateState(<state climate.flurheizung=off; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.HEAT_COOL: 'heat_cool'>, <HVACMode.HEAT_COOL: 'heat_cool'>], min_temp=5.0, max_temp=99.0, target_temp_step=0.5,
current_temperature=19.5, temperature=20.0,
friendly_name=Flurheizung, supported_features=1 @ 2023-10-22T01:18:32.824138+02:00>)>
Do you see temperature and current temperature?
Ok then I'll try to describe it better. Unfortunately, I'm a beginner and just trying to get used to it.
I don't actually create a thermostat map by hand. I configure this directly in localtuya. I'm attaching a screenshot...
No matter where I set the data points in the dialog, I always get the status "Not available" for Temperature_Smart.
Looks like you want too much at once. First try adding a thermostat with only essential data points.
1.
Delete the device using the 3 point menu in the device overview.
i also got issues because of to many or false mapped datapoints or even false checked radio buttons. i discovered the possibilities of my thermostate step by step. trail and error.
my final result:
I only tested the other switches, such as child locks, and they also work. But I've now deleted everything and done what you think - unfortunately no success... :-(
that is not an issue.
what happend if you put this on a dashboard? by clicking on "zum dashboard hinzufügen"
after that i edit the konfig, select the device, and put DP 2 in HVAC Mode DP
i also added DP 36 in HVAC Current Action and select open/close in HVAC Current Action set
does it work for you?
Unfortunately, the resulting thermostat card is not very nice and doesn't work either. That's why I chose a different dashboard integration.
I think it's alive...;-) thanks in advance for your help. This evening when I have more time I will test further and report back.
Great thing...
I have a smart thermostat type WT400-3A-B
I can switch on some functions such as parental controls. I can also see the status of the relay or valve. What I absolutely cannot manage is setting the target temperature. I also don't see any actual temperatures or anything else that has to do with the actual temperature control.
I have all the data points.
`{ "result": { "properties": [ { "code": "switch", "custom_name": "", "dp_id": 1, "time": 1697708912396, "value": true }, { "code": "mode", "custom_name": "", "dp_id": 2, "time": 1697708912433, "value": "manual" }, { "code": "temp_set", "custom_name": "", "dp_id": 16, "time": 1697708919341, "value": 180 }, { "code": "upper_temp", "custom_name": "", "dp_id": 19, "time": 1697708912471, "value": 400 }, { "code": "temp_current", "custom_name": "", "dp_id": 24, "time": 1697708921302, "value": 210 }, { "code": "lower_temp", "custom_name": "", "dp_id": 26, "time": 1697708912569, "value": 100 }, { "code": "temp_correction", "custom_name": "", "dp_id": 27, "time": 1697708912607, "value": 0 }, { "code": "valve_state", "custom_name": "", "dp_id": 36, "time": 1697708919297, "value": "close" }, { "code": "factory_reset", "custom_name": "", "dp_id": 39, "time": 1697384377876, "value": false }, { "code": "child_lock", "custom_name": "", "dp_id": 40, "time": 1697708919321, "value": false }, { "code": "sensor_choose", "custom_name": "", "dp_id": 43, "time": 1697708912627, "value": "in" }, { "code": "fault", "custom_name": "", "dp_id": 45, "time": 1697708912724, "value": 0 }, { "code": "backlight_enum", "custom_name": "", "dp_id": 52, "time": 1697708912453, "value": "50_bright" }, { "code": "temp_floor", "custom_name": "", "dp_id": 101, "time": 1697384377876, "value": 0 }, { "code": "freeze_free", "custom_name": "", "dp_id": 103, "time": 1697708912767, "value": true }, { "code": "programming_mode", "custom_name": "", "dp_id": 104, "time": 1697708912742, "value": "weekend" }, { "code": "temp_differ_on", "custom_name": "", "dp_id": 106, "time": 1697708912587, "value": 5 }, { "code": "schedule", "custom_name": "", "dp_id": 108, "time": 1697708923324, "value": "BgAUCAAQCx4UDB4QEQAUFgAQCAAUFwAQ" } ] }, "success": true, "t": 1697708938372, "tid": "b97bd14d6e6411ee8a93c6134cf5636b"
` I've been trying to configure the device for hours now but it just won't work. Now I don't know if it's an error in localTuya or if the error is here in front of the screen. Would be nice if you could help me.
Thanks and regards