stjohnjohnson / smartthings-mqtt-bridge

Bridge between SmartThings and MQTT
https://hub.docker.com/r/stjohnjohnson/smartthings-mqtt-bridge/
MIT License
366 stars 243 forks source link

Adding SmartApp in iOS fails silently #89

Open trebolcinco opened 7 years ago

trebolcinco commented 7 years ago

I have had no luck getting this working either from local instances or via the docker composed instances. Am on MacOs Sierra, I've followed the README.MD directions to the word.

When I go into iOS and "Add a SmartApp", select the MQTT bridge in the MyApps section and then the wheel spins for a second and nothing happens. The configuration panels never open nor can I open them later. IIn the IDE it shows in the "Installed Smart App" as installed, in fact every time I tap the Smart App MQTT-Bridge in the "Add a SmartApp" it adds another to the installed list. The list events has absolutely no debug statements for the device-handler, device or smartapp. The mqtt-bridge access.log and HA logs are also clean excepting general stuff. I've copied the MAC address from my WiFi card and tried other MAC addresses just in case with no good luck.

Been coding for a long time and I think I have looked everywhere.

trebolcinco commented 7 years ago

I spent a bit of time debugging and know how to hack it to work. If I remove this:

section("Send Notifications?") { input("recipients", "contact", title: "Send notifications to", multiple: true, required: false) }

From the SmartApp.groovy it loads fine. Any idea why that would cause it not to load?

stjohnjohnson commented 7 years ago

That's strange. Haven't updated the SmartApp in 2 months. Maybe they have a new release of their software that crashes at those lines. Really strange.