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


  • 0

Question

Posted

Hi,

 

I use my Ipad to control my HC2 with a wall mount. With this I can control the center and monitor the energy consumption.

 

Im now planning to buy a 3-phase clamp or a NorthQ power reader to get the total energy of the house to be shown in the ipad energy panel.

 

But how do I exclude all my existing single devices from this total? This device should represent the total and all my other devices a sub-total out of this.

 

I want the ipad to show the total but keep the possibility if selecting individual devices.

 

 

10 answers to this question

Recommended Posts

  • 0
Posted (edited)

We're having that same problem. We have a clamp showing the total energy consumed in the house, and then we have other devices reporting its own consumption, so Fibaro adds all the consumptions and tell me that the consumption is higher than the real one.

 

Any way to fix this?

Edited by maxmark
  • 0
  • Inquirer
  • Posted

    @Fibaro support?

    • 0
    Guest Tonyb_AU
    Posted

    I am using a Rainforest energy meter to connect directly to my meter, however this is not supported by Fibaro, so I have a virtual device that retrieves the values from the Rainforest (or any other such meter) and then performs a calculation, that basically is whole_house - (all fibaro energy devices) = result. And then I push this result into a spare channel (ID = 131 below) on a Fibaro Double Switch, therefore getting the energy figure into Fibaro.

     

            -- get current power comsumption of all energy reporting devices    
            local devices = fibaro:getDevicesId({interfaces ={"energy"}})
            local device_watts = 0
            for k,v in pairs(devices) 
            do
                  -- exclude the rest of house energy device (131)
                  if (v ~= 131) then
                    local this_meter = fibaro:getValue(v, "power")
                      fibaro:debug("id = " .. v .. " ,meter usage = " .. this_meter)
                      device_watts = device_watts + this_meter
                   end
              end
            fibaro:debug("total device watts = " .. device_watts )

            local true_meter_watts = meter_watts - device_watts

     

            HC2 = Net.FHttp("127.0.0.1", 11111)
            jtable = "{\"properties\":{\"power\":" .. true_meter_watts .. "}}"
            response, status, errorCode = HC2:PUT("/api/devices/131",jtable)
            fibaro:debug("update the _KW_METER device")

      

    That way I get the true total house energy shown in Fibaro

    • 0
    Posted

    @Tonyb_AU Thanks a lot. We'll give a look at that, but I think @Fibaro should be able to give us a better solution. Something like a checkbox where you say "This device measures global energy consumption for the room" or "This device measures global energy consumption for the house".

    • 0
  • Inquirer
  • Posted

    So I got a Fibaro FGS device with master id as 381 (hidden). I then slaves with id 382 (used) and additional slaves 383-384 (hidden).

     

    - Can I then use id e.g. 383 or 384?

    - Do you assign this id to room "House" only for this purpose and keep it hidden? Since the switch makes no sense.

     

    • 0
    Guest Tonyb_AU
    Posted

    @KristianO As long as 383 or 384 is a switch object, then it can be used. I have just assigned it the name '_REST OF HOUSE' so that it shows up in the Energy panel, you must however leave it switched on, otherwise it won't report the consumption.

     

    This is how my switch device looks.

    Please login or register to see this attachment.

    • 0
  • Inquirer
  • Posted

    Thanks!

     

    - So you use any energy meter and get the data from it using an ordinary API and store the data in a virtual device on a regular basis.

    - You then use the same virtual device and push the difference between total and sum of all device to a channel 2 of the switch. 

    - A scheduled scene updates the VD "button" with new values every "15 minutes"

    - The channel 2 is assigned to a "Total House" - Room.

    - The channel 2 is set to always "On" but hidden in the system.

     

    All true?

    • 0
    Posted

    Hi @KristianO,

     

    Did you checked this:

    It is prepared for use with Aeon Labs HEM but it can read consumption from any device with little change in code. I use it with my HEM and it works nice.

    • 0
    Guest Tonyb_AU
    Posted

    Hi @KristianO

     

    - So you use any energy meter and get the data from it using an ordinary API and store the data in a virtual device on a regular basis. - YES

    - You then use the same virtual device and push the difference between total and sum of all device to a channel 2 of the switch.  - YES

    - A scheduled scene updates the VD "button" with new values every "15 minutes" - ALMOST, the new values are updated every 30 seconds as part of the virtual device main loop

    - The channel 2 is assigned to a "Total House" - Room. - YES

    - The channel 2 is set to always "On" but hidden in the system. - YES Always on, but not hidden (not sure if it still displays in the energy panel if hidden, have not tried this)

    • 0
    Posted (edited)

    don't know if this helps.. but with HC2 FW 4.134 i use an Qubino Smart Meter (

    Please login or register to see this link.

    ) to measure the power usage of my aircon.

     

    After including the smart meter i added it into an empty room (Klimaanlage = aircon)

     

    in enegry metering i now can choose only this device to see the consumption.

    assuming, that you would like to know the house's total consumption this could be a way..

     

    i'm now looking for a way to eport the daily or weekly stats...

     

     

     

     

     

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

    Edited by snoopy78
    .

    Join the conversation

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

    Guest
    Answer this question...

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