Mqtt from lua script

Moderator: leecollings

Post Reply
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Mqtt from lua script

Post by cherowley »

Hi!

How do we send mqtt commands from a lua script?

I'm currently controlling my devices using openurl http commands but have heard that mqtt is faster in domoticz?

Also, I use virtual devices with http commands in the on off fields to control my switches. How would I put mqtt commands instead?

Many thanks,, the wiki doesn't cover this and searching the forums only shows outdated info when mqtt was first being added to domoticz a couple of years ago ..
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Mqtt from lua script

Post by cherowley »

Is this not possible then? No mqtt for virtual devices?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest