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

QuickApp - Enphase Envoy monitoring


twanve

Question

ENPHASE ENVOY MONITOR

 

  • This Quickapp retrieves; wattsNow, wattHoursToday, wattHoursSevenDays and wattHoursLifetime from the local Enphase Evoy (S ore Metered)
  • In the QuickApp labels wattHoursToday, wattHoursSevenDays and wattHoursLifetimes is shown 
  • The wattsNow is shown in the top (under the sunpanel icon)
  • data refresh standard every 10 seconds, but Enphase Evoy update every 15 minutes (at this moment, but can change after software changes by Enphase)

 

  • Tested with:
  • Envoy-S-Metered-EU
  •  Softwareversion: 5.0.54
  • HC3 | 5.100.22
     

     

 

Version 1.1 (03th April 2022)

  • New download file, QA as Energie meter
     

Version 0.3 (26th January 2021)

  • bug: for HC3 5.051 users are not both values vissable. This QA copies to Multilevel QA
  • Change in Variable possible:
  • ShowData: 1 --> Top: wattHoursToday | bottem: wattHoursSevenDays (default)
  • ShowData: 2 --> Top: wattsNow | bottem: wattHoursSevenDays
     

Version 0.2 (22th January 2021)

  • Initial version


Variables (mandatory and automaticaly generated): 

 

  • IPaddress = IP address of your local Enphase Envoy
  • Path = Path, normally "api/v1/production" (don't changes unless you know what you are doing)
  • Interval = Number in seconds, the Enphase Monitor normally is updated every 10 seconds
  • debugLevel = Number (1=some, 2=few, 3=all, 4=simulation mode) (default = 1)
  • Example content Json table
  • { "wattHoursToday": 5480, "wattHoursSevenDays": 21271, "wattHoursLifetime": 4122447, "wattsNow": 0 }

 

How to install: 

  • Open the Configuration Interface
  • Go to Settings > Devices
  • Click  +
  • Choose Other Device
  • Choose Upload File
  • Choose file from your computer with .fqa

 

Vissable:

  • On top, "wattHoursToday" (this value reset every day to zero at 00:00 hours)
  • bottom (log) the 7-day "wattHoursSevenDays"

 

 

 

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 twanve
  • Like 5
Link to comment
Share on other sites

Recommended Posts

  • 0

@SmartHomeEddy

Great, thanks! I will test it.

 

I looked into your P1_Monitor QA, and I think I need the function where you calculate the "gross_consumption" (QuickApp:consumption). 

 

BTW, what's the difference between fibaro.****** and hub.******?

Edited by _Wilco_
Link to comment
Share on other sites

  • 0
14 minutes ago, SmartHomeEddy said:

Please login or register to see this code.

That's it, just what I needed. Thanks!

 

How do you get this information? Is it somewhere documented?

Link to comment
Share on other sites

  • 0

I think this specific property “rateType” I saw in the discusions about the new energy panel when we were modifying the QuickApps to fit the new energy panel. You could find all properties of a device in Swagger (“get device object”). 

  • Thanks 1
Link to comment
Share on other sites

  • 0
2 hours ago, _Wilco_ said:

BTW, what's the difference between fibaro.****** and hub.******?

None , old version versus new version. 

 

2 hours ago, _Wilco_ said:

looked into your P1_Monitor QA, and I think I need the function where you calculate the "gross_consumption" (QuickApp:consumption). 

Indeed. You don’t have to use the api.put near the end. That is the routine to insert the sum in (spare) device. 

Also take a look at the QuickApp:eDevices() to get all Device IDs which measure Energy Consumption. That is done once at startup of the quickapp. 

  • Thanks 1
Link to comment
Share on other sites

  • 0

Thanks for this QA, it works for me!

But is it possible to create different childs?

Every data variable into a different child. In this way, the current solar power is also visible in the Yubii app (production).

Who can help?

  • Like 1
Link to comment
Share on other sites

  • 0
On 9/25/2022 at 5:38 PM, twanve said:

Strange, from this QA never a Error seen. Reboot the Envoy en check....

I have the same error...

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Strange, no problem at my side.

    What error you get?

    Link to comment
    Share on other sites

    • 0
    14 hours ago, twanve said:

    Strange, no problem at my side.

    What error you get?

    Receive no data at all. When i try to go (ip)/api/v1/production then that page is not available (error http 501). 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • On 2/12/2023 at 1:32 PM, Drooneyef1908 said:

    Receive no data at all. When i try to go (ip)/api/v1/production then that page is not available (error http 501). 

    strange, I tested now and get my data;  envoyIP/api/v1/production

    Try also EnvoyIP/home

     

    Are you sure to use the correct IP adres to the Envoy, try to ping this adres with dos command or terminal (Mac)

    Link to comment
    Share on other sites

    • 0
    20 hours ago, twanve said:

    strange, I tested now and get my data;  envoyIP/api/v1/production

    Try also EnvoyIP/home

     

    Are you sure to use the correct IP adres to the Envoy, try to ping this adres with dos command or terminal (Mac)

    When i go to /home I receive a login screen from Enphase. On that page i have to enter a token. 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Witch Envoy you have..?

    look

    Please login or register to see this link.

    for the admin login options for Enphase products

    Link to comment
    Share on other sites

    • 0

    I have an enphase envoy S. There is no possibility to enter username and password. I do have the token and then I can login. Is it possible that the firmware version on my Envoy is the reason? 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 59 minutes ago, Drooneyef1908 said:

    I have an enphase envoy S. There is no possibility to enter username and password. I do have the token and then I can login. Is it possible that the firmware version on my Envoy is the reason? 

    My Envoy: Envoy-S-Metered-EU with Softwareversie 5.0.54

    I think you on software version 7.0.88

     

     

    A search on the web, EnPhase deliver the new Envoy's with firmware 7.xxx. It's not possible anymore directly call the API local for you data without a token.

    So conclusion; my QA don't work with this new Envoy version....

    Look

    Please login or register to see this link.

     for the explanation (it's Dutch)

     

    For now, I don't update my Envoy from D5 -> D7, it seems very difficult to generate this token for Domotica.

     

    Sorry I can not help at this moment.

     

    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.

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