Closed boojew closed 6 years ago
Seems its not connecting at all. Can you post you ini file?
mqtt_clientid=Relay mqtt_topic_prefix=Relay mqtt_address=tcp://ha.myhost.com:9080 screen_timeout=20 proximity_threshold=5000 hide_status_bar=true relay_upper_flags=1 relay_lower_flags=2 send_proximity_trigger=true send_screen_state=true debug=true log_file=/data/local/tmp/wink_manager.log
Not sure if it was a coincidence or not, but I've moved mosca to 1883 (and the config) and it works now.
Ok - likely an issue on my side.. My apologizes... Would you know the answer to these two questions:
Thanks!
It can run on anything. No need for wink account
Ok - likely an issue on my side.. My apologizes... Would you know the answer to these two questions:
Did you ever get this resolved? I am seeing the exact same behavior for my device and am unsure what return code -3 indicates.
Edit: Nevermind me. After hours of pouring over config files, code, and log files... I realized I had typed the port as 1833, not 1883.
I've tried connecting from my Wink Relay to a Mosca broker running on port 9080, and in the logs, all I can see is that each attempt to write to the broker is failing (even w/ debug on). Right now, no authentication is on. Not sure what to do to further troubleshoot
7 11:50:28.557] [wink_manager] [debug] Sending "ON" on [Relay/screen/state] [2018-10-27 11:50:28.557] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:50:28.567] [wink_manager] [error] Connect failed, rc 0 [2018-10-27 11:50:28.817] [wink_manager] [debug] Sending "OFF" on [Relay/relays/0/state] [2018-10-27 11:50:28.817] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:50:28.818] [wink_manager] [debug] Sending "OFF" on [Relay/relays/1/state] [2018-10-27 11:50:28.818] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:50:28.826] [wink_manager] [debug] Sending "19.059999" on [Relay/sensors/temperature] [2018-10-27 11:50:28.826] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:50:28.847] [wink_manager] [debug] Sending "47.383999" on [Relay/sensors/humidity] [2018-10-27 11:50:28.847] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:50:48.779] [wink_manager] [debug] Screen state changed false [2018-10-27 11:50:48.779] [wink_manager] [debug] Sending "OFF" on [Relay/screen/state] [2018-10-27 11:50:48.779] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:50:52.329] [wink_manager] [error] Connect failed, rc -1 [2018-10-27 11:50:55.350] [wink_manager] [error] Connect failed, rc -1 [2018-10-27 11:50:58.539] [wink_manager] [info] Sending service call to hide status bar [2018-10-27 11:51:01.371] [wink_manager] [error] Connect failed, rc -1 [2018-10-27 11:51:10.388] [wink_manager] [error] Connect failed, rc -1 [2018-10-27 11:51:28.421] [wink_manager] [error] Connect failed, rc -1 [2018-10-27 11:51:37.034] [wink_manager] [debug] Sending "47.278999" on [Relay/sensors/humidity] [2018-10-27 11:51:37.034] [wink_manager] [error] Failed to send payload, return code -3 [2018-10-27 11:52:01.473] [wink_manager] [error] Connect failed, rc -1