Open macf0x opened 1 year ago
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tuya documentation tuya source (message by IssueLinks)
Just wanted to share this if this may be helpful: https://github.com/SeydX/homebridge-star-projector#readme
I have the same issue, is there a work in progress?
Just wanted to share this if this may be helpful: https://github.com/SeydX/homebridge-star-projector#readme
Appears to be the same projector. Case is slightly different, but the control/values seem to match.
Any update on this one?
Happy to test.
Yeah , using local Tuya right now with 3 entities, but it's still not working 100 like it should, does it work for you?
@pergolafabio I experimented a bit with local tuya some time ago and it looked like to me that it should be possible to cover most of the functionality but I have postponed setting it up due to other things I need to take care of first. So my overall experience is still limited, especially I lack long-term experience regarding stability.
I might revisit localtuya. I've gone the standard tuya cloud route, as it had better support for the more exotic devices OOB. I typically reflashed the commodity/dumb switches, but some of the more expensive devices or those lacking (Tasmota/ESPHome) a supported MCU (ie. xmas string lights), I've left with Tuya cloud.
Surely adding support for this isn't too difficult?
With official Tuya , if I remember correctly, only 1 entity was created, so was quite limited...
With localtuya, I create 3, for power , for laser , for nebula....
It works, but not perfect, when , probably the settings are not 100% correct, with the Tuya smartife app it's better
@pergolafabio yes, that's what I planned to do as well, create multiple entities. Would you mind to share your settings for these entities? I also wanted to share my settings once I figured out the best working configuration. But of course it may not be possible to achieve the same outcome like with Tuya Smartlife app.
Ok, will share later
I have it like below, but not perfect, sometimes i can not control laser anymore when i change something in nebula or visa versa
"entities": [
{
"id": 20,
"friendly_name": "Star Alessio",
"brightness_lower": 10,
"brightness_upper": 1000,
"color_temp_min_kelvin": 2700,
"color_temp_max_kelvin": 6500,
"color_temp_reverse": false,
"music_mode": false,
"brightness": 101,
"platform": "light"
},
{
"id": 102,
"friendly_name": "Star Alessio Laser",
"brightness_lower": 10,
"brightness_upper": 1000,
"color_temp_min_kelvin": 2700,
"color_temp_max_kelvin": 6500,
"color_temp_reverse": false,
"music_mode": false,
"brightness": 22,
"platform": "light"
},
{
"id": 103,
"friendly_name": "Star Alessio Nebula",
"brightness_lower": 29,
"brightness_upper": 1000,
"color_temp_min_kelvin": 2700,
"color_temp_max_kelvin": 6500,
"color_temp_reverse": false,
"music_mode": false,
"color_mode": 21,
"color": 24,
"scene": 25,
"platform": "light"
}
],
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
This issues is still not resolved.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Unstale please
I'm interested in this too. Happy to help test
I have a Bneta Galaxy Projector, and I was able to get it "working" with Local Tuya and some tinkering. I can adjust the Power (On/Off), Motor (On/Off, Rotation and Speed), Laser (On/Off, Brightness), Countdown. I am unable to adjust the colour, mode, control data and scenes. I am convinced that the DP's needed for these are not the same on any of the flavours of projectors out there, and some are left out on purpose.
Hi Pieter - that level of control is all I need. Would you mind sharing the relevant DP's? I just want to be able to turn it off at bedtime together with everything else in the house. My kid can interact with the device button/app/whatever.
This is what I can provide. I used LocalTuya and had to play around, but the "fan_switch" and "fan_speed" is actually the Laser switch and the Rotation speed Code, desc, name, DP, type, Values switch_led, switch led, switch led, 20, Boolean, {} colour_data, colour data, colour data, 24, String, {"maxlen":255} countdown, countdown, countdown, 26, Integer, {"unit":"s","min":0,"max":86400,"scale":0,"step":1} mic_music_data, mic music data, mic music data, 42, String, {"maxlen":255} star_work_mode, star work mode, star work mode, 51, Enum, {"range":["manual","scene","music"]} colour_switch, colour switch, colour switch, 52, Boolean, {} laser_switch, laser switch, laser switch, 53, Boolean, {} laser_bright, laser bright, laser bright, 54, Integer, {"min":10,"max":1000,"scale":0,"step":1} star_control_data, star control data, star control data, 57, Raw, {"maxlen":"255"} star_scene_data, star scene data, star scene data, 58, Raw, {"maxlen":"255"} fan_switch, Motor Switch, Motor Switch, 60, Boolean, {} fan_speed, Motor Speed, Motor Speed, 62, Integer, {"unit":"%","min":1,"max":100,"scale":0,"step":1}
Can you make share the diagnostics? in Localtuya, you can go to the device and then download the diag file... thats easier to read, here is mine, i have it seperated in 3 lights
"data": {
"device_config": {
"friendly_name": "Star Eleonora",
"local_key": "xxx",
"host": "192.168.0.68",
"device_id": "xxx",
"protocol_version": "3.3",
"dps_strings": [
"20 (value: False)",
"21 (value: white)",
"22 (value: 67)",
"24 (value: 012c02c60043)",
"25 (value: 000e0d0000000000000000c80000)",
"26 (value: 0)",
"101 (value: 1000)",
"102 (value: False)",
"103 (value: False)"
],
"entities": [
{
"id": 20,
"friendly_name": "Star Eleonora",
"brightness_lower": 10,
"brightness_upper": 1000,
"color_temp_min_kelvin": 2700,
"color_temp_max_kelvin": 6500,
"color_temp_reverse": false,
"music_mode": false,
"brightness": 101,
"platform": "light"
},
{
"id": 102,
"friendly_name": "Star Eleonora Laser",
"brightness_lower": 10,
"brightness_upper": 1000,
"color_temp_min_kelvin": 2700,
"color_temp_max_kelvin": 6500,
"color_temp_reverse": false,
"music_mode": false,
"brightness": 22,
"platform": "light"
},
{
"id": 103,
"friendly_name": "Star Eleonora Nebula",
"brightness_lower": 29,
"brightness_upper": 1000,
"color_temp_min_kelvin": 2700,
"color_temp_max_kelvin": 6500,
"color_temp_reverse": false,
"music_mode": false,
"color_mode": 21,
"color": 24,
"scene": 25,
"platform": "light"
You have it configured as 1 entity in localtuya?
No. I created a Entity for each of the DP's
Here is the redacted Diagnostic log { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.1.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "x86_64", "timezone": "Africa/Johannesburg", "os_name": "Linux", "os_version": "6.1.71-haos", "supervisor": "2023.12.1", "host_os": "Home Assistant OS 11.4", "docker_version": "24.0.7", "chassis": "vm", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ]
},
"smartlife": {
"version": "0.1.0",
"requirements": [
"tuya-device-sharing-sdk==0.1.9"
]
},
"localtuya": {
"version": "5.2.1",
"requirements": []
},
"integration_manifest": { "domain": "localtuya", "name": "LocalTuya integration", "codeowners": [ "@rospogrigio", "@postlund" ], "config_flow": true, "dependencies": [], "documentation": "https://github.com/rospogrigio/localtuya/", "iot_class": "local_push", "issue_tracker": "https://github.com/rospogrigio/localtuya/issues", "requirements": [], "version": "5.2.1", "is_built_in": false }, "data": { "device_config": { "friendly_name": "Projector", "host": "-----", "local_key": "-----", "protocol_version": "3.3", "enable_debug": true, "manual_dps_strings": "21,22,23,24,25", "entities": [ { "friendly_name": "Laser Switch", "restore_on_reconnect": false, "is_passive_entity": false, "id": 53, "platform": "switch" }, { "friendly_name": "Motor Switch", "restore_on_reconnect": false, "is_passive_entity": false, "id": 60, "platform": "switch" }, { "friendly_name": "Laser Brightness", "min_value": 10.0, "max_value": 1000.0, "step_size": 10.0, "restore_on_reconnect": false, "is_passive_entity": false, "id": 54, "platform": "number" }, { "friendly_name": "Motor Speed", "min_value": 0.0, "max_value": 100.0, "step_size": 1.0, "restore_on_reconnect": false, "is_passive_entity": false, "id": 62, "platform": "number" }, { "friendly_name": "Count Down", "min_value": 0.0, "max_value": 86400.0, "step_size": 1.0, "restore_on_reconnect": false, "is_passive_entity": false, "id": 26, "platform": "number" }, { "id": 20, "friendly_name": "Nebula Power", "restore_on_reconnect": false, "is_passive_entity": false, "platform": "switch" } ], "add_entities": true, "model": "Bneta Smart Galaxy Projector", "device_id": "-------", "dps_strings": [ "20 (value: True)", "24 (value: 00f003e803e8)", "26 (value: 0)", "51 (value: scene)", "52 (value: True)", "53 (value: True)", "54 (value: 321)", "60 (value: True)", "62 (value: 78)" ], "product_key": "keyd9wr9fr3mcf7s" }, "device_cloud_info": { "active_time": 1704399027, "biz_type": 0, "category": "xktyd", "create_time": 1704285719, "icon": "smart/icon/ay1567074618806CXHUE/ad8817b83b76c2de2f06a0525dffdf5d.png", "id": "------", "ip": "41.133.81.229", "lat": "-25.7900", "local_key": -------", "lon": "28.2900", "model": "S23", "name": "Projector", "online": true, "owner_id": "166789548", "product_id": "gag5475oobwmgkbc", "product_name": "Bneta Smart Galaxy Projector", "status": [ { "code": "switch_led", "value": true }, { "code": "colour_data", "value": "{\"h\":251,\"s\":770,\"v\":398}" }, { "code": "countdown", "value": 0 }, { "code": "mic_music_data", "value": "000000013264" }, { "code": "star_work_mode", "value": "manual" }, { "code": "colour_switch", "value": true }, { "code": "laser_switch", "value": true }, { "code": "laser_bright", "value": 870 }, { "code": "star_scene_data", "value": "AAUBAAABASwD6APoAQMyAQPoATI=" }, { "code": "fan_switch", "value": true }, { "code": "fan_speed", "value": 64 } ], " } } }
The laser motor should be a switch, rotation speed should be a select, brighness also a select
Great, thnx for sharing! I have 3 entities with multiple purposes
Are you able to control the scenes and Nebula colour changes?
Yeah, i believe so, created a scene for that
- id: '1672646658870'
name: scene1
entities:
light.star_alessio:
min_color_temp_kelvin: 2702
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 370
effect_list:
- Night
- Read
- Meeting
- Leasure
- Soft
- Rainbow
- Shine
- Beautiful
supported_color_modes:
- color_temp
- hs
raw_state: false
friendly_name: Star Alessio
supported_features: 23
state: 'off'
metadata: {}
- alias: Star Alessio Scenes
initial_state: 'on'
trigger:
platform: state
entity_id: input_select.star_alessio
action:
- service: scene.turn_on
data_template:
entity_id: scene.{{trigger.to_state.state}}
input_select:
star_alessio:
name: Mode
options:
- star_alessio_off
- star_alessio_color1
- star_alessio_laser
- star_alessio_color2
initial: star_alessio_off
icon: mdi:palette
Would you be so kind as to share your DP list with me?
I posted it a few post back :-)
Ahaa. I only saw it now. I see my device and yours have different DPS. I am a real noob with coding but I am figuring things out. Just noticed on the one thread there is default support for the projectors in Local Tuya. Just rename back to yaml galaxy_projector_light - .txt
What thread? I don't believe there is default support.. What device do you have? Can you show me a link?
Big news: There's now a solution available to flash ESPHome on the original microcontroller that comes with the Star Projector which even doesn't require to open the device (!). Everything works via direct WiFi connection between your computer and the Star Projector (the projector provides a WiFi access point). So no more replacement of the original microcontroller requiring soldering, this is the most convenient jailbreak one can think of.
I found only two minor issues at the moment (minor because they can both be addressed via Home Assistant automations for instance):
I immediately bought a second device after I had successfully flashed the first one. Both devices show the same behaviour described above.
This is how this jailbreak miracle looks like in HA:
And you'll find all the magic here: https://github.com/M4GNV5/esphome-SK20-Nebula-Light
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I solved my Galaxy Star Projector issue with some tinkering
From: Robert Ardill @.> Sent: Thursday, 06 June 2024 03:16 To: home-assistant/core @.> Cc: Pieter Hattingh @.>; Comment @.> Subject: Re: [home-assistant/core] Tuya: Genio Nebula & Blue Star Projector (Issue #83299)
Unstale
— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/83299#issuecomment-2151221514, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX4Y4D3QY43YWEOA6VF53TZF6Z7PAVCNFSM6AAAAAASUFWDMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGIZDCNJRGQ. You are receiving this because you commented.Message ID: @.***>
Was this via Tuya, Tuya Local or via ESPHome?
I like the ESPHome option, but the rest of my Christmas lights aren't supported (String/fairy/Icicle), which complicates operation.
I used Local Tuya with some interesting Creative thinking. What is the ESPHome method? From: Macfox @.> Sent: Friday, June 7, 2024 1:46 AM To: home-assistant/core @.> Cc: Pieter Hattingh @.>; Comment @.> Subject: Re: [home-assistant/core] Tuya: Genio Nebula & Blue Star Projector (Issue #83299)
Was this via Tuya, Tuya Local or via ESPHome?
I like the ESPHome option, but the rest of my Christmas lights aren't supported (String/fairy/Icicle), which complicates operation.
— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/83299#issuecomment-2153578957, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX4Y4CHHFGLFXHW6WSLYL3ZGDYBVAVCNFSM6AAAAAASUFWDMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGU3TQOJVG4. You are receiving this because you commented.Message ID: @.**@.>>
Helgek pointed to this site above that provides an ESP template https://github.com/M4GNV5/esphome-SK20-Nebula-Light
Has anybody had success with new version of the projector? (more square-ish one)?
Do you have a picture. I wouldn't consider mine new, but it certainly more square than the white variety.
https://www.mirabellagenio.com.au/product-range/mirabella-genio-wi-fi-nebula-blue-star-projector/
Do you have a picture. I wouldn't consider mine new, but it certainly more square than the white variety.
https://www.mirabellagenio.com.au/product-range/mirabella-genio-wi-fi-nebula-blue-star-projector/
Ah-a, that a new one. Haven't seen the black version though.
This is an old one:
Thank you, it's finally time to order one myself!
The problem
Device is detected, but not controllable.
Smart LED & Laser Projector
Tuya Device details (iot.tuya.com) Device Information Product Name: Genio Nebula & Blue Star Projector Device ID: bffdc51cda0fc31855ptvh Product Category: xktyd
Device schema
Manufacture Page Product Image Standard Status Set.txt Control.json.txt
What version of Home Assistant Core has the issue?
2022.11.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya
Diagnostics information
tuya-e0740f20d09b547f54c24a3xx-ae248eead-Genio Nebula & Blue Star Projector-e7398cb39d436ea47c5bd77376599dee.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response