[SOLVED] Recent en working solution for Harmony Hub Devices

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Alfagek
Posts: 26
Joined: Sunday 09 February 2020 15:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Leeuwarden
Contact:

Re: Recent en working solution for Harmony Hub Devices

Post by Alfagek »

jpvaneijk wrote: Thursday 28 June 2018 18:02
Some codes working for me:
AV Receiver

Code: Select all

script:///home/pi/HarmonyHubControl/HarmonyHubControl 192.168.2.3 issue_device_command 55207356 Mute
script:///home/pi/HarmonyHubControl/HarmonyHubControl 192.168.2.3 issue_device_command 55207356 VolumeUp
script:///home/pi/HarmonyHubControl/HarmonyHubControl 192.168.2.3 issue_device_command 55207356 VolumeDown
script:///home/pi/HarmonyHubControl/HarmonyHubControl 192.168.2.3 issue_device_command 55207356 ModeStereo
script:///home/pi/HarmonyHubControl/HarmonyHubControl 192.168.2.3 issue_device_command 55207356 ModeDolby/DTSSurround
How Do i get this on a dummy switch.

If i excute them in putty they function okay.

Code: Select all

./HarmonyHubControl 192.168.2.3 issue_device_command 55207356 Mute
System will mute.

But if i copy this under a dummy switch it don't function.

I also put the command in a script file with: exec './HarmonyHubControl 192.168.2.3 issue_device_command 55207356 Mute'.

I know Harmony is in Native now. But i want to mute or change volume on the domotica tablet.
manipel
Posts: 1
Joined: Wednesday 02 January 2019 20:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: [SOLVED] Recent en working solution for Harmony Hub Devices

Post by manipel »

Sorry to bump a "Solved" thread, but I can't get the script to run from a switch witin Domoticz.
Via the command line everything works great, but triggering the same command via script:// or via the domonticz_main exec 'complete command line goes here' does not do the trick. The Domoticz log shows that at least the domoticz_main script is triggered and no error to be seen.

Code: Select all

2022-03-12 13:22:10.812 Status: User: Admin initiated a switch command (185/Volume Mute/Off)
2022-03-12 13:22:11.833 Status: Executing script: /config/scripts/domoticz_main
Anyone solved this one?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest