Missing /SPCGW/ALARM_AREA_1/STATUS topic

Support issues
Post Reply
roryd
Posts: 10
Joined: Tue 21 Jun 2016, 16:05

Missing /SPCGW/ALARM_AREA_1/STATUS topic

Post by roryd » Fri 26 Jul 2019, 12:55

Hi Goran,

I've set up the Smart Box and it's all working fine, but when I do this:

mosquitto_sub -h spcbox -u user -P password -v -t /SPCGW/#

I don't see any area status value. I can see all the alarm zone inputs and status. When I used to use the gateway software, I got this:

/SPC/G_SPC_ZONE_INPUT_1 {"update_time":1564059532651,"status":"closed"}
/SPC/G_SPC_ZONE_STATUS_1 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_ZONE_INPUT_2 {"update_time":1564061267394,"status":"closed"}
/SPC/G_SPC_ZONE_STATUS_2 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_ZONE_INPUT_3 {"update_time":1564056054938,"status":"closed"}
/SPC/G_SPC_ZONE_STATUS_3 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_ZONE_INPUT_4 {"update_time":1564056054938,"status":"open"}
/SPC/G_SPC_ZONE_STATUS_4 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_ZONE_INPUT_5 {"update_time":1564056054938,"status":"open"}
/SPC/G_SPC_ZONE_STATUS_5 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_ZONE_INPUT_6 {"update_time":1564056054938,"status":"closed"}
/SPC/G_SPC_ZONE_STATUS_6 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_ZONE_INPUT_7 {"update_time":1564056054938,"status":"closed"}
/SPC/G_SPC_ZONE_STATUS_7 {"update_time":1564056054938,"status":"ok"}
/SPC/G_SPC_AREA_MODE_1 {"update_time":1564041311682,"status":"unset"}

but when I do the same on the gateway box, I get this:

/SPCGW/ALARM_ZONE_1/STATUS {"type":"ALARM_ZONE_STATUS","update_time":1564121676,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_1/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564139050,"name":"xxx","value":"CLOSED"}
/SPCGW/ALARM_ZONE_2/STATUS {"type":"ALARM_ZONE_STATUS","update_time":1564121676,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_2/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564140894,"name":"xxx","value":"CLOSED"}
/SPCGW/ALARM_ZONE_3/STATUS {"type":"ALARM_ZONE_STATUS","update_time":1564121676,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_3/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564121676,"name":"xxx","value":"CLOSED"}
/SPCGW/ALARM_ZONE_4/STATUS {"type":"ALARM_ZONE_STATUS","update_time":1564121676,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_4/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564133333,"name":"xxx","value":"OPEN"}
/SPCGW/ALARM_ZONE_5/STATUS {"type":"ALARM_ZONE_INPUT","update_time":1564121677,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_5/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564132839,"name":"xxx","value":"OPEN"}
/SPCGW/ALARM_ZONE_6/STATUS {"type":"ALARM_ZONE_STATUS","update_time":1564121677,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_6/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564121677,"name":"xxx","value":"CLOSED"}
/SPCGW/ALARM_ZONE_7/STATUS {"type":"ALARM_ZONE_STATUS","update_time":1564121677,"name":"xxx","value":"OK"}
/SPCGW/ALARM_ZONE_7/INPUT {"type":"ALARM_ZONE_INPUT","update_time":1564121677,"name":"xxx","value":"CLOSED"}

and there's no area mode shown - I was expecting /SPCGW/ALARM_AREA_1/STATUS

Rory.

Post Reply