turlvo / kukuharmony Goto Github PK
View Code? Open in Web Editor NEWSmartApp allowing you to control each 'Device' in Logitech Harmony Hub using Harmony-API
License: MIT License
SmartApp allowing you to control each 'Device' in Logitech Harmony Hub using Harmony-API
License: MIT License
Can only find custom numbers...know about this?
DTH are added from this github..
Hello,
I have Harmony-api installed on my Pi, but like many others that i've seen, find that it lacks the functionality of being able to control the individual devices, so I am trying KuKuHarmony. I'm new, so trying to decipher exactly what i'm supposed to be doing. in following the directions, I get the error:
I imagine that the container in use is from the Harmony-api. Does KuKuHarmony take the place of the Harmony-api, or does in run with the api?
Appreciate the help!
Hi,
Can you provide some direction on the error below?
docker run -ti --net=host --name harmony-api turlvo/harmony-api:latest /home/harmony-api/harmony-api/script/server
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
Starting discovery.
events.js:161
throw er; // Unhandled 'error' event
^
Error: Connection refused: Not authorized
at MqttClient._handleConnack (/home/harmony-api/harmony-api/node_modules/mqtt/lib/client.js:735:9)
at MqttClient._handlePacket (/home/harmony-api/harmony-api/node_modules/mqtt/lib/client.js:296:12)
at process (/home/harmony-api/harmony-api/node_modules/mqtt/lib/client.js:238:12)
at Writable.writable._write (/home/harmony-api/harmony-api/node_modules/mqtt/lib/client.js:248:5)
at doWrite (/home/harmony-api/harmony-api/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/home/harmony-api/harmony-api/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at Writable.write (/home/harmony-api/harmony-api/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at Socket.ondata (_stream_readable.js:555:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:189:7)
error: Forever detected script exited with code: 1
error: Script restart attempt #1
Starting discovery.
events.js:161
throw er; // Unhandled 'error' event
^
I am attempting to port this over to hubitat, and I am running into an issue where I get a 500 error when I attempt to select devices. I have been trying to figure out what is going on for 3 days now.
Can you give me any advice on how to debug this?
Here is the debug info I've added. Hopefully it helps you.
app:1732018-03-07 23:38:05.653:debug Line 818: [basement]
app:1732018-03-07 23:38:05.650:debug Line 810: discoverHubs_response: basement
app:1732018-03-07 23:38:05.649:debug Line 808: [hubs:[basement]] and [basement]
app:1732018-03-07 23:38:05.648:debug Line 803: discoverHubs_response >> [hubs:[basement]]
app:1732018-03-07 23:38:05.640:debug Line 107: KuKu Harmony Version
app:1732018-03-07 23:38:05.638:debug Line 104: harmony Devices
app:1732018-03-07 23:38:05.635:debug Line 95: discoverHubs
app:1732018-03-07 23:38:05.630:debug Line 89+: Harmony Hub List
app:1732018-03-07 23:38:05.625:debug Line 83+: dynamic main page
app:1732018-03-07 23:38:05.624:debug Line 78: atomicState = [basement]
app:1732018-03-07 23:38:05.617:debug Line 828: getHubAction>> ********:8282, /hubs, discoverHubs_response
app:1732018-03-07 23:38:05.616:debug Line 796: discoverHubs
app:1732018-03-07 23:38:05.612:debug Line 77: Running discoverHubs.
app:1732018-03-07 23:38:05.609:debug Line 71: Main Page
app:1732018-03-07 23:38:05.606:debug Line 64: parent Or Child Page
Hello,
I believe that I have Harmony API working correctly, I installed in on my Pi and it found the Harmony Hub, I added the Smart App to Smart Things, and when I create the Smart App on my mobile device, I add the Pi server address as the Harmony API Server with the port of 8282. When I go to add the device it never finds the hub. However, when I'm trying to find the hub, the command prompt on the Pi looks like something is talking to the Harmony API. Please see bleow:
Please help!
Thank you in advance!
Does kuku harmony support multiple hubs on the same harmony login?
physicalgraph.app.exception.UnknownDeviceTypeException: Device type 'KuKu Harmony_Fan' in namespace 'turlvo' not found. @line 512 (initializeChild)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.