devices: - identifier: name: "J-MoonHorn" expected_name: "JoyHub Moon Horn" device_commands: # Commands - !Messages device_index: 0 messages: - !Vibrate - Index: 0 Speed: 0.5 - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0xa0, 0x03, 0x80, 0x00, 0x00, 0x00, 0xaa] write_with_response: false - !Write endpoint: tx data: [0xa0, 0x0d, 0x00, 0x00, 0x00, 0xff] # First 0 is free write_with_response: false - !Messages device_index: 0 messages: - !Scalar - Index: 0 Scalar: 0.5 ActuatorType: Vibrate - Index: 1 Scalar: 0.1 ActuatorType: Constrict - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0xa0, 0x0d, 0x00, 0x00, 0x01, 0xff] write_with_response: false - !Messages device_index: 0 messages: - !Scalar - Index: 0 Scalar: 1.0 ActuatorType: Vibrate - Index: 1 Scalar: 0.1 ActuatorType: Constrict - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0xa0, 0x03, 0xff, 0x00, 0x00, 0x00, 0xaa] write_with_response: false - !Messages device_index: 0 messages: - !Scalar - Index: 0 Scalar: 0.5 ActuatorType: Vibrate - Index: 1 Scalar: 0.5 ActuatorType: Constrict - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0xa0, 0x03, 0x80, 0x00, 0x00, 0x00, 0xaa] write_with_response: false - !Write endpoint: tx data: [0xa0, 0x0d, 0x00, 0x00, 0x05, 0xff] write_with_response: false - !Messages device_index: 0 messages: - !Stop - !Commands device_index: 0 commands: - !Write endpoint: tx data: [0xa0, 0x03, 0x00, 0x00, 0x00, 0x00, 0xaa] write_with_response: false - !Write endpoint: tx data: [0xa0, 0x0d, 0x00, 0x00, 0x00, 0xff] write_with_response: false