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

how to use framework with AJAX/websockets #84

Open
ArnoldGoat opened this issue Sep 12, 2021 · 2 comments
Open

how to use framework with AJAX/websockets #84

ArnoldGoat opened this issue Sep 12, 2021 · 2 comments

Comments

@ArnoldGoat
Copy link

I was struggling with removing 'delay' and substituting with a simple FSM, but it quickly got out of hand once I got beyond a simple demo, so your framework is absolutely great for parallel activities - thanks! I have an existing simple ESP8266WebServer-based website showing some readings. It uses AJAX to update sensor data to avoid whole page refresh. Do you have any suggestions about where to start this sort of thing using your framework? TIA @tinkerspy

@tinkerspy
Copy link
Owner

I think I would just create a web server that spits out json and reload that with javascript/ajax. It's not the most efficient way, but for a low traffic device it should be OK.

Regardz,
Tinkerspy

@ArnoldGoat
Copy link
Author

ArnoldGoat commented Sep 14, 2021 via email

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

No branches or pull requests

2 participants