-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Beacon RBCGW light via gateway recognized but not able to integrate #423
Comments
is this BLE light? try add |
Are these one https://it.aliexpress.com/item/1005006535865050.html
From Tuya developer platform, the Query Properties the devices: |
Try add "0" in manual DPS field on device connection config step. |
Hi @xZetsubou , thanks a lot for your comments. Adding 0 to manual DPS automatically get all DPS. After configuration completed, the status is always set to Unknown: Do you know how can I get status set correctly? |
Does the device works If you control from HA e.g. turn on/off or so. If it does then status can't be pulled because this how some Bluetooth devices works they are "write_only" and can't read there status however there's a chance If you toggled the light manually while HA connected status will be updated. As for color change supported set to first options where it starts with |
@mrgionsi Tuya BLE bulbs are write-only: it is not possible to read their states. Event Smart Life (or whatever app you use) does not reflect the true current state. I'm testing a new version of MR, to replace #309, with better support of such bulbs, including scene selection. I hope @xZetsubou will approve it 😄 |
Thanks a lot both for your support. Colour change is happening, even I think is not reflecting the real colour. I will confirm you in the next days. |
Hello, Temp values and bright values work fine. If i try to use color mode doesn't work. During integration, color option left empty so I don't know what to select. Tried all combination but nothing.. I see from tuya there is a DP call colour_data_raw ID=11 but even adding in local tuya and using it doesn't work. |
@mrgionsi MR #425 adds "Write-only" option made for such bulbs. Then scenes and colors work, providing DP 11 (Color) and DP 12 (Scene) were chosen in the configuration. Also, there are Default, Color, Scene, Music in the Effects list, to switch the bulb to pre-selected values. You can also use them in automations. I'm still thinking how to improve it even more, but the current state is better than nothing. |
Thanks @Lurker00 , I will have a look. The point is that DP 11 and 12 are not discovered automatically, so I have to set them manually but even selecting it for color, the colour picker doesn't change the light colour. |
Sorry, missed that issue was still open. Do we need to integrate in the next release, right? |
Having skills, you may try to update your local version right now. Then, it's up to @xZetsubou to accept or not. |
Hi @Lurker00 , are you referring to this ? https://github.com/Lurker00/hass-localtuya/tree/light-fixes-and-ble-support? Because I added this repo as integration but I can't see any changes on this. For information purpose only, which is the value for colour_data_raw which this light is expecting? I would like to test it into tuya_dev platform as well. |
Yes.
BASE64-encoded 4 bytes of HSL: high and low byte of Hue (0-360), Saturation (0-100), Lightness (0-100). For instance: |
Hello, sharing update: Thanks @Lurker00 your fork works perfectly with BLE devices!! Even on/off works fine. @xZetsubou Will it be integrated to your integration? |
LocalTuya Version
2024.12.1
Home Assistant Version
2024.11.3
Environment
What happened?
A bug happened!
Steps to reproduce.
Connection to device succeeded but no datapoints could be found. Please try set-up again. If problem persists, create a new issue (including debug logs).
I see DPS are empty in the logs, even setting them manually doesn't work.
I can paste them here from tuya dev if needed.
Relevant log output
The text was updated successfully, but these errors were encountered: