Search found 811 matches

by davef
Wed Aug 03, 2022 6:50 pm
Forum: ESP32 boards
Topic: Can't connect to ESP32-WROOM-32D (stuck at "Trying to connect to REPL..")
Replies: 5
Views: 16737

Re: Can't connect to ESP32-WROOM-32D (stuck at "Trying to connect to REPL..")

I have this in .bashrc and it works maybe 99% of the time. Was a recommendation found on this site. Note: 30 not 32

Code: Select all

alias rsusb='rshell -p /dev/ttyUSB0 --baud=115200 --editor nano --buffer-size=30 -a>
then

Code: Select all

source ~/.bashrc
by davef
Mon Aug 01, 2022 8:28 am
Forum: ESP32 boards
Topic: station.scan() issue on ESP32
Replies: 22
Views: 35120

Re: station.scan() issue on ESP32

Correct, so if you are happy to let something connect you can just disable it. probably clearer to say, you could disable the watchdog for some periods BUT you will lose protection. I connect at the beginning of a script and when successfully connected to WiFi run my main script with watchdog enable...
by davef
Mon Aug 01, 2022 7:47 am
Forum: ESP32 boards
Topic: station.scan() issue on ESP32
Replies: 22
Views: 35120

Re: station.scan() issue on ESP32

The PM was sent. You might need to set it up ... it's been a long time. The Private Message icon should be near the top right corner. You can not attach .pdf to a message. I did mention that in the message. I mentioned 25 seconds because WiFi connections and getting NTP time can take many seconds. T...
by davef
Sat Jul 30, 2022 11:44 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1488889

Re: ESP-Now support for ESP32 (and ESP8266)

During the last few weeks I saw a comment to the effect ... that the WiFi would attempt to re-connect if it went down.

So, there is no point in checking that the WiFi is connected to the router, say every hour, correct?
by davef
Sat Jul 30, 2022 6:25 pm
Forum: ESP32 boards
Topic: station.scan() issue on ESP32
Replies: 22
Views: 35120

Re: station.scan() issue on ESP32

I have sent you a PM. Did you change the extension to .pdf?
by davef
Sat Jul 30, 2022 11:07 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1488889

Re: ESP-Now support for ESP32 (and ESP8266)

I have success with sending more than one message from the remote to the repeater. Complete system is now working. Try adding print("channel =", e0.config('channel')) immediately before every call to e0.send() on the remote. Threw an error so I changed it to w0 (the WiFi). Even without the lightslee...
by davef
Sat Jul 30, 2022 7:43 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1488889

Re: ESP-Now support for ESP32 (and ESP8266)

I have made a note to do w0.config(channel=x) after lightsleep() .... when I find out what x is.
by davef
Sat Jul 30, 2022 6:08 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1488889

Re: ESP-Now support for ESP32 (and ESP8266)

However, applications must disable the WLAN peripheral (using active(False)) before entering light or deep sleep (see Sleep Modes). Otherwise the WiFi radio may not be initialised properly after wake from sleep. I was doing that in the remote that was using lightsleep(). and that will reset the cha...
by davef
Sat Jul 30, 2022 4:12 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1488889

Re: ESP-Now support for ESP32 (and ESP8266)

Sorry to cause more confusion, but there seem to be some basic rule(s) I am not following. I see that this is reflected in some confusing statements. 1) the remote w0 channel needs to be the same as the repeater and the proxy, correct? 2) no messing-around with channel assignments in add_peers(), co...