Looking for help with OVOS

Hi, my name is George,

I am trying to install OVOS on my RaspberryPi 3.

I must admit, I am overwhelmed by the amount of information available.

I would greatly appreciate any help provided.

So far I have not been able to install a working copy of OVOS.
I tried this link and flashed separately both images on my micro usb card, 2 tests.
https://ovosimages.ziggyai.online/raspbian/newest/
raspOVOS-gui-dev.zip
raspOVOS-headless-dev.zip
I found out by reading the gui will not work on RaspberryPi 3
So I gave up on that specific gui image.
The headless image does not connect to the internet for me.
I tried both wired and wifi and have had no luck.
And yes, I copied the wpa_supplicant.conf file in the bootfs directory.

I also tried a development image… hoping for some luck from here:
https://ovosimages.ziggyai.online/raspbian/development/
02Mar2024_2137_raspOVOS-headless-dev.zip

I am willing to try this again, if somebody could guide me through the install to connect with my internet router.

Thanks and kind regards,
George

More things that I have tried:
I tried compiling my own working image. Yes, no success there either.

This link takes you to the buildroot project:
@@@://github.com/OpenVoiceOS/ovos-buildroot/tree/develop

On the right hand side of this page, where you see “Releases”,
I downloaded both alpha7 and alpha4 projects and tried to run the makefile.
Haha, no luck there either.

This link takes you to the makefile
@@@://github.com/OpenVoiceOS/ovos-buildroot/blob/develop/Makefile

I have to admit, it seems straightforward, and I am probably making a noobie error.
I extracted the directory with the project inside: (easy to do)

george-desktop:~/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7$

and ran the following:

george-desktop:~/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7$ make
mkdir -p release
config rpi3
make -C buildroot BR2_EXTERNAL=…/buildroot-external “rpi3_defconfig”
make[1]: Entering directory ‘/home/george/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7/buildroot’
make[1]: *** No rule to make target ‘rpi3_defconfig’. Stop.
make[1]: Leaving directory ‘/home/george/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7/buildroot’
make: *** [Makefile:21: rpi3-config] Error 2

Just so you know my ‘pwd’ here are the results:

george-desktop:~/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7$ pwd
/home/george/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7

I believe there is an error on line 19 of the makefile??? not sure.
19 $(TARGETS_CONFIG): %-config:

I insert the following line in the makefile to check:
(tab) @echo $(%-config)

lines 19 thru 22 below, just like that:

$(TARGETS_CONFIG): %-config:
@echo “config $"
@echo $(%-config)
$(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=…/$(BUILDROOT_EXTERNAL) "$
_defconfig”

And it seems the %-config is not defined as of yet in the code because it echos a blank line.

george-desktop:~/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7$ make
mkdir -p release
config rpi3
<----echo’s a blank line where it should be %-config
make -C buildroot BR2_EXTERNAL=…/buildroot-external “rpi3_defconfig”
make[1]: Entering directory ‘/home/george/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7/buildroot’
make[1]: *** No rule to make target ‘rpi3_defconfig’. Stop.
make[1]: Leaving directory ‘/home/george/George/Programming/RaspberryPi/raspOVOS/ovos-buildroot-0.1.0_alpha7/buildroot’
make: *** [Makefile:22: rpi3-config] Error 2

Should the -config be a _config???
Any help would be appreciated.

Thanks,
George
ps I changed the https to @@@
because I can only post 2 links… rules, rules, rules

what isnt working in the RaspOVOS images exactly? thats what most rpi3 users are running, and our direct replacement for picroft

other option is using the installer, but would like to solve any issues in the rpi3 image if it’s not working for you

building your own buildroot image is definitely a thing for advanced users and not meant for most users to do.

Hi Jarbas,

Thank you for the reply.

I installed the headless raspovos image with the raspberrypi imager app software on my ubuntu desktop.

On the usb micro, I can see the 2 directories, bootfs and rootfs.

In the bootfs directory, I copied the file: wpa_supplicant.conf

Inside this file:


ctrl_interface=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
ssid=“myRouterName”
scan_ssid=1
psk=“myRouterPassword”
key_mgmt=WPA-PSK
}


I do have my router hidden, but I read here for hidden network use the above file:

I haven’t been able to connect with the internet with the raspberry pi.
I have tried using both wifi and a wired directly into my router with a cable.

You have confirmed this should work.
I will keep trying and let you know.

Thanks,
George

Hi,

I have my speaker/mic comb plugged into the jack port and I can hear:

failed to connect to wifi
verify credentials and try again

So I think I am getting closer,
How can I fix this?

I was having this issue because my router was only broadcasting a 5Ghz signal and the Rpi3 will only connect to a 2.4Ghz signal.

Also, the WiFi plugin used, ovos-PHAL-plugin-balena does not play well with a WiFi6 router.

Im not quite sure why it won’t connect with an Ethernet cable, that one is new to me.

Also, instead of changing wpa_supplicant try using either nm-cli or nm-tui

I will give this image a go this evening and try some more testing.

Just for reference, what hardware are you using exactly. Rpi3b+ or?? and your speaker mic combo would be nice also. I am hoping to replicate your setup to do the testing.

Asus RTAC68U router has both 2.4 and 5 GHz

Raspberry Pi 3 Model B+
with 1.4GHz 64-bit quad-core processor,
dual-band wireless LAN, Bluetooth 4.2/BLE,
faster Ethernet, and Power-over-Ethernet support

Maxell Impulse Wired Earbuds with MIC- White IE
Nothing fancy here:

I wired it into the back of my router with an ethernet cable and I can see it on my router.
raspOvos 191.168.1.127

But when I talk into the speaker:
Hey Mycroft, what time is it?
I hear nothing.

https://openvoiceos.github.io/community-docs/032-qs_next_steps/

Is there a different wake word ?

You should hear a “beep” as an "im listening response " there was a break in the listener, i will build a new image tonight and see if that fixes the issue.

can I ssh onto the raspberry?
and see what is happening?

ssh ovos@raspovos

Pw: ovos

Also, if you use imager, do not change any settings. Ovos setsup a hotspot for you to connect to your WiFi.

Changing the username and wifi credentials have been known to cause issues.

that worked

ssh@myipaddress
pw = ovos

and I have logged onto ovos

Linux raspOvos 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Mar 15 18:55:07 2024

                                 ++.  .::::.  .++.
                                :****%@@@@@@%*+**:
                     :++        -#@@@@@@@@@@@@@@#=        ++:
                     -**.      .%@@@@@@@@@@@@@@@@%.       **=
                     =**:     .%@@@@@@@@@@@@@@@@@@%.     .**+
                     +**-    .%@@@@@@@@@@@@@@@@@@@@%:    -***
                     ***=   .%@@@@@@@@@@@@@@@@@@@@@@%    =***
             :-.     ***+   *@@@@@@@@@@@@@@@@@@@@@@@@#   +***.     -:
            .**+    .****  =@@@@@@@@@@@@@@@@@@@@@@@@@@+  ****:    =**:
            :***    :****.:%@@@@@@@@@@@@@@@@@@@@@@@@@@@:.****:    +**-
            -***.   -****:#@@@@@@@@@@@@@@@@@@@@@@@@@@@@#:****-   .***=
    -*+.    =***:   =****#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*****=   :***+    .+*=
   .***-    +***=   =****@@@@@@@@@@@%%#%@@@@@@@@@@@@@@@@@****+   -****    -***:
   =***+    ****+   +***%@@@@@@@@*-. .. .-*@@@@@@@@@@@@@@%***+   +****.   =***=
   *****   .*****   ****@@@@@@@#. -+ ...+. -#+--:-=+#@@@@@#***   *****:   *****.
  -*****:  :*****. .***%@@@@@@@:  .%=..**    ..:-:...-%@@@%***. .*****-  .*****-
  ******-  -*****- .**#@@@@@@@@    :@:=%.    =#=-+#-  .%@@@#**: :*****=  -*****+
 :******+  +*****= :**%@@@@@@@@-    -%%:     @-   +%   *@@@%**: -*****+  +******-
 +*******. ******+ -**#@@@@@*-.      ..      #*. .#*   #@@@%**- +******  *******+

-===++-.+.=#%%%%%: .=++=. -++± =%%%%%#= +.:++===-
:—:. -
. .+@@@@: :@- -@: -#*+++ .:+%@@@@@@@. - .:—:
-
+
-#@@@. =@…@= #. . .%@@@@@@@@@#+ +-
.
+ =:=@@@= .#–+# .=- : #@@@@@@@@@-= =.
+
= :. %@@@+. .–. .@-: .%@@@@@@@@ - -+
=
: .
*** -@@@@@=::::=++. +++
…:#@@@@@@@@%. . :=
:
. **** @@@@@@@@@@@@@%±…:-%@@@@@@@@@= +** -
*** +
+ #@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@+ =
+ +.
-± =
= .@@@*@@@@@@@@@@@@@@@@@@@@@@@@@@+ -= -+=
:
- *%@%+%@@@@@@@@@@@@@@@@@@@@@@@% --
:: +#@@##%@@@@@@@@@@@@@@@@@@@@#+ ::
=
***%@%%@@@@@@@@@@@@@@@@%#
=
-
** .+%@@@@@@@@@@@@@@@#= +-
:
+ :=%@@@@@@%%=. =:
.
= .::… -**.

                          ==============================
                          --- Welcome to OpenVoiceOS ---
                           raspOVOS development Edition
                          ==============================

OVOS Tool COMMANDs:
ovos-config Manage your local OVOS configuration files
ovos-listen Activate the microphone to listen for a command
ovos-speak Have OVOS speak a phrase to the user
ovos-say-to Send an utterance to OVOS as if spoken by a user

OVOS Docs COMMANDs:
ovos-docs-viewer community View the OVOS Community docs in the terminal
ovos-docs-viewer techincal View the OVOS Technical docs in the terminal
ovos-docs-viewer hivemind View the HiveMind docs in the terminal
ovos-docs-viewer messages View OVOS Message specs in the terminal

OVOS Log Viewer:
ovos-logs [COMMAND] --help Small tool to help navigate the logs

Misc Helpful COMMANDs:
ovos-simple-cli Chat with your device through the terminal

(.venv) ovos@raspOvos:~ $

(.venv) ovos@raspOvos:~ $ ovos-simple-cli

this works for me, it returns on my screen…

(.venv) ovos@raspOvos:~ $ ovos-simple-cli
Say:

and I type…

(.venv) ovos@raspOvos:~ $ ovos-simple-cli
Say:what time is it
Say:

And it says the correct time.

That is what should be happening. Do the voice commands work for you also?

(.venv) ovos@raspOvos:~ $ ovos-config show

I can upload the files with the configuration settings:

This the output of my configuration.
I removed the Location Information, but everything else is WYSIWYG.

And no, the microphone is not working.
I was hoping you could look at the config and give me any suggestions to get it working.

Thanks.

what is the output of pactl info

Also cat ~/.local/state/mycroft/voice.log

Did this microphone work with a rpi before? I was not aware that the 3.5mm jack could be used as an input also

My big problem, I cannot make wifi work with ovos.
I have tried un-hiding my SSID for both 2.4 and 5 GHz on my router, and it still says:
failed to connect to wifi
verify credentials and try again

The only way I can see ovos is by ethernet and SSH ovos@myipaddress

Did this microphone work with a rpi before? I was not aware that the 3.5mm jack could be used as an input ?<<<
On my Ubuntu Desktop, this microphone works fine. I guess, I need to configure it to work on ovos.

(.venv) ovos@raspOvos:~ $ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 12
Tile Size: 65472
User Name: ovos
Host Name: raspOvos
Server Name: pulseaudio
Server Version: 16.1
Default Sample Specification: s32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: OpenVoiceOS
Default Source: alsa_output.usb-Jieli_Technology_UACDemoV1.0_503581155BAC6C9F-00.analog-stereo.monitor
Cookie: 01a7:b6cc

(.venv) ovos@raspOvos:~ $ cat ~/.local/state/mycroft/voice.log
2024-03-16 02:02:37.559 - voice - ovos_dinkum_listener.service:init:151 - INFO - Starting Voice Service
2024-03-16 02:02:37.566 - voice - ovos_dinkum_listener.service:on_alive:86 - INFO - DinkumVoiceService is alive.
2024-03-16 02:02:37.571 - voice - ovos_dinkum_listener.service:_before_start:341 - INFO - Starting service…
2024-03-16 02:02:37.775 - voice - ovos_dinkum_listener.service:_connect_to_bus:443 - INFO - Connected to Mycroft Core message bus
2024-03-16 02:02:41.838 - voice - ovos_dinkum_listener.service:on_alive:86 - INFO - DinkumVoiceService is alive.
2024-03-16 02:02:41.952 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:108 - INFO - creating hotword engines
2024-03-16 02:02:41.967 - voice - ovos_plugin_manager.wakewords:load_module:165 - INFO - Loading “hey_mycroft” wake word via ovos-ww-plugin-precise-lite with config: {‘module’: ‘ovos-ww-plugin-precise-lite’, ‘model’: ‘/home/ovos/.local/share/precise_lite/hey_mycroft.tflite’, ‘expected_duration’: 3, ‘trigger_level’: 3, ‘sensitivity’: 0.5, ‘listen’: True, ‘fallback_ww’: ‘hey_mycroft_precise’}
2024-03-16 02:02:44.904 - voice - ovos_plugin_manager.wakewords:load_module:172 - INFO - Loaded the Wake Word hey_mycroft with module ovos-ww-plugin-precise-lite
2024-03-16 02:02:45.164 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:157 - INFO - Loading hotword: hey_mycroft with engine: <ovos_ww_plugin_precise_lite.PreciseLiteHotwordPlugin object at 0x7f885c5d50>
2024-03-16 02:02:45.175 - voice - ovos_plugin_manager.wakewords:load_module:165 - INFO - Loading “wake_up” wake word via ovos-ww-plugin-pocketsphinx with config: {‘module’: ‘ovos-ww-plugin-pocketsphinx’, ‘phonemes’: ‘W EY K . AH P’, ‘threshold’: 1e-20, ‘lang’: ‘en-us’, ‘wakeup’: True, ‘fallback_ww’: ‘wake_up_vosk’}
2024-03-16 02:02:45.367 - voice - ovos_plugin_manager.wakewords:load_module:172 - INFO - Loaded the Wake Word wake_up with module ovos-ww-plugin-pocketsphinx
2024-03-16 02:02:45.967 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:157 - INFO - Loading hotword: wake_up with engine: <ovos_ww_plugin_pocketsphinx.PocketsphinxHotWordPlugin object at 0x7f3fa66c90>
2024-03-16 02:02:45.971 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:189 - WARNING - No stop words loaded
2024-03-16 02:02:45.995 - voice - ovos_dinkum_listener.voice_loop.voice_loop:start:177 - INFO - Listening mode: ListeningMode.WAKEWORD
2024-03-16 02:02:46.002 - voice - ovos_dinkum_listener.service:on_started:90 - INFO - DinkumVoiceService started.
2024-03-16 02:02:46.005 - voice - ovos_dinkum_listener.service:on_started:90 - INFO - DinkumVoiceService started.
2024-03-16 02:02:46.012 - voice - ovos_dinkum_listener.service:run:316 - INFO - Service ready
2024-03-16 02:02:46.017 - voice - ovos_dinkum_listener.voice_loop.voice_loop:run:203 - INFO - Starting loop in mode: ListeningMode.WAKEWORD

I was able to create the OVOS hotspot.
And I was able to set it up to look for the hidden network from my phone.
I had to pass on the Balena screen, because my network was not in the dropdown box.
As advanced option from my phone I was able to put in the SSID and the Password as well as the Hidden Network option as Yes and save it for OVOS.

And now I think it is working but it still cannot log in; I get these 2 new messages.

(1)
An error code while processing youtube music skill.
(2)
The ap ip that you entered is not invalid
Refer to the read me file for instructions on how to obtain one.

I look for the raspOs entry in my router page, and it’s not there.

I can not post any more replies; I have reached my maximum number of replies.
Look at the bitmap.

So look here for new edits, it’s the only way I can reply.

  1. I downloaded the new file:
    raspOVOS-headless-dev.zip 16-Mar-2024 18:25 2132410655
  2. I copied my wpa_supplicant.conf file into bootfs directory
    and used an ethernet cable to log into rpi3 over wired internet.
  3. I needed to run ssh-keygen -f "/home/george/.ssh/known_hosts.old on my
    It’s a different install, it has a different key.
  4. I logged into rpi3
    ssh -p 22 ovos@192.168.1.127
  5. I ran command to create a new root password: sudo passwd
    As root I can edit the file in the /etc/wpa_supplicant/wpa_supplicant.conf
    ctrl_interface=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=US
    network={
    ssid=“myRouterName”
    scan_ssid=1
    psk=“myRouterPassword”
    key_mgmt=WPA-PSK
    }
  6. I unhid my router. When hid it’s not found.
    If router is unhid and supplicant file not edited, it also does not work.
    You get message: Failed to connect to wifi. Verify credentials and try again
    And then it connected. Pshew!!!

how are you writing your image? raspberry pi imager I assume? YES
Are you changing settings? NO
the ovos user has sudo privileges without a pw by default. I TRIED SUDO, NOPE, NG.
(It might be my ubuntu 22 desktop os latest version. SSH has too much security???)
You should not have to manually edit a file at all. I wonder if the PHAL plugin does not work well with a “hidden” network? ONLY ON THE FIRST TIME IT CAN’T FIND HIDDEN ROUTER. ONCE A CONNECTION HAS BEEN ESTABLISHED TO UNHIDDEN ROUTER, IT SEEMS I CAN HIDE MY ROUTER AGAIN. EVEN IF I SHUT DOWN THE rpi3. NOW IT FINDS HIDDEN ROUTER. IT REMEMBERS THE SSID NAME AND PW.

I just booted the latest image and wifi connected just as expected.

On first boot, it took about 2 minutes on a Rpi3b and it prompted about creating a hotspot. I connected my phone to the hotspot, directed the browser to http://start.openvoiceos.com. entered my credentials, and it connected fine.

Did you change settings when you used rpi imager?

Also, this is with a usb mic and usb speaker. not the 3.5mm plug