[RELEASE] HubiThings Replica

Okay, that makes sense, but is still 'no'. What is going on there is the Device List is HTML dynamic using the address that Hubitat knows and then a very specific path to the UI object.

So if you change your Hub address (which really isn't a suggested practice) that path would change to follow. It really doesn't do anything then route you similar.

Here is the code that forms that HTML URL:

 "http://${location.hub.getDataValue("localIP")}/device/edit/${replicaDevice.getId()}"
  "http://${location.hub.getDataValue("localIP")}/installedapp/configure/${smartDevice?.appId}"

Good question. :slight_smile:

2 Likes

Hi,

I have ZWave locks and gararage door opener in SmartThings but some how not listed in the list for me to select to replicate to HE with this.

What am I missing.

Please help me!

Thanks!

Locks & Garage Doors are hit or miss in functionality, but you should be able to see them regardless.

Please confirm you are authorizing them first in the OAuth Child application from the configuration section:

image

And each OAuth is location dependent. Confirm your location is correct.

Do you see any devices in the OAuth and just locks and the doors are missing?

1 Like

I only have 1 main location where all of my devices are in in ST. I see a lot of my devices in the list but not all of them specially lock and garage door opener

Please send private DM with a screenshot of the OAuth list.

REPLICA 1.3.05 RELEASE

New release Replica 1.3.05 supporting ST Scene mirroring, 200+ ST devices. Install instructions here with HPM updated to match.

Replica 1.3.05:

  • Support for ST Scene replication.
  • Support for 200+ ST devices.
  • Increased OAuth device subscription from 20 to 30.

Replica Scene Knob DH 1.3.0:

  • Used for ST<->HE Scene mirroring.
  • NOTE: A SmartThings virtual switch will be created, and it must be added to the SmartThings Scene 'actions' in the mobile ST app and set to update the switch to 'Turn on' when the scene is triggered as shown:

image

SAMSUNG DRIVERS+ BY DAVE

Please see here for new @djgutheinz device handlers and information.

Update 2023/02/26: Release 1.3.06. Change log here.

2 Likes

I just found this thread and will be working on getting this working on my HE.

I had a ST a few years back, but removed it once I got all my devices switched.
I recently bought an Induction cooktop and an air fryer range.

Would love to be able to tell if the light or oven has been on for more than x minutes.

My wife sometimes forgets to turn them off.

1 Like

Samsung Refrigerator Driver

  • Requires Replica_Samsung_Refrigerator driver plus two children: Replica_Samsung_Refrigerator_cavity, and Replica_Samsung_Refrigerator_icemaker.
  • Added installation steps: None
  • Design Notes:
    • If a child does not install, attempt the Configure Command on the parent device.
    • Not all commands are available on all of the large number of years/models of Samsung Refrigerators.
    • Design does not support scales nor patries.

Github Location: HubitatActive/HubiThingsReplica Drivers at master · DaveGut/HubitatActive · GitHub

Readme: HubitatActive/README.md at master · DaveGut/HubitatActive · GitHub

3 Likes

Just want to say this is awesome, blown away by the UI of the app. Right down to the little details with icons it is all awesome and flows perfectly. Did not even really need the instructions it was so intuitive.

I saw a lot of talk about this but never realized what it was. I only have a lonely Fridge and Oven on the ST Cloud and was using the drivers that had to be polled. Now I can get real time updates on the door sensors and temps. I am not even sure what I am going to do with it yet!

Nice work @Bloodtick_Jones and all who helped. Thanks @djgutheinz for the Fridge and Oven drivers. :clap: :clap: :clap:

I did notice one thing if it hangs anyone else up. When you are adding a device if you go to change the name of it before creating, you have to click off the entry box and let the page update itself before you click the Create button. I think this is just the way Hubitat is with apps. The first time I clicked the button right away and it I thought it was doing something but then it didn't create the device. Next time around I figured out my mistake.

EDIT: So when company is over people always somehow manage to turn the stove top on with fat bellies. I have the stove with the front knobs. I don't know how they manage to press and turn the knob without knowing it... But anyway... might put an indicator light on top of the cabinet or do an announce with Echo Speaks when the stove is turned on.

6 Likes

First, thank you for the kind words. It has been fun working with Dave and others on this project. :slight_smile:

...and to your statement on name fields, yes - you need to click out of the text field before the application will accept the change. I have not found a way to avoid this, but open to suggestions if someone does!

2 Likes

REPLICA 1.3.06 RELEASE

New release Replica 1.3.06 supporting ST Natural order sorting for device input dropdown selectors and large device lists greater than 25 items. Install instructions here with HPM updated to match.

Replica 1.3.06:

  • Natural Order on device input dropdown selectors.
  • Natural Order with device lists greater than 25 items using the jQuery DataTables widget.
  • Replica UI device list warning for HubiThings defined in HE but missing ST device (Not Authorized).

Possible HubiThings Device List errors:

image

Offline: SmartThings device has been declared offline by ST. This is also available as an event attribute in each Replica Device Handler.
Solution: Check ST UI to determine device status for resolution.

Not Authorized: ST device assigned to the HE device is no longer available.
Solution: Select new ST device for subscription in OAuth application and then return to 'Configure HubiThings Devices' and use the 'Replace' function to update the HE device [if required].

No Rules: The HubiThings device is missing 'rules' to describe mirroring between ST<->HE. This is required when not using Replica Device Handlers as child devices.
Solution: Use 'Configure HubiThings Rules' to match ST attributes/commands to HE attributes/commands as required.

SAMSUNG DRIVERS+ BY DAVE

New Samsung Refrigerator Driver

Please see here for new @djgutheinz device handlers and information.

Update 2023/03/14: Release 1.3.07. Change log here.

3 Likes

So i migrated to the C8. Replica migrated mostly but im.not getting device updates in Hubitat from ST. Device control is working fine and if I manually refresh a device it syncs its status.

Tried reauth and removeling readding devices.

Any thoughts?

The update events all come from the OAuth app. It should look like this if authorized correctly:

image

I don't have 'my' C-8 yet, but there isn't anything special that would prevent from working to my knowledge.

If OAuth looks funky, just hit the 'Delete API' and redo the authorization. It will remember all your devices so you will not loose anything after the new authorization completes.

3 Likes

Thanks for the quick response and that looks to have fixed it.

1 Like

Just discovered this App and I am so hopeful of it. Looks like my Fridge and Dishwasher are good, however my oven is not.

I have a flex oven where it can change between one oven, or put the divider in and get upper and lower.

I also have the Flex Washer and Flex Dryer (Upper and Main)

any plans to get these done? Anything I can do to help? (knowledge is very limited)

Oven driver is in final simulation at my house. This next week probably. Washer-dryer will be two weeks out from oven.

Hello I'm trying to install Hubithings Replica I get an error SmartThings API ERROR: groovyx.net.http.ResponseParseException: status code: 403, reason phrase: Forbidden when trying to create API in HubiThings OAuth is there a fix for this?
John

Setting aside the Parse exception for the moment, the 403 forbidden suggests that you might be using an incorrect or not fully authorized Personal Access Token (PAT). That's where I'd start.

1 Like

After i upgraded to the C8 one of my OAuth instances failed for a bit before recovering on it's own.

The OAuth will attempt to update its token every ~three hours. The token is actually good for 24 hours, so it would need to fail updates several times before you have problems. I have seen DNS resolution failure with the SmartThings API as the primary reason.