Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT Plugins now available
#1
Thanks to Daniel Casner, a long time SIP user we now have a suite of plugins for connecting SIP to an MQTT broker.

MQTT is an emerging Internet of Things (IoT) protocol and these new plugins allow SIP to join the party.

You can install the plugins from the plugins manager under the PLUGINS menu.

Here is a link to mosquitto a free MQTT broker that runs on the Raspberry Pi and other platforms:
https://mosquitto.org/download/

Be sure to take a look at the instructions for installing mosquitto on Debian (ras Pi):
https://mosquitto.org/2013/01/mosquitto-...epository/

Dan
Reply
#2
Where can I find this plugin?
Reply
#3
You can find the MQTT plugins from the PLUGINS menu > Manage Plugins > Browse more plugins.

There are 3 MQTT plugins. You will need the one named MQTT and at least one of mqtt_schedule and/or  mqtt_zones.

Dan
Reply
#4
Is it possible to control for example esp8266's or via RF via these MQTT plugins to control the irrigation, so to not have the relays directly connected to RPI or other single board computer?
Reply
#5
Should be possible.
This tutorial may be helpful:
https://www.baldengineer.com/mqtt-tutorial.html

You can also run the mosquitto MQTT broker on the Raspi.

Or you may be able to use the rf_control plugin. It is under development but works as -is.
Reply
#6
I have a question regarding the MQTT for SIP before installing :-) I'm already using MQTT for my home automation. If I want SIP to 'join' and provide informaiton about schedules or the zones, what is required to install? Do I still need the MQTT broker if I already have one installed on a different server?
Reply
#7
The SIP MQTT plugins provide communication to an existing broker.
You will need the base MQTT plugin and the mqtt_zones plugin to send info about the status of SIP stations.
The mqtt_schedule plugin allows SIP to be controlled via MQTT.
Reply
#8
Thanks dan.

Just installed the MQTT base plugin and the mqtt zones and also the paho-mqtt..I entered all the details like Host, Port etc....But somehow I dont see anything at the host.

What needs to be entered on "MQTT Publish up/down topic:"?
Reply
#9
(2018 Jun 12, 09:38 PM)dalmabrain Wrote: Thanks dan.

Just installed the MQTT base plugin and the mqtt zones and also the paho-mqtt..I entered all the details like Host, Port etc....But somehow I dont see anything at the host.

What needs to be entered on "MQTT Publish up/down topic:"?

You can make a new topic such as "sip-status" (without the quotes). That will be sent with SIP's up/down status as the payload.
Reply
#10
I was doing some testing here and did not get output from the mqtt-zones plugin until I changed the topic from SIP/zones to something like sip-zones.

Be sure your home automation system is subscribed to the topics SIP will publish.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)