Automatyczny reset - da się?

Masz pomysł na funkcjonalność lub koncepcję na rozwój projektu. Opisz wszystko tutaj.
kindziol
Posts: 70
Joined: Mon Oct 07, 2019 10:28 pm

Post

elmaya wrote: Fri Nov 29, 2019 12:27 pm You may have it stored in a folder with Polish letters, I think he doesn't like that.
try changing the name of the folder and file so that it only contains standard characters.
Co do programu miałeś racje, teraz jest ok !
Ale jak pisałem, problem jest z czasami, po zaniku wifi następuje reset co około 10s. Więc nie pozwoli na załączenie routera. Myślę, że powinien to robić co 5 minut po zaniku wifi. Czy możesz to zmienić ?
I jeszcze jedna sprawa, ta dioda awarii, da się coś zrobić żeby informowała, że jest brak wifi ?

dziekuje
elmaya
Posts: 1485
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

kindziol wrote: Fri Nov 29, 2019 12:45 pm
elmaya wrote: Fri Nov 29, 2019 12:27 pm You may have it stored in a folder with Polish letters, I think he doesn't like that.
try changing the name of the folder and file so that it only contains standard characters.
Co do programu miałeś racje, teraz jest ok !
Ale jak pisałem, problem jest z czasami, po zaniku wifi następuje reset co około 10s. Więc nie pozwoli na załączenie routera. Myślę, że powinien to robić co 5 minut po zaniku wifi. Czy możesz to zmienić ?
I jeszcze jedna sprawa, ta dioda awarii, da się coś zrobić żeby informowała, że jest brak wifi ?

dziekuje
sometimes, after the disappearance of the wifi is reset every 10s. ---- solved
download again!
I will think about the Led
User avatar
Dawid84
Posts: 154
Joined: Mon Jan 14, 2019 12:45 pm
Location: Piekary Śląskie

Post

Wgralem soft z poczatku tego tematu wg ustawien zamiast przekaznika podlaczylem led pomiedzy D2 a GND i led nie swieci wylaczylem wifi dioda alarmu zaswiecila sie a led ktory robi za przekaznik nie wlaczyl sie wcale czekalem 5min i 15min.
Stwierdzam ze moj wemos d1 mini jest trafiony i nie dziala bede musial zamowic nowy i sprawdze.
Pozdrawiam
Dawid
elmaya
Posts: 1485
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

@Dawid84
I don't think that Wemos are defective!
Please download and install this:
viewtopic.php?p=54865#p54865
then
Please download Putty.
to see what is happening on the serial monitor.
https://www.chiark.greenend.org.uk/~sgt ... atest.html
set up this way.

PuTTY - copia.png
in the field "Serial line" (COM5 in the screenshot).
set the Com port number to the one you have connected your Wemos. (the same one you use to upload).
then click Open.
In the terminal window you will see:

normal state (connected) every 30 seconds
ok.png
connection error(not connected)
error.png
Reset appears after the time they have set in wificonfig (5.10, or 15 minutes)
At the moment that Reset appears on the monitor, the LED you have connected must turn on for 5 seconds.
You do not have the required permissions to view the files attached to this post.
kindziol
Posts: 70
Joined: Mon Oct 07, 2019 10:28 pm

Post

elmaya wrote: Fri Nov 29, 2019 2:10 pm
kindziol wrote: Fri Nov 29, 2019 12:45 pm
elmaya wrote: Fri Nov 29, 2019 12:27 pm You may have it stored in a folder with Polish letters, I think he doesn't like that.
try changing the name of the folder and file so that it only contains standard characters.
Co do programu miałeś racje, teraz jest ok !
Ale jak pisałem, problem jest z czasami, po zaniku wifi następuje reset co około 10s. Więc nie pozwoli na załączenie routera. Myślę, że powinien to robić co 5 minut po zaniku wifi. Czy możesz to zmienić ?
I jeszcze jedna sprawa, ta dioda awarii, da się coś zrobić żeby informowała, że jest brak wifi ?

dziekuje
sometimes, after the disappearance of the wifi is reset every 10s. ---- solved
download again!
I will think about the Led
Witaj ponownie.
Chyba mnie źle zrozumiałeś.
Chcę żeby było tak:
wifi jest normalna praca
wifi brak restart ale co 5 minut a nie co 10 secund.
elmaya
Posts: 1485
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

kindziol wrote: Fri Nov 29, 2019 9:26 pm
elmaya wrote: Fri Nov 29, 2019 2:10 pm
kindziol wrote: Fri Nov 29, 2019 12:45 pm

Co do programu miałeś racje, teraz jest ok !
Ale jak pisałem, problem jest z czasami, po zaniku wifi następuje reset co około 10s. Więc nie pozwoli na załączenie routera. Myślę, że powinien to robić co 5 minut po zaniku wifi. Czy możesz to zmienić ?
I jeszcze jedna sprawa, ta dioda awarii, da się coś zrobić żeby informowała, że jest brak wifi ?

dziekuje
sometimes, after the disappearance of the wifi is reset every 10s. ---- solved
download again!
I will think about the Led
Witaj ponownie.
Chyba mnie źle zrozumiałeś.
Chcę żeby było tak:
wifi jest normalna praca
wifi brak restart ale co 5 minut a nie co 10 secund.
the reset every 10 seconds was a bug in the program.
is corrected, please try the updated version.
kindziol
Posts: 70
Joined: Mon Oct 07, 2019 10:28 pm

Post

elmaya wrote: Fri Nov 29, 2019 9:35 pm
kindziol wrote: Fri Nov 29, 2019 9:26 pm
elmaya wrote: Fri Nov 29, 2019 2:10 pm

sometimes, after the disappearance of the wifi is reset every 10s. ---- solved
download again!
I will think about the Led
Witaj ponownie.
Chyba mnie źle zrozumiałeś.
Chcę żeby było tak:
wifi jest normalna praca
wifi brak restart ale co 5 minut a nie co 10 secund.
the reset every 10 seconds was a bug in the program.
is corrected, please try the updated version.
Przepraszam Cie bardzo ale link viewtopic.php?f=9&t=5046&start=130 nie działa. Podaj nowy link do downloadu.
elmaya
Posts: 1485
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

kindziol
Posts: 70
Joined: Mon Oct 07, 2019 10:28 pm

Post

kindziol wrote: Fri Nov 29, 2019 9:55 pm
elmaya wrote: Fri Nov 29, 2019 9:35 pm
kindziol wrote: Fri Nov 29, 2019 9:26 pm

Witaj ponownie.
Chyba mnie źle zrozumiałeś.
Chcę żeby było tak:
wifi jest normalna praca
wifi brak restart ale co 5 minut a nie co 10 secund.
the reset every 10 seconds was a bug in the program.
is corrected, please try the updated version.
Przepraszam Cie bardzo ale link viewtopic.php?f=9&t=5046&start=130 nie działa. Podaj nowy link do downloadu.
Jeszcze raz. Bo jest źle.

Praca normalna, wifi pracuje, wysyła zapytania do www.google.pl brak restartu
brak wifi , wysyła zapytanie do www.google.pl ale restart robi co 5 minut a nie co 10 sekund.


Normal operation, wifi works, sends queries to www.google.pl no restart
no wifi, sends a request to www.google.pl but it does restart every 5 minutes instead of every 10 seconds.
Patryk
Posts: 2944
Joined: Mon Jan 07, 2019 7:51 pm
Location: Rybnik

Post

kindziol wrote: Fri Nov 29, 2019 10:19 pm
Jeszcze raz. Bo jest źle.

Praca normalna, wifi pracuje, wysyła zapytania do www.google.pl brak restartu
brak wifi , wysyła zapytanie do www.google.pl ale restart robi co 5 minut a nie co 10 sekund.


Wybacz, ale nawet ja Cię nie rozumiem.

Return to “Pomysły i koncepcje”