Table of Contents

Hands-On MQTT Usage

Background

  • MESHdesk allows you to manage hardware from various vendors in one mesh network.
  • In this mesh network we have Xiaomi which are Mediatek based and currently sold in many places.
  • We also have Dragino which are Atheros based and have been on the market for more than a decade.

GPIO Pins of Dragino MS14

Dragino Arduino Comment
GPIO19 In1 Driving the relay to the garage light
GPIO21 In2 Driving the relay to the backyard light
GPIO18 In3 Driving the relay to the driveway light
GPIO24 In4 Extra for future expansion
3.3v Vcc Use the 3.3V since the 5V is to high for the GPIO pin output to trigger a low / high
GND Gnd

GPIO Helper Scripts

Now that we have our mapping and know about our helper scripts we can bring it together in RADIUSdesk to create predefined commands which we can use on our Dragino.

Predefined Commands

Since this is a page about hands on work we end with a demonstration video showing things in action.

In action video