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!



Smart Home Forum by FIBARO Team

QA: Fibaro devices -> MQTT -> InFlux


Recommended Posts


Please login or register to see this link.

is QA what can passed all devices events to MQTT

now we develop QA for passing some devices to your InFlux db


1) create a new QA

2) type Generic

3) Code

Please login or register to see this code.


just comment init section (i am too lazy for creating QA variables. please do it by itself)



local host = "" -- influx server IP address
local port = "8086" -- PORT
local dbName = "smarthome" -- db name
local login = "smarthome" -- login 
local password = "smarthome" -- password
local broker_ip = "" -- where is MQTT server. IP address
local topic = "fibaro2mqtt/#" -- DO NOT CHANGE


-- Id device

-- name = your uniq key in Influx db

-- property (optional an by default is `value`) what i should grab to influx.


local subscribers = {
    {1149, name = "PhaseA"},
    {1152, name = "PhaseB"},
    {1146, name = "PhaseC"},
    {1148, property = "power", name = "PhaseA_Energy"},
    {1151, property = "power", name = "PhaseB_Energy"},
    {1145, property = "power", name = "PhaseC_Energy"},
    {2116, name = "flow"}





Please login or register to see this attachment.

  • Like 2
Link to comment
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.

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