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


Sankotronic LAB - preliminary work and preparation of UHAS for HC3


Recommended Posts

  • Topic Author
  • Posted (edited)

    Hello ALL!

     

    Enphase Envoy Monitor just evolved to another level:

    Please login or register to see this attachment.

     

    What is new:

    • replaced now net-balance to separate importing and exporting of the power to the grid. There is two child QA, one to show current importing power and another to show current exporting power. These two are then used every 15 minutes to calculate today's imported energy and today's exported energy:

    Please login or register to see this attachment.

    • Since now I have today's imported energy it is easy to properly calculate grid dependence from formula: IMPORTED/CONSUMED*100:

      Please login or register to see this image.

      /monthly_2024_09/EnphaseEnvoygriddependence.png.c220982c351d6d233f7047ffdad22f95.png" />
    • New is also average net-balance that is calculated based on last 5 minutes reports on current import/export power. Can be used to avoid influence of passing clouds on your automation that depends on current ratio of production/consumption.
    • On micro-inverters child devices added time when they last reported their power production. It is visible only on web GUI at the moment due to Fibaro developers thinking that is very important to see in what room is placed QA in mobile app and therefore log field is not shown.

    What is still missing:

    • Support for Qrelays
    • Support for battery pack

    Since I do not have any Qrelays or battery packs, anyone to help with that?

     

    Edited by Sankotronic
    • 3 months later...
  • Topic Author
  • Posted

    Hello all,

     

    Preparations for moving from HC2 to HC3 are ongoing. Since I need emulation of the z-wave devices included on HC2 I have playing with Slaves for HC3 made by @cag014. His work is excellent, but I needed a bit more, so I have improved those and added compatibility with UHAS for HC3 and translation for 32 different languages. Also, depending on selected new or old view, HTML tags for label formatting is used or not. Also all QAs are made on HC3 firmware 5.170 and higher.

     

    Here they are:

     

    1. Slave binary sensor QA - added 'dead' property
    2. Slave Color controller QA - added 'power' and 'energy' properties and made with newest version of color controller QA. Also added drop down menu for selection of existing RGB programs if emulated device is Fibaro RGBW modules :-D
    3. Slave door sensor QA - above binary sensor can be used, but this one is with type "com.fibaro.doorSensor" and therefore better to use if lookup in the code is needed ;-) 
    4. Slave window sensor QA - same as door sensor, but with type "com.fibaro.windowSensor"
    5. Slave multilevel sensor QA - added 'dead' property. Can be used for any sensors like temperature, humidity, light level, energy etc. Depending on the selected role it will configure its properties.
    6. Slave switch QA - can be used for any on/off device. Depending on the selected role it will configure its properties.
    7. Slave multilevel switch QA - mostly used with dimmers or any device with levels and on/off capability
    8. Slave remote central scene QA - will transfer central scene event of the emulated device to HC3. I use it with Remotec ZRC90
    9. Slave remote scene activation QA - will transfer scene activation event of the emulated device to HC3. I use it with dimmer 2 scene activation
    10. Slave roller shutter QA - to emulate roller shutter devices and is much better choice than multilevel switch.

    Here are some screenshots:

    Please login or register to see this spoiler.

     

    Just thinking to add Slave master controller that can be used to start/stop emulation of all or just selected slave QAs and also for setting up IP address and credentials for HC2 on one place :-D

     

    • Like 4
  • Topic Author
  • Posted

    Hello all,

     

    There is another QA I managed to made. Nanoleaf Holiday string lights finally get API. It is currently in beta and not tailored as expected. Light is still sending responses in string format instead as json. It is now possible to get token, but developers instead of expected POST method used GET. Not to mention that it is not possible to get all controller info with one call as it is for panel lights.

     

    Next update is expected sometime next year, so will wait for this corrections to publish this solution. Also, Fibaro developers if there are any, are struggling with HC3 firmware for few years now. Introduced new view for QA is all but not functioning as it should. I have lots of problems with updating labels, drop down selector and other with this new view. It is unstable and unusable at least for color controller QA.

     

    Nanoleaf Holiday strings light QA is working fine with old view and changed code to eliminate API deficiency. Here is a screenshot:

    Please login or register to see this spoiler.

     

    I'm also working on improving other QAs that I coded until now. (to be continued)

    BTW - I made screenshot of Nanoleaf Holiday string light in new view just for fun and because for some reason it did updated labels and drop down selector properly after few attempts.

    • Like 2
    Posted

    Nice work, hope the transition goes smooth!!

    • 2 weeks later...
  • Topic Author
  • Posted

    Hi all,

     

    Just finished Slaves Master controller QA for HC3 Slave devices:

    Please login or register to see this attachment.

     

    Features:

    • Shares HC2 credentials with all slave devices installed (no need to setup HC2 credentials individually for each slave device. This speed up installation process) Actually all that user need to setup for each slave device is ID number of the device to emulate and eventually role provided by the slave device.
    • HC2 password is scrambled before is saved to global variable which slave devices use.
    • User can start/stop emulation of all slave devices with one button.
    • User can start/stop slave devices only for selected room
    • User can start/stop selected slave device only
    • Has button to refresh list of all installed slave devices.
    • QA icon and state label shows state of slave devices (all stopped, partially enabled or all enabled)

    Since it is possible to selectively enable emulation of slave devices it is now possible to install slave devices for all z-wave devices included in HC2 or HCL and then do programming room by room without putting too much work on both gateways.

     

    • Like 3
    Posted

    Nice work!

     

    Hope the transition goes easy for you.

    I was lucky when the HC came out we just bought our new home. So when I was done renovating a room I moved it to the HC3.

    Made it a bit easier for a NOOB like me :D 

     

    P.s. Happy new year!!

    • Like 1
    • 8 months later...
    Posted

    Hi,

     Where can I download the Slaves Master controller QA?

    Thanks!

  • Topic Author
  • Posted

    Hi @kivi,

     

    it is not yet published since I still have to do some modifications and testing.

    • 1 month later...
    Posted

    Netatmo QA seems to not work anymore. I tried everything but the devices do not show current measurements anymore :(.

    • 2 weeks later...
  • Topic Author
  • Posted

    Hi @Bornheim ,

     

    Since I'm not currently at home I checked Yubii app and it seems that my Netatmo QA works OK. Can you provide some screenshot from debug console so I can see what is the problem. Thanks!

    • 3 months later...
  • Topic Author
  • Posted

    Have being busy for last few weeks:

    Please login or register to see this spoiler.

     

    See picture above :-)

     

    have to work for next 5 weeks and then when I'm back home will continue with Yubii UHAS.

    Most of my time with UHAS I spent on planning, testing, checking, learning, designing. Once I find the solution, coding is a breeze thanks to my quick app SDK and @jgab libraries.

     

     

     

    BTW - all quick apps if needed have built in notifications. For example WeerLive weather provider now sends weather alarm notification if there is one. All weather providers can send current and forecast weather notification etc.

    • Like 3

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