Closed holywen closed 1 year ago
Release里面看到0.0.8里面就已经支持时区了,但是不知道如何设置呢?
搞定了: mosquitto_pub -h 192.168.1.X -u mqtt -P mqtt -t "device/zm1/MAC/set" -m '{ "name":"zM1_XXXX","mac":"MAC","zone":420}'
MAC替换成全小写的mac地址,zM1_XXXX替换成设备的名字,-u -P 是mqtt的用户名和密码
Release里面看到0.0.8里面就已经支持时区了,但是不知道如何设置呢?