background image

Terminal Interface (CLI) Commands

The following basic commands are available for the WIFI-1WIRE via a CLI on your 

computer:

Basic Commands

Description

Blank

Print a list of all commands

C

Configure a wireless network

S

Set wireless SSID

P

Set wireless password 

and

 device password

A

Set wireless authentication type

D

Turn DHCP on and off

I

Set IP address (if DHCP is disabled)

N

Set netmask (if DHCP is disabled)

G

Set network gateway (if DHCP is disabled)

M

Set IP mode (IPv4 or static IPv6)

B

Set BMS or WiNG-MGR IP address to receive packet

U

Designate where UDP port packet will be sent

W

Set wake interval

Z

Set group ID (will be transmitted with packet)

V

Display advanced settings

X

Transmit a test packet

K

Save configuration

 

The following advanced commands are primarily used by tech support for 
troubleshooting, and are provided here for reference only:

Advanced Commands

Description

Blank

Print a list of all commands

T

Take a sensor reading

V

View detailed version information

F

Enable fast wifi-connect

O

Number of milliseconds to wait after connecting before 

sending packet

J

Number of milliseconds to wait after sending packet 

before disconnecting

P

Battery depassification

L

Light the LED

H

Manually set the packet counter

E

Put the device to sleep for a configured amount of time

Y

Initiate a factory reset

X

Return to main menu

WIFI-1WIRE Packet Structure

Bit 

Offset

0-7

8-15

16-23

24-31

0

Status Flag (U16)

Protocol Version (U8) MAC Address (U8)

32

MAC Address (U8)

64

MAC Address (U8)

Sensor Type (U8)

Packet Counter (U16)

96

Group ID (U16)

Battery Voltage (U16)

Unit: centivolts

Divide unit value by 100 for combined total 

voltage of both batteries.

Example: Data value = 635

635 ÷ 100 = 6.35

Total voltage of two batteries = 6.35V

  Battery life guidelines:

  > 6.0V = Good

  > 5.8V = OK - replace soon

  < 5.6V = Poor - replace immediately

128

Version Major (U8) Version Minor (U8)

RSSI (U16)

160

Data 1

Data type: UINT16

*See Packet Data Definition Table below

Data 2

Data type: INT16

*See Packet Data Definition Table below

192

Reserved

Reserved

224

Reserved

Reserved

256

Reserved

Reserved

288

Reserved

Reserved

320

Reserved

Packet CRC (U16)

WIFI-1WIRE Packet Data Definition Table

1-Wire

Sensor Type

Type 

(U8)

Data 1 (UINT16)

Data 2 (INT16)

WIFI-1WIRE + 

1WIRE-TS

0x02

N/A

Description: Sensor temperature

Unit: deci °C

Divide unit value by 10 for 

temperature reading.

Example: Data 2 value = 230

230 ÷ 10 = 23

Temperature = 23°C

WIFI-1WIRE + 

1WIRE-THS

0x03 

Description: Sensor humidity

Unit: deci %

Divide unit value by 10 for 

humidity reading.

Example: Data 1 value = 435

435 ÷ 10 = 43.5

Humidity = 43.5%

Description: Sensor temperature

Unit: deci °C

Divide unit value by 10 for 

temperature reading.

Example: Data 2 value = 230

230 ÷ 10 = 23

Temperature = 23°C 

Отзывы: