Hey, I'm having issues with Hubitat not sending subscriptions for certain devices in different configurations. Here is just an example of 2 devices. opengate & closegate. opengate does not work(work is defined has responding to on & off) and closegate does. opengate works fine if it's the only device defined. I go into MQTLINK APP and assign 2 my two devices with commands switch & refresh but when I hit done. the log only shows 1 device updated and subscribes to that 1 device. I can go in and out of that screen multiple times, but it only updates 1 device. yet 2 are configured. I have tried everything I can think of 2 fix the issue but I'm unable 2 @ this point. I show the broker log as well and it shows just closegate being updated. If add say 4 devices it will change which devices work and don't work and I can't figure out a pattern. Open & close gate will work fine and the newly added deivces may or may not work. restarting everthing does not seem to help
app:7372020-10-22 04:08:16.149 pm debugdevice event:
dev:7372020-10-22 04:08:06.198 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/closegate-610/refresh
dev:7372020-10-22 04:08:06.196 pm debug[deviceSubscribe] topic: closegate-610/refresh attribute: closegate-610
dev:7372020-10-22 04:08:06.185 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/closegate-610/switch
dev:7372020-10-22 04:08:06.183 pm debug[deviceSubscribe] topic: closegate-610/switch attribute: closegate-610
dev:7372020-10-22 04:08:06.174 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/system/notify
dev:7372020-10-22 04:08:06.172 pm debug[deviceSubscribe] topic: system/notify attribute: System
dev:7372020-10-22 04:08:06.155 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/contacts/notify
dev:7372020-10-22 04:08:06.153 pm debug[deviceSubscribe] topic: contacts/notify attribute: Contacts
dev:7372020-10-22 04:08:06.150 pm debug[deviceNotification] Received message from MQTT Link app: '{"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"switch":["closegate-610"],"refresh":["closegate-610"]}}}'
app:8012020-10-22 04:08:06.140 pm debug[updateSubscription] Updating subscription: {"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"switch":["closegate-610"],"refresh":["closegate-610"]}}}
app:8012020-10-22 04:08:06.075 pm debugInitializing app...
app:8012020-10-22 04:08:06.069 pm debug[updated] Updated with settings: [opengate-609:[Switch, Refresh], mqttLink:MQTT Link Driver, debugLogging:true, closegate-610:[Switch, Refresh], selectedDevices:[OpenGate, CloseGate]]
the broker log shows just 1 device.
1603400877: Sending PINGRESP to 93638c4c-8b0e-404b-9251-9e6b18e9c1ee1603395065708
1603400881: Received SUBSCRIBE from hubitat_coosa-island-hub-hub-000d
1603400881: hubitat/coosa-island-hub-hub-000d/contacts/notify (QoS 1)
1603400881: hubitat_coosa-island-hub-hub-000d 1 hubitat/coosa-island-hub-hub-000d/contacts/notify
1603400881: Sending SUBACK to hubitat_coosa-island-hub-hub-000d
1603400881: Received SUBSCRIBE from hubitat_coosa-island-hub-hub-000d
1603400881: hubitat/coosa-island-hub-hub-000d/system/notify (QoS 1)
1603400881: hubitat_coosa-island-hub-hub-000d 1 hubitat/coosa-island-hub-hub-000d/system/notify
1603400881: Sending SUBACK to hubitat_coosa-island-hub-hub-000d
1603400881: Received SUBSCRIBE from hubitat_coosa-island-hub-hub-000d
1603400881: hubitat/coosa-island-hub-hub-000d/closegate-610/switch (QoS 1)
1603400881: hubitat_coosa-island-hub-hub-000d 1 hubitat/coosa-island-hub-hub-000d/closegate-610/switch
1603400881: Sending SUBACK to hubitat_coosa-island-hub-hub-000d
1603400881: Received SUBSCRIBE from hubitat_coosa-island-hub-hub-000d
1603400881: hubitat/coosa-island-hub-hub-000d/closegate-610/refresh (QoS 1)
1603400881: hubitat_coosa-island-hub-hub-000d 1 hubitat/coosa-island-hub-hub-000d/closegate-610/refresh
1603400881: Sending SUBACK to hubitat_coosa-island-hub-hub-000d
1603400887: Received PINGREQ from 93638c4c-8b0e-404b-9251-9e6b18e9c1ee1603395065708
1603400887: Sending PINGRESP to 93638c4c-8b0e-404b-9251-9e6b18e9c1ee1603395065708
Here is another log when i click off and on both devices switch & refresh but only closegate gets subscription updated
dev:7372020-10-22 04:34:16.264 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/closegate-610/refresh
dev:7372020-10-22 04:34:16.262 pm debug[deviceSubscribe] topic: closegate-610/refresh attribute: closegate-610
dev:7372020-10-22 04:34:16.253 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/closegate-610/switch
dev:7372020-10-22 04:34:16.251 pm debug[deviceSubscribe] topic: closegate-610/switch attribute: closegate-610
dev:7372020-10-22 04:34:16.239 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/system/notify
dev:7372020-10-22 04:34:16.237 pm debug[deviceSubscribe] topic: system/notify attribute: System
dev:7372020-10-22 04:34:16.224 pm debug[subscribe] full topic: hubitat/coosa-island-hub-hub-000d/contacts/notify
dev:7372020-10-22 04:34:16.222 pm debug[deviceSubscribe] topic: contacts/notify attribute: Contacts
dev:7372020-10-22 04:34:16.215 pm debug[deviceNotification] Received message from MQTT Link app: '{"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"switch":["closegate-610"],"refresh":["closegate-610"]}}}'
app:8012020-10-22 04:34:16.205 pm debug[updateSubscription] Updating subscription: {"path":"/subscribe","body":{"devices":{"notify":["Contacts","System"],"switch":["closegate-610"],"refresh":["closegate-610"]}}}
app:8012020-10-22 04:34:16.125 pm debugInitializing app...
app:8012020-10-22 04:34:16.120 pm debug[updated] Updated with settings: [opengate-609:[Switch, Refresh], mqttLink:MQTT Link Driver, debugLogging:true, closegate-610:[Switch, Refresh], selectedDevices:[OpenGate, CloseGate]]
I'm using MQTTbox 2 test. I have tired a few differnt brokers. nothing helps. Note that it publishes the refreshs for both devices in this scenario just fine.