• 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

Lora Refrigerator Temperature Monitor; how to change button to toggle?

Q&A Forum › Lora Refrigerator Temperature Monitor; how to change button to toggle?
0 Vote Up Vote Down
William Lucid asked 2 years ago

Have a web button to turn off alerts; would like for the button to be able to toggle alerts off or on.

Gist of present code not working

Project is using a LoRa LilyGo T3 v1.6.1 for a Refrigerator Temperature Monitor.

Refrigerator Monitor Web Page

Suggestions?

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
We have some projects that use toggle button that you can use as a reference.
For example:

  • https://randomnerdtutorials.com/esp32-websocket-server-arduino/
  • https://randomnerdtutorials.com/esp32-esp8266-web-server-outputs-momentary-switch/

Is this the type of buttons you’re referring to?
 
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 2 years ago

Good Morning Sara,
Thank you for the links; have the toggle button working with changing text in the the toggle button.

Web link: Refrigerator Temperature

Github project code: Refrigerator_Monitor

Toggle Button in index.html

Regards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Great.
I’ll mark this issue as resolved.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 2 years ago

Good Morning Sara,
Solved issue of mounting the LilyGo T3 v1.6.1;  mounted to plastic upright on plastic base by using a “popsicle” clamp, a popsicle stick with two machine screws into plastic upright.  Project sender is mounted inside of a tin “gifting” box.

Refrigerator Monitor Sender

Regards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Really nice finishing look.
Good work 😀
Thanks for sharing.
Regards,
Sara

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.