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
56

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
19

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
19

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 🙏🙏🙏