[RELEASE] Homebridge SmartThings v2.0

A second issue I have with a door contact sensor, its not picking up the contact part just the battery.

Any ideas on how to get this working?

2020-07-07 14_54_02-Window

I am using the following device type: Z-Wave Door/Window Sensor

Managed to get this all working. Great. But does anyone know how to run the homebridge command on a pi shell as a background app?

And secondly, how to have it auto run on boot, and auto restart on fail.

Thanks

there is a new homebridge pi image. It can be found in the Homebridge Wiki on GitHub

I use pm2 as the process manager for auto start on boot, log management, etc.

Same here PM2 for auto start. I am also using Homebridge Config UI X, which makes for a really polished solution. Everything is really rock solid.

My Konnected sensors in SmartThings update in near realtime. I added the Homebridge smart app and have homebridge running on raspberry pi (most up-to-date versions), and the sensors in Homekit don’t seem to change state. Is there a refresh or something I can change to help? I can turn the siren on/off from Homekit, so stuff seems to be talking… Any idea what I’ve got wrong here?

I have been trying to install Homebridge v.2 but I keep getting stuck at the final stage because the App does not save my device selections and nothing showing up in my Home app.

I am able to install Homebridge and the Smartthings Plugin on my Raspberry Pi; the Smart App installs on my iPad without any problems and generates the configuration data; and the Home app finds Homebridge and lets me add it. But when I select devices in the Smart App, it does not save my selections and no devices show up in the Home app. The Smart App also does not save my setting when I try to disable SMH on the Homebridge App. I first tried installing with the classic Smartthings app without success. I tried using the new Smartthings App and it did seem to hold my my settings but the devices still failed to appear in the Home app. I have uninstalled and reinstalled Homebridge, the Rpi plugin and the Smart App multiple times but the problem persists.

Any advice? I am a complete novice, so I won’t be able to do any complicated coding. I had used Homebridge in the past and it worked flawessly. Any chance the earlier version is still available for me to try? Thanks!

I noticed for me with Homekit that sometimes status for devices take longer time to display. For automation this status is sometimes available earlier that it displays in the app. Can you check if it is really not updating or just displaying the update late?

Can you please post what you get in the log (IDE).

Also, post 119 above had a similar problem. Maybe that fixes it for you.

1 Like

Hi, this is the log from Config UI X. I only included the most recent logs from my last attempt to run Homebridge. This time, I was able to save my device selections in the Smartthings Smart App, but the devices still do not show up in the Home app.

[7/31/2020, 10:24:18 PM] [Config] Homebridge Config UI X v4.24.0 is listening on :: port 8581
[7/31/2020, 10:24:13 PM] Loaded plugin: homebridge-smartthings@2.3.4
[7/31/2020, 10:24:13 PM] Registering platform ‘homebridge-smartthings.SmartThings-v2’
[7/31/2020, 10:24:13 PM] —
[7/31/2020, 10:24:13 PM] Loading 1 platforms…
[7/31/2020, 10:24:13 PM] [Config] Initializing config platform…
[7/31/2020, 10:24:13 PM] [Config] Running in Service Mode
Setup Payload:
X-HM://0024PAM226G9M
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 745-12-170 │     
└────────────┘     

[7/31/2020, 10:24:15 PM] Homebridge is running on port 51307.
[7/31/2020, 10:24:20 PM] [Config] Added new user: admin
[7/31/2020, 10:24:20 PM] [Config] Username and password have been set to default:
[7/31/2020, 10:24:20 PM] [Config] Username: admin
[7/31/2020, 10:24:20 PM] [Config] Password: admin
[7/31/2020, 11:48:36 PM] [Config] Changes to config.json saved.
[7/31/2020, 11:53:09 PM] [Config] Homebridge restart request received
[7/31/2020, 11:53:09 PM] [Config] UI / Bridge settings have not changed; only restarting Homebridge process
[7/31/2020, 11:53:09 PM] [HB Supervisor] Sending SIGTERM to Homebridge
[7/31/2020, 11:53:09 PM] Got SIGTERM, shutting down Homebridge…
[7/31/2020, 11:53:14 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[7/31/2020, 11:53:19 PM] [HB Supervisor] Restarting Homebridge…
[7/31/2020, 11:53:19 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[7/31/2020, 11:53:19 PM] [HB Supervisor] Started Homebridge v1.1.1 with PID: 4536
[7/31/2020, 11:53:20 PM] Loaded config.json with 0 accessories and 2 platforms.
[7/31/2020, 11:53:20 PM] —
[7/31/2020, 11:53:23 PM] Loaded plugin: homebridge-config-ui-x@4.24.0
[7/31/2020, 11:53:23 PM] Registering platform ‘homebridge-config-ui-x.config’
[7/31/2020, 11:53:23 PM] —
[7/31/2020, 11:53:24 PM] Loaded plugin: homebridge-smartthings@2.3.4
[7/31/2020, 11:53:24 PM] Registering platform ‘homebridge-smartthings.SmartThings-v2’
[7/31/2020, 11:53:24 PM] —
[7/31/2020, 11:53:24 PM] Loading 2 platforms…
[7/31/2020, 11:53:24 PM] [Config] Initializing config platform…
[7/31/2020, 11:53:24 PM] [Config] Running in Service Mode
[7/31/2020, 11:53:24 PM] [SmartThings-v2] Initializing SmartThings-v2 platform…
INFO: Homebridge Version: 2.6
INFO: SmartThings-v2 Plugin Version: 2.3.4
INFO: Checking Package Version for Updates…
INFO: Fetching SmartThings-v2 Devices. NOTICE: This may take a moment if you have a large number of device data is being loaded!
GOOD: Refreshing All Device Data | Source: (First Launch)
Setup Payload:
X-HM://0024PAM226G9M
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 745-12-170 │     
└────────────┘     

[7/31/2020, 11:53:25 PM] Homebridge is running on port 51307.
ERROR: getDevices Error: [object Object] | Message: Request failed with status code 401
ALERT: Total Initialization Time: (3 seconds)
NOTICE: Unknown Capabilities:
INFO: SmartThings DeviceCache Size: (0)
INFO: WebServer Initiated…
INFO: Sending StartDirect Request to SmartThings | SendToLocalHub: (false)
INFO: Direct Connect Active | Listening at 192.168.1.178:8000
ERROR: sendStartDirect Error: [object Object] | Message: Request failed with status code 500
INFO: INFO: Your plugin version is up-to-date
NOTICE: Sending Plugin Status to SmartThings | UpdateAvailable: false | newVersion: 2.3.4
ERROR: sendUpdateStatus Error: [object Object] | Message: Request failed with status code 500

Can you please also post your logs from here:

https://graph.api.smartthings.com/ide/logs

This will help tell what’s going on on the Smartapp side.

Here is what I got when I refreshed the Smart App at 7:19 AM with just 6 Z-Wave lights selected (O/D - Back Patio Lanterns, O/D - Drive Steps lantern, O/D - West Yard Lantern, O/D Drive Entrance Lantern, O/D Driveway Lantern and )/D Front Steps Lantern). I only selected the portion that seemed relevant, but I am not very experienced with this so please let me know if you need something different.

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D - West Yard Lantern’, ‘descriptionText’:O/D - West Yard Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug dimmerEvents() BasicReport(value: 0)

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug BasicReport

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug Description is not updated

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug parse() >> zwave.parse(zw device: B0, command: 2003, payload: 00 )

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug dimmerEvents() BasicReport(value: 0)

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug BasicReport

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug Description is not updated

bd95c991-2fcc-40b3-bf77-b50b05050ed0 7:22:36 AM: debug parse() >> zwave.parse(zw device: B0, command: 2003, payload: 00 )

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Front Step Lantern (Hemlock)’, ‘descriptionText’:O/D Front Step Lantern (Hemlock) switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug dimmerEvents() BasicReport(value: 0)

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug BasicReport

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug Description is not updated

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug parse() >> zwave.parse(zw device: A1, command: 2003, payload: 00 )

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug dimmerEvents() BasicReport(value: 0)

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug BasicReport

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug Description is not updated

f60baef1-ddbf-4a0e-94fa-d0227cb74599 7:22:34 AM: debug parse() >> zwave.parse(zw device: A1, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Driveway Lantern’, ‘descriptionText’:O/D Driveway Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:21 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D - Back patio Lanterns’, ‘descriptionText’:O/D - Back patio Lanterns switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug dimmerEvents() BasicReport(value: 0)

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug BasicReport

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug Description is not updated

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug parse() >> zwave.parse(zw device: BF, command: 2003, payload: 00 )

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug dimmerEvents() BasicReport(value: 0)

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug BasicReport

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug Description is not updated

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:22:16 AM: debug parse() >> zwave.parse(zw device: BF, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Driveway Lantern’, ‘descriptionText’:O/D Driveway Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:22:04 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:54 GMT, server=Video-Core, x-st-application=Video-Core}

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:54 GMT, server=Video-Core, x-st-application=Video-Core}

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:54 GMT, server=Video-Core, x-st-application=Video-Core}

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:54 GMT, server=Video-Core, x-st-application=Video-Core}

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:54 GMT, server=Video-Core, x-st-application=Video-Core}

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:54 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:53 GMT, server=Video-Core, x-st-application=Video-Core}

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:53 AM: error unknown response: [status:error, data:[message:Malformed dni, errorcode:44]]

71b1eb10-3af0-43bf-ab09-fe947ce45046 7:21:53 AM: error unknown response: {content-length=68, connection=close, http/1.1 400 bad request=null, x-st-version=1.5.13, content-type=application/json, date=Sat, 01 Aug 2020 11:21:53 GMT, server=Video-Core, x-st-application=Video-Core}

da9b310e-305d-4bf4-9efc-ec27311c983b 7:21:46 AM: info [name:switch, value:on, type:switch]

da9b310e-305d-4bf4-9efc-ec27311c983b 7:21:46 AM: debug description is on/off: 1

da9b310e-305d-4bf4-9efc-ec27311c983b 7:21:45 AM: info [name:power, value:0, type:power]

da9b310e-305d-4bf4-9efc-ec27311c983b 7:21:45 AM: debug description is read attr - raw: 113E010B040A0B05290000, dni: 113E, endpoint: 01, cluster: 0B04, size: 10, attrId: 050b, result: success, encoding: 29, value: 0000

da9b310e-305d-4bf4-9efc-ec27311c983b 7:21:45 AM: info [name:power, value:0, type:power]

da9b310e-305d-4bf4-9efc-ec27311c983b 7:21:45 AM: debug description is read attr - raw: 113E010B040A0B05290000, dni: 113E, endpoint: 01, cluster: 0B04, size: 10, attrId: 050b, result: success, encoding: 29, value: 0000

475710bb-9bd1-46ff-9aee-7be13f00aa8c 7:21:45 AM: debug Parse returned ManufacturerSpecificReport(productTypeId: 260, manufacturerId: 134, manufacturerName: AEON Labs, productId: 117)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:22 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Driveway Lantern’, ‘descriptionText’:O/D Driveway Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:22 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:22 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:22 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:22 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

3749f32d-bc90-4786-a459-c55a5de9ed61 7:21:13 AM: debug Not parsing XML message:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<CurrentVolume>
8
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>

3749f32d-bc90-4786-a459-c55a5de9ed61 7:21:13 AM: trace Extracting current volume

3749f32d-bc90-4786-a459-c55a5de9ed61 7:21:13 AM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])

3749f32d-bc90-4786-a459-c55a5de9ed61 7:21:13 AM: trace getVolume()

3749f32d-bc90-4786-a459-c55a5de9ed61 7:21:13 AM: trace doPoll

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Driveway Lantern’, ‘descriptionText’:O/D Driveway Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:21:07 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

34c4ebd6-de8a-4ddb-a9cb-94b94c6d8229 7:21:05 AM: debug Not parsing XML message:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<CurrentVolume>
50
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>

34c4ebd6-de8a-4ddb-a9cb-94b94c6d8229 7:21:05 AM: trace Extracting current volume

34c4ebd6-de8a-4ddb-a9cb-94b94c6d8229 7:21:05 AM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])

34c4ebd6-de8a-4ddb-a9cb-94b94c6d8229 7:21:05 AM: trace getVolume()

34c4ebd6-de8a-4ddb-a9cb-94b94c6d8229 7:21:05 AM: trace doPoll

8cdd63e5-e53f-46a3-ad4e-8c610093ffad 7:20:45 AM: debug Not parsing XML message:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<CurrentVolume>
46
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>

8cdd63e5-e53f-46a3-ad4e-8c610093ffad 7:20:45 AM: trace Extracting current volume

8cdd63e5-e53f-46a3-ad4e-8c610093ffad 7:20:45 AM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])

8cdd63e5-e53f-46a3-ad4e-8c610093ffad 7:20:45 AM: trace getVolume()

8cdd63e5-e53f-46a3-ad4e-8c610093ffad 7:20:45 AM: trace doPoll

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:52 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D - Back patio Lanterns’, ‘descriptionText’:O/D - Back patio Lanterns switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:52 AM: debug dimmerEvents() BasicReport(value: 0)

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:52 AM: debug BasicReport

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:52 AM: debug Description is not updated

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:52 AM: debug parse() >> zwave.parse(zw device: BF, command: 2003, payload: 00 )

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:50 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D - Back patio Lanterns’, ‘descriptionText’:O/D - Back patio Lanterns switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:50 AM: debug dimmerEvents() BasicReport(value: 0)

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:50 AM: debug BasicReport

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:50 AM: debug Description is not updated

1fcf7de8-e45a-4c7a-ad7f-fd7e6b4d63a8 7:19:50 AM: debug parse() >> zwave.parse(zw device: BF, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Driveway Lantern’, ‘descriptionText’:O/D Driveway Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:42 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

5bc543c0-d3ba-49ad-b5dc-e40a264138c4 7:19:33 AM: debug healthPoll()

2eef1195-f285-4854-8ebb-38f8d2872a5a 7:19:24 AM: debug getChildDevices(false), children=1

2eef1195-f285-4854-8ebb-38f8d2872a5a 7:19:23 AM: debug getChildDevices(false), children=1

2eef1195-f285-4854-8ebb-38f8d2872a5a 7:19:23 AM: debug getChildDevices(false), children=1

2eef1195-f285-4854-8ebb-38f8d2872a5a 7:19:23 AM: debug getChildDevices(false), children=1

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug Parsed BasicReport(value: 0) to [[‘name’:‘switch’, ‘value’:‘off’, ‘linkText’:‘O/D Driveway Lantern’, ‘descriptionText’:O/D Driveway Lantern switch is off, ‘description’:’’, ‘isStateChange’:false, ‘isWitnessDeterminedStateChange’:true, ‘displayed’:false]]

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug dimmerEvents() BasicReport(value: 0)

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug BasicReport

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug Description is not updated

bf1a05ec-68a7-40e6-86df-8a9e8e9a123f 7:19:21 AM: debug parse() >> zwave.parse(zw device: 68, command: 2003, payload: 00 )

7be3ebad-683d-470a-b039-c8c257e15f83 7:19:09 AM: debug Not parsing XML message:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<CurrentVolume>
70
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>

7be3ebad-683d-470a-b039-c8c257e15f83 7:19:09 AM: trace Extracting current volume

7be3ebad-683d-470a-b039-c8c257e15f83 7:19:09 AM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])

7be3ebad-683d-470a-b039-c8c257e15f83 7:19:09 AM: trace getVolume()

7be3ebad-683d-470a-b039-c8c257e15f83 7:19:09 AM: trace doPoll

16a67f53-25df-44ec-9074-3dd90ff08a49 7:19:02 AM: trace Homebridge (v2.3.3) | sendDeviceRefreshCmd: null:null

16a67f53-25df-44ec-9074-3dd90ff08a49 7:18:59 AM: trace Homebridge (v2.3.3) | updateServicePrefs: null:null

Hm…, it looks like the Homebridge plugin can’t communicate with the Smartapp.

Can you double check that oAuth is enabled for the Smartapp and that the config data in the Smartapp matches the app is and app token in the plugin.

I also found this, where someone had the same error:

1 Like

That was it. For some reason the URL from the app was modified when I copied it from Smartthings and emailed it to myself to copy and paste in the config data. I typed in the correct URL manually and it is now working with Z-Wave lights!

One last question – How do I set up the Z-Wave lights as dimmers? The only options I see are for lights, Switches and Fans but when I select Lights I can only turn them on and off. Thanks again!!

It will recognize dimmers automatically.

I think this is based on the capabilities defined in the device handler in Smartthings.

Got it. It just took a while for the controls to show up. Everything seems to be working now. Thanks for your help and great work on this!

2 Likes

Should I still be following this advice or has things changed? Also is this advice applicable to those currently using SmartThings V2 plugin in HOOBS?

I just tried installing the homebridge-smartthings plugin (shows as 2.3.4 published May 16) but the plugin install failed. The following is what was displayed in the log:

8/4/2020, 2:30:07 AM path /home/hoobs/.hoobs/node_modules/fstream/node_modules/.bin/rimraf
8/4/2020, 2:30:07 AM npm
8/4/2020, 2:30:07 AM ERR! Refusing to delete /home/hoobs/.hoobs/node_modules/fstream/node_modules/.bin/rimraf: is outside /home/hoobs/.hoobs/node_modules/fstream/node_modules/rimraf and not a link
npm ERR! File exists: /home/hoobs/.hoobs/node_modules/fstream/node_modules/.bin/rimraf
npm
8/4/2020, 2:30:07 AM ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
8/4/2020, 2:30:08 AM
8/4/2020, 2:30:08 AM npm ERR!
8/4/2020, 2:30:08 AM A complete log of this run can be found in:
npm ERR! /home/hoobs/.npm/_logs/2020-08-04T06_30_07_861Z-debug.log

Should I manually install the plugin via command line and use --force as per the error message? Just want to make sure I don’t screw anything up with my HOOBS config. Thanks.

So, I don’t see any errors in the logs.

I went into the Homebridge v2 app on the iPhone and I removed all my devices and restarted the Homebrige on Raspberry pi. All the alarm contacts from Konnected disappeared in Home.

I’m looking at the iPhone app and want to make sure I’m adding them correctly. The Define Device Types doesn’t have a category for alarm contacts, the Select your Devices doesn’t either, but under Select your Devices > Others, I see all my alarm contacts, motion sensors, and alarm siren. Is this where I should be adding these devices?

thank you so much for your help!!! sorry for the long delay in response.

I don’t think it really matters where you add them. It should pick up all capabilities of the device in HomeKit.

I added one zone back into Homebridge v2 app on the iPhone. This is the log from startup of the Homebridge on Raspberry pi.

[8/6/2020, 12:30:39] Homebridge is running on port .
NOTICE: Temperature Unit is Now: (F)
WARN: Devices to Remove: (0)
INFO: Devices to Update: (0)
GOOD: Devices to Create: (1) [ ‘Front or Garage Door’ ]
INFO: Added Device: (Front or Garage Door | aa8e2911-9a9c-408b-8bfd-fb2ea1362428)
ALERT: Total Initialization Time: (3 seconds)
NOTICE: Unknown Capabilities:
INFO: SmartThings DeviceCache Size: (1)
INFO: WebServer Initiated…
INFO: Sending StartDirect Request to SmartThings | SendToLocalHub: (false)
INFO: Direct Connect Active | Listening at
[8/6/2020, 12:30:41] [MyQ2] myQ API: Successfully connected to the myQ API.
[8/6/2020, 12:30:54] [MyQ2] myQ API: Discovered device family garagedoor: Big Garage Door (serial number:
[8/6/2020, 12:30:54] [MyQ2] myQ API: Discovered device family garagedoor: Little Garage Door (serial number:
[8/6/2020, 12:30:54] [MyQ2] myQ API: Discovered device family gateway: MyQ Hub [Chamberlain Smart Garage Hub]
[8/6/2020, 12:30:55] [MyQ2] Big Garage Door: Battery status support enabled.
[8/6/2020, 12:30:55] [MyQ2] Little Garage Door: Battery status support enabled.
HAP Warning: Characteristic 00000079-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000041-0000-1000-8000-0026BB765291. Adding anyway.
HAP Warning: Characteristic 00000079-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 00000041-0000-1000-8000-0026BB765291. Adding anyway.
INFO: INFO: Your plugin version is up-to-date
NOTICE: Sending Plugin Status to SmartThings | UpdateAvailable: false | newVersion: 2.3.4