Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arduino Data Communications

You're reading from  Arduino Data Communications

Product type Book
Published in Nov 2023
Publisher Packt
ISBN-13 9781837632619
Pages 286 pages
Edition 1st Edition
Languages
Author (1):
Robert Thas John Robert Thas John
Profile icon Robert Thas John

Table of Contents (20) Chapters

Preface 1. Part 1:Introduction to Arduino and Sensor Data
2. Chapter 1: Getting Started with Arduino 3. Chapter 2: Leveraging Various Sensors for Data Acquisition 4. Chapter 3: Prototyping with Shields 5. Chapter 4: Storing Data Collected from Sensors 6. Chapter 5: Implementing REST and MQTT Protocols for Communication 7. Part 2:Sending Data
8. Chapter 6: Utilizing Various Communication Technologies 9. Chapter 7: Communicating with LoRaWAN 10. Chapter 8: Working with Ethernet 11. Chapter 9: Leveraging Cellular Communication Technology 12. Chapter 10: Communicating via HC-12 13. Chapter 11: Managing Communication with RS-485 14. Part 3: Miscellaneous Topics
15. Chapter 12: Enhancing Security for Reducing Risk 16. Chapter 13: Scaling for High Availability 17. Chapter 14: Building and Manufacturing Hardware 18. Index 19. Other Books You May Enjoy

REST API for InfluxDB

InfluxDB has an API baked in that makes it possible to make CRUD calls without having to implement a separate application.

Let’s begin by getting some sample data into our instance of InfluxDB.

Getting sample data into InfluxDB

Follow these steps to create a bucket and populate it with some sample data:

  1. Browse to the URL of the server that hosts your InfluxDB instance. The format of the URL is http://192.168.68.127:8086/. Ensure that you replace the IP address in the URL with the one for your server.
  2. Sign in with your username and password.
  3. Use the menu on the left to navigate to the Buckets screen, as shown in the following screenshot:
Figure 5.21 – Navigating to the Buckets screen

Figure 5.21 – Navigating to the Buckets screen

  1. Click on the + CREATE BUCKET button on the right of the screen, then fill in noaa in the Name field. Since this is a private server, I will set Delete Data to NEVER. If you would like to have InfluxDB manage...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}