i read a lot on the forum and i have seen several requests for a remote control option over time.
so i thought, why not generelize my own remote a bit and share it.
click on the picture to see the full remote
its a dashboard, so its a webpage.
you can use it in any iframe, or just as it is.
all you need is appdaemon 3.0 running and you can use this dashboard.
off course the first thing you need is what the buttons do.
i use a broadlink and have created switches in HA, but the nice thing is that you can connect all actions you like on this remote.
every button is a switch widget so you can use switches or input_booleans to connect to the buttons.
this is the dashboardfile:
##########################################################################################
# edit only the entities on the right side.
# all entities must be an input_boolean or switch
# if you want to leave out any entities, then you also need to delete them below,
# but you can set a dummy entity in home assistant and use that several times
##########################################################################################
titletext: &titletext "sat reciever"
power_entity: &power_entity switch.satelliet_ontvanger_power
mute_entity: &mute_entity switch.satelliet_ontvanger_mute
1_entity: &1_entity switch.satelliet_ontvanger_1
2_entity: &2_entity switch.satelliet_ontvanger_2
3_entity: &3_entity switch.satelliet_ontvanger_3
4_entity: &4_entity switch.satelliet_ontvanger_4
5_entity: &5_entity switch.satelliet_ontvanger_5
6_entity: &6_entity switch.satelliet_ontvanger_6
7_entity: &7_entity switch.satelliet_ontvanger_7
8_entity: &8_entity switch.satelliet_ontvanger_8
9_entity: &9_entity switch.satelliet_ontvanger_9
0_entity: &0_entity switch.satelliet_ontvanger_0
up_entity: &up_entity switch.satelliet_ontvanger_channel_up
down_entity: &down_entity switch.satelliet_ontvanger_channel_down
volumeup_entity: &volumeup_entity switch.satelliet_ontvanger_volume_up
volumedown_entity: &volumedown_entity switch.satelliet_ontvanger_volume_down
rewind_entity: &rewind_entity switch.satelliet_ontvanger_rewind
pause_entity: &pause_entity switch.satelliet_ontvanger_pause
play_entity: &play_entity switch.satelliet_ontvanger_play
forward_entity: &forward_entity switch.satelliet_ontvanger_forward
record_entity: &record_entity switch.satelliet_ontvanger_record
stop_entity: &stop_entity switch.satelliet_ontvanger_stop
back_entity: &back_entity switch.satelliet_ontvanger_back
ok_entity: &ok_entity switch.satelliet_ontvanger_ok
#######################################################################################
# dont edit the parts below unless you know how to change a dashboard.
# how to create and edit dashboards can be found here:
# http://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html
#######################################################################################
title: *titletext
widget_dimensions: [60, 60]
widget_size: [1,1]
widget_margins: [3, 3]
columns: 4
global_parameters:
use_comma: 1
precision: 1
label1:
widget_type: label
title: *titletext
title_style: "top:13px;font-size: 200%;"
power:
widget_type: switch
entity: *power_entity
icon_on: mdi-power
icon_off: mdi-power
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
mute:
widget_type: switch
entity: *mute_entity
icon_on: mdi-volume
icon_off: mdi-volume-off
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
one:
widget_type: switch
entity: *1_entity
icon_on: mdi-numeric-1-box
icon_off: mdi-numeric-1-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
two:
widget_type: switch
entity: *2_entity
icon_on: mdi-numeric-2-box
icon_off: mdi-numeric-2-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
three:
widget_type: switch
entity: *3_entity
icon_on: mdi-numeric-3-box
icon_off: mdi-numeric-3-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
four:
widget_type: switch
entity: *4_entity
icon_on: mdi-numeric-4-box
icon_off: mdi-numeric-4-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
five:
widget_type: switch
entity: *5_entity
icon_on: mdi-numeric-5-box
icon_off: mdi-numeric-5-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
six:
widget_type: switch
entity: *6_entity
icon_on: mdi-numeric-6-box
icon_off: mdi-numeric-6-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
seven:
widget_type: switch
entity: *7_entity
icon_on: mdi-numeric-7-box
icon_off: mdi-numeric-7-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
eight:
widget_type: switch
entity: *8_entity
icon_on: mdi-numeric-8-box
icon_off: mdi-numeric-8-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
nine:
widget_type: switch
entity: *9_entity
icon_on: mdi-numeric-9-box
icon_off: mdi-numeric-9-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
zero:
widget_type: switch
entity: *0_entity
icon_on: mdi-numeric-0-box
icon_off: mdi-numeric-0-box
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
down:
widget_type: switch
entity: *down_entity
icon_on: mdi-arrow-down-drop-circle-outline
icon_off: mdi-arrow-down-drop-circle-outline
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
up:
widget_type: switch
entity: *up_entity
icon_on: mdi-arrow-up-drop-circle-outline
icon_off: mdi-arrow-up-drop-circle-outline
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
volume_down:
widget_type: switch
entity: *volumedown_entity
icon_on: mdi-volume-minus
icon_off: mdi-volume-minus
icon_style_active: "top: 38px;"
icon_style_inactive: "top: 38px;"
volume_up:
widget_type: switch
entity: *volumeup_entity
icon_on: mdi-volume-plus
icon_off: mdi-volume-plus
icon_style_active: "top: 38px;"
icon_style_inactive: "top: 38px;"
rewind:
widget_type: switch
entity: *rewind_entity
icon_on: mdi-rewind
icon_off: mdi-rewind
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
pause:
widget_type: switch
entity: *pause_entity
icon_on: mdi-play-pause
icon_off: mdi-play-pause
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
play:
widget_type: switch
entity: *play_entity
icon_on: mdi-play
icon_off: mdi-play
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
forward:
widget_type: switch
entity: *forward_entity
icon_on: mdi-fast-forward
icon_off: mdi-fast-forward
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
record:
widget_type: switch
entity: *record_entity
icon_on: mdi-record-rec
icon_off: mdi-record-rec
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;color:red;"
stop:
widget_type: switch
entity: *stop_entity
icon_on: mdi-stop
icon_off: mdi-stop
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
back:
widget_type: switch
entity: *back_entity
icon_on: mdi-undo
icon_off: mdi-undo
icon_style_active: "top: 8px;"
icon_style_inactive: "top: 8px;"
ok:
widget_type: switch
entity: *ok_entity
icon_on: mdi-check-circle
icon_off: mdi-check-circle
icon_style_active: "top: 15px;font-size:600%;"
icon_style_inactive: "top: 15px;font-size:600%;"
#widget_style: "border-radius: 60px;"
layout:
- label1(4x1)
- power, spacer, spacer,mute
- one,two,three,four
- five, six,seven,eight
- record,nine, zero
- spacer,up(2x1)
- volume_down(1x2),ok(2x2),volume_up(1x2)
-
- back,down(2x1)
- rewind,stop,pause,forward
just put in your own entities, save the dashboard and have fun.