Stream Raspberry Pi Camera to Internet - camera

I've surfed the internet for quite a while now for my project but all I could find is projects where people stream the raspberry pi camera to local host. I would like to stream it to the internet and be able to view it from anywhere in the world. Any suggestion?

Use this tutorial to set up the camera: https://hackernoon.com/spy-your-pet-with-a-raspberry-pi-camera-server-e71bb74f79ea
Set stream_localhost off in /etc/motion/motion.conf
Forward the port 8081 on your router.
Get your IP: https://www.whatismyip.com/
Access the webcontrol through :8081
Attention: You need a static IP or dyndns!

Related

STM32 nucleo F767ZI lwip and httpd - unable to respond to ping

I have a project with stm32F767ZI about smart home and I face some problems with httpd
I am not using a DHCP server so I have set the board to a static IP in the same network as my computers ethernet.
and when i try to ping with cmd i have no response the same with the browser
who can help me 🙏
thanks in advance
I am trying to follow this example
https://www.youtube.com/watch?v=cYynDc82g4w

Raspberry Pi wifi LAN Server how to?

I want to run a Node web server on my Pi, and connect to it via the Pi's wifi. The idea is that I can access the server when I am in the middle of nowhere and just plug the Pi to a 5V output and login the server through my phone. I just want to setup the pi as a LAN network.
Through past research and tests I managed to turn my Pi into an access point but I lost the ability to SSH to it.
At the moment I have a Node server running a webpage and I am able to connect to it as the Pi is connected to a wifi router.
I am wondering if I just need to turn my Pi into an AP or if I need to do some port forwarding too.
My current setup is a RaspberryPi4 with Raspbian and running Node.
Edited -
Added "I just want to setup the pi as a LAN network."
In the raspberrypi.org documentation has all the information, in the AC I recommend using a wifi adapter, but you can use the pi interface.
https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md
you do not need to configure dhcp, as the site may be located on localhost 127.0.0.1
and recommend to access by phone
https://www.raspberrypi.org/documentation/remote-access/ssh/
if you have any problems in the configuration process put it here

Use IP camera with OPEN CV without internet connection (direct connection to pc)

I am sorry, this might not be the correct platform to ask this kind of question but I couldn't think of any other place .
I for one of my project I need to capture some video footage from an outdoor camera using open cv. Actually, its a part of a bigger project where another signal triggers the camera. Since the camera will be located outside, I am looking for weather proof night vision enabled USB cameras that I can easily control via OPENCV. However I cannot find any descent USB camera and most of the websites show IP cameras. My problem is that the installation will be at a site where there is no internet so I cannot use internet. Can anybody please suggest if and how these IP cameras can be connected to the PC and be controlled via OPEN CV or else suggest some websites where I can get descent outdoor USB IR cameras.
I have also tried the NOIR Raspi camera but the quality is not very good and I think the range will also not be very good. Moreover running OPEN CV on RpI is very slow even for simple video recording.
Please refer to that thread for how to use IP cameras with open CV. I didn't try it personally, but a simple google search got me that. http://answers.opencv.org/question/133/how-do-i-access-an-ip-camera/
To access an IP camera is very simple, you just need this line:
cv2.VideoCapture("rstp://ipaddress:port/blahbla")
Now, if you dont have internet the IP camera as the PI should be on the same network, you can have a wireless router with no internet.
If you dont have a wireless router you can create a hotspot on your PI so you can connect the Camera directly to the PI, alot of IP cameras support hotspot so you can connect your pi to them.

Is there any possibility to connect with Raspberry PI 2 through the mobile network

I am currently working on internet of things technology, in one of my scenarios I want to connect raspberry pi2 through the mobile network.
Please tell me is there any possibility to connect with raspberry pi2 through the mobile network.
Regards,
Pradeep
You can connect your Pi2 to a mobile network using either a USB 3G Dongle or a 3G Shield.
You will have to play around with the setup though to see how it works for you.
If you want to access your Pi2 from elsewhere while connected to a mobile network you will also need to setup dynamic ip resolution for your Pi if you do not have a fixed ip assigned by your mobile operator.
If, however you want to connect from a mobile device to your Pi2 which is located on a LAN, you will need to configure port forwarding on your router for the Pi2 to receive communication from the outside world. Once again, if your router does not have a fixed ip supplied by your ISP, you will need to setup a dynamic ip resolution (DDNS).
Hope this helps.

Apache only available over wifi

I installed LAMP on my raspberry pi and i can reach the default page at localhost from the pi. However, I can't reach the page from another computer in the LAN unless I'm on wifi.
If I am on ethernet, I just get a timeout. Any ideas why?