I am getting data from sensor to raspberry pi and was storing locally but I was having trouble with memory so I decided to store data on my laptop via LAN and I had mysql server setup on my laptop. I had looked over google to figure it out but couldn't find a proper solution. TIA
Related
I am trying to connect Pi to my local server, but it doesn't work when I type 127.0.0.1 on pi's browser.
I have created a flask web server at 127.0.0.1:5000 on my PC, and several websites are attached. (I have to set up the web server outside the Pi since I run multiple OpenCV applications on the server, and Pi is too slow to run it.) Pi connected to the Ethernet, and I knew its IP address (ex:123.456.789.0). I run a python script with socketio on Pi, and I want the python script to communicate with the flask web server. How can I do that? Be simple, how to control(communicate) raspberry (CAM, GPIO) from an outside network with a web server.
Now the Pi and PC are NOT under the same network. Their IP addresses are totally different, but I can make them under the same network (ex. Pi:192.168.0.1, PC:192.168.0.2) if it is needed.
Thank you!
I have an app running on my Raspberry Pi 3b+ on an internal IP address of http://192.168.1.8/app/
http://192.168.1.8:8080/app/
I would like to be able to access this from a remotely hosted python script on Heroku.
Currently I have the script running locally on my laptop, but only works when Im on the same internal network. I would like to have the python script running remotely so I can be away from the Pi and it still runs.
I ran all the usual whatsmyIP.com tools, and have the remote IP, but its the external IP of my router, not the Pi.
Does anyone have any suggestions of how I could make this work?
Thanking you in advance of any advice you can provide.
All the best,
Simon
You should look at Port Forwarding. Which port you forward depends on the settings of your RPi and your application. Enabling port forwarding is different for all routers, but you can normally access the routersettings by navigating to 192.168.0.1 or 192.168.0.0 on your computer.
Doing so allows a connection directly from your Pi to the outworld internet.
You should also take into account that your public IP is prone to change. That's because Internet Providers typically use dynamic IP addresses rather than static IP addresses. Some do provide them when specifically asking for one, often you have to pay a small monthly fee. You should therefore include a script where your raspberry pi updates you about any public IP changes, or use a DDNS service provider.
We made a .img file of the raspberry Pi3 B+ (Linux Debian 9.9) using win32DiskImager software.
On Pi, we made a web application using PHP and MYSQL( max data record: 1 million ) and python application for communication between IoT devices, now we are facing application slow issue, like when user try to open some application options it took time to open and rendering data from the database.
Now I want to utilize my image file to check the hardware capabilities of PI, by run .img file on virtualbox or any other simulator but found that virtualbox does not support the ARM processor.
Please let me know how we can achieve our target.? Can we achieve our target by changing raspberry pi3 to raspberry pi4(4 or 8 GB) Ram?
I already tried to convert .img file to vdi and other format but did not work, I tried to run on qemu but unable to find a raspberry pi processor on qemu as well. We can't install new Debian and do everything again as there are so many things which will take a lot time.
Hi? I'm making some camera-based application using raspberry pi.
Since rpi is not as powerful as I had expected, I decided to process the image in my laptop.
Unfortunately, it is unable to connect the camera and my laptop directly.
I would like to read an image from camera on rpi, and send the image to my laptop (via web server using wifi) and process the image on my laptop (in python programming, opencv or some related libraries are preferable).
How should I do this? I could find some related examples, but all of them did not fit perfect with my application...
I have some sensor nodes. they are connected to a Raspberry Pi 2 and send data on it. the data on Raspberry Pi is sending the data to Thingspeak.com and it shows the data from sensor nodes.
now I am developing a Kaa server and wanna see my data (from Raspberry Pi) on Kaa. is there any chance to connect the current programmed Raspberry Pi(in Python) to Kaa?
Many thanks,
Shid
Mashid. From what I know, to use a KAA server, you should utilize the SDK obtained when you create a new application on the KAA server. This SDK also functions as an API key that will connect the device with a KAA server (on a KAA server named with Application Token). The platforms provided for using this SDK are C, C ++, Java, Android, and Objective C. There is currently no SDK for the Python platform.