Comments (10)
If you reinstall again, I have reorganised based on your first comment from yesterday. I created two separate configs for F and C, so you'll need to select the _F config for your device, which is configured for Fahrenheit. Configuration from the previous version should automatically choose the Fahrenheit version, but if it doesn't, delete the device and set it up again.
from tuya-local.
Thanks for your checking. The new release 0.9.0 has the support for this device now.
from tuya-local.
Please send the logs messages from Home Assistant that are output when it is detected as "Simple Switch".
That will have the list of DPS ids returned by the local protocol, which we can try to match up with the functions (switch, temp_set, temp_current, level, eco, child_lock).
It may also have the device id, which you can blank out for privacy like you did above.
from tuya-local.
I'm thinking of using the product_id in future, so if you can uncloak that (it is linked to the product, not unique to your specific device), it might help with future plans for improving detection.
from tuya-local.
Hello again,
Here is the log generated from the component
2021-07-22 16:00:04 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3.
2021-07-22 16:00:05 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches simple_switch with quality of 14%. DPS: {'1': True, '2': 77, '3': 87, '4': '3', '5': '3', '6': False, '7': False, 'updated_at': 1626955204.1256018}
2021-07-22 16:00:05 WARNING (MainThread) [custom_components.tuya_local.config_flow] Report this to https://github.com/make-all/tuya-local/issues/
2021-07-22 16:00:08 INFO (MainThread) [custom_components.tuya_local.device] Creating device: "quoted for security"
2021-07-22 16:00:08 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Simple Switch to 3.3.
And for the product ID as requested
"product_id": "drwezxukumr9ohuh",
Thanks
from tuya-local.
It looks like most of the functions available on the control panel are not exposed via Wi-Fi. Only the functions mentioned in the web API capture you posted first, and one additional numeric field. I see the temperature units are selectable, so I hope the extra numeric field is an indication of those. But the current value is 3, and the units only seem to be selectable between C and F, so perhaps not. If the temperature units are not indicated by the response from the device, it might be more complex to support.
I have checked in an experimental config, please reinstall the Tuya Local integration using the "main" branch, which you can do from HACS using the menu button on the Tuya Local card, and selecting "Reinstall", then on the version, instead of the default latest release of 0.8.9, select main, which should be at the bottom of the list.
This hopefully will let you use the Thermostat card, and in Developer Tools you will be able to observe the rest of the attributes. Most of interest to me is whether my guess about the C/F selection is correct, as getting this wrong will probably make some strange behavior. Also, there are a number of attributes that might be swapped - current and target temperature, the child lock and eco modes, and the level and other numeric indicator.
from tuya-local.
Hello again,
I will reinstall now,
I have observed the DPS and I found the following
DPS:
{
'1': True, "back light switch bool"
'2': 77, "set temp in Fahrenheit"
'3': 87, "ambient temp in Fahrenheit"
'4': '3', "function, using schdule 1, temporary hold 2, permanent hold 3, holiday hold 4"
'5': '3', "work mode, cool 1, heat 2, off 3, emergency heat 4, auto 5"
'6': False, "fan mode bool (on = true)(auto = false)"
'7': False, "child lock bool"
from tuya-local.
After reinstalling, I'm able to use temperature card, I can change temperature but it is not behaving correctly. When I choose eco, the fan mode change from Fan Auto to Fan On, and when I choose normal it will go back Fan Auto. And when I change operation from heat/cool to off the backlight on the device change from on to off and vice versa.
Thank you
from tuya-local.
If this helps the following in developer tool
also a note, I have contacted Tuya about changing from F to C and they said it is not possible to change it in app only on the physical device. So I don't think there will be DPS for that I'm afraid.
hvac_modes:
- heat_cool
- 'off'
min_temp: 7
max_temp: 35
target_temp_step: 1
preset_modes:
- normal
- eco
current_temperature: 80
temperature: 74
preset_mode: normal
level: 3
friendly_name: Beca BHP-6000 Thermostat
supported_features: 17
from tuya-local.
Now it is working like a charm, just like expected. Thanks a lot.
As a side note, I have checked for C as well, when I set the value "say 20 C" it will promote the correct value and it will set it as 20 in the thermostat, however after some time in the card it will change back to the F values (68) without setting them to that value in the device which is good. I'm not sure if I'm clear. Also it is the same in the ambient temp.
Other note, for the backlight when it is switched off it will close the whole unit and I think what you have done to keep it as a separate entity same as the child lock is perfect for it Thanks and appreciated
Cheers
from tuya-local.
Related Issues (20)
- Request support for Grelide D3815E/AEK0007S (AENO) HOT 1
- 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
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.