Coder Social home page Coder Social logo

turlvo / kukuharmony Goto Github PK

View Code? Open in Web Editor NEW
51.0 10.0 109.0 104 KB

SmartApp allowing you to control each 'Device' in Logitech Harmony Hub using Harmony-API

License: MIT License

Groovy 100.00%
harmony-api logitech-harmony smartapp harmony

kukuharmony's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kukuharmony's Issues

Newbie Help

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:

image

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!

Connection Refused

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
      ^

Hubitat Port

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

Cannot Find Hub on Smart Things App

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:

image

Please help!

Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.