Manual installation on raspberry pi

I’m new in this forum and I recently discovered the mycroft project.

I would like to install picroft on a existing os like home assistant. I have two questions :
1 it’s possible to install manually the picroft on a existing raspbian image ?

2 The raspberry pi is capable to run simultaneously Hass and picroft ?

Thanks.

1 Like

Maybe do it the other way round as the docker hass is very easy

  1. yes, follow instructions for Linux installation

  2. Hass.io and Mycroft in parallel on a RPI3/4 will probably work, but I would keep my home automation always seperated from other tasks. You don’t want to sit in a dark and cold house because a Mycroft update broke a dependency from Hass.io. Stuart’s suggestion on using Docker could help here though…

1 Like

I just ran that on a Pi4-2gb on the Mycroft image


Seem to work fine for load.

Has anyone ever done a docker for Mycroft?

Never tried it myself, but there are some instruction for Mycroft on Docker available.

1 Like

Thanks for your answers, I will look to use docker

@quadeur74 were you able to get this working?
I am also attempting to run both Home Assistant and Mycroft via Docker on my Raspberry Pi 4B with standard Raspbian.

I use docker compose to successfully launch other applications (home assistant, deconz, rhasspy), but somehow, the mycroft container does not seem to load properly and continuously fails and restarts.

I pasted my docker-compose.yml config below. anyone has any idea what is going wrong here?

version: '3'
services:
  deconz:
    container_name: deconz
    image: marthoc/deconz
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ~/.local/share/dresden-elektronik/deCONZ:/root/.local/share/dresden-elektronik/deCONZ
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
    environment:
      - TZ=Europe/Berlin
      - DECONZ_WEB_PORT=801
      - DECONZ_WS_PORT=445
    restart: always
    network_mode: host
  mycroft:
    image: "mycroftai/docker-mycroft"
    container_name: mycroft
    volumes:
        - "~/mycroft:/root/.mycroft"
        - "${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native"
        - "~/.config/pulse/cookie:/root/.config/pulse/cookie"
    ports:
        - "8181:8181"
    devices:
        - "/dev/snd:/dev/snd"
    restart: always
    network_mode: host
  homeassistant:
    container_name: home-assistant
    image: homeassistant/raspberrypi4-homeassistant:stable
    volumes:
      - /home/pi/homeassistant:/config
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
    environment:
      - TZ=Europe/Berlin
    restart: always
    network_mode: host