• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Have an output that functions with timer start and timer stop

Q&A Forum › Category: ESP32 › Have an output that functions with timer start and timer stop
0 Vote Up Vote Down
eric nju asked 4 years ago

hi, i would like to create a home automation unit with outputs that are controlled both by button and also timers start stop. this should be for security lights. i also wish to integrate the ds18b20 temperature in my code, is there anything available as the above with esp32?

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello Eric,

We don’t have any tutorials that shows exactly what you’re looking for… Which home automation controller/platform are you going to use (Node-RED, Home Assistant, etc)? Are you going to use MQTT?

0 Vote Up Vote Down
eric nju answered 4 years ago

hi Rui i was interesting in using MQTT with raspberry as base computer

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

If you merge these two Units together:

  • ESP32 with PIR Motion Sensor – Interrupts and Timers
  • Connect ESP32 to Node-RED using MQTT

You can create a timer for the ESP32 that turns an output on after a X number of seconds. With the second tutorial you can create an MQTT connection with a Raspberry Pi that instead of turning an output on/off, it could receive a message to start a timer…

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Firebase Web App with ESP32 and ESP8266 (version 1.2) April 25, 2022
  • [eBook Updated] MicroPython Programming with ESP32 and ESP8266 (version 1.3) February 7, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2022 · RandomNerdTutorials.com · All Rights Reserved