D3nnisd
(Dennis D)
October 4, 2019, 3:14pm
1
Hi there!
First off: I’m happy to be part of this community now. Amazing piece of software this is.
I started using Hassio a few days ago. So far, i added all my devices and planning to use Deconz with ikea Fyrtur(when they are in stock again).
All works, but i have some issues with the Harmony remote.
So far, i used the Harmony info (Hi,
I started using Hassio a few days ago. So far, i added all my devices and planning to use Deconz with ikea Fyrtur(when they are in stock again).
All works, but i have some issues with the Harmony remote.
So far, i used the https://www.home-assistant.io/integrations/harmony page and i got a nice .conf file:
Now , i want to have buttons on my lovelace dashboard to pause or start. How do i do that?
I can’t find a way to get them into my devices list and add them trough there.
Kind regards,
Dennis
NK553
(Brian)
October 4, 2019, 4:49pm
2
I use https://github.com/custom-cards/button-card . You need to call the service send_command in the domain remote. The entity_id is the name of the harmony hub, the device_id is the device hooked to the harmony (like a TV), and the command is anything in that xml you posted.
My config looks like this:
- type: "custom:button-card"
color_type: card
color: auto
icon: "mdi:circle-outline"
action: service
service:
domain: remote
action: send_command
data:
entity_id: remote.hub
device: 39514665
command: OK
That’s one button, the whole thing looks like this:
D3nnisd
(Dennis D)
October 4, 2019, 7:11pm
3
Hey! Thanks for the quick answer!
I have the following config:
type: horizontal-stack
cards:
- type: 'custom:button-card'
color: auto
color_type: card
icon: 'mdi:volume-plus'
action: service
service:
domain: remote
tap_action:
action: send_command
data:
entity_id: remote.den_room
device: 52872953
command: VolumeUp
- type: 'custom:button-card'
color: auto
color_type: card
icon: 'mdi:volume-minus'
action: service
service:
domain: remote
tap_action:
action: send_command
data:
entity_id: remote.den_room
device: 52872953
command: VolumeDown
The cards work (visual) but it doesnt work on the TV. In the configuration.yaml i only have this: #discover Stuff
discovery:
enable:
- harmony
The issue i have is, the remote.den_hub (as the harmony discover file is called) is not in the Entity Registry.
How do i add that?
NK553
(Brian)
October 4, 2019, 8:35pm
4
Hang on, mine doesn’t work either, we hardly ever use it and the formatting changed. I’ll get it fixed this evening.
NK553
(Brian)
October 4, 2019, 8:57pm
5
Okay, updated and working (sorry about that):
- type: 'custom:button-card'
color: auto
color_type: card
icon: 'mdi:power'
tap_action:
action: call-service
service: remote.send_command
service_data:
command: PowerToggle
device: 39514803
entity_id: remote.harmony_hub
D3nnisd
(Dennis D)
October 4, 2019, 9:13pm
6
I think i have another issue here:
Error executing query: (sqlite3.OperationalError) database is locked
(Background on this error at: http://sqlalche.me/e/e3q8 )
That probably prevents the remote from being created. Let me check that first, before i continue on this. I’ll let you know tommorow.
NK553
(Brian)
October 5, 2019, 12:36am
7
I’ve never seen that, but deleting the DB fixes most of th0we problems, you’ll lose all state history though.
D3nnisd
(Dennis D)
October 5, 2019, 4:25pm
8
Hey!
Turns out, my SD was only doing 4mb/s. Causign allot of stuff. I bought a new one(class 10) 100mb/s. Now it works like a charm.
Your config worked great! Thanks for the help!
NickL
(Nick)
November 25, 2020, 4:00am
9
Hi Brian,
Would it be possible to get the full YAML for your Harmony card? I love your layout but am having a heck of a time trying to get it functional myself.
Thanks,
-Nick