Ewon Flexy easy I/O Setup as on Cosy - Printable Version +- Ewon Technical Forum (https://techforum.ewon.biz) +-- Forum: Development (https://techforum.ewon.biz/forum-50.html) +--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html) +--- Thread: Ewon Flexy easy I/O Setup as on Cosy (/thread-2271.html) |
Ewon Flexy easy I/O Setup as on Cosy - LordSerious - 21-04-2023 Good Day, I have Ewon Flexy 205 starter kit for our remote project and I would like to set up easy DIGITAL I/O as key switch input to provide remote access and digital output to light that somebody is IN. Is there any step-by-step procedure I see that this easy setup can be done on Cosy + but not on Flexy 205 RE: Ewon Flexy easy I/O Setup as on Cosy - ziozetti - 21-04-2023 Here you are: https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0015-00-en-switch-to-enable-wan-or-vpn-connection.pdf?sfvrsn=fddc56d7_5 RE: Ewon Flexy easy I/O Setup as on Cosy - LordSerious - 02-05-2023 Thanks I will check it ! (21-04-2023, 03:44 PM)ziozetti Wrote: Here you are: https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/knowledge-base/kb-0015-00-en-switch-to-enable-wan-or-vpn-connection.pdf?sfvrsn=fddc56d7_5unfortunately I'm trying to follow it up but cannot proceed when its running its blocked connection even that I close the digital input RE: Ewon Flexy easy I/O Setup as on Cosy - ziozetti - 02-05-2023 This script is working on a Flexy installed on field: Init section ONCHANGE "DI1", "GOTO VPN_Switch" VPN_Switch_Section VPN_Switch: If DI1@=1 Then Rem Open Internet connection Logevent "VPN actived by DI switch", 120 Setsys COM,"load" Setsys COM,"VPNCnxType","2" Setsys COM,"save" Print Time$;" Connection actived" Else Rem Close Internet connection Logevent "VPN turned off by DI switch", 120 Setsys COM,"load" Setsys COM,"VPNCnxType","0" Setsys COM,"save" Print Time$;" Connection closed" Endif End RE: Ewon Flexy easy I/O Setup as on Cosy - LordSerious - 03-05-2023 (02-05-2023, 11:27 PM)ziozetti Wrote: This script is working on a Flexy installed on field:Tried that still issue , see below pictures RE: Ewon Flexy easy I/O Setup as on Cosy - ziozetti - 03-05-2023 Tag name of D1 should be D1, you named it VPN_Switch. |