- Yes - Getting all the libraries installed - ESP8266 Core and InqPortal
- Yes - Successfully did the ESP8266 Core patch. This seems to stump people the most. Usually because they missed the ten different notes sprinkled everywhere.
https://inqonthat.com/arduino-ide-configuration-for-windows/ For anyone looking - Yes - Compiled and uploaded your InqPortal based project with the Arduino IDE.
- Kinda- You're able to browse to the Admin on your ESP8266... using something like http://Soil_Moisture/Admin.html
That is if you left the SOFT_SSID "Soil Moisture".
I was using http://10.10.10.10/admin.html and opening my index.html from the files tab to see my graph. Then the link just becomes http://10.10.10.10/index.html
I was not able to get http://Soil_Moisture/Admin.html to work. - Yes - You've clicked the Files tab and drag and dropped your Index.hml file on the Admin File Manager tab. This uploads it to the server so that any browser client in the future can retrieve it.
- Web development is unlike INO or C++ development. If you leave a file out or your HTML or JavaScript has a syntax error, Web development just gives you white space on the browser... no warnings, no errors. It is the most frustrating thing I ever experienced when I started web development.
However, if you press F12 on your browser, it'll split the screen and give you a debugger. If you do a refresh, it WILL show an error... probably that gauge.min.js is missing.
I did use the pictures you provided to realize I also needed to add guage.min.js so I grabbed that from the github you linked before. The gauge was a no show though. Probably becuase the following error.
" document.gauges.get("gauge-humid").value = v;" this line does produce an errorCannot read property 'get' of undefined
- Look in my first post where the picture of the Files tab is showing what you should have on your ESP8266 server. See that it has two files present. The first file is the gauge library and you need to go to the author's page: https://github.com/Mikhus/canvas-gauges Find that one file you need and download to your dev machine and then upload it to your ESP8266 server.
That page of his also has links on how to use the Gauge library. I only have about fifteen minutes exposure using that library, so I can't help you much with it. There are lots of examples of different kinds of gauges on his site.
[/i]"
Inq720 wrote:Hi Jacob,
That was quick... like before I sent the reply.Jacob Major wrote:I was able to get the server up and running easily with this tutorial but I was unable to get the gauge to appear on index.html. I was able to get the graph to show up but I need to fix the part of the graph where it scales based on the input recieved. I appreciate your help up to this point, it has sped up my ability to implement this immensely.
It sounds like you got pretty far in the steps. I'll itemize and you tell me where you ran afoul. I'll put a Yes or ? in front of where it sounds like you have progressed.
- Yes - Getting all the libraries installed - ESP8266 Core and InqPortal
- Yes - Successfully did the ESP8266 Core patch. This seems to stump people the most. Usually because they missed the ten different notes sprinkled everywhere.
- Yes - Compiled and uploaded your InqPortal based project with the Arduino IDE.
- ? - You're able to browse to the Admin on your ESP8266... using something like http://Soil_Moisture/Admin.html
That is if you left the SOFT_SSID "Soil Moisture". - ? - You've clicked the Files tab and drag and dropped your Index.hml file on the Admin File Manager tab. This uploads it to the server so that any browser client in the future can retrieve it.
- Web development is unlike INO or C++ development. If you leave a file out or your HTML or JavaScript has a syntax error, Web development just gives you white space on the browser... no warnings, no errors. It is the most frustrating thing I ever experienced when I started web development.
However, if you press F12 on your browser, it'll split the screen and give you a debugger. If you do a refresh, it WILL show an error... probably that gauge.min.js is missing. - Look in my first post where the picture of the Files tab is showing what you should have on your ESP8266 server. See that it has two files present. The first file is the gauge library and you need to go to the author's page: https://github.com/Mikhus/canvas-gauges Find that one file you need and download to your dev machine and then upload it to your ESP8266 server.
That page of his also has links on how to use the Gauge library. I only have about fifteen minutes exposure using that library, so I can't help you much with it. There are lots of examples of different kinds of gauges on his site.
[/i]"