Verbinden Sie die Sation mit Ihrem PC.


Stecken Sie den Jumper auf J1

 

Stecken Sie die Batterie an. 


Starten Sie das Terminal Program (TeraTerm oder PI Service Terminal)


Wählen Sie den richtigen Com Port aus:





Dann starten Sie das MAIN MENU


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

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


Drücken Sie (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

Drücken Sie (1) MODEM SETTINGS

Jetzt überprüft die Station das Modem

 

29/03/2020 00:20:45 >> Gewählte Funktion: 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


Gehen Sie in (1) SEE AVAILABLE NETWORKS

Hier könne sie die verfügbaren Netzwerke sehen.


Gewählte Funktion: 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


Dann drücken Sie (2) CONFIGURE NETWORK


Gewählte Funktion: 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




Jetzt könenn Sie Ihre Netzwerk Parameter einstellen.


Gewählte Funktion: 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


Wenn Sie Ihre Parameter eingestellt haben könne Sie diese auch testen.


Drücken Sie (5)  TEST CONNECTION


Die Station startet eine Verbindung zum Netzwerk.


Gewählte Funktion: 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


Dann drücken Sie  (ESC)


Jetzt sind Sie zurück im 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



Drücken Sie (3) SEND STATION DATA


Die Station verbindet zum Netzwerk und sendet die ersten Daten. 


Gewählte Funktion: 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

>

Jetzt sehen Sie die Verbindung auf Field Climate.

Die Station wurde eingestellt um sich mit dem WIFI Netzwerk zu verbinden und sendet Daten an Field Climate.