From 8baf0e91fbb8a0ec580d4c00eac9c7bb3dd0de73 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 31 Jul 2019 01:08:18 +0800 Subject: [PATCH] update mqttd.conf, update hostname and ID --- mqttd/etc/mqttd.conf | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/mqttd/etc/mqttd.conf b/mqttd/etc/mqttd.conf index 3747c4f..5223d2f 100644 --- a/mqttd/etc/mqttd.conf +++ b/mqttd/etc/mqttd.conf @@ -1,5 +1,32 @@ [common] -id="rpi3b001" +id="RPi.3B-GP-0001" + +[hardware] +# Settings 0:sisable others: enable or connected #PIN nubmer(wPI) + +# Enablue hardware support or not, help to running on X86 +enable=1 + +# relay connected wPI #pin number, if set to 0 means disable +relay_pin=29 + +# beep connected wPI #pin number, if set to 0 means disable +beep_pin=0 + +# RGB 3-colors LED connect wPI #pin number, if all set to 0 means disable +red_pin=0 +green_pin=0 +blue_pin=0 + +# temperature sensor ds18b20 +ds18b20=1 + +# temperature and hummidity sensor sht2x +sht2x=0 + +# light intensity sensor TSL2561 +lux=0 + [logger] @@ -17,7 +44,7 @@ [broker] # broker 服务器地址和端口号 -hostname="master.iot-yun.com" +hostname="master.iot-yun.club" port=10883 # broker 认证连接的用户名和密码 -- Gitblit v1.9.1