SWWP skzcmd users guide.

$ skzcmd

Querying the zigbee network for connected devices and getting remote devices to connect:

-- list turbines
% zls
# 0013a200-405431cb (5116) 'SKY37A_1010-2802' 0xffffffff
+ found 1
;other 0

If your turbine doesn't show up, you have to get it to join:
% zb at nj 0xff
% zb at cb 2
% zls
# 0013a200-405431cb (5116) 'SKY37A_1010-2802' 0xffffffff
+ found 1
;other 0

-- select which remote device to communicate with
% ztarg +405431cb
+ target fffe

-- get the turbine status
% stat
STAT: Turb 102802;      3 WHr :: 0 rpm - 7.00 tsr, -06 W (0 Wr), Line 125.8/124.1, Temp 30.4 C

If you already know the hardware address, you can specify it on the command line to skzcmd instead:

$ skzcmd -z +405431cb
% stat
STAT: Turb 102802; 374594 WHr :: 0 rpm - 7.00 tsr, -07 W (0 Wr), Line 125.4/123.8, Temp 31.0 C

You can also run a command from the command line:

$ skzcmd -z +405431cb stat
STAT: Turb 102802; 374594 WHr :: 0 rpm - 7.00 tsr, -06 W (0 Wr), Line 125.6/123.8, Temp 31.0 C


There are other forms of stat, presenting the information in different ways:
% stat e
STAT: Turb 102802; v2.02 Running [0008/0001], 0 rpm; Event ct 452, last 111, 0 t.
        grid L1 125.8, L2 124.1, 60.00 Hz [0000];
% stat g
 ALT: 10.6 in, 358.4 dc; LINE: 125.8 / 124.1 : 59.99 Hz; INV: 60.07 Hz
GBITS: Offset limit, Freq low, Freq high, Comp high, Relay open,
% stat a
Turbine #       102802 : ( v 2.02, op 3.00 )

Off: Description   Value   Hex
 4:        time -1.72662e+09  0x9915e860
 8:         whr   374595  0x5b743
12:        v_in     10.6  0x006a
14:        v_dc    358.2  0x0dfe
16:     v_line1    125.8  0x04ea
18:     v_line2    124.1  0x04d9
20:      v_rise        0  0x0000
22:           -        0  0x0000
24:       i_out     0.12  0x000c
26:     pow_out    65531  0xfffb
28:     pow_req        0  0x0000
30:           -     2400  0x0960
32:   freq_line    59.99  0x176f
34:    freq_inv     59.9  0x1766
36:           -      315  0x013b
38:         rpm        0  0x0000
40:           -        0  0x0000
42:         tsr        7  0x02bc
44:        ramp      330  0x014a
46:           -        0  0x0000
48:           -      250  0x00fa
50:           -        0  0x0000
52:   temp_cpu1     32.7  0x0147
54:    tmp_cpu2     31.6  0x013c
56:    tmp_case     30.4  0x0130
58:    ev_count      452  0x01c4
60:     ev_last      111  0x006f
62:   ev_status        0  0x0000
64:    ev_value        0  0x0000
66: evb_turbine        1  0x0001
68:    evb_grid        0  0x0000
70:  evb_system        8  0x0008
72:    ev_slave        0  0x0000
74:    security        0  0x0000
76:       timer        0  0x0000
% stat v
 202,  300,  59518,  39189,  46915,  5,  105,  3587,  1256,  1241,  0,  0,  12,  65531,  0,  2400,  5998,  6007,  315,  0,  0,  700,  330,  0,  250,  0,  328,  317,  305,  452,  111,  0,  0,  1,  0,  8,  0,  0,  0,
% stat x
 ca 00 2c 01 81 e8 15 99 43 b7 05 00 69 00 00 0e
 e8 04 d9 04 00 00 00 00 0c 00 f8 ff 00 00 60 09
 6e 17 65 17 3b 01 00 00 00 00 bc 02 4a 01 00 00
 fa 00 00 00 48 01 3d 01 31 01 c4 01 6f 00 00 00
 00 00 01 00 00 00 08 00 00 00 00 00 00 00

There is also another form, dstat, with a couple different presentation options:

% dstat
DECI: +STAT turb=102802,vers=2.02
% dstat 1
DECI: +STAT turb=102802,vers=2.02 2568350088,374594,10.1,358.4,125.8,124.3,0.0,0.0,0.12,-8,0,2400,59.98,59.89,315,0,0,7.00,330,0,250,0.00,92.1,90.5,88.0,452,006f,0000,0,0001,0000,0008,0000,0,0,
% dstat 2
DECI: +STAT turb=102802,vers=2.02 374594,-7,0,7.00,92.1,
% dstat 3
DECI: +STAT turb=102802,vers=2.02 10.1,358.3,125.6,124.1,0.12,59.99,59.90,
% dstat 1 1
DECI: +STAT turb=102802,vers=2.02 time=2568350104,whr=374594,v_in=10.1,v_dc=358.7,v_l1=125.8,v_l2=124.3,v_rise=0.0,v_rpm=0.0,i_out=0.12,P_out=-6,Preq=0,Pmax=2400,f_line=59.98,f_inv=59.90,R_line=315,rpm=0,wind=0,tsr=7.00,ramp=330,boost_pwm=0,boost_max=250,i_peak=0.00,t_cpu1=92.1,t_cpu2=90.7,t_amb=88.2,ev_ct=452,ev_last=006f,evb_status=0000,ev_value=0,evb_turbine=0001,evb_grid=0000,evb_system=0008,evb_slave=0000,access=0,timer=0,
% dstat 2 1
DECI: +STAT turb=102802,vers=2.02 whr=374594,P_out=-7,rpm=0,tsr=7.00,t_cpu1=92.3,
% dstat 3 1
DECI: +STAT turb=102802,vers=2.02 v_in=10.1,v_dc=358.3,v_l1=125.6,v_l2=124.1,i_out=0.12,f_line=60.00,f_inv=60.08,


% end