Thanks to all the great work from @Lgkahn and @mark_cockcroft
This is my first smart things implementation and I’m having a blast. I’ve read thru the thread and can’t seem to figure out what I’m doing wrong.
I am using a raspberry pi with garage sensors that is triggered from a generic URL. For the contact sensor, I am using the smart things multi-sensor. I figure I’ll document the steps I’ve taken and hopefully someone will see a step I missed or did incorrectly and help me resolve.
- I created a Simulated Garage Door Button device type
- Add the HTTP Button Device Type to the IDE (I’m using this device handler)
- Publish the HTTP Button Device Type in the IDE
- Create the Simulated Garage Door Button Device
- Create the Simulated Button Device in the IDE
- Open the mobile app, and edit the Simulated button settings to define the URL and action variables
- Trigger the button in the mobile app and confirm that the URL is being called to the PI, and the button is actuated (this also confirmed that the call is coming local from the hub, and not from the cloud), the garage door opens or closes, and the sensor confirm that it now opened or closed.
- in the mobile app, moved the button to the room with the garage room to keep things organized
- create the Simulated Garage Door Opener Device Handler
- Back in the IDE, using the code in this thread (I’ve used both the original, and the modified version by @mark_cockcroft, I create the DH
- Publish the DH in the IDE
- Create the Simulated Garage Door Opener Device
- Go to my devices in the IDE and create the device
- In the mobile app, I see the device created, but there is no settings menu item yet
- in the mobile app, i move the new device to the garage room
- Create the Smart App
- In the IDE, i create a new smart app using the code in this thread
- I publish the smart app for me
- In the mobile app, I add a new smart app, and select the new LGK Virtual Garage Door App
- this is where I’m stuck.
When I try to install the App, I just get a screen that says “processing” with a spinning wheel. I’ve waited 15+minutes w/o resolution. Eventually I have to kill the mobile app, and when I open it back up, the LKG Smart App is there, but when I click on it, I either get a network communications error, or back to the spinning wheel.
Can anyone see an obvious mistake or something I’m doing wrong? Appreciate the help from everyone.
edit: I am able to get the simulator to work in the IDE, and it allows me to set the devices, and clicking the buttons actually actuates my door, i just can’t seem to get the smart app to install in the mobile app.