Scene Activated Trouble

Tags: #<Tag:0x00007f73ac8800c8>

HI, I have a WA00Z-1 Scene Switch. I’ve been struggling for hours to get its button clicks to trigger anything. Here is my automation:

  • alias: Scene Test 3
    trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
    entity_id: zwave.gocontrol
    scene_id: 1
    action:
    service: light.toggle
    entity_id: light.Kitchen_1,light.Kitchen_2,light.Kitchen_3

This is what shows up in my log file:

2018-01-04 19:47:54.958 Info, Node002, Received Central Scene set from node 2: scene id=1 in 0 seconds. Sending event notification.
2018-01-04 19:47:54.958 Warning, Node002, No ValueID created for Scene 1
2018-01-04 19:47:54.959 Detail, Node002, CAN received…triggering resend

Any thoughts? Thanks.

Hi there, have you solved this issue? I have a similar one…

Check this page out. Try a few of the different configurations. Eventually, one worked for me:

Which one?

Would it be possible to post your code?

Sure. Sorry for the delay. Go into your config folder to the file that starts zwcfg. Replace whatever’s in the portion that contains “Command_Class_Central_Scene” with this. Make sure you’ve stopped HA from running when you do it or it will just write over it:

		<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" innif="true" scenecount="2">
			<Instance index="1" />
			<Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="2" />
			<Value type="int" genre="user" instance="1" index="1" label="Top Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
			<Value type="int" genre="user" instance="1" index="2" label="Bottom Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
		</CommandClass>
1 Like

Thanks DyerWolf.

I did what you wrote in your code, but when I monitor the OZW log file, this is what I obtain when I press the three buttons:

2018-02-13 22:34:18.406 Info, Node009, Received Central Scene set from node 9: scene id=3     in 0 seconds. Sending event notification.
2018-02-13 22:34:18.406 Warning, Node009, No ValueID created for Scene 3
2018-02-13 22:34:26.647 Detail, Node009,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x09, 0x05, 0x5b, 0x03, 0x00, 0x00, 0x02, 0xa6
2018-02-13 22:34:26.647 Detail, 
2018-02-13 22:34:26.647 Info, Node009, Received Central Scene set from node 9: scene id=2 in 0 seconds. Sending event notification.
2018-02-13 22:34:26.647 Warning, Node009, No ValueID created for Scene 2
2018-02-13 22:34:28.744 Detail, Node009,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x09, 0x05, 0x5b, 0x03, 0x01, 0x00, 0x01, 0xa4
2018-02-13 22:34:28.744 Detail, 
2018-02-13 22:34:28.744 Info, Node009, Received Central Scene set from node 9: scene id=1 in 0 seconds. Sending event notification.
2018-02-13 22:34:28.744 Warning, Node009, No ValueID created for Scene 1
2018-02-13 22:34:33.290 Detail, Node009,   Received: 0x01, 0x0f, 0x00, 0x04, 0x00, 0x09, 0x09, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x0a, 0x01, 0x00, 0x74
2018-02-13 22:34:33.290 Detail, 

Do you know how I can create a ValueID for the different scenes?

Thanks

Maucollu,

did you solve it?

Sorry buddy, that’s about the extent of what I figured out.

use @DyerWolf code in the xml config file

<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" innif="true" scenecount="2">
		<Instance index="1" />
		<Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="2" />
		<Value type="int" genre="user" instance="1" index="1" label="Top Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
		<Value type="int" genre="user" instance="1" index="2" label="Bottom Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
	</CommandClass>

Then in an automation you can do:

# Up id: 1
# Down id: 2
# scene_data
# - 0: click
# - 2: hold
# - 1: release
- alias: 'GoSwitch On'
  trigger:
  - event_data:
      entity_id: zwave.linear_wa00z1_scene_switch
      scene_id: 1
      scene_data: 0
    event_type: zwave.scene_activated
    platform: event
  condition: []
  action:
    - service: homeassistant.turn_on
      entity_id: input_boolean.notify_home

- alias: 'GoSwitch Off'
  trigger:
  - event_data:
      entity_id: zwave.linear_wa00z1_scene_switch
      scene_id: 2
      scene_data: 0
    event_type: zwave.scene_activated
    platform: event
  condition: []
  action:
    - service: homeassistant.turn_off
      entity_id: input_boolean.notify_home

Thanks!
This helped me getting the Heatit Z-Push Button 8 working, posting here in case anyone else is struggling.

  	<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" issecured="true" innif="true" scenecount="8">
  		<Instance index="1" />
  		<Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="1" label="Scene 1 On" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="2" label="Scene 1 Off" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="3" label="Scene 2 On" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="4" label="Scene 2 Off" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="5" label="Scene 3 On" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="6" label="Scene 3 Off" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="7" label="Scene 4 On" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  		<Value type="int" genre="user" instance="1" index="8" label="Scene 4 Off" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" />
  	</CommandClass>

Hi
Im not getting my Heatit Z-Push Button 8 to work… I added the XML-config, created an automation and nothing happens when i push button “on” on group 2 (Scene ID 1):

- id: '1556365877799'
  alias: 'Stue: HeatIT Z-Push Button 8'
  trigger:
  - event_data:
  entity_id: zwave.tronika_unknown_type_0300_id_a305
  scene_data: '7680'
  scene_id: '1'
event_type: zwave.scene_activated
platform: event
  condition: []
  action:
  - data:
  entity_id: scene.lys_maks
service: scene.turn_on

When i push the button this appears in the OZW logs:
2019-04-27 16:50:41.242 Info, Node009, Received Central Scene set from node 9: scene id=1 in 7680 seconds. Sending event notification.
2019-04-27 16:50:41.242 Detail, Node009, Refreshed Value: old value=7680, new value=7680, type=int
2019-04-27 16:50:41.242 Detail, Node009, Changes to this value are not verified
2019-04-27 16:50:41.242 Detail, Node009, Notification: ValueChanged

The indentation of the automation looks all wrong, is that just a copy and paste error in your post, or is that how it actually looks?

Try removing the quotes around the scene_data and scene_id values, they might need to be numbers.

  scene_data: 7680
  scene_id: 1

Its the copy-paste that messed up the indent…
Ah of course, when i remove the quotes it worked :slight_smile: Thanks!