This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
SentientSwarm
About
- Username
- SentientSwarm
- Joined
- Visits
- 1
- Last Active
- Roles
- Member
Comments
-
I added lodash to the project so I could examine the result better. Homey.log("Null: " + _.isNull(result)); Homey.log("Undefined: " + _.isUndefined(result)); Homey.log("Empty: " + _.isEmpty(result)); Homey.log("String: " + _.isString(result))…
-
There doesn't seem to be an error. I changed the callback code to Homey.log(result) Homey.log("Error: '" + err + "'.") if (err) return Homey.error(err); Homey.log("Answer: '" + result + "'."); And now the result is: 1/4 -…