Closed 5witch closed 6 years ago
Just to make sure we are on the same page... Do you now have 2 RPi's pointing to the same smartthings hub? If so, I've done something similar.
Here is what I've done: In the smartthings IDE (https://graph.api.smartthings.com) I have:
In the Smartthings App on my android phone I have the following SmartApps:
I think you can follow a similar configuration. In summary: 1 smart app, 1 device handler, 2 devices.
Bob
What you suggested works.
After getting my OpenHAB working with OpenHAB-Smartthings, I cloned my Raspberry Pi to a second device and changed the IP address & device name. Then I duplicated the OpenHab-Smartthings setup making minor changes to the code pasted into the Smartthings developer site. For example the second mySmartApp is called OpenHabAppV2_2 with code change definition( name: "OpenHabAppV2_2"...
and
My Device Handler is bobrak : OpenHabDeviceHandler2 with code change definition (name: "OpenHabDeviceHandler2"...
The rest of the config used the MAC and IP of the 2nd OpenHab2 device and a second automation in the SmartThings app (selecting all of the devices I want to use)
But I may have missed something as OpenHab2 Discovery does not work.