Search found 45 matches

by bellad
Mon Feb 24, 2020 1:33 pm
Forum: General Discussion and Questions
Topic: [resolved]change name esp32 expressif
Replies: 2
Views: 85

Re: change name esp32 expressif

thank you very much

but no dhcp ,
it's ok , it's work
by bellad
Mon Feb 24, 2020 1:03 pm
Forum: General Discussion and Questions
Topic: [resolved]change name esp32 expressif
Replies: 2
Views: 85

[resolved]change name esp32 expressif

hello,
i will have several ESP32 on my wifi router and everyone is called ' expressif' ,
is it possible to change the name?
thank
by bellad
Thu Feb 20, 2020 8:24 am
Forum: General Discussion and Questions
Topic: [resolved]access point < > sta router ?
Replies: 5
Views: 148

Re: ap and sta ?

sorry but no work i 've put this in boot.py if not sta_if.isconnect():# if sta is deconnected ap.active(True) # active ap else: ap.active(False)#desactive ap please help me !! or question : is it possible to , if sta router is disconnected , to pass on acces point and when sta router come back , dis...
by bellad
Wed Feb 19, 2020 9:02 am
Forum: General Discussion and Questions
Topic: [resolved]access point < > sta router ?
Replies: 5
Views: 148

Re: ap and sta ?

yes , but where i put ?? in boot.py or my script ?
by bellad
Wed Feb 19, 2020 8:32 am
Forum: General Discussion and Questions
Topic: [resolved]access point < > sta router ?
Replies: 5
Views: 148

Re: ap and sta ?

thank jimmo,
what i would like to do :
if the sta no work ( example : wifi router out of service ) , the ap take over
it's possible,?? but I don't see how
by bellad
Tue Feb 18, 2020 1:01 pm
Forum: General Discussion and Questions
Topic: [resolved]access point < > sta router ?
Replies: 5
Views: 148

[resolved]access point < > sta router ?

hello , it's possible on esp32 , ap and sta , the both active ?? because before i work with sta : no problem i link 192.168.1.200 ( my web page ) with sta and ap : i can with ap i link 192.168.1.200 ( my web page ) but no with sta my code : def do_connect(): import network # my cisco ap wifi interne...
by bellad
Thu Feb 06, 2020 9:53 am
Forum: General Discussion and Questions
Topic: local variable referenced before assignment
Replies: 8
Views: 340

Re: local variable referenced before assignment

but , i try only with apl1 , and when start with ' th.start_new_thread(apl1) '
TypeError: function missing 1 required positional arguments

ok , i see , "th.start_new_thread(apl1,())"
by bellad
Thu Feb 06, 2020 9:07 am
Forum: General Discussion and Questions
Topic: local variable referenced before assignment
Replies: 8
Views: 340

Re: local variable referenced before assignment

ok , thank you , but , I am new in python and do not know 'thread' can you look my code and tell me why the apl1 work and apl2 no work ? apl1 = thermostat apl2 = apli web for changed parameter of apl1 i tried all alone apl1 , but when start , i cannot do other i have not " >>>" I took an example fro...
by bellad
Wed Feb 05, 2020 10:07 am
Forum: General Discussion and Questions
Topic: local variable referenced before assignment
Replies: 8
Views: 340

Re: local variable referenced before assignment

ok , thank you , i test , but , it is necessary to declare global in each ' def() ' of thread ?
by bellad
Wed Feb 05, 2020 9:29 am
Forum: General Discussion and Questions
Topic: local variable referenced before assignment
Replies: 8
Views: 340

local variable referenced before assignment

Hello , i have changed , like i can't with esp8266 , i try with esp32 in multi thread i have declared 'ab=0' in the beginning but Traceback (most recent call last): File "<stdin>", line 1, in <module> File "chauf33.py", line 250, in <module> File "chauf33.py", line 130, in apl1 NameError: local vari...