MQTT Hub/Gateway

Have you tried running the app from the command line to see if it logs any additional error data?

@HarriedeGroot I found the issue: apparently, an API endpoint needs to return proper JSON, otherwise ApiApp throws an exception. The MQTT Client API endpoints don’t return JSON, so an error is generated.

This is, of course, not documented anywhere :confounded:

Issue here: ApiApp throws exception when endpoints return un-JSON-serializable data · Issue #184 · athombv/homey-apps-sdk-issues · GitHub

1 Like