Page 1 of 1

MQTT: subscribe to multiple topics

Posted: 13 Dec 2017, 18:49
by moebius
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)?

Re: MQTT: subscribe to multiple topics

Posted: 13 Dec 2017, 19:05
by grovkillen
MQTT Import.

Re: MQTT: subscribe to multiple topics

Posted: 13 Dec 2017, 19:17
by moebius
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.

Re: MQTT: subscribe to multiple topics

Posted: 13 Dec 2017, 19:36
by danmero
Base on import value you can setup rules to toggle different devices

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

Regards,