Hello, and thank you in advance for your help.
I am working on the cam rover project as outlined in magpie magazine. I am trying to install
mjpg-streamer
However, when I run the “make” command I get a fatal error: “videodev.h no such file no such directory. “ I have tried all the fixes that I have found as well as asked for help on the raspberry Pi home page and the source forge, Tom says he recalls the error. But not the fix, I have gone so fare as to down load a new O.S. run the updates and the upgrades and try the install and it still crashed with the same error at the same spot. I am thinking either I am doing something dumb or they have up graded there Software? I have also tried to install tried to install the mjpg-streamer_94-i386.deb but I can’t seem to get that to extract correctly. (grrrrrr) the link in the article points to the r63 file that dies on the “make’ command.
Thank you all very much.
Tony
Hay Toshi!
After two long days of looking some one pointed me to this site and it worked first time!
http://blog.miguelgrinberg.com/post/how-to-build-and-run-mjpg-streamer-on-the-raspberry-pi
I am getting good at backing this sd card up if nothing else!
Can you help me with getting the streamer to run with the camrover script?
Change the port and get the output to the right place?
I don’t know anything about programming, I am going to take a class online.
Thanks man.
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Toshi
Hi Toshi
From the thermal window, I get
“bash: uv41: command not found”
I did a quick search on the web for uv41 relating to raspberry pi and got nothing.
Also I did a find on my Pi and got nothing.
I am sorry for my lack of knowledge.
I will be here.
Best regards.
Tony
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Saturday, June 07, 2014 4:04 PM
To: web...@googlegroups.com
--
Toshi,
After looking in to it deeper on the web I now know what uv4l is but I can not seem to locate it.
I have done the sudo apt-get update & upgrade commands, but on these two I get
E: unable to locate package.
I will keep on it and advise.
Best regards
Tony
sudo apt-get update
$ sudo apt-get install uv4l uv4l-raspicam
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Saturday, June 07, 2014 4:04 PM
To: web...@googlegroups.com
--
Toshi,
I have tried to find a working site for uv4l with no luck, also I tried to flow your commands but I do not have an mjpg_streamer dr, I have mjpg-streamer-code-182 do I have to do some renaming?
Thanks man.
Toshi,
I can run the video stream on the demo page at 8080,
Thanks Tony
Tony
Toshi
I thing my problem is the way I am starting me Pi camera,
I looked until 4 am for the uv4l software but I had no luck. I tried the steps out lined on the Linux projects page, but i still get the error,
below are the command as well as my error. I am starting the camera as outlined on miguelgrinberg.com, The web page I got the install from.
I know that’s not right but I don’t know what to do about it. Also his install renames l the directory mjpg-streamer-code-182
The streamer works just fine on it’s on. I am kind of lost
Thanks
*****************************************************************
How to install or upgrade UV4L on Raspbian (for the Raspberry Pi)
To install UV4L open a terminal and type the following commands:
$ wget http://www.linux-projects.org/listing/u ... /lrkey.asc && sudo apt-key add ./lrkey.asc
Add the following line to the file /etc/apt/sources.list :
deb http://www.linux-projects.org/listing/u ... /raspbian/ wheezy main
$ sudo apt-get update
$ sudo apt-get install uv4l uv4l-raspicam
**************************************************************************************************************
pi@raspberrypi ~ $ sudo apt-get install uv4l uv4l-raspicam
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package uv4l
E: Unable to locate package uv4l-raspicam
pi@raspberrypi ~ $
Thank you so much!
I just thought it was me. and I hate to take the easy way out.
I’ll get a web cam and set it up. As for the pi cam back in the box with it who knows some day.
Can you send me the info on what you had to do to use your usb web cam?
Thanks
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Monday, June 09, 2014 5:19 PM
To: web...@googlegroups.com
--
And here's another (stupid) question whats with all this Re: [Bulk] Re: [Bulk] Re: [Bulk] RE: [Bulk] RE: [Bulk] Re: ....... in the header I never before saw that happen ?
Ok guys I have it moustly working now still need some help 1st my web cam is very red, I have tried two cams the one I am using now worked befor, 2: my paths are buggered up on mjpgstreamme due to the fact I had to install from a zip file from http://blog.miguelgrinberg.com
Thanks
Tony
(we have light at the end of the tunnel, may be a train!)
Best regards
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
Ok This thing will make you crazy~
Brand new SD card fresh install of Wheezy dated Jan 7th 2014
Did all the updates and upgrades. Installed libjpeg8-dev.
Every time I take a photo with uvccapture it come out red.
Tried this with two deferent Logitech webcams. One I know worked just fine last week.
Anyone want a cheap pi! (I can only give ya $35 to take it of my hands! ?
Thanks
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Saturday, June 07, 2014 4:04 PM
To: web...@googlegroups.com
--
I did not understand why it was asking for a deferent username and password in the sw ,yet every time I started it I just logged on as pi & raspberry, not being a programmer I just let it pass,
I had abounded my pi cam and switch back to a usb web cam and that worked except for the fact that the stream was red, I was working on finding new drivers when I got this email,
I will load up the new SW and see what happens, if I get it going you guys can drive the bot around the house, avoid the pool if at all possible.
Now I need to learn how to mount a usb drive so I can move the files. (Oh joy!)
I will keep you posted!
Best regards
Tony
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
Guys I am starting over with afresh install as I have gummed this one up with all kinds of drivers installs and so on, my be a few hrs but I will not give up!
Thanks
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Tuesday, June 10, 2014 1:11 PM
To: web...@googlegroups.com
Cc: ta...@att.net
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
Toshi / Todd
6 hrs latter,
I have a new install of wheezy installed and updated, the pi cam is in and works.
I have copied the files you sent me to there folders
I am un clear regarding the make command I need to run on the cambot.py file to make it run able.
Make cmabot.py runnable (775)
I man not getting the correct index.html page coming on my ip address:8000
I am getting the standard Webiopi page. The user id and password is now cambot cambot
Also please let me know what the directories and path should be with mjpg streamer as the install I run wants to create mjpg-streammer-code-xxx
Thank you both.
Tony
Never give up!
.
Sorry forgot to incuse /etc/wbiopi/config (just the part I edited)
#------------------------------------------------------------------------#
[SCRIPTS]
# Load custom scripts syntax :
# name = sourcefile
# each sourcefile may have setup, loop and destroy functions and macros
#myscript = /home/pi/webiopi/examples/scripts/macros/script.py
myscript = /home/pi/WebIOPi-0.7.0/examples/magpi-cambot/cambot.py
#------------------------------------------------------------------------#
[HTTP]
# HTTP Server configuration
enabled = true
port = 8000
# File containing sha256(base64("user:password"))
# Use webiopi-passwd command to generate it
passwd-file = /etc/webiopi/passwd
# Change login prompt message
prompt = "WebIOPi"
# Use doc-root to change default HTML and resource files location
#doc-root = /home/pi/webiopi/examples/scripts/macros
doc-root = /home/pi/WebIOPi-0.7.0/examples/magpi-cambot
# Use welcome-file to change the default "Welcome" file
welcome-file = index.html
#------------------------------------------------------------------------#
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
Toshi / Todd!!!!
As of right now I have the mjpg streamer working as you outlined!
I am now reinstalling webiopi to try and find my mistake!!!
Thanks guys!
Ok guys 12hrs in I have mjpg-streamer running very well.
But I still get the generic webiopi logon screen?
WebIOPi Main Menu
Control and Debug the Raspberry Pi GPIO with a display which looks like the physical header.
Control and Debug the Raspberry Pi GPIO ordered in a single column.
Use the browser to play with Serial interfaces configured in WebIOPi.
Control and Debug devices and circuits wired to your Pi and configured in WebIOPi.
Note that it requires
User name: cambot
PW: cambot
Below are the changes I made to /etc/webiopi/confg
Note: if I did not put the full path in the “myscriptipt =” line and just ended it as you asked me to without the combat.py I would get a 404 error in my web browser?
I still do not know what I was supposed to do with your request to “make combot.py runnable (775)”
I have goggled that a few times but no luck as yet.
Very best regards.
Tony ------------------------------------------------------------------------#
[SCRIPTS]
# Load custom scripts syntax :
# name = sourcefile
# each sourcefile may have setup, loop and destroy functions and macros
#myscript = /home/pi/webiopi/examples/scripts/macros/script.py
myscript = /home/pi/WebIOPi-0.7.0/examples/magpi-cambot/cambot.py
#------------------------------------------------------------------------#
[HTTP]
# HTTP Server configuration
enabled = true
port = 8000
# File containing sha256(base64("user:password"))
# Use webiopi-passwd command to generate it
passwd-file = /etc/webiopi/passwd
# Change login prompt message
prompt = "WebIOPi"
# Use doc-root to change default HTML and resource files location
#doc-root = /home/pi/webiopi/examples/scripts/macros
doc-root = /home/pi/WebIOPi-0.7.0/examples/magpi-cambot
# Use welcome-file to change the default "Welcome" file
Welcome-file = index.html
#------------------------------------------------------------------------#
Thanks my friend I will try now!
Best regards
Tony
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Wednesday, June 11, 2014 2:38 AM
To: web...@googlegroups.com
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
Sir
If I put this in my browser it works!
I can live with it but do you have any thoughts as to why the old stuff worked with just my ip and :8000
And if you happen to know how to start the stream on boot up?
I will put the rover back together when I get up, it is 3:00 am here and I am not seeing strget now,
Thanks so much. Is there a way I can get you the external ip address so you can try it out? I don’t think it would be a good idea to post my email address here or the ip address .
http://10.0.0.18:8000/WebIOPi-0.7.0/examples/magpi-cambot/
1000 times Thank you!
I am going to sleep! Ya it works!
THANKS
.
Tony
Now I think about it you are right the lines:doc-root = /home/pi/WebIOPi-0.7.0/examples/magpi-cambotwelcome-file = index.htmlshould mean xxx.xxx.x.xx:8000 opens the cambot index file, must admit I cheated a bit and never properly modified my config file, however I tried it now and indeed it does not work, I also get the GPIO page like you so more head scratching, anyways it turns out there are a couple of things I am not familiar with here.Firstly studying the cambot.py file, Eric does somethings I didn't see before in the "# Main server part" that got me thinking so I took another look at the magpi cambot articles and surprise it seams that :1, The python script does not use in any way on the config file, the articles never mention it, so actually to run this program properly you need to delete the changes made in the config file as they are not be used.2, The python script is designed to be started using sudo python /home/pi/WebIOPi-0.7.0/examples/magpi-cambot/cambot.py again meaning the config file does not get called do not use sudo webiopi -d -c /etc/webiopi/config or sudo /etc/init.d/webiopi start , the cambot file actually starts the webiopi server..3. The problem of "error: [Errno 98] Address already in use" we had on shutdown of the cambot script then does not occur and I now understand why it happened, we were starting 2 instances of webiopi , 1 via the config file and 1 via the python script.4. Finally I think the issue of xxx.xxx.x.xx:8000 not opening the cambot index file is not related to the above, I think there have been changes since WebIPOi -0.5.3 (Feb 2013 that's when the script was published) as according to the article to display the GPIO page you needed to enter 192.xxx.x.xx:8000/webiopi so it looks to me like the file structure for webiopi has changed, so in reality you will have to live with opening the cambot webpage with http://10.0.0.18:8000/WebIOPi-0.7.0/examples/magpi-cambot/ just make a shortcut in the web browser called cambot or something.5. Actually the way Eric wrote this is pretty neat, because for instance for my setup I can have the config file setting up my sensors etc and pointing to my normal script.py file and index.html but without having to change anything in the config file, I can run cambot.
So to sum up I strongly suggest you delete the changes made to the config file and run cambot from the prompt with sudo python /home/pi/WebIOPi-0.7.0/examples/magpi-cambot/cambot.py and access the web page with http://10.0.0.18:8000/WebIOPi-0.7.0/examples/magpi-cambot/.
Finally starting the stream at boot, there is a file in the cambot folder called stream.sh but this will not work as its for a usb camera, you need to follow the BASH SCRIPT section at the bottom of the web page http://miguelmota.com/blog/raspberry-pi-camera-board-video-streaming to produce 2 files called start_stream.sh and stop_stream.sh or alternatively (this may be easier) attached is a modified cambot.py file that starts and stops the stream automatically when you start / stop cambot.py it appears to work fine (don't forget to make this file runable when you copy it over the existing one).I hope that all works great for you because I am not going to be available over the next days, going for small vacation to Barcelona back 22nd.Toshi
.
Thank you enjoy yourself on vacation, I will post on the 23 and let you know where we are.
Thank you again
Very best regards.
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Wednesday, June 11, 2014 7:58 AM
To: web...@googlegroups.com
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
Toshi,
Just in case you have not gone yet!
I have put the /etc/webiopi/conf file back to its proper state.
And I have done nothing with the new combot.py you sent in your last email.
The only thing not working now is the cam video showing up out side my local net.
If I go to http://10.0.0.18:8000/WebIOPi-0.7.0/examples/magpi-cambot/ I see everything I should.
If I go to http://(my external IP address):8000/WebIOPi-0.7.0/examples/magpi-cambot/
(from outside my local network) I get the camera box and control buttons. (no stream)
If I go to http://(my external IP address):8001 (from outside my local network) I get the
Mjpg streamer page as I should. So I am thinking something in cambot.py
I am going to catch up on some sleep, and if I can’t find the problem just work on the rover hardware and some back ups so on,
More then enough work to be done.
If anyone ells has any thoughts feel free to let me know.
Best regards
Tony
Try specifying full address like http:// external ip :8000/home/pi/WebIOPi-0.7.0/examples/magpi-cambot/
See if that works
Toshi
To Toshi & anyone that thinks they may be able to help!
Toshi ! Welcome back!
Here we go! I have WebIOPi-0.7.0 running with the pi cam! However I have to use the older cambot.py that I was able to down load from http://files.trouch.com/cambot.zip . When I try and use the new cambot.py file that comes with 7.0. Does nothing when I try to run it no error s nothing at all.
There is a comment in the new cambao.py that says this file uses the new-style automatic setup/destroy/mapping
Need to change /etc/webiopi
But I have no clue what that means.
Setting the pins as the text shows everything works fine, but the left and right arrows are reversed.
i/e press left and it goes right press right and it goes left. Note I tried all 24 pin combinations and nothing seemed to work any better, also the enable pins have no effect . I believe this is due to a change in the H-bridge. So I thought to my self just edit the index.html and switch the call out for the left & right. That worked fine left is left and right is right, But the video goes away if I try and make any change at all to the index.html file
any thoughts on this would be gratefully received!
Thanks My friend
Hi Toshi!
Welcome home.
You are up late, it is 6:30 am here.
Thanks for the info I will print it out hand have a go at it.
Thanks
Best regards
Tony
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Tuesday, June 24, 2014 6:22 AM
To: web...@googlegroups.com
--
You received this message because you are subscribed to a topic in the Google Groups "WebIOPi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webiopi/CPS_dFTOTBc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webiopi+u...@googlegroups.com.
God bless! Send me some contact in for an I will send you the ip for the cambot so you can drive it. My email address is Tony_d...@yahoo.com
It will be on line as soon as the ups truck drops of my battery for the Pi, some time to day.
Best regards.
And as always thanks!
Tony
From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of Toshi Bass
Sent: Tuesday, June 24, 2014 6:42 AM
To: web...@googlegroups.com
--