2020-11-13, 06:09 PM
it uses zeroconf to find signalk with ServiceBrowser(zeroconf, "_http._tcp.local.", listener)
Then (from signalk.py):
r = requests.get('http://' + self.signalk_host_port + '/signalk')
contents = pyjson.loads(r.content)
self.signalk_ws_url = contents['endpoints']['v1']['signalk-ws'] + '?subscribe=none'
Does this answer the question of why it doesn't work? It would be great to fix this quickly, thanks for checking in here.
Then (from signalk.py):
r = requests.get('http://' + self.signalk_host_port + '/signalk')
contents = pyjson.loads(r.content)
self.signalk_ws_url = contents['endpoints']['v1']['signalk-ws'] + '?subscribe=none'
Does this answer the question of why it doesn't work? It would be great to fix this quickly, thanks for checking in here.