Colorloop automation for aeotec ZW098 bulbs

I am trying to automate a ZW098 LED bulb(s) to do a random color display for a christmas display.

I can get the bulb to do a random display that lasts for about 15 minutes (did not really time it as it stopped when I was out of room) using the Z-Wave Network Management as below

However if I look at the light integration https://www.home-assistant.io/integrations/light/#service-lightturn_on there is no option to send a config parameter. The only thing that comes close is the colorloop or random.
This is what I tried in the automation action

All it did was turn the bulb on to the last color it used.

I can control the bulb manually with this

Have been struggling with this for a day or so and tried searching and reading the forum but can’y get something to work.

running hassio 102.1 on a RPI 3 with ZWave stick

Any suggestions please?

To replicate the Control Panel behavior, you can use the zwave.set_config_parameter service call, which is what the Control Panel is actually doing:

node_id: 3
parameter: 37
value: 23265295
1 Like

Thank You very much.
I now have it working.
This is the automation I have set up.

I am hoping that I have it correct. I guess I will see in 6 hours!

Thanks again. It really helped me out.
:+1:

oops…
I also meant to add the trigger


cheers
R

Hmm… the cycle only seemed to last 17 minutes or so

This is what AEOTEC’s spreadsheet says…

This is what the code says

  alias: Colourful Lights
  description: ''
  trigger:
  - event: sunset
    platform: sun
  condition: []
  action:
  - data:
      node_id: 3
      parameter: 37
      value: 23265295
    service: zwave.set_config_parameter
  - delay: 06:00:00
  - data:
      entity_id: light.aeon_labs_zw098_led_bulb_level_2
    service: light.turn_off

What am I missing?

How can I get it to do the 6 hrs that I want?

Thanks
R

Update
I discovered I was using the wrong spreadsheet for the firmware in the Bulb.
My Bulb was version 1.04 and the spreadsheet was for 1.05.

So this means that the bulb is working as it should.
I have set it up to do and unlimited cycle.

alias: Colourful Christmas Lights
  description: Rainbow Lights for Aoetec Bulb unlimited cycles
  trigger:
  - event: sunset
    offset: 00:20:00
    platform: sun
  condition: []
  action:
  - data:
      node_id: 3
      parameter: 37
      value: 16777344
    service: zwave.set_config_parameter

I have a 2nd automation which turns it off at midnight.
A bit crude but until I find a better way… it works!