Search found 272 matches

by RGV250
Wed May 01, 2024 10:40 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

Hi,
I removed the ESP32 and just used the network component but I didn't get anything. I then noticed that the network component connect component states "Some TCP/IP modules (RPI and ESP8266) will accept a URL instead of an IP address".
Looks like I will have to dig the actual hardware out.

Bob
by RGV250
Wed May 01, 2024 9:25 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

Hi, Any chance you can give this a quick once over. Should I be able to simulate the ESP32 as I do not even seem to get Ret = 1 to show it is connected to the router. I had a bit of a tidy up (I really shouldn't) and not sure where I have hidden my actual device so cannot try for real at the moment....
by RGV250
Wed May 01, 2024 6:45 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

Hi,
I did wonder if I was overthinking it. I looked at connect but only in the request_my_db example where it had a local IP and didn't realise it could have a URL.

Bob
by RGV250
Wed May 01, 2024 4:27 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

Hi, I wonder if I have hit a snag, I have written a PHP script which gets gets the file and checked this works on my PC. The issue is that the PC has the Abyss web server so all is good. If I run it on the ESP32 and do not have the PC running I do not think it will work? This is the script I have. <...
by RGV250
Tue Apr 30, 2024 7:23 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

I think in a previous project you successfully grabbed "200 OK" or such like.
Just what I was thinking.

Bob
by RGV250
Tue Apr 30, 2024 6:23 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

Good point, I had not thought of that, when I was with Plusnet I had a fixed IP. I will probably only check every couple of hours, it must have been out for quite a while as my data normally lasts a month easily and was used in just over a week. Just looking for the "200 OK" is a lot simpler than ge...
by RGV250
Tue Apr 30, 2024 3:52 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

Re: WiFi alarm

Hi Chipfryer, I have just come across this which is how Windows does it. https://superuser.com/questions/277923/how-does-windows-know-whether-it-has-internet-access-or-if-a-wi-fi-connection-re Basically it tries to connect to this address http://www.msftncsi.com/ncsi.txt which has this text in the d...
by RGV250
Tue Apr 30, 2024 3:34 pm
Forum: General
Topic: WiFi alarm
Replies: 15
Views: 79

WiFi alarm

Hi, I was out and about when my phone told me I had used 80% of my data. It has got to be wrong I thought as I mainly use it at home on my broadband connection. When I got home I realised that it had not connected to the WiFi which is why I used all my data. The phone is about the only thing that co...
by RGV250
Wed Mar 13, 2024 12:28 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 7179

Re: Protocol j1587

Hi,
When you say it works on the bench are you using live data from the tractor or some simulator? If it is live data then are you using a bench PSU and when on the tractor using the tractor supply. Does it work OK with the engine not running and then give problems when it is running?

Regards,
Bob
by RGV250
Thu Feb 22, 2024 4:34 pm
Forum: General
Topic: UART, I2C, SPI that don't retain pins in software mode
Replies: 4
Views: 254

Re: UART, I2C, SPI that don't retain pins in software mode

Oops how embarrasing, I have not done the full update. I will try it later.

Bob