Joining the dots more ,HASP Plate, JukeBox ,Zigbee switch

my old jukebox DIED was old XP

Found a acer PC on trademe $80 1TB 4gb

found volumio and that connect to HA
put that on the PC

mount that into old jukebox i built

that white button on the front is a

have a sonoff basic connected to the montor

so by press that the screen toggle on /off

- alias: 'Garage JukeBox Screen Toggle'
  initial_state: 'on'
  trigger:
    platform: event
    event_type: deconz_event
    event_data:
      id: smartswitch2
      event: 1002
  action:
  - data:
      entity_id: switch.garagejukebox
    service: switch.toggle

thinking out side a square
i write a automation to pause the jukebox if a double click it

built the

Just did a find replace on his code point to my media_player.volumio

added this auomation


  - alias: hasp_plate01_p8_Media_Playing
    initial_state: true
    trigger:
    - platform: state
      entity_id: media_player.volumio
      to: "playing"
    action:
    - data:
        entity_id: input_number.hasp_plate01_activepage
        value: '8'
      service: input_number.set_value


  - alias: hasp_plate01_p8_Media_pause
    initial_state: true
    trigger:
    - platform: state
      entity_id: media_player.volumio
      to: "paused"
    action:
    - data:
        entity_id: input_number.hasp_plate01_activepage
        value: '1'
      service: input_number.set_value

now when I play juke the switch plate changes to the right screen
even the vol works

3 Likes

Dire Straits?

ok showing my age

2 Likes