I bought your book and followed it securely and with results as expected.
Until the part 4. I managed all examples up to and included the deployment of the app wit visual studio code and platform IO with the NodeMCUV1,
So far so good. I have seen it working nicely sending and reading over the App
But I need to adapt it to my needs to control a boathouse. More or less according to the schematic on page 82 and onward.
I changed the code to add two more IO ports, module works ok.
So I setup a firebase_project with an index.html
But after making changes to the webserver code in the index.html, and deploy it. There are no error messages but the stream does not function responding to the new code.
Looks like it is living in sort of caching memory!
With the firebase console I am able to make changes to the values on the IO , no problems here and I see the changes nicelye popping up in the in the messages in the serial monitor.
So the stream and readback is functioning but NOT the browse pagenot on port 5000 nor on the indicated website.
I removed all firebase code and modules and assembled the complete project again but Now I do not see the webpage comming up again.
Reinstalled Node.js and Firebase tool again with same result.
The browser on http://localhost:5000 aswell as the site itself on “ttac-iot-app.firebaseapp.com” just show the login page and no action after entering the code and password
It is stuck No changes the the webpages.
My system is on Windows10 with Arduino IDE and Vidua Studio Code which I both used in many projets.
What can I do? I would appreciate any help
Make sure your HMTL file is in the right place in the Firebase Project folder. It must be inside the “public” folder.
Anytime you make changes, you need to run the command to deploy the app if you want to see the changes on the ttac-iot-app.firebaseapp.com site.
When you go to your ttac-iot-app.firebaseapp.com, open the console with CTRL + SHIFT + J. You can see if there are any issues there. You can also open the Elements tab and check if it is loading the right HTML or what HTML it is loading.
You may also need to hard refresh your web browser: https://www.contractsafe.com/support/how-to-clear-your-browser-cache-and-hard-refresh
I hope this helps you get more details about the issue. Then, share with me your findings. It may also help if you send me some screenshots that illustrate the problem.