• 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

Home Automation Node-RED and Numeric Inputs from the Dashboard

Q&A Forum › Category: Home Automation › Home Automation Node-RED and Numeric Inputs from the Dashboard
0 Vote Up Vote Down
Roger Yacobucci asked 2 years ago

OK so I have completed entire Home Automation course but did I miss something?
I would like to send numeric input from the dashboard.  For example I have a thermostat and I would like the user to be able to set the temperature setpoint easily.  Like using a (+) and a (-) pushbutton to increment or decrement a number by 0.5 degrees.  And sending that number to my ESP8266 that is controlling the furnace.  However I did not see any examples where the Node-RED dashboard is publishing a numeric setpoint with a user interface on the dashboard.
Are there any nodes in any of the libraries that provide this functionality?  I looked and also searched the WEB but I can’t find a good example or solution.

Question Tags: Dashboard Numeric Input
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
You’re right.
We didn’t include that topic in the eBook. 
But, that’s a great suggestion.
 
There is a node-red dashboard node called “numeric” that allows you to insert numeric input on the dashboard. You can set a maximum, a minimum, and a step. You can adjust the number using little arrows.
 
Alternatively, there’s an input called “text input”. You can adjust its properties to accept numbers. Then, on the dashboard, you can manually insert the number you want.
 
Then, to send those values via MQTT, you just need to wire the output of those nodes to an MQTT node.
Let me know if this helps.
 
Regards,
Sara

0 Vote Up Vote Down
Roger Yacobucci answered 2 years ago

Thanks Sara.
Regards,
Roger

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

I hope that is helpful.
Then, let us know if you succeeded.
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.