[RELEASE] KuKuHarmony - DTH and SmartApp that support to control devices in Logitech Harmony(using Harmony-API)

smartapp_av
harmony
dth_av
requires_server
project_av

(Alwas) #638

After getting so much negative feedback on their forums, Amazon reviews and tech sites, Logitech have changed their minds and done a full 180° degrees.

"We’ve heard your concerns. We understand that some customers are frustrated with the recent security fix we put in place, as it closed access to private local API controls. While security continues to be a priority for us, we are working to provide a solution for those who still want access despite the inherent security risks involved.

If you would like to participate in an XMPP beta program, which will allow access to local controls, see the below instructions. Over the coming weeks, we will qualify a regular firmware release that still allows XMPP control for those who need it. We expect to send out an update that will be available to all Harmony customers in January.

Here are the instructions to access the program by updating the firmware on your Hub…"

https://community.logitech.com/s/question/0D55A00008D2zYDSAZ/harmony-hub-fw-415206


(Toby Field) #639

Hello

I just wanted to let people know that I just flashed my Harmony Hub to version 210 and it is now working again with the KuKu SmartApp. Follow the directions on this page and you will be good to go.

https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities

Good luck.

Toby


#640

Thank you for your information.


#641

@KuKu Can you make this a sticky or part of the first post?


#643

Hello,

it’s so weird.
I can not find ‘Edit’ button in this post…
Other post that I wrote can edit…


#644

Oh well. Maybe do an update post to explain the issue and solution as this is a very long g thread and not everyone will be able to find all the posts.


(Charles) #645

This is great, and I got it working this AM. It’s nice to finally be able to use Harmony for what I bought it.

I am curious though, is it possible to change the buttons, particularly for AC? One of my AC units the presets line up well, but the smarter one would like an option for fan speed up/down, timer up/down, sleep, energy saver, auto fan, and fan only. I’m using ‘custom’ for now, but it’d be great to have native support.

TV there are a whole assortment of buttons: Option, zoom, display, sleep, picture mode, favorite, audio, return, direction left/right/up/down, prev channel, channel list, closed caption, exit, aspect, netflix, iHeartRadio, inputhdmi1-4, input component, input cast, input tv link, vudu, guide, info, amazon. That being said, TV wise I’m pretty content with turning it on and off.

Thanks so much, this app is fantastic.


Actually apparently I’m having some trouble I’m not entirely sure how to troubleshoot.

Seems like the server is running, but the hub is not executing commands. If I got to ip/8282 in my browser I see the commands/hub but if I try to change anything through smartthings the hub doesn’t respond.

Associated question, I did the initial setup with docker as per the first post. Since I’m using a Pi and have NPM setup for a bunch of other things I’d much rather just use that. How would I go about that switchover, and is it possible to use PM2 instead of Forever?
@KuKu @Core_Phx


(Gene Clark) #646

For those who use Kuku Harmony I’ve got a couple questions. What’s the trick to getting power state synchronized correctly? Is that what the state monitor settings are for in SmartApp? Which should I set it at - contact or energy monitor? I’m confused how to set that all up. Additionally how do you access the custom commands from the device in SmartThings app?


(Denis Grabocka) #647

@KuKu Hello there and thank you for this great feature.
A while back i had downloaded an installed your KuKu-Harmony server on my Rpi and the necessary device handler and smart app. I had been using it perfectly for almost a year.

However last week i updated my wifi network and i had to reset the Harmony hub to join the new network and its SSID and it changed the harmony’s Ip address however my Raspberry Pi kukuHarmony-server’s IP address and my Smarthings Hubs are the same as they have always been.

The harmony hub is now registered on the network and works fine with its scenes and devices i restarted the Rpi and the kuku-harmony server and it is running on port 8282…however when i go to use my device on the ST app it does not work!!!
I deleted the old device and I tried to re-add as a new device on the kuku app and it keeps saying searching for harmony hub… and it does not find my hub on my network it just keep spinning.
What am i doing wrong?? Am i missing a step somewhere on the server side (i am sure i am putting the correct Raspberry Pi address and port number for the app to find the kuku-harmony server).
In the app… Discovering Harmony Hub. Please Wait and keeps spinning endlessly and HarmonyHub list: none
The server is running on my Rpi i made sure of that, that port 8282 was open and Listen-ing when i give the following command on the raspberry pi terminal netstat -tulpn

Any help on troubleshooting will be greatly appreciated like i said it was flawless up to know
Denis


#648

Hi @richland007,

Hm…
At first, would you check whether harmony-api does works.
By entering below command to web browser and check result.
192.168.1.37:8282/hubs

If result pages is shown but there is no hub in result, harmony-api is working well but can not find harmony hub.
Recently there is a FW update in Harmony hub preventing local api communication.
But Logitech provided a way of using local api communication because of user’s many request.
Please check below article and check your harmony hub’s status and enable option.

https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities


(Denis Grabocka) #649

yeap solved it
thank you


(Gene Clark) #650

Wondering if anyone can help me - scanning through open ports on my Pi and I know 8282 is for KuKu but I’ve also got 61991 open and it’s got the same PID. Can anyone confirm?


(Gene Clark) #651

Another question - can you add any parameters in webCoRE? What would you use for parameters?