• 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

Which is the simplest way to display current state of FSM on web page

Q&A Forum › Category: ESP8266 › Which is the simplest way to display current state of FSM on web page
0 Vote Up Vote Down
Paul French asked 2 years ago

I have a system running a Finite State Machine and I want to be able to view the current State on a web browser or app.   I just need to read this, not trying to control the ESP8266.   
Currently, I have my code displaying the System State only when there is a change in State in the Serial Monitor.  So I am hoping to replicate this logic to display the System State on a web page or app.
I have reviewed the various web tutorials but I have a hard time trying to understand the merits of the various web based publishing methods and libraries.  
What approach do you recommend?

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

Hi.
I recommend using server-sent events. The states will be updated on the web browser without the need to refresh the web browser or send commands to the ESP32…
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.