Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

[Solved / Archived] Zero2Go Problem w/camera

3 Posts
2 Users
0 Likes
553 Views
(@klny2)
Posts: 6
Active Member
Topic starter
 

After a clean install of RaspberrypiOS (bullseye) on my Zero 1 WH, I have installed the UUgear software and then mounted the Zero2go.

After that I tried to use the camera 'libcamera-vid --list-cameras' gives "No cameras available!"

I know everything else is ok, because I used the same camera and the same raspi-board in a previous install.

Looking for problems I found the log file uwi.log. It repeats endlessly these lines:

Running command: /home/pi/uwi/websocketd --address=raspberrypi --port=8000 --staticdir=/home/pi/uwi /home/pi/uwi/messanger.sh
Tue, 28 Nov 2023 21:36:41 +0100 | INFO   | server     |  | Serving using application   : /home/pi/uwi/messanger.sh  
Tue, 28 Nov 2023 21:36:41 +0100 | INFO   | server     |  | Serving static content from : /home/pi/uwi
Tue, 28 Nov 2023 21:36:41 +0100 | INFO   | server     |  | Starting WebSocket server   : ws://raspberrypi:8000/
Tue, 28 Nov 2023 21:36:41 +0100 | INFO   | server     |  | Serving CGI or static files : http://raspberrypi:8000/
Tue, 28 Nov 2023 21:36:41 +0100 | FATAL  | server     |  | Can't start server: listen tcp: lookup raspberrypi on 192.168.178.1:53: no such host

Of course, in my network the hostname 'raspberrypi' does not exist.

How to configure the server / ip /port is not really mentioned in the manual that I downloaded.

I also do not know if and how this is related to the camera problem.

If someone here knows more, please help!

 
Posted : 28/11/2023 9:45 pm
Topic Tags
(@admin)
Posts: 512
Member Admin
 

First of all, this has nothing to do with your camera problem.

Those messages are all from UWI. You may change configurations in the uwi.conf file (in ~/uwi directory). You may run "./diagnose.sh" to automatically configure it, alternatively you may change the uwi.conf file like this:

......
host='0.0.0.0';
port=8000;
web_socket_url='ws://'+window.location.hostname+':'+port+'/';
......

More explaination about this configuration can be found here.

 
Posted : 29/11/2023 7:59 am
(@klny2)
Posts: 6
Active Member
Topic starter
 

Thanks for the quick reply.

I want to follow this matter in a new thread (UWI not working), since it seems a different issue.

Will have another look at the camera later today.

 
Posted : 29/11/2023 1:22 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.