Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directus and IoT: Sensor Data with an ESP32 #119

Closed
4 tasks done
vicradon opened this issue Mar 18, 2024 · 9 comments
Closed
4 tasks done

Directus and IoT: Sensor Data with an ESP32 #119

vicradon opened this issue Mar 18, 2024 · 9 comments
Assignees
Labels

Comments

@vicradon
Copy link

What is your idea?

This is an article that gets users started with using Directus for IoT projects. It’s a simple project that demonstrates how to collect and visualize temperature and humidity data from a DHT22 temperature and humidity sensor and send this data to Directus through an ESP32. An ESP32 is a board that allows IoT developers and hobbyists to work with sensors and controllers with built-in Wifi support. This Wifi support allows the board to connect to the internet and send data to destinations such as Directus by making HTTP calls. Below is a quick overview of the major sections of the article:

  1. It begins by highlighting the necessity of collecting and visualizing temperature and humidity data in various settings, including industrial and home environments.
  2. Next, it illustrates both physical and simulated circuit configurations to aid readers in implementing the project using either physical components or the Wowki IoT simulator.
  3. The setup process for Directus is then outlined, offering guidance on configuring it either through Directus Cloud or a self-hosted setup.
  4. Instructions are provided for creating a collection named "temperature_and_humidity," designed to store temperature and humidity data with four essential fields: id, temperature, humidity, and date_created.
  5. A demonstration follows on how to send data to this collection using the Directus REST API.
  6. Subsequently, readers are acquainted with making HTTP calls from an ESP32 using embedded C++ scripting.
  7. The article proceeds to showcase a demo of the HTTP POST request responsible for sending data to the "temperature_and_humidity" collection from the ESP32 script.
  8. The final step involves visualizing the accumulated temperature and humidity data using Directus Dashboards.
  9. Concluding the article, a discussion is presented, reflecting on the completed tasks and potential enhancements, such as incorporating a board_id field to identify the source board for each record within the collection.

What are the key takeaways from your post?

  1. How to store data from an IoT system to the cloud with the aid of Directus
  2. How to use Directus dashboards to easily visualize data from a database
  3. How to use the Directus API to make POST requests
  4. How to effectively utilize role permissions and access tokens in a Directus-powered project

What type of post is this?

Full Project Build with Directus

Country of residence

Nigeria

Terms & Conditions

  • You understand that submitting this form does not mean we accept your proposal. We will accept proposals at our discretion.
  • You understand that to be paid you will need to generate an invoice to us once the final draft of your work is completed.
  • You understand that you will grant us an unlimited license to post and promote your work as part of this program. You may repost, but using our copy as the canonical source.
  • You are aged 18 or over.
Copy link

Thank you for submitting an idea for our guest blog.

We work through new ideas every few weeks as we put together our content schedule. This means you may not get an immediate response as to whether your idea has been accepted, or any follow-up questions we have to clarify your idea.

If your idea is accepted, we will provide a deadline for first draft and how much we can pay you for the post. You will have a few days to confirm whether you are still able and willing to write the post.

If you have any questions in the meantime, feel free to add a comment to this issue.

@vicradon vicradon changed the title Bringing IoT to Life: Building a Temperature and Humidity Monitoring System with DHT11, ESP32, and Directus Using Directus in IoT to Track Temperature and Huidity data Mar 20, 2024
@phazonoverload
Copy link
Member

Are you happy to frame this as Directus and IoT: Sensor Data with an ESP32? I think the topic you've submitted is interesting, but if we generalize a bit (this is about IoT generally with this fairly straightforward example to start) I think it would have more appeal.

@vicradon
Copy link
Author

vicradon commented Apr 8, 2024

Hi @phazonoverload
I think your topic suggestion is still reasonable enough for the proposed outline. What do you think about the outline?

@vicradon vicradon changed the title Using Directus in IoT to Track Temperature and Huidity data Directus and IoT: Sensor Data with an ESP32 Apr 9, 2024
@phazonoverload
Copy link
Member

Yup all good! It's just narrative, not actual technical changes.
Based on the agreed scope we can pay $500 for this post and the accompanying repository which you can create in your account and we will fork.

This post will be included as part of our June content schedule. The first draft is due on May 1 so we have time to properly review it and you have time to respond.

If interested and you’re happy to commit to the deadline, please let me know in the next few days and I will mark this issue as Approved.

The process is detailed in the README of this repo 😄

@vicradon
Copy link
Author

Thank you @phazonoverload
Can the post be included in the May schedule instead? I will submit the first draft on Monday, the 15th of April.

@phazonoverload
Copy link
Member

Possibly. If you get it in on Monday I'll review it next week. Our schedule if full for May but there are a couple of posts that might not be ready in time.

Regardless, payment is based on the post being finished (not published) if that's why you're asking 😄

@vicradon
Copy link
Author

Ah, I see. I thought the payment was based on the publication month. I'll try my best to complete it before April runs out. Thank you!

@vicradon
Copy link
Author

vicradon commented May 6, 2024

Hi @phazonoverload
I submitted the first draft a few days back. Could you please take a look at it?

@phazonoverload
Copy link
Member

No need to bump - I've seen and have scheduled in time to review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants