Have a VPN running on the VPS and allow the Pi to connect to it. My setup is slightly different to yours. I have the MySQL database on a Pi at home and it is used by my email and DNS servers on my VPS. My Pi connects to the VPN on the VPS and can then see it as part of my local LAN. Actually, the se...
Hello, I have a VPS from DigitalOcean running Node.js for displaying web pages and MySQL on it. On the Raspberry Pi I am running a Python script which generates some data (it's basically just 10 string and integer values). I want to push this data onto the MySQL server. The problem is that I don't w...
I'm curious what happens if you lose network connectivity mid-write. It supports download resumption and retries automatically if connection to webserver is lost. (As long as it did manage to download at least a little bit in the first place, you keep the app open, and do not shutdown the computer).
Why does it need sudo? (It probably doesn't.) Webserver things run with user=www-data group=www-data. It's an exceedingly bad idea to allow that user to run sudo for anything/everything as that could open your system to hackers. Why do you need ...
The node.js server code you posted does not do anything. You have an express webserver as "app". You tell it to use some middleware with "app.use(...)" You tell it to listed with "app.listen(...)" And that's it. I see no code there to handle any requests. I would ...
Hello! I got my pi setup with gitea and a webserver everything works as it should. Recently we lost power thx to a winter storm. I wanted to know what solution you might have for battery backup on the pi. So if the main power shuts off it runs ...
Thank you for the responses, a very helpful start. I was looking at the below guide - a possible way to avoid nstalling a webserver on the Pi. https://github.com/wadoadi/Google-Assistant-SkyHD-Box-Integration So basically: Google Home > IFTTT > Cloud service > < Pi > Sky Control I wondered ...
Hi, i'm trying to host my own webserver and currently I'm stuck with dyndns. Unfortunately I'm using lite dn so I decided to go with a ipv6 configuration on my raspberry pi 3. This workes perfectly fine, after a couple of hours and misleading ...
What environment does your PHP code run in?
If it's a webserver then have you permitted user=www-data group=www-data access to the resources it needs to run that PHP program?
Some Background: I too am having trouble using telnet or ssh to my Raspberry Pi which is on a static ip given by my router... The webserver portion connects, so I know it's not a network IP issue. I'm also familiar with both Putty and even have installed the windows feature for Telnet, ...
... at layer two already sends your IP address to the client system. For messaging you need a service running at network layer four. That could be a webserver or [better] an MQTT broker.
... Docker using the regular 32bit terminal? I would like to run docker (and docker-compose) and be able to deploy arm64 containers, for building a webserver, and being able to access that server in 32bit localhost. Thanks once again for the great work and for your time.
... upgrade my current server setup. My current server Hardware Raspberry Pi B+ Raspberry Pi B 1 TB HDD 4 TB HDD 8 GB USB drive Software NFS fileshare Webserver currently running lighttp and apache on seperate units PiHole PiVPN GIT Server DHCP server SSH servers The server is running quite well and ...
... this, your input would be appreciated. This is a Raspberry Pi B+ It's currently running Stretch With pihole, pivpn, and a file server. And simple webserver for system status and administration.
For myself, I use MQTT, telegraf, influxdb, grafana and openhab2 all running on one pi. Sensors are temperatures, voltages, PIR movement detectors, and smart plugs & smart lights.
I have just experience with Python and SPI. I don't know how to make Web Server and how to write the data to a database. How can I start with that, please? You might also look at Flask and sqlite . How many megabyes, gigabytes, or terabytes of data are you talking about and how complex are the reco...
If your collecting masses of data like temperatures every few seconds for real time analysis and reaction for pid controlled heating for example, long term archiving of every record may not be ideal, and rather than working on complex selective deletion of redundant data perhaps you may want to cons...
I have just experience with Python and SPI. I don't know how to make Web Server and how to write the data to a database. How can I start with that, please? You might also look at Flask and sqlite . How many megabyes, gigabytes, or terabytes of data are you talking about and how complex are the reco...
You could install mariadb to write the values into a database. See https://mariadb.com/resources/blog/how- ... o-mariadb/
For the webserver, use Apache2 or nginx (or flask etc. etc.)
You will need a lot of security set up if you are going on to the public internet.
Hello, I'm a beginner with raspberry but I have experience in programming embedded device, especially STM32 microcontrollers. I've got an idea, I need to do a gateway for publishing some data to web from my IoT devices. I have IoT devices that transmit data to one node. The node has data from all de...
I used another PI4 to connect to the same camera at the same time, on the second PI there is no problem to reach to the camera' webserver, comparing the route tables from both PIs shows that the problem is somewhere else (if i get this correct) route table of the PI that can reach the ...
... metric 305 192.168.43.0/24 dev wlan0 proto dhcp scope link src 192.168.43.50 metric 304 at this current setup, i cant browse the camera' webserver at 10.5.5.9 nor ping it, the camera itself is available from my computer without any problem so it is defiantly something related to my PI ...