Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Guys, when you plan to add MQTT client support on iRule? This would significantly increase usage of your app in DIY HA Installations

MQTT is a lightweight protocol, based on TCP/IP. It is supported by almost all opensource automations. All you need is to add publsich/subscribe mechanizm to your app.
4 people like
this idea
+1
Reply
  • It seems possible now using tcp the Irule already has. The problem is Irule is not designed to be always on always receiving. Once you subscribed you would need to leave it on that page and always on to get the updates through feedback that Irule already supports. A better setup would be a Mqtt hub that Irule could pull the data from once it needs it. So when you went to the remote page in Irule it would request the data from the hub that has been receiving the updates as they are published and send the latest and be up to date. The only exception would be if you have a tablet always plugged in and always running Irule. I have one mounted on the wall that does this and still the tablet finds ways to stop receiving feeback. Usually from opening other control apps that also run on that iPad or one of the kids changing it and not restarting Irule. Just things to keep in mind.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • MQTT supports both options. iRule can be always on or only connect, when you open the app.
    I have my tablet mounted on the wall with MQTT using some other GUI app and it's never stops receiving feedback. MQTT very reliable in this sense.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Is it encoded or encrypted? Irule should be able to send and receive the data if it's not. Just looking online I don't see any specific api? Just that it send the minimum amount of data. I have used Irule to subscribe to other services with some fine tuning of what's sent. If you have an example I could prob figure out the device settings and the feedback.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • MQTT would be a great transport for all messages opening up the complete HA option including Amazon Echo!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • This reply was removed on 2017-02-08.
    see the change log