Go to advanced search

by rpdom
Fri Mar 06, 2020 6:02 am
Forum: General programming discussion
Topic: Uploading of data on the Raspberry Pi onto a webserver?
Replies: 4
Views: 660

Re: Uploading of data on the Raspberry Pi onto a webserver?

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...
by Lulaso574
Fri Mar 06, 2020 5:25 am
Forum: General programming discussion
Topic: Uploading of data on the Raspberry Pi onto a webserver?
Replies: 4
Views: 660

Uploading of data on the Raspberry Pi onto a webserver?

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...
by incognitum
Thu Mar 05, 2020 9:57 pm
Forum: Beginners
Topic: Why is NOOBs suggested to be used by Raspberry beginners?
Replies: 51
Views: 4013

Re: Why is NOOBs suggested to be used by Raspberry beginners?

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).
by DougieLawson
Thu Mar 05, 2020 2:19 pm
Forum: Troubleshooting
Topic: PHP wont execute command
Replies: 2
Views: 104

Re: PHP wont execute command

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 ...
by Heater
Wed Mar 04, 2020 8:44 am
Forum: Networking and servers
Topic: How to write JSON data on HTTP with Python?
Replies: 7
Views: 537

Re: How to write JSON data on HTTP with Python?

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 ...
by remiclassic
Tue Mar 03, 2020 7:11 pm
Forum: General discussion
Topic: Battery backup solution?
Replies: 1
Views: 117

Battery backup solution?

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 ...
by topguy
Tue Mar 03, 2020 12:41 pm
Forum: Automation, sensing and robotics
Topic: Auto Send Command Google Home/IFTTT
Replies: 4
Views: 800

Re: Auto Send Command Google Home/IFTTT

I was looking at the below guide - a possible way to avoid nstalling a webserver on the Pi.
Using an external couldservice will let you avoid installing a webservice and doing portforwarding, that is correct.
by martinpafc
Tue Mar 03, 2020 10:53 am
Forum: Automation, sensing and robotics
Topic: Auto Send Command Google Home/IFTTT
Replies: 4
Views: 800

Re: Auto Send Command Google Home/IFTTT

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 ...
by argentinaseby
Mon Mar 02, 2020 12:51 am
Forum: Beginners
Topic: Dyndns for Ipv6 on unsupportive domain hosts
Replies: 0
Views: 46

Dyndns for Ipv6 on unsupportive domain hosts

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 ...
by DougieLawson
Sun Mar 01, 2020 10:44 pm
Forum: Beginners
Topic: PHP not reading DS18B20 below 0C. Bash working
Replies: 6
Views: 253

Re: PHP not reading DS18B20 below 0C. Bash working

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?
by inurear
Thu Feb 27, 2020 9:54 pm
Forum: Troubleshooting
Topic: No telnet or ssh
Replies: 36
Views: 8239

Re: No telnet or ssh (work around)

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, ...
by hvdwolf
Thu Feb 27, 2020 7:02 pm
Forum: Networking and servers
Topic: Testing website from local network
Replies: 16
Views: 696

Re: Testing website from local network

Which webserver are you using? Apache or nginx?

If Apache, to which address is your server listening in virtualhost?

Only to stockton.co.za:80 or also to 192.168.0.100:80?
by DougieLawson
Wed Feb 26, 2020 12:08 pm
Forum: Beginners
Topic: How to transmit data trough an access point without protocol
Replies: 11
Views: 431

Re: How to transmit data trough an access point without protocol

... 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.
by bmscmoreira
Mon Feb 24, 2020 9:18 pm
Forum: General discussion
Topic: Easily run 64-bit Debian Buster packages on a Raspbian system: new RPi4 / RPi3 image released (systemd-nspawn, LXDE)
Replies: 175
Views: 47185

Re: Easily run 64-bit Debian Buster packages on a Raspbian system: new RPi4 / RPi3 image released (systemd-nspawn, LXDE)

... 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.
by DarkElvenAngel
Fri Feb 21, 2020 4:35 pm
Forum: Networking and servers
Topic: Advice for upgrades
Replies: 5
Views: 392

Advice for upgrades

... 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 ...
by DarkElvenAngel
Fri Feb 21, 2020 3:55 pm
Forum: Troubleshooting
Topic: PiHole auto update crashes Pi
Replies: 1
Views: 178

Re: PiHole auto update crashes Pi

... 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.
by neilgl
Fri Feb 21, 2020 12:36 pm
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

Re: IoT WebServer

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.
by Tomsik
Fri Feb 21, 2020 11:11 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

Re: IoT WebServer

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...
by PhatFil
Fri Feb 21, 2020 10:46 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

Re: IoT WebServer

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...
by tpyo kingg
Fri Feb 21, 2020 10:30 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

Re: IoT WebServer

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...
by Tomsik
Fri Feb 21, 2020 10:03 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

Re: IoT WebServer

I forgot to mention that WebServer and Database should be in standard HDD or maybe SSD.
by neilgl
Fri Feb 21, 2020 9:56 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

Re: IoT WebServer

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.
by Tomsik
Fri Feb 21, 2020 7:02 am
Forum: Beginners
Topic: IoT WebServer
Replies: 6
Views: 276

IoT WebServer

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...
by Ram.Sh
Fri Feb 21, 2020 12:40 am
Forum: Networking and servers
Topic: Need help with routing table (I think...)
Replies: 13
Views: 497

Re: Need help with routing table (I think...)

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 ...
by Ram.Sh
Thu Feb 20, 2020 10:52 pm
Forum: Networking and servers
Topic: Need help with routing table (I think...)
Replies: 13
Views: 497

Need help with routing table (I think...)

... 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 ...

Go to advanced search