Comments (13)
Could you please provide "Device debugging" from Tuya IOT Platform?
You have to login to https://iot.tuya.com/ then select Cloud on the left, select your project, Devices tab, click "Debug device" in CUBETOUCH device row, Device Debugging tab, copy text below Standard Instruction Set.
I suppose datapoints of CUBETOUCH 1 must be identical to CUBETOUCH II, so only adding product_id will be needed.
from ha_tuya_ble.
Code | Type | Values |
---|---|---|
switch | Boolean | "{true,false}" |
mode | Enum | { "range": [ "click" ] } |
click_sustain_time | Integer | { "unit": "s", "min": 0, "max": 10, "scale": 0, "step": 1 } |
arm_up_percent | Integer | { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } |
arm_down_percent | Integer | { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } |
power_saving | Boolean | "{true,false}" |
tap_enable | Boolean | "{true,false}" |
from ha_tuya_ble.
CUBETOUCH II doesn't have power_saving and tap_enable.
Has your device any buttons for manual control? In mobile application is there something corresponding to "power_saving"?
I think it's better to recheck id's of all datapoints. Here is described how to do it:
from ha_tuya_ble.
CUBETOUCH II doesn't have power_saving and tap_enable.
Has your device any buttons for manual control?
Only an on/off switch
In mobile application is there something corresponding to "power_saving"?
No
I think it's better to recheck id's of all datapoints. Here is described how to do it:
If I understood the instructions:
Data Point | Code |
---|---|
switch | 1 |
mode | 2 |
click_sustain_time | 3 |
control_back | 4 |
arm_up_percent | 5 |
arm_down_percent | 6 |
charge_status | 7 |
battery_percentage | 8 |
power_saving | 9 |
tap_enable | 10 |
program | 11 |
from ha_tuya_ble.
Yes, that's what I've expected, thank you.
I'll add the device with power_saving and tap_enable as switch entities. So, you will be able to check what these switches do on real device. Then you have to decide is it worth to expose it in HA or not.
from ha_tuya_ble.
I've added new version 0.1.3 with draft of CUBETOUCH 1s support. Can you update to it with HACS?
from ha_tuya_ble.
I've added new version 0.1.3 with draft of CUBETOUCH 1s support. Can you update to it with HACS?
It works!
I have these two switches:
They should be power saving and tap enable, but they have the same generic name.
Probably they are useless, I will check and let you know.
Thanks a lot for your work
from ha_tuya_ble.
I have the same model number as damiano but cant seem to get mine running.
It gets discovered but hangs at the setup process
What Ive tried
- unbinding and connecting to cubetouch
- rebinding and connecting to cubetouch
- adding the gateway (expect this to not work, just trying things 😓 )
- uninstalling and reinstalling from hacs
- unlinking in tuya app and re linking
Thanks for setting up the code you have so far do you know of anything else I could try to make this work?
(also running it on a Rpi4 with home assistant docker, not sure if thats relevant)
from ha_tuya_ble.
do you know of anything else I could try to make this work?
I think the problem is in connection quality, the integration itself has nothing to do with it. Try to move your device closer to your Bluetooth adapter to check.
from ha_tuya_ble.
@damiano75 have you decided about these two additional switches?
from ha_tuya_ble.
@damiano75 have you decided about these two additional switches?
It seems they are useless, if I switch on them they come back to off after a while.
I have disabled them
from ha_tuya_ble.
I close the issue, feel free to reopen it if you decide to reactivate these switches.
from ha_tuya_ble.
I have been testing this Integration for the last full day and it is working fine on my side. Only noticed that if the Bluetooth Proxy goes down or is disconnected, the Cubetouch does not connect back
from ha_tuya_ble.
Related Issues (20)
- Support for BLE Temperature and Humidity Sensor PT216 & PT19DB-2
- Error after updating to Home Assistant 2024.2.0 update HOT 40
- Is there anybody who can merge the Pull requests?? HOT 5
- Will This work with a ESPHome Bluetooth Proxy, or does it need to connect to the Bluetooth radio on my device running home assistant? HOT 1
- How to setup this integration? HOT 3
- installation issue HOT 1
- Possible error in _handle_command_or_response()
- Device is not registered in Tuya cloud HOT 9
- Not working after update to 2024.4.0 HOT 6
- Not working: "requirements": ["tuya-iot-py-sdk==0.6.6", "pycountry>23.0.0"], HOT 11
- Error Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 11
- Question: Determine if a Fingerbot action actually completed HOT 2
- Update to tuya_sharing SDK HOT 1
- Can you please add the smart curtain robots HOT 3
- Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 3
- Error integration HOT 1
- Setup Account and Password HOT 1
- Tuya Protocol 3.4 for TH05 Support
- SGS01 (gvygg3m8) exposes soil moisture as humidity HOT 1
- Support for Divoo WT-03W
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 ha_tuya_ble.