ljvmiranda921 / comments.ljvmiranda921.github.io

Blog comments for my personal blog: ljvmiranda921.github.io
1 stars 0 forks source link

How to send data from RPI to Server #8

Open ljvmiranda921 opened 3 years ago

ljvmiranda921 commented 3 years ago

Written on 02/21/2017 06:07:10

URL: https://ljvmiranda921.github.io/notebook/2017/02/21/send-data-from-rpi-to-server/

ljvmiranda921 commented 3 years ago

Comment written by Njoku OKECHUKWU VAL on 08/20/2019 16:53:07

This looks wonderfully so short and direct. I am planning on building on building a forest surveillance, would try just this and if it works, I will make a donation when my work is adopted by the government. Thanks
Wow! Mine is the very first comment.

ljvmiranda921 commented 3 years ago

Comment written by Lj Miranda on 11/17/2019 10:30:40

Hi Njoku, that's awesome to hear! Let me know how your project went!

ljvmiranda921 commented 3 years ago

Comment written by huda on 04/09/2020 01:58:56

Hi, I want to try your works before I adopt to my one. However the github ink was broken. Could you fix it. Thank you

ljvmiranda921 commented 3 years ago

Comment written by Primož Horvat on 10/09/2020 10:56:26

Hi!

I'm curious... you send values as strings... but if I would like to have them in integer values.. how can I do that? Thanks.

ljvmiranda921 commented 3 years ago

Comment written by H Anandkumar Singh on 10/27/2020 14:56:05

Hi it's nice, obviously you deserve a big clap. I was looking for this same answer for long hour. Can you explain how to encrypt the value and send as hidden key. Please explain

ljvmiranda921 commented 3 years ago

Comment written by Lj Miranda on 11/06/2020 11:58:21

Hi, you always need to send values as strings because you're concatenating them into a URL. :) If you wish to receive them as an integer, you should update the receiver's code :)

ljvmiranda921 commented 3 years ago

Comment written by Lj Miranda on 11/06/2020 11:59:48

Hmm, unfortunately, I think I've already deleted the github gist :( I think the code in the post will still work either way

ljvmiranda921 commented 3 years ago

Comment written by Lj Miranda on 11/06/2020 12:01:13

Thank you so much. There's definitely alot of things that can be changed here. If you wish to encrypt the value, you can first change the call from GET and POST and then send a JSON data. You can probably encrypt that JSON data before sending, then decrypt it in the receiver

gnraju20411 commented 2 years ago

Hi, Its works good, actually I have doubt on my work. I have multiple Raspberry PI devices with sensors connected and its tacking data collection from all connected sensors into local MySQL DB. Now, my question is how to send the tables data to AWS RDS DB(MYSQL) ? I have AWS EC2 instance with ubuntu server and RDS instance with MySQL DB. Please can you give me the process or solution for data transfer.

gnraju20411 commented 2 years ago

Hi, Its works good, actually I have doubt on my work. I have multiple Raspberry PI devices with sensors connected and its tacking data collection from all connected sensors into local MySQL DB. Now, my question is how to send the tables data to AWS RDS DB(MYSQL) every 15 to 30 minutes? I have AWS EC2 instance with ubuntu server and RDS instance with MySQL DB. Please can you give me the process or solution for data transfer.