tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
385 stars 767 forks source link

(BUG) {Upgrade path from v1} #314

Closed adavison007 closed 4 years ago

adavison007 commented 4 years ago

Is there an upgrade path from v1 to v2 or do I delete all existing devices in homekit, do this install and then re add them?

tonesto7 commented 4 years ago

SmartApp:

Plugin:

adavison007 commented 4 years ago

Thanks, so when you say remove old bridge, do you mean my RPI homebridge from home kit? if so that would mean I loose all the devices from other plugins? or do you mean just remove the original v1 plugin?

I have over 120 devices via other homebridge plugins, so if you can confirm that would be great?

Adam Davison adavison@me.com mailto:adavison@me.com 01276 63145 07748 761448

On 16 Jan 2020, at 22:30, Tonesto7 notifications@github.com wrote:

SmartApp:

You can use the existing SmartApp and just update it to the latest code then go through the app and update any new settings. Plugin:

Can not be upgraded and requires you to remove the old bridge from the home app and clear the accessoryCache and persist folders. Then install the new plugin and update the old config.json — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tonesto7/homebridge-smartthings-v2/issues/68?email_source=notifications&email_token=ALKILFAMBVPLM6HY7F7KYUDQ6DNYFA5CNFSM4KH3QP72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJFY6XY#issuecomment-575377247, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKILFB3IKZGRK2VMPEHVVDQ6DNYFANCNFSM4KH3QP7Q.

tonesto7 commented 4 years ago

Technically you can just remove the plug-in from your home bridge instance but the way that the devices get cached might cause an issue. It’s either going to work or it’s not and I apologize that you have to do this but based on changing the type of plug-in requires a fresh start

adavison007 commented 4 years ago

I did the update as follows and all worked fine.

Removed the JSON config in Homebridge Updated the smart app code in the IDE Removed the plugin from Homebridge Restarted Homebridge Installed new plugin in All worked with existing devices

One question… My thermostats (Tado) usd to bring in three tiles… humidity, temprature and the main thermostat control as seperate tiles in Homekit… now with V2, I see humidity, but only as part of the thermostat in settings, so I can say show as seperate tiles?

AWESOME! Adam Davison adavison@me.com mailto:adavison@me.com 01276 63145 07748 761448

On 16 Jan 2020, at 23:08, Tonesto7 notifications@github.com wrote:

Technically you can just remove the plug-in from your home bridge instance but the way that the devices get cached might cause an issue. It’s either going to work or it’s not and I apologize that you have to do this but based on changing the type of plug-in requires a fresh start

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tonesto7/homebridge-smartthings-v2/issues/68?email_source=notifications&email_token=ALKILFBU62OOQETGVBSBMNDQ6DSGHA5CNFSM4KH3QP72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJF36ZQ#issuecomment-575389542, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKILFCW2BTJV4E2UZEEAB3Q6DSGHANCNFSM4KH3QP7Q.