How to connect Mycroft-Android to Mycroft-core?

Hi,
How to connect Mycroft-Android to Mycroft-core?

  1. mycroft-core installed and running on ubuntu.
    “Hey Mycroft what is your IP address?”
    192.168.0.10

  2. Mycroft-Android set the Mycroft IP address to 192.168.0.10

  3. Say something to Mycroft…
    “hello”
    Mycroft-Android message: “Connection to Mycroft has closed.”

  4. Tried Connecting from android phone to http://192.168.0.10:8181/

Traceback (most recent call last):
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/tornado/web.py”, line 1489, in _execute
result = self.prepare()
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/tornado/web.py”, line 2224, in prepare
raise HTTPError(self._status_code)
tornado.web.HTTPError: HTTP 404: Not Found

  1. ./start-mycroft.sh cli

Log Output: 0-5 of 5
============================================================================================================================ mycroft-core 18.8.8 ===
Establishing Mycroft Messagebus connection…
Looking for Messagebus websocket…
Looking for Messagebus websocket…
Looking for Messagebus websocket…
^— NEWEST —^

  1. Log Output:

Traceback (most recent call last):
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/websocket/_app.py”, line 168, in run_forever
host=host, origin=origin)
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/websocket/_core.py”, line 266, in connect
self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options))
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/websocket/_http.py”, line 63, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/websocket/_http.py”, line 116, in _open_socket
raise err
File “/home/ubuntu/Documents/project/mycroft-core/.venv/lib/python3.6/site-packages/websocket/_http.py”, line 105, in _open_socket
sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
23:34:22.239 - mycroft.messagebus.client.ws:on_error:83 - ERROR - Exception closing websocket: Exception(“Uncaught ‘error’ event.”,)
23:34:22.240 - mycroft.messagebus.client.ws:on_error:85 - WARNING - WS Client will reconnect in 60 seconds.

Hi there @david,

Unfortunately I don’t know much about Mycroft for Android - this is a community-driven project. I’d recommend joining the Android Chat Channel on Mycroft Chat and seeing if someone in that channel can assist.

Okay. Thanks kathyreid.