MQTT: subscribe to multiple topics

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
moebius
Normal user
Posts: 35
Joined: 22 May 2017, 19:36

MQTT: subscribe to multiple topics

#1 Post by moebius » 13 Dec 2017, 18:49

Is it currently possible or planned, that an espeasy device can subscribe to multiple mqtt topics?

How else is it possible to sync multiple devices (each device controlling some kind of light)?

User avatar
grovkillen
Core team member
Posts: 3304
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: MQTT: subscribe to multiple topics

#2 Post by grovkillen » 13 Dec 2017, 19:05

MQTT Import.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

moebius
Normal user
Posts: 35
Joined: 22 May 2017, 19:36

Re: MQTT: subscribe to multiple topics

#3 Post by moebius » 13 Dec 2017, 19:17

Thanks!
But mqtt import seems only to accept values and not commands. So i would have to configure each device on its own - but to turn on/off multiple devices it looks good.

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: MQTT: subscribe to multiple topics

#4 Post by danmero » 13 Dec 2017, 19:36

Base on import value you can setup rules to toggle different devices

See viewtopic.php?f=6&t=3683&start=10

Regards,

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 27 guests