Comments on: Arduino Ethernet Web Server with Relay https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 01 Mar 2025 18:59:04 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mark https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-1012207 Sat, 01 Mar 2025 18:59:04 +0000 http://randomnerdtutorials.com/?p=34701#comment-1012207 Line 86 -> if (strstr(linebuf,”GET /relay1off”) > 0){

Compile error: ordered comparison of pointer with integer zero (‘char*’ and ‘int’)

Any suggestions?….

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-924900 Thu, 13 Jun 2024 09:09:24 +0000 http://randomnerdtutorials.com/?p=34701#comment-924900 In reply to Paul Greenwood.

Hi.
No.
I went to FEUP (Faculty of Engineering in Oporto).
Regards,
Sara

]]>
By: Paul Greenwood https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-924799 Wed, 12 Jun 2024 20:36:43 +0000 http://randomnerdtutorials.com/?p=34701#comment-924799 Hi Sarah,

Sorry that this is not the place to ask, but did you go to Manchester University?

]]>
By: TT https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-882367 Sat, 06 Jan 2024 14:06:10 +0000 http://randomnerdtutorials.com/?p=34701#comment-882367 I forgot to mention, I already tied modifying this line: from Ethernet.begin(mac, ip);
to this Ethernet.begin(mac, ip, server); which did not resolve the issue.

]]>
By: TT https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-882366 Sat, 06 Jan 2024 13:50:50 +0000 http://randomnerdtutorials.com/?p=34701#comment-882366 Hello,
I’m new to Arduino, and found this relay control project and am having some fun. It works really well. I’ve done port forwarding on my router, so I can control it externally from the web on my mobile phone. I’ve hooked it up to my furnace so I can change the heat setting remotely, so I’d like to change the default port to a more obscure setting to keep unwanted agents from accessing it. Any attempts I make to change it from the default port, (by appending the ip address with a colon and port number), result in a message “This page isn’t working 192.168.xx.xx sent an invalid response.” ERR_INVALID_HTTP_RESPONSE
I’ve tried this on the local LAN to rule out any ISP or Router anomalies. Does the port change need to happen somewhere else in the code, in addition to the “EthernetServer server(80);” I’m using a “HiLetgo W5100” ethernet shield I got from amazon for $15.00
Thank you!

]]>
By: nuno campos https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-831598 Sun, 23 Apr 2023 21:45:03 +0000 http://randomnerdtutorials.com/?p=34701#comment-831598 In reply to Rui Santos.

Olá… este projeto era perfeito para uma pequena situação que tenho em mãos.

Preciso de controlar uma placa de 4 reles para ligar e desligar camaras mas depois de alterar o código para tentar aumentar o numero ( com sucesso ) a pagina web surge com os botões a desaparecer quando se carrega neles… pode ajudar ( pago se for preciso )

]]>
By: Krish https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-801055 Mon, 05 Dec 2022 08:44:55 +0000 http://randomnerdtutorials.com/?p=34701#comment-801055 In reply to Sara Santos.

HI Sara
Thank you for the response. I did manage to work it out. I just had to pursue a bit more before giving up. Got there eventually.
Thank you very much.

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-800984 Sun, 04 Dec 2022 21:35:06 +0000 http://randomnerdtutorials.com/?p=34701#comment-800984 In reply to Krish Naidoo.

Please provide more details about the error.

]]>
By: Krish Naidoo https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-800972 Sun, 04 Dec 2022 19:27:26 +0000 http://randomnerdtutorials.com/?p=34701#comment-800972 In reply to Rui Santos.

Hello Rui
I have tried adding declaring more outputs and buttons and have not been successful. The modified code verified and uploads without errors but the browser does connect after doing this.

]]>
By: Claudio https://randomnerdtutorials.com/arduino-ethernet-web-server-with-relay/#comment-796529 Tue, 08 Nov 2022 08:52:57 +0000 http://randomnerdtutorials.com/?p=34701#comment-796529 Hi Sara,
I want to add a physical switch near the Arduino to activate the relay.
How can I implement this on the sketch ?
Thanks
Claudio

]]>