Program connecting to web server




















Thanks for sharing Rui Santos. I have a problem want to ask. And if yes how can I do that? Thanks a lot. Please answer me ASAP!!! Hi Gia. I just use it with Wi-Fi. Can not find that IP in my router or in Fing eighter! What am I doing wrong. Without any further details, it is very difficult to understand what might be wrong. Can you provide more details? Programming OK. Pinging Reply from Hey, nice tutorial, but a very important part would be: at every button push, to redirect the browser to the root, so in case of refresh, the switch will not be re-activated by mistake.

Is there a way to do this? Hi Constantin. I would like to show a image from a surveillance camera beneath the buttons! Hi, first of all I would like to thank you for this awesome tutorial. I assume that it as to do with the Wifi library right? Hi Jaime. Basically, what you should do is:. To send those double quotes to the client, without interfering with the double quotes of the client.

However, it will be more difficult to handle variables that change like the state of the output. Hi Jefferson. Are you using our exact code, or did you make any modifications? I found that we had an issue displaying the code on the website. Everything should be fixed now.

Can you copy the code again? Hi, thx por your post. I tried your code and works very well. It is possible to do this without router?

Thx in advance. Hi Victor. Yes, you can do that. You can set the ESP32 as an access point. I have another question, It is possible to use ESP32 as proxy between a station and the router? I mean, every time the station mobile, pc… wants to reach internet, every package it wants to send to the router, it must past through the ESP32 first. Routing tables whould be necessary? Thx again for your time and patience.

I followed your instructions precisely… everything I did produced the exact outcome you documented. As the last step, I enabled the sketch but fail to get a connection. Any thoughts? Hi Keith.

That message with infinite dots, usually happens when one forgets to insert the network credentials on the code, or the network credentials are incorrect. Please make sure that you have your network credentials inserted and without typos.

Is it necessary to use the LEDs or can it be done without them? Uploaded this example and you have given me lots to think about regarding talking to oled display and further capabilities. Rui thank you for a very complete tutorial. I used your project to remote control an old police lightbar that I converted to all LED. I used a pmos circuit to switch the higher amperage circuits and it all works great!

I have 6 different function switches. I have video if you want. Hi Eric. That would be great. Hi Gaver. You just need to set the ESP32 as an access point. It works fine. I am just wondering it it is possible to add password protection of the server as I am intend to use it over the internet by forwarding its localnet port.

If it can be done, it will be much more useful. Thanks for your good work. My board is esp32 devkit v1 and all settings I have same like you. Maybe its because i have a 30 pin module and not 36? That is probably due to wrong baud rate on the Serial Monitor. In the Serial Monitor, on the bottom right corner, select the baud rate. Thanks a lot in advance. PS : Wordfence is blocking my code. How can I sent it to you?

We have something similar to what you want to build on Module The code for receiving packets and building a web server simultaneously is on Unit 3. Hi Marcos. What do you mean? We use Fritzing to design our diagrams. Boa Tarde Rui, Usei esse exemplo de projeto e funcionou muito bem. Hi Jean Pierre. Many thanks for such a well explained tutorial, essential for a beginner such as myself, I look forward to following your other tutorials.

Thanks again Bob. Hi Robert. Thank you for following our projects. I would like to use it on internet using my DDNS and opening an port on my router. Is there any way to add password protection? Great tutorial!

It took me less than half an hour to mod the code to accept four relays instead of the coded two. This shows how good your code is as a template for any project involves multiple pins. I came across a funny one …. My dev board esp32 has the pins in inverse mode. So, your code display the opposite of what the pin status on. So, after uploading the web page indicates that the pins are ON and they actually off. Here are the details of my esp32 dev board.

Hello, thanks for the very good instructions. Especially the description of the code is very helpful. In addition, if I leave the project running overnight it quits working. I either have to press the EN button or reload the sketch to get it working again. Since I will ultimately want to deploy my end application remotely I will want an implementation that does not require physical access. Is there another fix for the need to push the EN button?

Hi Ron. Hi Sara, Thanks, that did the trick. In some cases the ESP32 had to keep trying to reconnect every 2 seconds for two minutes before it got reconnected to WiFi. I suggest both of these fixes be included in each project description. I only happened to know about the first fix because I saw it in another RNT project description. I had not run on to the second fix yet. When the server receives a connection or the client refreshes the web page it momentarily causes the output to go high.

Can you help us improve? Resolved my issue. Clear instructions. Easy to follow. No jargon. Pictures helped. Didn't match my screen. Incorrect instructions. Too technical. Not enough information. Not enough pictures. Any additional feedback? Submit feedback. The important bit to notice here is that there is no username displayed, which means no username is being sent to SQL Server for authentication.

So, with that in mind:. The login failed. First, double-check the database name in your connection string is spelled correctly. This is similar to the error above.

Hello, I am trying to connect my asp. I entered this server name. Hey there! Let me know how it goes! I started a Website in VS using asp and vb. Here is my code:. Text is what the user has typed in command.

Text command. Side note. So short of it is check that data base name too both in the data base and the connection strings! I am working with VS in a asp. Also, the same code works just fine in a console application, so there must be something going on with the form, the onlick event, the post…. I dont know, and this is driving me crazy now! Please help. StoredProcedure; cmd. I have been chasing up an issue figured that my local SQLExpress had a different name for couple of days and finally was able to figure out the issue thanks to your article!

I have tried login using admin user but no luck. I have checked the sql authentication as well and it is set to mixed. There is not much infomation provied in studio log trace. Any help would be appreciated.

Hey Seerat! Are you able to log into the database yourself with those credentials?



0コメント

  • 1000 / 1000