Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


10der

MQTT client, Fibaro I love you! (not!)

Recommended Posts

Please login or register to see this image.

/monthly_2020_01/image.png.256a2290f63eac6557f98b74d4537ac3.png" />

 

 

image.png.2e81a7f0aeb0fe6af48f3085318e790b.png

 

 

source (VD)

 

Please login or register to see this code.

 

 

Edited by 10der
  • Like 4

Share this post


Link to post
Share on other sites
  • Topic Author
  • simpel VD.

    can send all fibaro evenets to MQTT server

     

    limitation loop 2 sec

    Please login or register to see this attachment.

    • Like 2

    Share this post


    Link to post
    Share on other sites

    For past command to mqtt from hc2 (before your nodes didn;t support via FIbaroSensor scenes triggers from ex. pilots, keyfob etc) I used "http-in" endpoint 

    Please login or register to see this image.

    /monthly_2020_01/image.png.b91c90af392df9a0af372607432da857.png" /> and in fibaro scene the code like this: 

    Please login or register to see this code.

    Off-course  after small modif fot http call it work from VD.

    It not professional like  @10der code but works too ;-)

     

    Edited by drboss
    • Like 1

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • can receive MQTT messages 

    Please login or register to see this attachment.

    • Thanks 1

    Share this post


    Link to post
    Share on other sites
    On 1/16/2020 at 8:30 PM, 10der said:

    can receive MQTT messages 

    Please login or register to see this attachment.

    Could you explain the VD code with an example?
    Many thanks

    Share this post


    Link to post
    Share on other sites

    @10der, great - thnx! you saved me a lot of time!

    Only global value to add and it works superb!

     

    One question, how to use user/pass? I can see in flags, but how to pass it?

     

    t

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • alas. no auth in HC2 MQTT

    Share this post


    Link to post
    Share on other sites

    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...