Search found 1047 matches

by chipfryer27
Thu May 02, 2024 11:11 am
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi I had a project to monitor tanks (water, not Challenger) and the remote tanks communicated to a "base station" via LoRa. The base station located in the house would then communicate via WiFi / Internet to PushingBox which would subsequently send out Push/email alerts etc. However if the WiFi/Inte...
by chipfryer27
Wed May 01, 2024 10:51 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi

This seems to work for me.

If I step through I can follow the path doing as it should and if I then switch off my laptop WiFi it reacts accordingly.
WiFi_Test_1A_modified.fcfx
(14.22 KiB) Downloaded 6 times
Regards
by chipfryer27
Wed May 01, 2024 10:42 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi

When simulating you should be good. Have you set the properties in Network Component correctly?

Regards
by chipfryer27
Wed May 01, 2024 10:17 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi Ouch... remembering that far back :) I was going to update to have a Web Developer "app" access the database but realised I'd need to refresh my memory a lot..... So, from memory that still works:- When simulating using the Network Comms and and ESP WLAN components I have never got "autodetect" t...
by chipfryer27
Wed May 01, 2024 8:23 pm
Forum: General
Topic: STM32 Increase Uart RX buffer size
Replies: 3
Views: 42

Re: STM32 Increase Uart RX buffer size

Hi

Would the circular buffer be of use?

Usually I use the RxINT to grab a byte and immediately store in the buffer for processing within the Main loop.

Just a thought.

Regards
by chipfryer27
Wed May 01, 2024 5:34 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

PS

I'd need to check the procedure to actually connect, it's most likely more than just connect :)
by chipfryer27
Wed May 01, 2024 5:20 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi

Perhaps overthinking?

Maybe just use the "connect" macro within the component macro to connect to your chosen site. This will return 0 if unsuccessfull or 1 if all good?

Regards
by chipfryer27
Tue Apr 30, 2024 6:32 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi

I think in a previous project you successfully grabbed "200 OK" or such like. Principle is the same, just choose a website that's likely to be available and of course even "400" is valid as the server has responded with it.

Regards
by chipfryer27
Tue Apr 30, 2024 4:10 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Haha The problem with setting to only use data over WiFi is I will forget when out and then wonder why I have no internet. I have done the same. When abroad I use another phone with a local SIM and this acts as a hotspot allowing my UK phone / PC / whatever to access and I keep "data off" on my UK p...
by chipfryer27
Tue Apr 30, 2024 3:46 pm
Forum: General
Topic: WiFi alarm
Replies: 17
Views: 118

Re: WiFi alarm

Hi As you rightly state, just because you have a WiFi signal it doesn't mean you have internet connectivity. Some phones have a setting that you can choose to only use "data" over WiFi so that would be an obvious choice, with you having to change a setting to allow mobile data if required. Have a lo...