Menu

Configuration Mode

hdehghann
Joined
2021-04-02 06:43:34
Posts
6

Configuration Mode

Hi everyone. Could you please help how can I go to Configuration mode from my phone ? I can not go to the last config mode IP that is shown in the dashboard, as it says: 192.168... refused to connect. Also, I can not find it in my wifi connections(if I put the board in a box and can't push the button for 8 sec) Is there any direct link like Control Panel that I can not find?

Thanks in advance

Onno Dirkzwager
Joined
2016-06-04 21:36:48
Posts
64

In response to hdehghann (View post):

Hi everyone. Could you please help how can I go to Configuration mode from my phone ? I can not go...

Your device is either in Config or Normal mode. 

When your device goes into config mode and has a internet connection it will send it's ip address to the control panel.

If want to make an alternative for the button... You can change modes from your code by using the following function

IAS.espRestart(char); // C or N
Christiaan Broeders
Joined
2016-06-04 21:36:48
Posts
22

As to your question regarding the control panel on the IAS website, no there is no button there to initiate contact with your device.
For security reasons, it is always your device that must contact the IAS server, never the other way arround.

hdehghann
Joined
2021-04-02 06:43:34
Posts
6

In response to Onno Dirkzwager (View post):

Your device is either in Config or Normal mode.  When your device goes into config mode and ha...

Thanks for quick reply.

"When your device goes to config mode..."  How should we go to this mode ? What re the ways ?

hdehghann
Joined
2021-04-02 06:43:34
Posts
6

In response to Christiaan Broeders (View post):

As to your question regarding the control panel on the IAS website, no there is no button there to i...

Thanks Christian

Christiaan Broeders
Joined
2016-06-04 21:36:48
Posts
22

For easing development there is the option to use the button push.
But if physical acces to the device is not an option you can call the following function from your code

IAS.espRestart('C');

This will reset the device and have it start in config mode.

Note that passing it an 'N' will have the device restart in normal mode. 

You can check the code on github to see exactly how it is handled

hdehghann
Joined
2021-04-02 06:43:34
Posts
6

Thanks a lot for detailed answer 🙏🙏🙏

IotAppAccount
Joined
2017-01-18 17:54:24
Posts
15

Hi hdehghan 
I'm not skilled enough to say that it's a god way but it solved my problem on an distant Esp.
I soldered D2 D3 together and used MQTT topic config, payload true, to set D2 false for 7000ms. 
Sending config false set D2 false for 3100ms was update.
So when I send config true or false from my phone or node-red Esp goes into respective state

JamescharlesAssig
Joined
2022-06-10 06:29:55
Posts
0
Deleted
sarahloran3211
Joined
2022-06-13 12:52:47
Posts
0

In response to hdehghann (View post):

Hi everyone. Could you please help how can I go to Configuration mode from my phone ? I can not go...
Deleted
leemark
Joined
2022-08-18 11:44:53
Posts
4
Deleted
jonemartin
Joined
2022-09-02 16:26:41
Posts
32
Deleted
thomasrichard
Joined
2022-09-12 13:09:08
Posts
0
Deleted
Atulya2230
Joined
2022-10-21 06:46:28
Posts
0
Deleted
DDresselhaus
Joined
2022-09-14 17:27:22
Posts
1

I am at a loss.  When I hold down the button for 10 sec it says Configuration Mode.  I go to the IP address shown and there is a banner, but nothing else.  My monitor says that app updates must be enabled using config menu.  What is supposed to happen when I put my device into configuration mode?