eWON Internet Connection Drop


#1

I have a problem with eWON Flexy 201 internet connection. It drops the connection randomly after few hours of operation. When I restart the eWON, it establishes the internet connection again and remains connected for 6-8 hours.

One possibility is an external noise, which might be freezing the communication. Is it possible to program the eWON (Basic IDE) to reboot itself every six hours?

Thanks,

Mihir


#2

Hi Mihir,

Yes, it is. See “REBOOT” command: https://websupport.ewon.biz/sites/default/files/rg-002-0-en-programming_reference_guide.pdf#G3.1233399

Kyle


#4

Thanks Kyle.


#5

Hi Kyle,

Can I use as follow to reboot the eWON, if the internet connection is dropped?

init section:

ONWAN “goto WAN_Action”
END
WAN_Action:
I%=GETSYS PRG,“EVTINFO”
IF I%=2 then “REBOOT”
ELSE
ENDIF
END


#6

That looks liek it would work.


#7

Thanks Kyle.

What will happen, if there is no internet connection? eWON will keep on rebooting until internet connection is established?

Is there a way, if there is no internet connection, eWON reboot every hour?

Thanks.


#8

You would want to use ONCHANGE (see page 70 in Programming guide), instead of rebooting over and over when there is no internet.
But, you also might want to consider using ping, as it may be more reliable for determining the internet connection (see: https://developer.ewon.biz/content/perform-ping-function-basic)