diff --git a/binary_sensors/motion.yaml b/binary_sensors/motion.yaml index 5140359..387b22a 100755 --- a/binary_sensors/motion.yaml +++ b/binary_sensors/motion.yaml @@ -3,4 +3,11 @@ state_topic: "smartthings/Garage Motion/contact" payload_on: "active" payload_off: "inactive" - device_class: motion \ No newline at end of file + device_class: motion + +- platform: command_line + name: vlc player + command: 'pidof vlc | wc -l' + payload_on: 1 + payload_off: 0 + scan_interval: 10 \ No newline at end of file