- TV remote control
- AC remote control
Feel free to request features / changes / issues report.
- In the HACS Frontend, click the 3 dots in the upper right
- Click 'Add Custom Repository'
- Fill in the repo url https://github.com/silentbil/silent-remotes-card and choose 'Lovelace' category.
- Install the custom card (should now appear in the Frontend)
- HACS should automatically add the following to your resources:
url: /hacsfiles/silent-remotes-card/silent-remotes-card.js
type: Javascript Module
Add a Manual card to the dashboard and enter the YAML to configure it as desired.
Name | Description | Default | Required | Values |
---|---|---|---|---|
iconSize |
Size of the buttons | 25 |
No | number |
remote |
remote control name | None | Yes | string |
commandsFilePath |
path of the file with the commands | None | Yes | /folder/file-name.json |
theme |
Theme of style | light | No | light or dark |
title |
Title of the remote | None | No | string |
remoteType |
Type of remote control | None | Yes | tv or ac |
callServiceProps |
Service to call | None | Yes | Object with: domain and service |
entity |
Climate entity id | None | No | string |
You can now simply use a climate entity (using smartIR) and skip the next steps of using external command file.
example:
type: custom:silent-remotes-card
theme: light
title: Electra
remoteType: ac
entity: climate.salon_ac
- The command file look like smartIr structure, meaning you can download the relevant commands from their device list and use as is.
- If not using smartIr, the file structre still need to fit the following
TV example file with custom buttons
TV command file example from smartIR
AC command file example from smartIR
Check out smartIR and find your device commands.
create a json file somewhere inside your www folder. for example: www/my-remotes(create this folder)/tv.json, and paste the commands from the correct file from smartIR, or manually fill the commands yourself.
after that, in the card configuration use: commandsFilePath: /local/my-remotes/tv.json
, note that www
folder is equal to local
do not create the json file where this card is installed, because after updates it will be deleted
type: custom:silent-remotes-card
remote: remote.broadlink_remote
commandsFilePath: /local/my-remotes/1945.json
theme: light
title: Electra
remoteType: ac
callServiceProps:
domain: remote
service: send_command
In this example, AC remote control will be created.
Remote device name is: remote.broadlink_remote
and the service to send the command is: "remote.send_command".
the file with the commands is taken from 1945.json
found in the folder.
type: custom:silent-remotes-card
remote: remote.broadlink_remote
commandsFilePath: /local/my-remotes/1061.json
theme: dark
title: my samsung tv
remoteType: tv
iconSize: 25
callServiceProps:
domain: remote
service: send_command