Coder Social home page Coder Social logo

Hubitat Port about kukuharmony HOT 7 CLOSED

turlvo avatar turlvo commented on June 2, 2024
Hubitat Port

from kukuharmony.

Comments (7)

turlvo avatar turlvo commented on June 2, 2024

hm...
Would you give me more logs(Full log)?
It seems that there is no log when you select device.
Did you means that ‘select device’ is ‘Select Device’ menu after ‘Add a device’ -> ‘Select Hub’?

from kukuharmony.

xxKeoxx avatar xxKeoxx commented on June 2, 2024

That is correct. So I add the harmony api server IP and port, then the menu to add devices shows up. I click on add Devices and immediately get a 500 error.

Let me see if there is a way to get more information from the logs.

from kukuharmony.

turlvo avatar turlvo commented on June 2, 2024

Well...
Although hubitat' is almost same architecture with SmartThings,
it seems that there is a little difference at SDK.

The code you mentioned is below.

        section("") {
            app( name: "harmonyDevices", title: "Add a device...", appName: "KuKu Harmony", namespace: "turlvo", multiple: true, uninstall: false)
        }

from kukuharmony.

xxKeoxx avatar xxKeoxx commented on June 2, 2024

Yeah. I found that line, but I couldn't figure out which function was being called to create the list of devices. Or even what was causing the 500 error.

from kukuharmony.

turlvo avatar turlvo commented on June 2, 2024

At the main page if you select 'Add a device...',
below page is executed.

// ------------------------------
// Pages realted to Child App
def mainChildPage() {
...
// finding hub by requesting harmony-api
discoverHubs(atomicState.harmonyApiServerIP)
...
//after selecting hub and requesting device list to harmony-api
discoverDevices(selectHub)

from kukuharmony.

xxKeoxx avatar xxKeoxx commented on June 2, 2024

Where is that function called from here:

section("") {
            app( name: "harmonyDevices", title: "Add a device...", appName: "KuKu Harmony", namespace: "turlvo", multiple: true, uninstall: false)
        }

I have a debug line in mainChildPage and that never shows up in the log, so I am inclined to believe it is not running.

from kukuharmony.

turlvo avatar turlvo commented on June 2, 2024

Hello,

Great!!. You did porting to Hubitat.
I saw your github and hubitat commnunity post.

I’ll close this issue.
Thank you.

from kukuharmony.

Related Issues (7)

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.