Comments (7)
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.
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.
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.
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kukuharmony.