Connect the Station with your PC 


Put a Jumper on J1

 

Connect the Battery 


Start Terminal Program (TeraTerm or PI Service Terminal)


Go to Settings choose the correct Com Port:





Then start the MAIN MENU


========================================================================================
USER: \ MAIN MENU
========================================================================================

(1) SYSTEM
(2) SENSORS
(3) MODEM


 Press (3) MODEM


29/03/2020 00:20:42 >> Chosen function: MODEM

========================================================================================
USER: \ MAIN MENU \ MODEM
========================================================================================

(1) MODEM SETTINGS
(3) SEND STATION DATA
(4) GET GPS
(5) GET CONF SMS
(6) Download FW
(7) Download APN list
(ESC) BACK

Go to (1) MODEM SETTINGS

Now the Station is checking the modem

 

29/03/2020 00:20:45 >> Chosen function: MODEM SETTINGS
>
> Starting modem process
>
>
>> Turning modem on
>
Try saved baudrate: 38400
ATE1
[ERROR: INVALID INPUT]
ATE1
[OK]
Baudrate detected
>
>> Reading modem's info
>
AT+NMAC=?
00:08:dc:1c:9d:62
[OK]
ATI1
GS1011
[OK]
ATI0
WIZnet
[OK]
ATI2
WizFi210
1.1.1.0(W)
[OK]

Manufacturer of modem: WIZnet
Type of modem: GS1011
Modem firmware version: WizFi210__1.1.1.0(W)
MAC: 00:08:dc:1c:9d:62
Modem Baudrate: 38400
 

========================================================================================
USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS
========================================================================================

(1) SEE AVAILABLE NETWORKS
(2) CONFIGURE NETWORK
(3) DISPLAY NETWORK CONFIGURATION
(4) ERASE NETWORK CONFIGURATION
(5) TEST CONNECTION
(ESC) BACK


Go to (1) SEE AVAILABLE NETWORKS

Then you can check the available Networks


Chosen function: SEE AVAILABLE NETWORKS


========================================================================================

USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS \ SEE AVAILABLE NETWORKS

========================================================================================


AT+WS

       BSSID              SSID                     Channel  Type  RSSI Security

 d4:ca:6d:19:a7:7d, Werkstatt                       , 01,  INFRA , -87 , WPA2-PERSONAL

 ac:07:5f:2a:66:e6, HUAWEI firma                    , 01,  INFRA , -47 , WPA2-PERSONAL

No.Of AP Found:2

[OK]


========================================================================================
USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS
========================================================================================

(1) SEE AVAILABLE NETWORKS
(2) CONFIGURE NETWORK
(3) DISPLAY NETWORK CONFIGURATION
(4) ERASE NETWORK CONFIGURATION
(5) TEST CONNECTION
(ESC) BACK


Then go to (2) CONFIGURE NETWORK


Chosen function: CONFIGURE NETWORK


========================================================================================

USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS \ CONFIGURE NETWORK

========================================================================================


Please select the proper security option:


(1)     WEP (KEY 1)

(2)     WPA

(3)     WPA2-PSK (Using Password)

(4)     WPA2-PSK (Using PSK)

(5)     NONE

(ESC)   BACK




Now you can set your Network Parameters


Chosen function: WPA2-PSK (Using Password)


========================================================================================

USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS \ CONFIGURE NETWORK \ WPA2-PSK (Using Password)

========================================================================================



        Network name:           HUAWEI firma

        Password:               Bier1244

        IP:                     Automatic

        DNS1:                   Automatic

        DNS2:                   Automatic


        -- New WiFi saved in system --


========================================================================================

USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS

========================================================================================


(1)     SEE AVAILABLE NETWORKS

(2)     CONFIGURE NETWORK

(3)     DISPLAY NETWORK CONFIGURATION

(4)     ERASE NETWORK CONFIGURATION

(5)     TEST CONNECTION


When you have set your Parameters you can test your settings 


(5)    TEST CONNECTION


Station starts a connection to Network


Chosen function: TEST CONNECTION


========================================================================================

USER: \ MAIN MENU \ MODEM \ MODEM SETTINGS \ TEST CONNECTION

========================================================================================


ATC0

[OK]

AT+WM=0

[OK]

AT+WS=HUAWEI firma

       BSSID              SSID                     Channel  Type  RSSI Security

 ac:07:5f:2a:66:e6, HUAWEI firma                    , 06,  INFRA , -44 , WPA2-PERSONAL

No.Of AP Found:1

[OK]

> Chosen network: BSSID ac:07:5f:2a:66:e6 with RSSI: -44

AT+WPAPSK=HUAWEI firma,Bier1244

Computing PSK from SSID and PassPhrase...


[OK]

AT+NDHCP=1

[OK]

AT+WA=HUAWEI firma,ac:07:5f:2a:66:e6

    IP              SubNet         Gateway

 192.168.43.67: 255.255.255.0: 192.168.43.1

[OK]

AT+NSTAT=?

MAC=00:08:dc:1c:9d:62

WSTATE=CONNECTED     MODE=AP

BSSID=ac:07:5f:2a:66:e6   SSID="HUAWEI firma" CHANNEL=6   SECURITY=WPA2-PERSONAL RSSI=-44

IP addr=192.168.43.67   SubNet=255.255.255.0 Gateway=192.168.43.1 DNS1=192.168.43.1 DNS2=0.0.0.0

RxCount=11 TxCount=246

[OK]

AT+DNSLOOKUP=metos.at

IP:80.122.185.10

[OK]

AT+PING=80.122.185.10,4

Pinging for 80.122.185.10 with 56 bytes of data


[OK]

Reply from 80.122.185.10: bytes=56 time=37 ms TTL 30

Reply from 80.122.185.10: bytes=56 time=29 ms TTL 30

Reply from 80.122.185.10: bytes=56 time=30 ms TTL 30

Reply from 80.122.185.10: bytes=56 time=29 ms TTL 30

Ping Statistics for 80.122.185.10:

         Packets: Sent = 4, Received = 4, Lost = 0 percent

Approximate round trip times in milliseconds

         Minimum = 29ms, Maximum = 37ms, Average = 31ms

AT+WD

[OK]



                        -- INFO: Network properly configur


Then  press  (ESC)


Now you are back in MODEM MENU


========================================================================================

USER: \ MAIN MENU \ MODEM

========================================================================================


(1)     MODEM SETTINGS

(3)     SEND STATION DATA

(4)     GET GPS

(5)     GET CONF SMS

(6)     Download FW

(7)     Download APN list

(ESC)   BACK



Go to (3) SEND STATION DATA


Then station connects to the network and sends the first data from the station 

   
Chosen function: SEND STATION DATA

   

========================================================================================

USER: \ MAIN MENU \ MODEM \ SEND STATION DATA

========================================================================================


>

> Starting modem process

>

>

>> Turning modem on

>

Try saved baudrate: 38400

ATE1

[ERROR: INVALID INPUT]

ATE1

[OK]

Baudrate detected

>

>> Reading modem's info

>

AT+NMAC=?

00:08:dc:1c:9d:62

[OK]

ATI1

GS1011

[OK]

ATI0

WIZnet

[OK]

ATI2

WizFi210

1.1.1.0(W)

[OK]


Manufacturer of modem:  WIZnet

Type of modem:          GS1011

Modem firmware version: WizFi210__1.1.1.0(W)

MAC:                    00:08:dc:1c:9d:62

Modem Baudrate:         38400

>

>> Basic configuration of the modem

>

ATZ0

[OK]

AT&K0

[OK]

AT&R1

[OK]

AT+BDATA=1

[OK]

AT+WRXPS=0

[OK]

AT+XDUM=0

[OK]

AT+XEHT=0,1,0,3

[OK]

AT+WRXACTIVE=1

[OK]

AT+WP=0

[OK]

AT&W0

[OK]

>

>> Starting bearer and testing APN

>

ATC0

[OK]

AT+WM=0

[OK]

AT+WS=HUAWEI firma

       BSSID              SSID                     Channel  Type  RSSI Security

 ac:07:5f:2a:66:e6, HUAWEI firma                    , 06,  INFRA , -43 , WPA2-PERSONAL

No.Of AP Found:1

[OK]

> Chosen network: BSSID ac:07:5f:2a:66:e6 with RSSI: -43

AT+WPAPSK=HUAWEI firma,Bier1244

Computing PSK from SSID and PassPhrase...


[OK]

AT+NDHCP=1

[OK]

AT+WA=HUAWEI firma,ac:07:5f:2a:66:e6

    IP              SubNet         Gateway

 192.168.43.67: 255.255.255.0: 192.168.43.1

[OK]

AT+NSTAT=?

MAC=00:08:dc:1c:9d:62

WSTATE=CONNECTED     MODE=AP

BSSID=ac:07:5f:2a:66:e6   SSID="HUAWEI firma" CHANNEL=6   SECURITY=WPA2-PERSONAL RSSI=-41

IP addr=192.168.43.67   SubNet=255.255.255.0 Gateway=192.168.43.1 DNS1=192.168.43.1 DNS2=0.0.0.0

RxCount=10 TxCount=47

[OK]

>

>> Connecting to PI server

>

>

>>> Calculating message size

>

AT+DNSLOOKUP=metos.at

IP:80.122.185.10

[OK]

AT+NCTCP=80.122.185.10,80

[CONNECT 0]


[OK]

>

>> Making request to server

>

>  Setting to data mode and starting TX

POST /pikernel_dev/metos_upload_xml33.php?sernum=0020A0B6&r=1&ver=2 HTTP/1.0

Host: metos.at

Accept: */*

User-Agent: Imetos-3.3

Cache-Control: no-cache

Connection: Close

Content-Length: 1279

Content-type: multipart/form-data; boundary=----------------------------1234567890123456789012


------------------------------1234567890123456789012

Content-Disposition: form-data; name='metos_weather'; filename='0020A0B6.xml'

Content-Type: application/octet-stream


<?xml version='1.0' standalone='yes'?>

<station_xml>

<station_info

time='1585699518'

fw='08.521.20200329'

programmed='2020.04.24 06:48'

apntbl='0'

ser_num='0020A0B6'

uid='24CE97025B32D3C0'

name=''

senstbl='0'

dev_id='7'

descr='iMetos 3.3'

hw='29-0334'

/>

<ext1_board type='disconnected'/>

<scheduler

rain_int='0'

wl_int='0'

fix_trans_int='0'

xminupl_int='0;0'

data_sched='16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215'

meas_int='0,5,60; 1,5,60; 2,5,60; 3,5,60; 4,5,60; 5,5,60; 6,5,60; 7,5,60; 8,5,60'

wl_mon=''

warning_sensors=''

/>

<gps_info

status='NotAvailable'

/>

<networking

bearer_type='WiFi'

SSID='HUAWEI firma'

rssi_pct='60'

/>

<modem

brand='WIZnet'

type='GS1011'

fwversion='WizFi210__1.1.1.0(W)'

mac_addr='00:08:dc:1c:9d:62'

/>

<database

start='1585443609'

end='1585695607'

records='71'

memused='3124'

memsize='6488064'

/>

<events>

<event code='1040' info='1' date='1585698382' />

<event code='10' info='1' date='1585698382' />

</events>

<weather_bin>

</weather_bin>

</station_xml>


------------------------------1234567890123456789012--

>  Ending TX

>

>> Downloading file from server

>

HTTP/1.1 200 OK

Date: Mon, 27 Apr 2020 05:42:54 GMT

Server: Apache/2.4.6 (CentOS) PHP/5.6.29

X-Powered-By: PHP/5.6.29

Content-Length: 11

Connection: close

Content-Type: text/html; charset=UTF-8


no file ...

[DISCONNECT 0]

AT

[OK]

AT+NCLOSEALL

[OK]

>

>> Connecting to PI server

>

>

>>> Calculating message size

>

AT+DNSLOOKUP=metos.at

IP:80.122.185.10

[OK]

AT+NCTCP=80.122.185.10,80

[CONNECT 0]


[OK]

>

>> Making request to server

>

>  Setting to data mode and starting TX

POST /pikernel_dev/metos_upload_xml33.php?sernum=0020A0B6&r=1&ver=2 HTTP/1.0

Host: metos.at

Accept: */*

User-Agent: Imetos-3.3

Cache-Control: no-cache

Connection: Close

Content-Length: 1301

Content-type: multipart/form-data; boundary=----------------------------1234567890123456789012


------------------------------1234567890123456789012

Content-Disposition: form-data; name='metos_weather'; filename='0020A0B6.xml'

Content-Type: application/octet-stream


<?xml version='1.0' standalone='yes'?>

<station_xml>

<station_info

time='1585699525'

fw='08.521.20200329'

programmed='2020.04.24 06:48'

apntbl='0'

ser_num='0020A0B6'

uid='24CE97025B32D3C0'

name=''

senstbl='0'

dev_id='7'

descr='iMetos 3.3'

hw='29-0334'

/>

<ext1_board type='disconnected'/>

<scheduler

rain_int='0'

wl_int='0'

fix_trans_int='0'

xminupl_int='0;0'

data_sched='16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215'

meas_int='0,5,60; 1,5,60; 2,5,60; 3,5,60; 4,5,60; 5,5,60; 6,5,60; 7,5,60; 8,5,60'

wl_mon=''

warning_sensors=''

/>

<gps_info

status='NotAvailable'

/>

<networking

bearer_type='WiFi'

SSID='HUAWEI firma'

rssi_pct='60'

/>

<modem

brand='WIZnet'

type='GS1011'

fwversion='WizFi210__1.1.1.0(W)'

mac_addr='00:08:dc:1c:9d:62'

/>

<database

start='1585443609'

end='1585695607'

records='71'

memused='3124'

memsize='6488064'

/>

<events>

<event code='1040' info='1' date='1585698382' />

<event code='10' info='1' date='1585698382' />

</events>

<weather_bin>

</weather_bin>

</station_xml>


------------------------------1234567890123456789012--

>  Ending TX

>

Now you can see the connection at Field Climate 

The station is set to connect to the WIFI Network and it is sending data to Field Climate.