I have the bridge installed on two Pis (test/production). Both setups are almost identical and I am using Mosquitto on both. The bridge works perfectly on the test Pi, but am not able to do the same in the other Pi. Here are the logs:
4af84553-c102-4dc1-b6a4-1a7efbfc8336 12:19:43 PM: error java.lang.NullPointerException: Cannot invoke method deviceNotification() on null object @ line 502
4af84553-c102-4dc1-b6a4-1a7efbfc8336 12:19:43 PM: debug Updating subscription: {"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"acceleration":[],"alarm":[],"battery":[],"presence":["Alok Life360","Rashmi's Life360"],"button":[],"carbonDioxide":[],"carbonMonoxide":[],"hue":[],"saturation":[],"color":[],"colorTemperature":[],"consumable":[],"contact":[],"door":[],"energy":[],"illuminance":[],"image":[],"level":["LivingRoomSonos Sonos"],"lock":[],"activities":[],"currentActivity":[],"motion":[],"status":["LivingRoomSonos Sonos"],"trackDescription":["LivingRoomSonos Sonos"],"trackData":["LivingRoomSonos Sonos"],"mute":["LivingRoomSonos Sonos"],"pH":[],"power":[],"humidity":[],"switch":["Driveway"],"shock":[],"lqi":[],"rssi":[],"sleeping":[],"smoke":[],"sound":[],"steps":[],"goal":[],"soundPressureLevel":[],"tamper":[],"temperature":[],"heatingSetpoint":[],"coolingSetpoint":[],"thermostatSetpoint":[],"thermostatMode":[],"thermostatFanMode":[],"thermostatOperatingState":[],"threeAxis":[],"timeRemaining":[],"sessionStatus":[],"touch":[],"voltage":[],"water":[],"windowShade":[]}}}
8c9b3093-5f13-404e-b85c-fd1f968d5020 12:19:24 PM: debug Parsing 'index:17, mac:B827EB9A61AE, ip:C0A8020C, port:1F90, requestId:197d8284-40bd-4ca9-b143-2301d265d34a, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBUaHUsIDAxIERlYyAyMDE2IDE3OjE5OjI0IEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
4771e6a4-e3ee-4262-bb86-0091612e534a 12:19:23 PM: debug Updating subscription: {"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"acceleration":[],"alarm":[],"battery":[],"presence":["Alok Life360","Rashmi's Life360"],"button":[],"carbonDioxide":[],"carbonMonoxide":[],"hue":[],"saturation":[],"color":[],"colorTemperature":[],"consumable":[],"contact":[],"door":[],"energy":[],"illuminance":[],"image":[],"level":[],"lock":[],"activities":[],"currentActivity":[],"motion":[],"status":[],"trackDescription":[],"trackData":[],"mute":[],"pH":[],"power":[],"humidity":[],"switch":["Driveway"],"shock":[],"lqi":[],"rssi":[],"sleeping":[],"smoke":[],"sound":[],"steps":[],"goal":[],"soundPressureLevel":[],"tamper":[],"temperature":[],"heatingSetpoint":[],"coolingSetpoint":[],"thermostatSetpoint":[],"thermostatMode":[],"thermostatFanMode":[],"thermostatOperatingState":[],"threeAxis":[],"timeRemaining":[],"sessionStatus":[],"touch":[],"voltage":[],"water":[],"windowShade":[]}}}
8c9b3093-5f13-404e-b85c-fd1f968d5020 12:19:24 PM: debug Sending '{"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"acceleration":[],"alarm":[],"battery":[],"presence":["Alok Life360","Rashmi's Life360"],"button":[],"carbonDioxide":[],"carbonMonoxide":[],"hue":[],"saturation":[],"color":[],"colorTemperature":[],"consumable":[],"contact":[],"door":[],"energy":[],"illuminance":[],"image":[],"level":[],"lock":[],"activities":[],"currentActivity":[],"motion":[],"status":[],"trackDescription":[],"trackData":[],"mute":[],"pH":[],"power":[],"humidity":[],"switch":["Driveway"],"shock":[],"lqi":[],"rssi":[],"sleeping":[],"smoke":[],"sound":[],"steps":[],"goal":[],"soundPressureLevel":[],"tamper":[],"temperature":[],"heatingSetpoint":[],"coolingSetpoint":[],"thermostatSetpoint":[],"thermostatMode":[],"thermostatFanMode":[],"thermostatOperatingState":[],"threeAxis":[],"timeRemaining":[],"sessionStatus":[],"touch":[],"voltage":[],"water":[],"windowShade":[]}}}' to device
c2a22a06-2d7f-470c-94e3-6b8ffd2d6a7c 12:19:06 PM: debug Updating subscription: {"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"acceleration":[],"alarm":[],"battery":[],"presence":["Rashmi's Life360","Alok Life360"],"button":[],"carbonDioxide":[],"carbonMonoxide":[],"hue":[],"saturation":[],"color":[],"colorTemperature":[],"consumable":[],"contact":[],"door":[],"energy":[],"illuminance":[],"image":[],"level":["LivingRoomSonos Sonos"],"lock":[],"activities":[],"currentActivity":[],"motion":[],"status":["LivingRoomSonos Sonos"],"trackDescription":["LivingRoomSonos Sonos"],"trackData":["LivingRoomSonos Sonos"],"mute":["LivingRoomSonos Sonos"],"pH":[],"power":[],"humidity":[],"switch":["Driveway"],"shock":[],"lqi":[],"rssi":[],"sleeping":[],"smoke":[],"sound":[],"steps":[],"goal":[],"soundPressureLevel":[],"tamper":[],"temperature":[],"heatingSetpoint":[],"coolingSetpoint":[],"thermostatSetpoint":[],"thermostatMode":[],"thermostatFanMode":[],"thermostatOperatingState":[],"threeAxis":[],"timeRemaining":[],"sessionStatus":[],"touch":[],"voltage":[],"water":[],"windowShade":[]}}}
49f7cb2d-84cd-4e45-ad97-4cc3d13c6598 12:19:06 PM: debug Sending '{"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"acceleration":[],"alarm":[],"battery":[],"presence":["Rashmi's Life360","Alok Life360"],"button":[],"carbonDioxide":[],"carbonMonoxide":[],"hue":[],"saturation":[],"color":[],"colorTemperature":[],"consumable":[],"contact":[],"door":[],"energy":[],"illuminance":[],"image":[],"level":["LivingRoomSonos Sonos"],"lock":[],"activities":[],"currentActivity":[],"motion":[],"status":["LivingRoomSonos Sonos"],"trackDescription":["LivingRoomSonos Sonos"],"trackData":["LivingRoomSonos Sonos"],"mute":["LivingRoomSonos Sonos"],"pH":[],"power":[],"humidity":[],"switch":["Driveway"],"shock":[],"lqi":[],"rssi":[],"sleeping":[],"smoke":[],"sound":[],"steps":[],"goal":[],"soundPressureLevel":[],"tamper":[],"temperature":[],"heatingSetpoint":[],"coolingSetpoint":[],"thermostatSetpoint":[],"thermostatMode":[],"thermostatFanMode":[],"thermostatOperatingState":[],"threeAxis":[],"timeRemaining":[],"sessionStatus":[],"touch":[],"voltage":[],"water":[],"windowShade":[]}}}' to device
8c9b3093-5f13-404e-b85c-fd1f968d5020 12:18:11 PM: debug Parsing 'index:17, mac:B827EB9A61AE, ip:C0A8020C, port:1F90, requestId:9e2a740a-2832-4df4-bb70-e675cdcd9824, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBUaHUsIDAxIERlYyAyMDE2IDE3OjE4OjEwIEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
c2a22a06-2d7f-470c-94e3-6b8ffd2d6a7c 12:18:10 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Driveway","value":"off","type":"switch"}}
49f7cb2d-84cd-4e45-ad97-4cc3d13c6598 12:18:10 PM: debug Sending '{"path":"/push","body":{"name":"Driveway","value":"off","type":"switch"}}' to device
4771e6a4-e3ee-4262-bb86-0091612e534a 12:18:10 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Driveway","value":"off","type":"switch"}}
8c9b3093-5f13-404e-b85c-fd1f968d5020 12:18:10 PM: debug Sending '{"path":"/push","body":{"name":"Driveway","value":"off","type":"switch"}}' to device
4af84553-c102-4dc1-b6a4-1a7efbfc8336 12:18:10 PM: error java.lang.NullPointerException: Cannot invoke method deviceNotification() on null object @ line 549
4af84553-c102-4dc1-b6a4-1a7efbfc8336 12:18:10 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Driveway","value":"off","type":"switch"}}
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:10 PM: trace Notify: BinaryState = off
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:10 PM: debug Parsing 'index:06, mac:14918247EF01, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguMi40MjozOTUwMA0KQ09OVEVOVC1UWVBFOiB0ZXh0L3htbDsgY2hhcnNldD0idXRmLTgiDQpDT05URU5ULUxFTkdUSDogMTMyDQpOVDogdXBucDpldmVudA0KTlRTOiB1cG5wOnByb3BjaGFuZ2UNClNJRDogdXVpZDowZDk2MjE3NC0xZGQyLTExYjItYTU0MS1kNWVkYmViNmFhMjANClNFUTogNA==, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxCaW5hcnlTdGF0ZT4wPC9CaW5hcnlTdGF0ZT4KPC9lOnByb3BlcnR5Pgo8L2U6cHJvcGVydHlzZXQ+CgoN'
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:10 PM: trace Got SetBinaryStateResponse = 0
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:10 PM: debug Parsing 'index:17, mac:14918247EF01, ip:C0A802CE, port:C001, requestId:d6e4216b-99c6-4c8a-a84f-9d423245b7d9, headers:SFRUUC8xLjEgMjAwIE9LDQpDT05URU5ULUxFTkdUSDogMzc2DQpDT05URU5ULVRZUEU6IHRleHQveG1sOyBjaGFyc2V0PSJ1dGYtOCINCkRBVEU6IFRodSwgMDEgRGVjIDIwMTYgMTc6MTc6NTggR01UDQpFWFQ6DQpTRVJWRVI6IFVuc3BlY2lmaWVkL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KPGU6cHJvcGVydHk+CjxkZXZpY2VDdXJyZW50VGltZT4xNDgwNjEyNjc4PC9kZXZpY2VDdXJyZW50VGltZT4KPC9lOnByb3BlcnR5Pgo8L2U6cHJvcGVydHlzZXQ+CgoN'
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:09 PM: debug Using ip: C0A802CE and port: C001 for device: a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:09 PM: debug Executing 'off'
8c9b3093-5f13-404e-b85c-fd1f968d5020 12:18:07 PM: debug Parsing 'index:17, mac:B827EB9A61AE, ip:C0A8020C, port:1F90, requestId:dea55f0f-f3a0-4851-9ded-9315f361a843, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBUaHUsIDAxIERlYyAyMDE2IDE3OjE4OjA2IEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
c2a22a06-2d7f-470c-94e3-6b8ffd2d6a7c 12:18:06 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Driveway","value":"on","type":"switch"}}
4771e6a4-e3ee-4262-bb86-0091612e534a 12:18:06 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Driveway","value":"on","type":"switch"}}
49f7cb2d-84cd-4e45-ad97-4cc3d13c6598 12:18:06 PM: debug Sending '{"path":"/push","body":{"name":"Driveway","value":"on","type":"switch"}}' to device
8c9b3093-5f13-404e-b85c-fd1f968d5020 12:18:06 PM: debug Sending '{"path":"/push","body":{"name":"Driveway","value":"on","type":"switch"}}' to device
4af84553-c102-4dc1-b6a4-1a7efbfc8336 12:18:06 PM: error java.lang.NullPointerException: Cannot invoke method deviceNotification() on null object @ line 549
4af84553-c102-4dc1-b6a4-1a7efbfc8336 12:18:06 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Driveway","value":"on","type":"switch"}}
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: trace Notify: BinaryState = on
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: debug Parsing 'index:04, mac:14918247EF01, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguMi40MjozOTUwMA0KQ09OVEVOVC1UWVBFOiB0ZXh0L3htbDsgY2hhcnNldD0idXRmLTgiDQpDT05URU5ULUxFTkdUSDogMTMyDQpOVDogdXBucDpldmVudA0KTlRTOiB1cG5wOnByb3BjaGFuZ2UNClNJRDogdXVpZDowZDk2MjE3NC0xZGQyLTExYjItYTU0MS1kNWVkYmViNmFhMjANClNFUTogMg==, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxCaW5hcnlTdGF0ZT4xPC9CaW5hcnlTdGF0ZT4KPC9lOnByb3BlcnR5Pgo8L2U6cHJvcGVydHlzZXQ+CgoN'
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: debug Parsing 'index:03, mac:14918247EF01, headers:Tk9USUZZIC8gSFRUUC8xLjENCkhPU1Q6IDE5Mi4xNjguMi40MjozOTUwMA0KQ09OVEVOVC1UWVBFOiB0ZXh0L3htbDsgY2hhcnNldD0idXRmLTgiDQpDT05URU5ULUxFTkdUSDogMjI4DQpOVDogdXBucDpldmVudA0KTlRTOiB1cG5wOnByb3BjaGFuZ2UNClNJRDogdXVpZDowZDk2MjE3NC0xZGQyLTExYjItYTU0MS1kNWVkYmViNmFhMjANClNFUTogMQ==, body:PGU6cHJvcGVydHlzZXQgeG1sbnM6ZT0idXJuOnNjaGVtYXMtdXBucC1vcmc6ZXZlbnQtMS0wIj4KPGU6cHJvcGVydHk+CjxDb3VudGRvd25FbmRUaW1lPjE0ODA2MTgwNzU8L0NvdW50ZG93bkVuZFRpbWU+CjwvZTpwcm9wZXJ0eT4KPGU6cHJvcGVydHk+CjxkZXZpY2VDdXJyZW50VGltZT4xNDgwNjEyNjc1PC9kZXZpY2VDdXJyZW50VGltZT4KPC9lOnByb3BlcnR5Pgo8L2U6cHJvcGVydHlzZXQ+CgoN'
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: trace Got SetBinaryStateResponse = 1
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: debug Parsing 'index:17, mac:14918247EF01, ip:C0A802CE, port:C001, requestId:49e70c5f-2b3c-461a-8904-04ada279602c, headers:SFRUUC8xLjEgMjAwIE9LDQpDT05URU5ULUxFTkdUSDogMzc2DQpDT05URU5ULVRZUEU6IHRleHQveG1sOyBjaGFyc2V0PSJ1dGYtOCINCkRBVEU6IFRodSwgMDEgRGVjIDIwMTYgMTc6MTc6NTUgR01UDQpFWFQ6DQpTRVJWRVI6IFVuc3BlY2lmaWVkLCBVUG5QLzEuMCwgVW5zcGVjaWZpZWQNClgtVXNlci1BZ2VudDogcmVkc29uaWM=, body:PHM6RW52ZWxvcGUgeG1sbnM6cz0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbnZlbG9wZS8iIHM6ZW5jb2RpbmdTdHlsZT0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvc29hcC9lbmNvZGluZy8iPjxzOkJvZHk+Cjx1OlNldEJpbmFyeVN0YXRlUmVzcG9uc2UgeG1sbnM6dT0idXJuOkJlbGtpbjpzZXJ2aWNlOmJhc2ljZXZlbnQ6MSI+DQo8QmluYXJ5U3RhdGU+MTwvQmluYXJ5U3RhdGU+DQo8Q291bnRkb3duRW5kVGltZT4wPC9Db3VudGRvd25FbmRUaW1lPg0KPGRldmljZUN1cnJlbnRUaW1lPjE0ODA2MTI2NzU8L2RldmljZUN1cnJlbnRUaW1lPg0KPC91OlNldEJpbmFyeVN0YXRlUmVzcG9uc2U+DQo8L3M6Qm9keT4gPC9zOkVudmVsb3BlPg=='
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: debug Using ip: C0A802CE and port: C001 for device: a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e
a0ac5fb6-7f1e-4cba-8a68-6c8c6315a30e 12:18:06 PM: debug Executing 'on'
12:17:58 PM: info Waiting on events...
12:17:58 PM: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.
12:17:58 PM: info This console provides live logging of your SmartThings.
There are couple of errors for device 4af84553-c102-4dc1-b6a4-1a7efbfc8336, but am not sure how to resolve the same. Other than the errors in the log....there are no errors elsewhere (including in the app). I will appreciate any help/guidance...thanks!
I have the bridge installed on two Pis (test/production). Both setups are almost identical and I am using Mosquitto on both. The bridge works perfectly on the test Pi, but am not able to do the same in the other Pi. Here are the logs:
There are couple of
errors
for device 4af84553-c102-4dc1-b6a4-1a7efbfc8336, but am not sure how to resolve the same. Other than the errors in the log....there are no errors elsewhere (including in the app). I will appreciate any help/guidance...thanks!