giejay / domoticz-gbridge-plugin

Domoticz plugin for the Kappelt gBridge
16 stars 4 forks source link

It seems to be ok, but it does not work. #16

Closed GieBek closed 4 years ago

GieBek commented 4 years ago

Hey. I do everything according to the instructions, after entering "gBridge" in the description and synchronizing, the device appears in the Google Home application.

But after changing the state, nothing changes. What am I doing wrong? Please help.

Below my LOG:

2019-07-16 22:16:15.876 (gBridge) Disconnect directive received for 'mqtt.gbridge.io:8883'. 2019-07-16 22:16:15.879 (gBridge) Handling TCP disconnect, socket (mqtt.gbridge.io:8883) is connected 2019-07-16 22:16:15.879 (gBridge) Queued asyncronous secure read aborted. 2019-07-16 22:16:15.929 (gBridge) Disconnect event received for 'mqtt.gbridge.io:8883'. 2019-07-16 22:16:15.930 (gBridge) MqttClient::onDisonnect Disconnected from: mqtt.gbridge.io:8883 2019-07-16 22:16:15.930 (gBridge) MqttClient::Close 2019-07-16 22:16:15.930 (gBridge) onMQTTDisconnected 2019-07-16 22:16:15.930 (gBridge) Deallocating connection object 'mqtt.gbridge.io' (mqtt.gbridge.io:8883). 2019-07-16 22:16:15.930 (gBridge) onStop called 2019-07-16 22:16:15.840 Status: (gBridge) Stop directive received. 2019-07-16 22:16:15.840 Status: (gBridge) Exiting work loop. 2019-07-16 22:16:16.760 Status: (gBridge) Stopping threads. 2019-07-16 22:16:16.760 Status: (gBridge) Stopped. 2019-07-16 22:16:16.760 Status: (gBridge) Started. 2019-07-16 22:16:17.612 (gBridge) Debug logging mask set to: PYTHON PLUGIN DEVICE CONNECTION MESSAGE 2019-07-16 22:16:17.612 (gBridge) onStart called 2019-07-16 22:16:17.612 (gBridge) MqttClient::init 2019-07-16 22:16:17.612 (gBridge) MqttClient::Open 2019-07-16 22:16:17.613 (gBridge) gBridgeClient::init 2019-07-16 22:16:17.613 (gBridge) DomoticzClient::init 2019-07-16 22:16:17.613 (gBridge) Starting sync 2019-07-16 22:16:17.617 (gBridge) Calling API for action: Fetching all devices from gBridge, url: https://gbridge.kappelt.net/api/device 2019-07-16 22:16:17.606 Status: (gBridge) Entering work loop. 2019-07-16 22:16:17.608 Status: (gBridge) Initialized version 0.0.14 2019-07-16 22:16:18.107 (gBridge) Successfully executed action: Fetching all devices from gBridge, response: [{"device_id":6716,"name":"czujnik","user_id":1485,"devicetype_id":5,"twofa_type":null,"twofa_pin":null},{"device_id":6722,"name":"Korytarz - \u015awiat\u0142o","user_id":1485,"devicetype_id":1,"twofa_type":null,"twofa_pin":null}] 2019-07-16 22:16:18.346 (gBridge) Linked devices: {} 2019-07-16 22:16:18.349 (gBridge) Domoticz devices available for gBridge: dict_keys(['czujnik', 'Korytarz - Światło']) 2019-07-16 22:16:18.351 (gBridge) Done 2019-07-16 22:16:18.351 (gBridge) Protocol set to: 'MQTTS'. 2019-07-16 22:16:18.351 (gBridge) Transport set to: 'TCP/IP', mqtt.gbridge.io:8883. 2019-07-16 22:16:18.442 (gBridge) Connect directive received, action initiated successfully. 2019-07-16 22:16:18.693 (gBridge) onConnect called 2019-07-16 22:16:18.693 (gBridge) MQTT connected !!!!successfully. 2019-07-16 22:16:18.693 (gBridge) MqttClient::Connect 2019-07-16 22:16:18.693 (gBridge) MQTT CONNECT ID: 'Domoticz_1563308178' 2019-07-16 22:16:18.694 (gBridge) Sending 60 bytes of data 2019-07-16 22:16:18.694 (gBridge) 10 3a 00 04 4d 51 54 54 04 c2 00 3c 00 13 44 6f 6d 6f 74 69 .:..MQTT.�.<..Domoti 2019-07-16 22:16:18.694 (gBridge) 63 7a 5f 31 35 36 33 33 30 38 31 37 38 00 0d 67 62 72 69 64 cz_1563308178..gbrid 2019-07-16 22:16:18.694 (gBridge) 67 65 2d 75 31 34 38 35 00 0a 41 6c 69 31 37 37 36 37 34 2a ge-u1345..***** 2019-07-16 22:16:27.960 (gBridge) Heartbeating... 2019-07-16 22:16:27.969 (gBridge) MqttClient::Ping 2019-07-16 22:16:27.969 (gBridge) Sending 2 bytes of data 2019-07-16 22:16:27.969 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 22:16:28.020 (gBridge) Received 2 bytes of data 2019-07-16 22:16:28.020 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 22:16:28.021 (gBridge) Message from base 2019-07-16 22:16:28.021 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-16 22:16:47.924 (gBridge) Heartbeating... 2019-07-16 22:16:47.924 (gBridge) MqttClient::Ping 2019-07-16 22:16:47.925 (gBridge) Sending 2 bytes of data 2019-07-16 22:16:47.925 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 22:16:47.975 (gBridge) Received 2 bytes of data 2019-07-16 22:16:47.975 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 22:16:47.976 (gBridge) Message from base 2019-07-16 22:16:47.976 (gBridge) Incoming message!{'Verb': 'PINGRESP'}

giejay commented 4 years ago

So after saying, Hey google, turn on zujnik, you dont see any message in the log?

GieBek commented 4 years ago

Nothing happens. After saying "ok google, turn on czujnik", google searches for links on the page.

LOG is the same all the time:

2019-07-16 23:04:05.568 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:05.618 (gBridge) Received 2 bytes of data 2019-07-16 23:04:05.618 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:05.618 (gBridge) Message from base 2019-07-16 23:04:05.618 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-16 23:04:15.608 (gBridge) Heartbeating... 2019-07-16 23:04:15.608 (gBridge) MqttClient::Ping 2019-07-16 23:04:15.608 (gBridge) Sending 2 bytes of data 2019-07-16 23:04:15.608 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:15.659 (gBridge) Received 2 bytes of data 2019-07-16 23:04:15.659 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:15.659 (gBridge) Message from base 2019-07-16 23:04:15.659 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-16 23:04:28.504 (gBridge) Heartbeating... 2019-07-16 23:04:28.504 (gBridge) MqttClient::Ping 2019-07-16 23:04:28.504 (gBridge) Sending 2 bytes of data 2019-07-16 23:04:28.504 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:28.555 (gBridge) Received 2 bytes of data 2019-07-16 23:04:28.555 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:28.555 (gBridge) Message from base 2019-07-16 23:04:28.555 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-16 23:04:38.542 (gBridge) Heartbeating... 2019-07-16 23:04:38.549 (gBridge) MqttClient::Ping 2019-07-16 23:04:38.549 (gBridge) Sending 2 bytes of data 2019-07-16 23:04:38.550 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:38.600 (gBridge) Received 2 bytes of data 2019-07-16 23:04:38.600 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-16 23:04:38.600 (gBridge) Message from base 2019-07-16 23:04:38.600 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-16 23:04:48.669 (gBridge) Heartbeating... 2019-07-16 23:04:48.669 (gBridge) MqttClient::Ping 2019-07-16 23:04:48.669 (gBridge) Sending 2 bytes of data

The update of the switches and synchronization work properly.

image

image

GieBek commented 4 years ago

Maybe I have something wrong here, I have no idea what else I can do. I reset, removed the plugin in Domoticz, I reset the Google HOME application and Google Asistance.

image

giejay commented 4 years ago

Your base topic is wrong. It should be gBridge/u1234

GieBek commented 4 years ago

yes, I have specifically changed it.

image

giejay commented 4 years ago

Use a slash instead of a '-'

GieBek commented 4 years ago

2019-07-17 21:46:05.904 Error: (gBridge) No transport, write directive to 'mqtt.gbridge.io' ignored.

giejay commented 4 years ago

Retry for a few times, should.work in the end

GieBek commented 4 years ago

When I get back from work, I will reinstall Domoticz, put in a gBridge plugin and try everything again.

This is how my log and settings look like today. I have no idea what else I could change, so we'll see at the new Domoticz

image

2019-07-17 23:31:24.422 (gBridge) Disconnect directive received for 'mqtt.gbridge.io:8883'. 2019-07-17 23:31:24.426 (gBridge) Handling TCP disconnect, socket (mqtt.gbridge.io:8883) is connected 2019-07-17 23:31:24.426 (gBridge) Queued asyncronous secure read aborted. 2019-07-17 23:31:24.476 (gBridge) Disconnect event received for 'mqtt.gbridge.io:8883'. 2019-07-17 23:31:24.477 (gBridge) MqttClient::onDisonnect Disconnected from: mqtt.gbridge.io:8883 2019-07-17 23:31:24.477 (gBridge) MqttClient::Close 2019-07-17 23:31:24.478 (gBridge) onMQTTDisconnected 2019-07-17 23:31:24.478 (gBridge) Deallocating connection object 'mqtt.gbridge.io' (mqtt.gbridge.io:8883). 2019-07-17 23:31:24.478 (gBridge) onStop called 2019-07-17 23:31:24.396 Status: (gBridge) Stop directive received. 2019-07-17 23:31:24.397 Status: (gBridge) Exiting work loop. 2019-07-17 23:31:25.197 Status: (gBridge) Stopping threads. 2019-07-17 23:31:25.198 Status: (gBridge) Stopped. 2019-07-17 23:31:25.198 Status: (gBridge) Started. 2019-07-17 23:31:26.262 (gBridge) Debug logging mask set to: PYTHON PLUGIN DEVICE CONNECTION MESSAGE 2019-07-17 23:31:26.262 (gBridge) onStart called 2019-07-17 23:31:26.263 (gBridge) MqttClient::init 2019-07-17 23:31:26.263 (gBridge) MqttClient::Open 2019-07-17 23:31:26.263 (gBridge) gBridgeClient::init 2019-07-17 23:31:26.263 (gBridge) DomoticzClient::init 2019-07-17 23:31:26.263 (gBridge) Starting sync 2019-07-17 23:31:26.267 (gBridge) Calling API for action: Fetching all devices from gBridge, url: https://gbridge.kappelt.net/api/device 2019-07-17 23:31:26.257 Status: (gBridge) Entering work loop. 2019-07-17 23:31:26.258 Status: (gBridge) Initialized version 0.0.14 2019-07-17 23:31:27.249 (gBridge) onConnect called 2019-07-17 23:31:27.249 (gBridge) MQTT connected !!!!successfully. 2019-07-17 23:31:27.249 (gBridge) MqttClient::Connect 2019-07-17 23:31:27.249 (gBridge) MQTT CONNECT ID: 'Domoticz_1563399087' 2019-07-17 23:31:27.249 (gBridge) Sending 60 bytes of data 2019-07-17 23:31:27.249 (gBridge) 10 3a 00 04 4d 51 54 54 04 c2 00 3c 00 13 44 6f 6d 6f 74 69 .:..MQTT.�.<..Domoti 2019-07-17 23:31:27.249 (gBridge) 63 7a 5f 31 35 36 33 33 39 39 30 38 37 00 0d 67 62 72 69 64 cz_1563399087..gbrid 2019-07-17 23:31:27.250 (gBridge) 67 65 2d 75 31 34 38 35 00 0a 41 6c 69 31 37 37 36 37 34 2a ge-u1485..*** 2019-07-17 23:31:27.350 (gBridge) Received 4 bytes of data 2019-07-17 23:31:27.350 (gBridge) 20 02 00 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .... 2019-07-17 23:31:27.350 (gBridge) Message from base 2019-07-17 23:31:27.350 (gBridge) Incoming message!{'Verb': 'CONNACK', 'Description': 'Connection Accepted', 'Status': 0} 2019-07-17 23:31:27.350 (gBridge) MqttClient::Subscribe['gbridge/u1485/#'] 2019-07-17 23:31:27.351 (gBridge) Sending 22 bytes of data 2019-07-17 23:31:27.351 (gBridge) 82 14 00 01 00 0f 67 62 72 69 64 67 65 2f 75 31 34 38 35 2f �.....gbridge/u1485/ 2019-07-17 23:31:27.351 (gBridge) 23 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. #. 2019-07-17 23:31:27.401 (gBridge) Received 5 bytes of data 2019-07-17 23:31:27.401 (gBridge) 90 03 00 01 80 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �...� 2019-07-17 23:31:27.401 (gBridge) Message from base 2019-07-17 23:31:27.401 (gBridge) Incoming message!{'Verb': 'SUBACK', 'PacketIdentifier': 1, 'Topics': [{'Description': 'Failure', 'Status': 128}]} 2019-07-17 23:31:27.402 (gBridge) onMQTTSubscribed 2019-07-17 23:31:47.213 (gBridge) Heartbeating... 2019-07-17 23:31:47.213 (gBridge) MqttClient::Ping 2019-07-17 23:31:47.213 (gBridge) Sending 2 bytes of data 2019-07-17 23:31:47.213 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:31:47.264 (gBridge) Received 2 bytes of data 2019-07-17 23:31:47.264 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:31:47.264 (gBridge) Message from base 2019-07-17 23:31:47.264 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-17 23:31:57.275 (gBridge) Heartbeating... 2019-07-17 23:31:57.275 (gBridge) MqttClient::Ping 2019-07-17 23:31:57.276 (gBridge) Sending 2 bytes of data 2019-07-17 23:31:57.276 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:31:57.326 (gBridge) Received 2 bytes of data 2019-07-17 23:31:57.326 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:31:57.326 (gBridge) Message from base 2019-07-17 23:31:57.327 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-17 23:32:07.296 (gBridge) Heartbeating... 2019-07-17 23:32:07.296 (gBridge) MqttClient::Ping 2019-07-17 23:32:07.296 (gBridge) Sending 2 bytes of data 2019-07-17 23:32:07.296 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:32:07.347 (gBridge) Received 2 bytes of data 2019-07-17 23:32:07.347 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:32:07.347 (gBridge) Message from base 2019-07-17 23:32:07.347 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-17 23:32:27.181 (gBridge) Heartbeating... 2019-07-17 23:32:27.181 (gBridge) MqttClient::Ping 2019-07-17 23:32:27.182 (gBridge) Sending 2 bytes of data 2019-07-17 23:32:27.182 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:32:27.232 (gBridge) Received 2 bytes of data 2019-07-17 23:32:27.232 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-17 23:32:27.232 (gBridge) Message from base 2019-07-17 23:32:27.233 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-17 23:32:37.229 (gBridge) Heartbeating... 2019-07-17 23:32:37.232 (gBridge) MqttClient::Ping

GieBek commented 4 years ago

New Domoticz, a new Google account, a new gBridge account, and the same. I do not have strength anymore :(. Even on the router I set the DMZ directly on the IP raspberry and I have a static IP. What else can I try to change?

giejay commented 4 years ago

Can you copy paste this exact topic name into the base topic, you keep making typos: gBridge/u1485. So with capital B and a slash.

GieBek commented 4 years ago

Typo is because of my combinations, unless I have something wrong. This is right now:

image

LOG: 2019-07-18 18:23:25.063 (gBridge) Disconnect directive received for 'mqtt.gbridge.io:8883'. 2019-07-18 18:23:25.063 (gBridge) Handling TCP disconnect, socket (mqtt.gbridge.io:8883) is connected 2019-07-18 18:23:25.064 (gBridge) Queued asyncronous secure read aborted. 2019-07-18 18:23:25.114 (gBridge) Disconnect event received for 'mqtt.gbridge.io:8883'. 2019-07-18 18:23:25.115 (gBridge) MqttClient::onDisonnect Disconnected from: mqtt.gbridge.io:8883 2019-07-18 18:23:25.115 (gBridge) MqttClient::Close 2019-07-18 18:23:25.115 (gBridge) onMQTTDisconnected 2019-07-18 18:23:25.116 (gBridge) Deallocating connection object 'mqtt.gbridge.io' (mqtt.gbridge.io:8883). 2019-07-18 18:23:25.116 (gBridge) onStop called 2019-07-18 18:23:25.034 Status: (gBridge) Stop directive received. 2019-07-18 18:23:25.035 Status: (gBridge) Exiting work loop. 2019-07-18 18:23:25.936 Status: (gBridge) Stopping threads. 2019-07-18 18:23:25.939 Status: (gBridge) Stopped. 2019-07-18 18:23:25.939 Status: (gBridge) Started. 2019-07-18 18:23:26.946 (gBridge) Debug logging mask set to: PYTHON PLUGIN DEVICE CONNECTION MESSAGE 2019-07-18 18:23:26.946 (gBridge) onStart called 2019-07-18 18:23:26.946 (gBridge) MqttClient::init 2019-07-18 18:23:26.946 (gBridge) MqttClient::Open 2019-07-18 18:23:26.946 (gBridge) gBridgeClient::init 2019-07-18 18:23:26.946 (gBridge) DomoticzClient::init 2019-07-18 18:23:26.946 (gBridge) Starting sync 2019-07-18 18:23:26.951 (gBridge) Calling API for action: Fetching all devices from gBridge, url: https://gbridge.kappelt.net/api/device 2019-07-18 18:23:26.940 Status: (gBridge) Entering work loop. 2019-07-18 18:23:26.941 Status: (gBridge) Initialized version 0.0.14 2019-07-18 18:23:27.412 (gBridge) Successfully executed action: Fetching all devices from gBridge, response: [{"device_id":6807,"name":"kot\u0142ownia","user_id":1485,"devicetype_id":1,"twofa_type":null,"twofa_pin":null},{"device_id":6808,"name":"Korytarz - \u015awiat\u0142o","user_id":1485,"devicetype_id":1,"twofa_type":null,"twofa_pin":null},{"device_id":6809,"name":"czujnik","user_id":1485,"devicetype_id":5,"twofa_type":null,"twofa_pin":null},{"device_id":6810,"name":"\u0141azienka - \u015awiat\u0142o lustro","user_id":1485,"devicetype_id":1,"twofa_type":null,"twofa_pin":null},{"device_id":6824,"name":"Okno","user_id":1485,"devicetype_id":1,"twofa_type":null,"twofa_pin":null}] 2019-07-18 18:23:27.638 (gBridge) Linked devices: {} 2019-07-18 18:23:27.641 (gBridge) Domoticz devices available for gBridge: dict_keys(['Łazienka - Światło lustro', 'kotłownia', 'Okno', 'Korytarz - Światło', 'czujnik']) 2019-07-18 18:23:27.643 (gBridge) Done 2019-07-18 18:23:27.643 (gBridge) Protocol set to: 'MQTTS'. 2019-07-18 18:23:27.643 (gBridge) Transport set to: 'TCP/IP', mqtt.gbridge.io:8883. 2019-07-18 18:23:27.692 (gBridge) Connect directive received, action initiated successfully. 2019-07-18 18:23:27.894 (gBridge) onConnect called 2019-07-18 18:23:27.894 (gBridge) MQTT connected !!!!successfully. 2019-07-18 18:23:27.894 (gBridge) MqttClient::Connect 2019-07-18 18:23:27.894 (gBridge) MQTT CONNECT ID: 'Domoticz_1563467007' 2019-07-18 18:23:27.894 (gBridge) Sending 60 bytes of data 2019-07-18 18:23:27.894 (gBridge) 10 3a 00 04 4d 51 54 54 04 c2 00 3c 00 13 44 6f 6d 6f 74 69 .:..MQTT.�.<..Domoti 2019-07-18 18:23:27.895 (gBridge) 63 7a 5f 31 35 36 33 34 36 37 30 30 37 00 0d 67 42 72 69 64 cz_1563467007..gBrid 2019-07-18 18:23:27.895 (gBridge) 67 65 2d 75 31 34 38 35 00 0a 47 62 30 39 37 31 37 30 38 2a ge-u1485..** 2019-07-18 18:23:27.995 (gBridge) Received 4 bytes of data 2019-07-18 18:23:27.995 (gBridge) 20 02 00 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .... 2019-07-18 18:23:27.996 (gBridge) Message from base 2019-07-18 18:23:27.996 (gBridge) Incoming message!{'Status': 0, 'Verb': 'CONNACK', 'Description': 'Connection Accepted'} 2019-07-18 18:23:27.996 (gBridge) MqttClient::Subscribe['gBridge/u1485/#'] 2019-07-18 18:23:27.996 (gBridge) Sending 22 bytes of data 2019-07-18 18:23:27.996 (gBridge) 82 14 00 01 00 0f 67 42 72 69 64 67 65 2f 75 31 34 38 35 2f �.....gBridge/u1485/ 2019-07-18 18:23:27.996 (gBridge) 23 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. #. 2019-07-18 18:23:28.047 (gBridge) Received 5 bytes of data 2019-07-18 18:23:28.047 (gBridge) 90 03 00 01 80 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �...� 2019-07-18 18:23:28.047 (gBridge) Message from base 2019-07-18 18:23:28.047 (gBridge) Incoming message!{'Topics': [{'Description': 'Failure', 'Status': 128}], 'Verb': 'SUBACK', 'PacketIdentifier': 1} 2019-07-18 18:23:28.047 (gBridge) onMQTTSubscribed 2019-07-18 18:23:37.208 (gBridge) Heartbeating... 2019-07-18 18:23:37.209 (gBridge) MqttClient::Ping 2019-07-18 18:23:37.209 (gBridge) Sending 2 bytes of data 2019-07-18 18:23:37.209 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-18 18:23:37.261 (gBridge) Received 2 bytes of data 2019-07-18 18:23:37.261 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-18 18:23:37.261 (gBridge) Message from base 2019-07-18 18:23:37.279 (gBridge) Incoming message!{'Verb': 'PINGRESP'} 2019-07-18 18:23:54.665 (gBridge) Heartbeating... 2019-07-18 18:23:54.666 (gBridge) MqttClient::Ping 2019-07-18 18:23:54.666 (gBridge) Sending 2 bytes of data 2019-07-18 18:23:54.666 (gBridge) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-18 18:23:54.717 (gBridge) Received 2 bytes of data 2019-07-18 18:23:54.717 (gBridge) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �. 2019-07-18 18:23:54.717 (gBridge) Message from base 2019-07-18 18:23:54.717 (gBridge) Incoming message!{'Verb': 'PINGRESP'}

giejay commented 4 years ago

I think this is the issue: 2019-07-18 18:23:28.047 (gBridge) Incoming message!{'Topics': [{'Description': 'Failure', 'Status': 128}], 'Verb': 'SUBACK', 'PacketIdentifier': 1}

Do you have strange characters in your password? Changing it to a simple password, as a test, might help

giejay commented 4 years ago

Your mqtt password is not perse the account password. Could you change it to be sure on the gBridge website?

GieBek commented 4 years ago

Thank you very much, it seemed to me that all the possibilities I did.

MQTT username: all lowercase letters as it is on the page. Honestly, it's a massacre :(.

image

giejay commented 4 years ago

And you changed the password right? And updated the hardware?

GieBek commented 4 years ago

No, changing the password did not help. It helped change the letter in the MQTT username. Earlier I had: gBridge-u1485 and it did not work, the error popped up:

I think this is the issue: 2019-07-18 18:23:28.047 (gBridge) Incoming message! {'Topics': [{'Description': 'Failure', 'Status': 128}], 'Verb': 'SUBACK', 'PacketIdentifier': 1}

It was not until I changed on gbridge-u1485 that the error disappeared. Just the big letter B was to blame. I did a test before and I changed the letter b to B and it stopped working.

Thank you again for your help. I did not need to bother you, it was 100% my fault. But I'm happy that it works. Thanks again.

giejay commented 4 years ago

Awesome!