john2exonets / MQTT-TPLink-Bridge

An MQTT to TP-Link Device Bridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT-TPLink-Bridge

An MQTT to TP-Link Device Bridge.

This program allows for control and monitoring of TP-Link lights and plugs using MQTT packets.

Since the "Light" and "Plug" devices have slightly different JSON parameters, there are two sets of control functions for each type. The MQTT Topic heads can be specified in the config.json file. You will have to pre-define the TP-Link devices you want to control in the config.json file. I have included an example config.json file.

About

An MQTT to TP-Link Device Bridge

License:MIT License


Languages

Language:JavaScript 96.2%Language:Dockerfile 2.3%Language:Shell 1.6%