a2633063 / zM1

斐讯M1空气检测仪个人固件公开项目. 此项目为公开release+讨论
332 stars 80 forks source link

请教下如何设置M1 的时区? #43

Closed holywen closed 1 year ago

holywen commented 1 year ago

Release里面看到0.0.8里面就已经支持时区了,但是不知道如何设置呢?

holywen commented 1 year ago

搞定了: mosquitto_pub -h 192.168.1.X -u mqtt -P mqtt -t "device/zm1/MAC/set" -m '{ "name":"zM1_XXXX","mac":"MAC","zone":420}'

holywen commented 1 year ago

MAC替换成全小写的mac地址,zM1_XXXX替换成设备的名字,-u -P 是mqtt的用户名和密码