bantammenace2012
Posts: 122
Joined: Mon May 28, 2012 12:18 pm

Re: Raspicam Remote - view Pi camera on Android

Thu Feb 26, 2015 2:08 pm

The problem has been resolved simply by reverting to using my older WiPi dongle in my RPi2 rather than my newe broadcom wifi usb hub.
As a general point I have struggled to find any support, blogs or forums for the new Broadcom dongle which I had hoped to be able to configure so as to be able to use my RPi in Wifi-Direct (P2P) mode to avoid all the configuration shenanigans.

sarybe
Posts: 1
Joined: Sat Apr 04, 2015 10:48 am

Re: Raspicam Remote - view Pi camera on Android

Sat Apr 04, 2015 11:18 am

Hi,

With the latest version of OSMC I can't connect with Raspicam Remote (connection failed. auth.log : "osmc sshd[xxxx]: fatal: Unable to negotiate a key exchange method [preauth]"). After some research on google I found a solution (perhaps it could be used for some), edit the /etc/ssh/sshd_config (probably due to the remove unsafe algorithms on openssh 6.7p1) and add the line:

Code: Select all

KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 
I don't know if that is the security level, but in any case the application is working again and I can finally log me :)

[Sorry for my bad English]

bimble
Posts: 4
Joined: Fri May 22, 2015 7:25 am

Re: Raspicam Remote - view Pi camera on Android

Sun Jun 07, 2015 2:21 pm

Does Raspicam Remote have any way of sending arbitrary commands to the pi?

I put a pi together for use as a telescope camera but that will be in the garden with no screen/keyboard. I think I've got the wireless access point working now but have no way of shutting it down safely without just yanking the power.

Ideally I want to shove a shutdown/hangup down the ssh connection, heh.

mikerr
Posts: 2829
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK

Re: Raspicam Remote - view Pi camera on Android

Tue Jun 09, 2015 11:26 am

It would be trivial to add arbitrary commands like restart/reboot,
but not sure its a good fit in the interface...

I wrote another app for pi monitoring/control which does that
https://play.google.com/store/apps/deta ... k&hl=en_GB
Android app - Raspi Card Imager - download and image SD cards - No PC required !

bimble
Posts: 4
Joined: Fri May 22, 2015 7:25 am

Re: Raspicam Remote - view Pi camera on Android

Tue Jun 09, 2015 6:31 pm

mikerr wrote:It would be trivial to add arbitrary commands like restart/reboot,
but not sure its a good fit in the interface...

I wrote another app for pi monitoring/control which does that
https://play.google.com/store/apps/deta ... k&hl=en_GB
Yer, I realised shortly after I'd posted. I should be good to go now :)

Thanks again

Asher
Posts: 1
Joined: Fri Jul 24, 2015 2:56 pm

Re: Raspicam Remote - view Pi camera on Android

Fri Jul 24, 2015 3:10 pm

Hi, I was wondering if you are willing to post the source code for your android App. I am trying to have a similar feature in an android application I'm developing and I keep hitting dead ends trying to figure out how. Thanks!

bryce1373
Posts: 1
Joined: Thu Sep 24, 2015 5:47 am

Re: Raspicam Remote - view Pi camera on Android

Thu Sep 24, 2015 5:51 am

mikerr wrote:I have a few Pi's with camera and wanted an easy way to remotely view/position them,
so I made an android app:

RaspiCAM Remote is a free android app to view the Raspberry Pi camera module on your Android Device.
- NO software needs to be installed or configured on the Raspberry Pi - uses standard NOOBS setup
- support for USB cameras too
- Pictures from the Raspberry Pi Camera can be saved to your phone's gallery.
- Continuous video mode (and 30fps streaming) for camera monitoring on your Android device
- easily configure and test the raspberry pi camera's built in image filters.
- works in landscape or portrait mode, tap to show/hide controls.

Simply type in the ip address of your Raspberry Pi to connect and view straight away.
Can even view the Raspberry Pi Camera remotely over the internet if you setup port forwarding (port 22)

http://www.youtube.com/watch?v=E2bvU7xVn_I
https://play.google.com/store/apps/deta ... iremotecam


[my last post was lost in "the great Raspberry pi forum wipeout of 2014" so here it is again ; ) ]

Anyway, comments and requests welcome !
Hi im just wondering if i could get the program code for your Android application ??

mikerr
Posts: 2829
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK

Re: Raspicam Remote - view Pi camera on Android

Sat Nov 14, 2015 11:37 pm

Jessie has changed it's allowed encryption protocols, and stopped my app working (amongst others that also rely on jsch ssh library)
- I'm working on a fix, but for now you can do the following:

edit /etc/ssh/sshd.config

Code: Select all

sudo nano /etc/ssh/sshd_config
add the following:

Code: Select all

KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
then restart sshd:

Code: Select all

sudo /etc/init.d/ssh restart
then it should connect fine.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

mikerr
Posts: 2829
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK

Re: Raspicam Remote - view Pi camera on Android

Sun Nov 15, 2015 12:16 am

App now fixed, will probably show up on google play in a few hours.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Technoshaman
Posts: 4
Joined: Fri Mar 27, 2015 8:21 am
Location: Istanbul

Re: Raspicam Remote - view Pi camera on Android

Sun Dec 06, 2015 7:58 pm

Thanks for this handy application. Yet, as mspohr stated above last year, no pictures are saved anywhere, after I hit the save button. I'm using it on a Sony Xperia Z3 Compact, and ES File Explorer will not list it under images. Another problem is, it never saves my password, and automatically uses the default password everytime I pick the my RPi 2's IP from the list.

Thank you and best regards,
TS
"Emoriar, quam sit tibi copia nostri."

amigauser1
Posts: 3
Joined: Thu May 08, 2014 4:40 pm
Location: Erzhausen, Germany

Re: Raspicam Remote - view Pi camera on Android

Mon Jan 04, 2016 10:18 pm

Hi
I've got problems with the login credentials. They're not saved anymore. After each restart of the App they are switched back to the standard ones.

mikerr
Posts: 2829
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK

Re: Raspicam Remote - view Pi camera on Android

Mon Jan 04, 2016 10:32 pm

The last update should have made it remember credentials per ip, but looks like I may have broken saving them.
I'll take a look.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

amigauser1
Posts: 3
Joined: Thu May 08, 2014 4:40 pm
Location: Erzhausen, Germany

Re: Raspicam Remote - view Pi camera on Android

Thu Jan 28, 2016 10:17 pm

Hi Mike,
did you find out anything regarding the credentials-problem?

Best Regards

Oliver

Patrick260284
Posts: 2
Joined: Wed Feb 10, 2016 10:15 am

Re: Raspicam Remote - view Pi camera on Android

Wed Feb 10, 2016 10:25 am

Hy Mike.

Can you give me a hint at how to stream from the pi to an Android App?

I´m doing a project where I have a Pi with camera module and need to view the stream on an android app.
Right now I´m using raspivid for the stream and it works fine with for example vlc. But on android the videoview says "Sorry cannot play video".
I´ve googled and tried other solutions for about 3 weeks now and none have worked!
Since I´m starting to hear voices and don´t want to end in a mental hospital, maybe you can help me.

Kind Regards

mikerr
Posts: 2829
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK

Re: Raspicam Remote - view Pi camera on Android

Mon Feb 22, 2016 12:00 am

Uploaded a new version with a fix for credentials,
and adds MJPEG (motion) support & 3D side-by-side view (for google cardboard)

MJPEG:

Well this opens it up to not only motion-based pi camera, but nearly every other ip cam on the planet ;)

3D:
It's obviously not "real" 3D as only one camera for now, but fun !

I've got 2 raspicams working on a compute module,
but more common config is 2x usb cams, or 1 raspi camera + USB
Next version will allow you to look around a zoomed version of the image.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Frank88
Posts: 1
Joined: Fri Mar 04, 2016 10:09 am

Re: Raspicam Remote - view Pi camera on Android

Fri Mar 04, 2016 10:14 am

Thank you for your post.
In my situation I don't have a wifi router installed in the buidling.
I only want to stream the Pi Camera data real life to my android (wireless).
Do I need to make the raspberry as a master/hotspot?

Thank you

divig
Posts: 1
Joined: Fri Apr 21, 2017 2:08 pm

feature request

Fri Apr 21, 2017 2:16 pm

Thank you, Mike, for the excellent app, it's handy, if you use your pi to monitor something (e.g., my appartment, as I do, or her cat, like my girlfriend does :D ).

However, recently I have run into a problem: new webcams may show completely black or white frames due to their inability to auto-white-balance (or some other auto-). A manual solution is to add to fswebcam a "skip frames" switch with value somewhere between 20 vai 50. Can you please add this as a feature to Raspicam Remote?

Thank you very much :)

User avatar
Gavinmc42
Posts: 6623
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspicam Remote - view Pi camera on Android

Wed Jan 31, 2018 1:31 pm

Found a great little app for my new phone, Raspicam.
If you are the same mikerr then you have used Ultibo at least once.
https://ultibo.org/forum/viewtopic.php? ... kerr#p5575

Any idea how to send raspivid out port 5001?
https://ultibo.org/forum/viewtopic.php? ... 4&start=10
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

mikerr
Posts: 2829
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK

Re: Raspicam Remote - view Pi camera on Android

Wed Jan 31, 2018 1:52 pm

Yes, I'm on ultibo too

By default the app uses ssh (port 22) to login and starts raspistill (jpeg frames) or raspivid (h264)
That's how it can work with a bare raspbian - "no software required"

If you select the motion Mjpeg checkbox, then it can show MJPEG frames from any ip webcam on port 8081
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
bensimmo
Posts: 5593
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Raspicam Remote - view Pi camera on Android

Sat Jul 07, 2018 5:06 pm

Just gone back to this app, i remember it working better before, but now it only sort of works.

It works at default setup, but slow frame rate.

If I enable h264 in settings I get a blank screen
(Both before and after apt install vlc on the pi).
Clicking video icon gives an error ending with .... .NetworkOnMainThreadException

If it tick mjpeg option method I get a black screen, but no error.
If enable h264 in this I get session is down.

Return to “Camera board”