OpenVoiceOS - A bare minimal (production type of) OS based on Buildroot

Still sitting with the spinning OVOS screen an hour later. I think I am going to pull the plug and start over.

Something strange is going. Discard this image. Will see what the heck is going on in the morning.

1 Like

We are still investigating the multiple voice/STT initialisation bug but we updated our documentation a bit in the mean time.

https://openvoiceos.github.io/community-docs/getting_image/

Just trying the latest image you posted - looking good

  • physical buttons work, although not the LEDs
  • fan isn’t on constantly
  • spotify controlled from my phone works
  • KDE connect on Android pairs but doesn’t show any information

so far so good, need to play around with it a bit more but appreciate your efforts!

1 Like

Indeed, confirmed the KDEconnect hickup. Looking into it.

@JarbasAl Will be able to debug the leds when he has his Mark2 device, but think I know the issue as that plugin should be loaded by the admin PHAL service instead the user based one.

New development image is available here;
https://drive.google.com/file/d/1Yn-6v2gf_P2bcwpWSOhXd7384-9QP1c2/view?usp=share_link

All packages bumped
Setup skill fixed and a quick default setup route added for no backend selection
Fixed windows fileshares
Fixed KDEConnect
Added the file browser for testing
Added the Home Assistant phal WIP plugin for testing (Open Source Bounty: Home Assistant skill for the Neon AI OS for Mycroft Mark II / Neon Core OS)

1 Like

Thanks. Looking good so far, starting to play around with it.

1 Like

I run my mycroft on a spare laptop running ubuntu… any pointers on how I might install OVOS to play around with that setup?

The whole OVOS framework can be installed using PIP.

There is a small script that automate things flying by in our matrix channels for Manjaro. I can’t attach files here, but perhaps a copy & paste does the trick. You might need to change some stuff for your distribution.

#!/bin/bash

sudo pacman --noconfirm -Syu base-devel python-setuptools python python-gobject libffi swig portaudio mimic mpg123 screen flac curl icu libjpeg-turbo jq pulseaudio pulseaudio-alsa fann sox python-pip python-virtualenv wireless_tools
git clone https://github.com/OpenVoiceOS/ovos-core
cd ovos-core
python3 -m venv .venv
source .venv/bin/activate

pip3 install .#egg=ovos_core[all]

# misc
pip3 install git+https://github.com/OpenVoiceOS/OVOS-plugin-manager
pip3 install git+https://github.com/OpenVoiceOS/ovos-backend-client

# Install Plugins
pip3 install git+https://github.com/OpenVoiceOS/ovos_cli_client
pip3 install git+https://github.com/OpenVoiceOS/OVOS-plugin-manager
pip3 install git+https://github.com/OpenVoiceOS/ovos-backend-client
pip3 install git+https://github.com/OpenVoiceOS/ovos-phal

# OCP
pip3 install git+https://github.com/OpenVoiceOS/ovos-ocp-audio-plugin

# TTS
pip3 install git+https://github.com/OpenVoiceOS/ovos-tts-plugin-mimic
pip3 install git+https://github.com/OpenVoiceOS/ovos-tts-plugin-mimic2
pip3 install git+https://github.com/OpenVoiceOS/ovos-tts-plugin-google-tx
pip3 install git+https://github.com/NeonGeckoCom/neon-tts-plugin-larynx_server

# WakeWords
pip3 install git+https://github.com/OpenVoiceOS/ovos-ww-plugin-precise
pip3 install git+https://github.com/OpenVoiceOS/ovos-ww-plugin-vosk

# STT
pip3 install git+https://github.com/OpenVoiceOS/ovos-stt-plugin-chromium
pip3 install git+https://github.com/OpenVoiceOS/ovos-stt-plugin-selene
pip3 install git+https://github.com/OpenVoiceOS/ovos-stt-server-plugin

mkdir -p /home/$USER/.local/share/mycroft/skills

# Install Skills
(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-setup skill-ovos-setup.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-setup.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-homescreen skill-ovos-homescreen.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-homescreen.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-weather skill-ovos-weather.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-weather.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-camera skill-camera.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-camera.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-alarm skill-ovos-alarm.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-alarm.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-timer skill-ovos-timer.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-timer.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-wikipedia skill-ovos-wikipedia.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-wikipedia.openvoiceos && pip3 install -r requirements.txt)

(cd /home/ovos/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-date-time skill-ovos-date-time.openvoiceos)
(cd /home/ovos/.local/share/mycroft/skills/skill-ovos-date-time.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-volume skill-ovos-volume.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-volume.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-stop skill-ovos-stop.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-stop.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-notes skill-ovos-notes.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-notes.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-wolfie skill-ovos-wolfie.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-wolfie.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-ovos-youtube-music skill-ovos-youtube-music.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-ovos-youtube-music.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/food-wizard food-wizard.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/food-wizard.openvoiceos && pip3 install -r requirements.txt)

(cd /home/$USER/.local/share/mycroft/skills && git clone https://github.com/OpenVoiceOS/skill-news skill-news.openvoiceos)
(cd /home/$USER/.local/share/mycroft/skills/skill-news.openvoiceos && pip3 install -r requirements.txt)

# Install PHAL Plugins
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-wifi-setup
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-notification-widgets
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-network-manager
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-gui-network-client
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-alsa
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-system
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-dashboard
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-brightness-control-rpi
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-color-scheme-manager
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-configuration-provider
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-ipgeo
pip3 install git+https://github.com/OpenVoiceOS/ovos-PHAL-plugin-homeassistant

# Missing Fixes
pip3 install fann2
pip3 install padatious
pip3 install filelock
pip3 install six
pip3 install cffi
pip3 install git+https://git.skeh.site/skeh/pyaudio
pip3 install tutubo


# Always have these two in last to be upto date
pip3 install git+https://github.com/OpenVoiceOS/ovos_utils
pip3 install git+https://github.com/OpenVoiceOS/OVOS-workshop

# GUI Installation
echo "Installing Mycroft GUI"
sudo pacman --noconfirm -Syu cmake extra-cmake-modules kio kio-extras plasma-framework kirigami2 kirigami-addons qt5-websockets qt5-webview qt5-declarative qt5-multimedia qt5-quickcontrols2 qt5-webengine qt5-base qt5-virtualkeyboard qt5-location qt5-graphicaleffects qt5-networkauth qt5-svg qt5-tools qt5-xmlpatterns qt5-script libpulse plasma-nm plasma-pa qt5ct gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-plugin-va libva libva-utils ffmpeg qmltermwidget

(cd /home/$USER && git clone https://github.com/mycroftai/mycroft-gui)
cd /home/$USER/mycroft-gui
if [[ ! -d build-testing ]] ; then
  mkdir build-testing
fi
cd build-testing || exit 10
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make -j${MAKE_THREADS}
make install

echo "Installing Shell"
(cd /home/$USER && git clone https://github.com/OpenVoiceOS/ovos-shell)
cd /home/$USER/ovos-shell
if [[ ! -d build-testing ]] ; then
  mkdir build-testing
fi
cd build-testing || exit 10
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make -j${MAKE_THREADS}
make install

echo "Installing Lottie"
(cd /home/$USER && git clone https://github.com/kbroulik/lottie-qml)
cd lottie-qml
if [[ ! -d build-testing ]] ; then
  mkdir build-testing
fi
cd build-testing || exit 10
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make -j${MAKE_THREADS}
make install

Let us know how things go an / or what might needs changing.

1 Like

Hi, I have this plugin installed along with precise_lite on picroft but get an error “Cannot find plugin”. Any ideas?

@g3ar-v Yoy are talking about the precise-lite wake word plugin right?

Perhaps @JarbasAl Might be able to debug this.

1 Like

New development release available;

https://drive.google.com/file/d/1PUtNXfZ5jMUlVAgyN-KXPdVdX6r51eBw/view?usp=share_link

  • OCP error with youtube fixed
  • OCP - QTAV VideoPlayer support (for testing). Video playback is still buggy. We are working on that but for small screen devices not that much of an issue. However as Plasma Bigscreen uses the same codebase there that might be an issue.
  • Other packages are bumped since the last release
2 Likes

@j1nx I think it could be cleaner/easier to have this images on Github releases instead of Drive.

Something like that:

3 Likes

Yeah, I really need to have a look at that. Saw the other day that you can upooad the images as well.

Am a bit lazy on that repo if it comes down to utilizing PR’s and be more descriptive within commits as I am still kind of the only one commiting.

Anyhow, at some point when more people will work on it and / or amount of PR’s increase, i need to do better.

Really not that experienced with git / github.

Feel free to ping me, I can share some knowledge.

1 Like

Showcase of OAuth & Home Assistant;

You scan the QR-Code with your mobile that prompts you for your HASS credentials after which automagically your OpenVoiceOS device gets authorised.

The OAuth PHAL plugin is developed also for future skills such as Spotify and similar.

Please bare in mind that the voice control is not yet implemented but currently being worked by and under control of NeonGecko.

A big shout out of gratitude to our Friends over at NeonGecko.com @NeonClary

4 Likes

Having trouble with this image on my Mark 2 … on booting up it goes into a screen insisting I set up a raspberry pi account but doesn’t bring up an on screen keyboard, can’t get past this step

I tried a 2nd time - re-wrote the image and restarted my Mark 2 and the issue didn’t appear this time. Happy days.

[update] it is responding to ‘Hey Mycroft’ but it’s not obvious from the screen that it has woken up and is listening. Hitting the button on top makes the screen have a highlighted border.

1 Like

The hey mycroft should do the same?!?

We will investigate it.:+1:t2:

Thank tou very much for keep poking at it and reporting back.:muscle:t2:

It’s the least I can do … you’ve made my Mark 2 very useful.