Jump to content

Cannot connect to Bridge after changing wifi SOLVED


dbwarner5

Recommended Posts

Have had Polisy running Hue very successfully all year.  Needed to upgrade / change my house wifi. Went from an apple with a gateway address of 10.0.1.1 to a tp-link mesh with a gateway of 192.168.68.1.

I have uninstalled, reinstalled, restarted polisy, etc.4-5 times,  trying to get it to connect without any luck.

I have tried add custom parameters of ip ["192.168.68.74"] as well as bridges ["192.168.678.74"].  With and without the "  " and the [ ].

What is strange is that in the log, it still shows the. old ip under the 10.0.1 gateway and other ip addresses that have nothing to do with the HUE.

Any suggestions? thanks.

polyinterface:init_interface: Received Config from STDIN.
2020-09-04 13:41:15,035 MainThread polyinterface INFO __init__:<module>: UDI Polyglot v2 Interface 2.1.0 Starting...
2020-09-04 13:41:15,196 MainThread polyinterface DEBUG polyinterface:get_network_interface: gws: {'default': {2: ('192.168.68.1', 'igb0')}, 2: [('192.168.68.1', 'igb0', True)]}
2020-09-04 13:41:15,197 MainThread polyinterface DEBUG polyinterface:get_network_interface: gw: default=('192.168.68.1', 'igb0')
2020-09-04 13:41:15,198 MainThread polyinterface DEBUG polyinterface:get_network_interface: ifad: igb0=[{'addr': '192.168.68.76', 'netmask': '255.255.252.0', 'broadcast': '192.168.71.255'}]
2020-09-04 13:41:15,199 MainThread polyinterface INFO polyinterface:__init__: Connect: Network Interface: {'addr': '192.168.68.76', 'netmask': '255.255.252.0', 'broadcast': '192.168.71.255'}
2020-09-04 13:41:15,201 Interface polyinterface INFO polyinterface:_startMqtt: Connecting to MQTT... localhost:1883 2020-09-04 13:41:15,203 MainThread polyinterface INFO hue:__init__: Started Hue Protocol 2020-09-04 13:41:15,255 MQTT polyinterface INFO polyinterface:_connect: MQTT Connected with result code 0 (Success)
2020-09-04 13:41:15,256 MQTT polyinterface INFO polyinterface:_connect: MQTT Subscribing to topic: udi/polyglot/ns/3 - MID: 1 Result: 0
2020-09-04 13:41:15,257 MQTT polyinterface INFO polyinterface:_connect: MQTT Subscribing to topic: udi/polyglot/connections/polyglot - MID: 2 Result: 0
2020-09-04 13:41:15,258 MQTT polyinterface INFO polyinterface:_connect: Sent Connected message to Polyglot
2020-09-04 13:41:15,262 MQTT polyinterface INFO polyinterface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,)
2020-09-04 13:41:15,264 MQTT polyinterface INFO polyinterface:_subscribe: MQTT Subscribed Succesfully for Message ID: 2 - QoS: (0,)
2020-09-04 13:41:15,373 MQTT polyinterface INFO polyinterface:addNode: Adding node Hue Bridge(huebridge)
2020-09-04 13:41:15,374 MQTT polyinterface INFO polyinterface:_gotConfig: Waiting on Controller node to be added.......
2020-09-04 13:41:15,376 NodeServer polyinterface INFO hue:connect: Saved bridges information is not found
2020-09-04 13:41:15,377 NodeServer polyinterface INFO hue:connect: No bridge configuration found, trying discovery...
2020-09-04 13:41:15,378 NodeServer polyinterface INFO phue:connect: Attempting to connect to the bridge...
2020-09-04 13:41:15,391 NodeServer polyinterface INFO phue:connect: Using ip from config: 10.0.1.62
2020-09-04 13:41:15,398 NodeServer polyinterface INFO phue:connect: Using username from config: NIoLXwr6U6jqXfm4hWXCDa13BzUPl60DkfFrtpfg
2020-09-04 13:41:25,451 NodeServer polyinterface ERROR phue:request: GET Request to 10.0.1.62/api/NIoLXwr6U6jqXfm4hWXCDa13BzUPl60DkfFrtpfg/lights/ timed out.
Traceback (most recent call last): File "/var/polyglot/nodeservers/Hue/phue.py", line 651, in request connection.request(mode, address) File "/usr/local/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/usr/local/lib/python3.7/http/client.py", line 972, in send self.connect() File "/usr/local/lib/python3.7/http/client.py", line 944, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/local/lib/python3.7/socket.py", line 728, in create_connection raise err File "/usr/local/lib/python3.7/socket.py", line 716, in create_connection sock.connect(sa) socket.timeout: timed out 2020-09-04 13:41:25,467 NodeServer polyinterface ERROR hue:_get_lights: Timed out trying to connect to Hue Bridge. 2020-09-04 13:41:25,468 NodeServer polyinterface ERROR hue:connect: Connect: Failed to read Lights from the Hue Bridge

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.5k
    • Total Posts
      367.6k
×
×
  • Create New...