Jump to content

MQTT Newbe


Flex

Recommended Posts

Posted

I just did a firmware upgrade on my Control by Web x410 device and found that it supports MQTT now. Is there a tutorial that does not require a business email to download? I did find one but it wasn't to useful to me. I see there are Brokers, Publications and subscriptions, but I have yet to learn how to use them. So would the Polisy with version 3 node server be the broker, or would it be the x410? Or does the broker have to be some server in the cloud? Now I can send commands to Control by Web devices via rest commands but reading data from the Control by Web devices by the Polisy has been something that has eluded me. I know a dedicated node server just for Control by Web devices could be written to do this, but doing so is beyond my ability and the demand this is low. But now that they support MQTT, my interest has been peaked. There is also something called spark plug, which I am trying to learn about as well. Depending on what I learn and do I will try to add the MQTT node server to my Polisy.

Thanks

Posted

Hi Flex,

I'm not familiar with the Control by Web x410.

Your Polisy will be the broker. You will not need a cloud broker. Older versions required you to start a separate broker (Polisy and IoX also use it). I'm not sure if the newer versions did away with this. Just make sure you use 1884 (most default to 1883, which is in use.) It should not require a userid/password by default. But you might use your Polisy credentials, just in case.

Also, as a heads-up: the MQTT plug-in is meant mostly for Tasmota-flashed esp devices. It somewhat works for ESPHome-flashed devices as well, and a series of custom developed devices. So, if you have a means of configuring your Control by Web to emulate a Tasmota device, or if you know what the typical publication of CbW is, you can give it a shot...

As far as "how does MQTT work" is concerned, go to tasmota.github.io. They do a pretty good job explaining MQTT as it pertains to home automation... And since the plug-in is optimized for Tasmota...

Finally, think about upgrading from Polisy to the eISY... If you use it, the MQTT broker runs by default. Very easy to set up. I think @Michel Kohanim has some specials running to make it less onerous on the wallet. I made the jump a while ago and couldn't be happier.

Any questions, I'll gladly try to help!

Cheers

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...