Skip to content
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

Request support for BlissLights Sky Lite Evolve [SKY-EVOLVE-B-RCW8] --> Config Attached #1507

Closed
fireheadman opened this issue Jan 10, 2024 · 5 comments

Comments

@fireheadman
Copy link

fireheadman commented Jan 10, 2024

Working YAML File is here as well as mentioned in next post
REF: https://github.com/fireheadman/tuya-local-yamls/blob/main/sky_lite_evolve_projector_light.yaml

Log Message

No logs, but working config in next post

Information about DPS mappings


**DPS INFO (Name: ID)**
Work mode: 51
Switch: 20 
Color switch: 52
Laser switch: 53 
Bright value: 101 
Laser brightness:   54
Color: 24 
Timer: 26 
Scene: 58 
Motor Switch: 60 
Motor Speed: 62




Product ID

Information about how the device functions

id: jteg9ktrhbxtiicz

REF: https://blisslights.com/products/sky-lite-evolve
A really nice night light that shows a cloud nebula with stars

image
image

@fireheadman fireheadman added the new device Unsupported device label Jan 10, 2024
@fireheadman
Copy link
Author

fireheadman commented Jan 10, 2024

YAML File created and Test
image
image
image

homeassistant:/config/custom_components/tuya_local/devices# cat sky_lite_evolve_projector_light.yaml

name: Sky Lite Evolve
products:
  - id: jteg9ktrhbxtiicz
    model: SKY-EVOLVE-B-RCW8
    name: BlissLights Sky Lite Evolve
primary_entity:
  entity: light
  name: Globe Light
  icon: "mdi:globe-model"
  dps:
    - id: 20
      type: boolean
      name: switch
    - id: 52
      type: boolean
      name: color_mode
      mapping:
        - dps_val: false
          value: white
        - dps_val: true
          value: hs
    - id: 24
      name: rgbhsv
      type: hex
      format:
        - name: h
          bytes: 2
          range:
            min: 0
            max: 360
        - name: s
          bytes: 2
          range:
            min: 0
            max: 1000
        - name: v
          bytes: 2
          range:
            min: 10
            max: 1000
    - id: 51
      name: effect
      type: string
      mapping:
        - dps_val: scene
          value: Scene
        - dps_val: laser
          value: Laser
        - dps_val: colour
          value: Color
secondary_entities:
  - entity: number
    icon: "mdi:timer"
    name: Timer
    category: config
    dps:
      - id: 26
        type: integer
        name: value
        range:
          min: 0
          max: 86400
        unit: min
        mapping:
          - scale: 60
            step: 60
  - entity: light
    icon: "mdi:laser-pointer"
    name: Laser
    dps:
      - id: 53
        type: boolean
        name: switch
      - id: 54
        name: brightness
        type: integer
        range:
          min: 10
          max: 1000
        mapping:
          - scale: 3.92
  - entity: select
    icon: "mdi:movie-open-play"
    name: Theme
    category: config
    dps:
      - id: 58
        name: option
        type: string
        optional: true
        mapping:
          - dps_val: "AAA="
            value: Cosmos
          - dps_val: "AAE="
            value: Sky
          - dps_val: "AAI="
            value: Space
          - dps_val: "AAM="
            value: Ocean
  - entity: fan
    icon: "mdi:rotate-3d-variant"
    name: Nebula Movement
    dps:
      - id: 60
        type: boolean
        name: switch
      - id: 62
        type: integer
        name: speed
        range:
          min: 0
          max: 100

@fireheadman
Copy link
Author

Was able to tweak the code based off the galaxy projector yaml file, this light does have some differences on the theme/scene and I added icons as well as split out a couple items into the configuration category.

@make-all make-all added the config provided Config included by reporter label Jan 11, 2024
@janitha
Copy link

janitha commented Jun 30, 2024

@fireheadman Thanks for the config for the skylight evolve, works great. Any plans opening a PR to merge this in? (if not, I'd be happy to)

@fireheadman
Copy link
Author

fireheadman commented Jun 30, 2024 via email

make-all added a commit that referenced this issue Sep 26, 2024
Based on issue #1507
- scenes are additional (not properly defined in previous version) so assume they are the same
- effects are different, put the different lists on different lights: the user will have
  to learn which one works for their light.
- icons provide some additional benefit
@make-all make-all added device variant Variant of a supported device awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed new device Unsupported device config provided Config included by reporter labels Sep 26, 2024
@make-all
Copy link
Owner

Merged with galaxy_projector_light, as the only incompatibility is the different scene list (effect) - I added the new list to the other light as you have it here, so users can learn what works for their light, and use that.

@make-all make-all removed device variant Variant of a supported device awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants