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


UHAS (Universal Home Automation System) for HC2 1.0

   (1 review)

1 Screenshot

About This File

1816386342_UHASlogo.png.7cd8806c1b044621890689c92fc10745.png

UHAS v1.0 (Universal Home Automation System)

 

KNOWN ISSUES (10/10/2022)

  1. Global variable HomeTable - before installation please check if you use global variable with this name and if it is used for the purpose of storing devices and scenes ID's as described hereor you use it for another purpose and it is predefined type of global variable. If it is of predefined type, then you will get error when running some UHAS scenes:
    [DEBUG] 10:53:08: 2022-10-09 10:53:08.283834 [ fatal] Unknown exception: /usr/share/lua/5.2/json/decode/util.lua:35: unexpected character @ character: 1 0:1 [V] line:
    [DEBUG] 10:53:08: V

    where letter "V" as in above example is first letter of the current value stored in this global variable. Solution is then to change name of this global variable in UHAS scenes to the name of the global variable that you use for the above purpose or if you do not use such solution then to add comment dashes in front of the code line that reads HomeTable global variable:

    local HomeTableName="HomeTable" <--- change name here
    
    -- local jT={}if fibaro:getGlobalValue(HomeTableName)~=nil then jT=json.decode(fibaro:getGlobalValue(HomeTableName))end
      -- or add comment dashes here to avoid errors
  2. Thanks to @jgab and other users some bugs and typos where found in some of the UHAS scenes. If you downloaded UHAS v1.0 installation package then please download corrected scenes from here:
  3. If ALC Config VD fails to find all lights on your HC2 and label ? All shows [0/0] found lights then probably there is a light without actions that are needed for light to be recognised and there is a bug that stops code with error. In that case please download corrected code for button 663550272_ALCConfigVDupdateroomandlightslist.png.c9e3f02029ad132afeb555b8bede5bd2.png and paste it over existing one. Download this code from here: 

 

UHAS INTRODUCTION

UHAS is a set of scenes and Virtual Devices (VD) that provide the following capabilities:

  • Auto translation of all scenes, VD's, predefined global variables, and messages to 31 different languages (19 directly supported by HC2) (NOTE – not all languages are translated, and users are very welcomed to help with translations that are not yet done)
  • Scheduled and repeating events based on time of day, week, month, and season including Scene FTBE which provides repeating and scheduled actions
  • Advanced Notification Center (ANC) brings centralized notifications with support for most popular services like Pushover, Telegram, GroupMe, WhatsApp and Signal, Sonos TTS and LaMetric TIME smart clock notifications
  • Advanced Lighting Control (ALC) with integration for Philips HUE, Nanoleaf and LIFX

  • Very Smart Blinds (VSB) automation

  • Presence monitoring and control with geofencing

  • Weather state and forecast with notifications and integration for Netatmo weather station and WeatherFlow and Tempest weather stations

  • Home consumption monitoring and recording

  • Appliance monitoring - with notifications

  • Safety alarms fire and flood

  • Security alarm integration ready with provided global variables

  • Irrigation control based on FIBARO devices

  • Scenes ready to use with Fibaro dimmer 2, Fibaro keyFob, Fibaro Swipe, Fibaro Button and Remotec ZRC-90 central scene activation with built in support for ANC

  • HC2 system status notifications, automatic backups and many more...

 

UHAS OVERVIEW

  • UHAS has been developed for the Fibaro Home Centre 2 (HC2) home automation controller, as a series of modules, which are responsible for one particular action or job, and the user can interact with them as a group, or on their own.
  • UHAS provides an advanced Home Automation (HA) set of features, ready to be used out of the box with minimum user effort to set up and run. Running code is provided as part of the system, doing most of the settings for the user or a systems installer.
  • UHAS is primarily intended to be used by users of the Fibaro HC2 system who wish to have fully featured HA without the need to learn LUA programming and spending a lot of time with coding Virtual Devices and scenes.
  • UHAS can also become a part of a mature Fibaro system installation which has developed with many modules to cover more advanced HA and more devices.
  • UHAS Virtual Devices and scenes use proprietary code developed by author. This code is developed to minimise users involvement in installation and setting of the system. Most of the necessary setting is done by the UHAS components and other settings are simplified and minimised as much as possible. This was also possible because all UHAS VD's and scenes use role system that is used to find necessary components for actions to be performed.
  • UHAS Virtual devices category is set automatically during translation or changing of the main icon. This means that most of the VD's should show in proper category in new mobile app as lights, blinds, gates, ambience, climate, safety, security, multimedia, remotes and other. The same goes for scenes, when scenes save their settings after first manual run then also category is set.

 

UHAS PREREQUISITES

  1. Fibaro Home Center 2 (HC2) with firmware version 4.120 or higher.

  2. Configured and installed z-wave devices – I.e., light switches, motion sensors, lux detectors etc.

 

INSTALLATION AND UPGRADE

  • Please first download provided UHAS Installation and User Manual (12.3Mb)
  • NOTE - UHAS uses its own unique global code variables. This means that UHAS will NOT influence the current system scenes, scripts, or virtual devices in any way, even if any of Sankotronic’s earlier UHAS beta versions and standalone scenes or VD's (Virtual Devices) are being used. There is no need for any changes to be made to the existing code before the installation of UHAS. The UHAS global variables are created and controlled automatically by the system so that you do not need to maintain them manually.

 

PACKAGE CONTENT (25.7Mb)

  • 86 Virtual Devices
  • 48 scenes
  • Icon sets for all the above VD's and scenes

 

THANK YOU! ❤️

I want to BIG thank to @clowg for helping me with translations and writing manual these last days speeding up publishing UHAS.

BIG thank to @gucio1234 and his son Cyprian for making logo for UHAS and 3D printed with real gears! I just love it ❤️

108918378_UHASlogomodel.png.7ad067cadfc439c78154a1c694049801.png

I also want to thank many of you who helped during testing of UHAS beta versions and with translations! @clowg, @Bodyart, @jimicr, @gucio1234, @jompa68, @Sjekke, @robw, @rbhun, @lennypenny, @FunkFib, @MarcoT, @Orgli, @MarcoTorino71 and many others. Your help is greatly appreciated ?. Apologies to all other not mentioned nice people who contributed in making UHAS.

I also want to thank gurus of this forum @petergebruers, @jgab, @cag014, @SmartHomeEddy and others for help with coding in LUA.

And of course a BIG thank to Fibaro for providing Home Center 2 and Home Center 3 for developing purposes!

 

 

TERMS AND CONDITIONS

Permission to use, copy, modify and distribute this software and its documentation for educational, research, personal use and non-profit purposes, without fee and without a signed licensing agreement is hereby granted, provided that the copyright notice, with "Terms and conditions" and "Disclaimer" appear in all copies, modifications and distributions. It is strictly forbidden to sell, rent, lease and/or lend this software for profit without prior consent from the Author.

 

DISCLAIMER

This software is provided by copyright owner "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author and distributor be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Fibar Group S.A. and their employees are not responsible for support of the UHAS. Please contact the author Sankotronic, on the Fibaro Forum, for any questions or support required.

 

 

Edited by Sankotronic
Adding KNOWN ISSUES

  • Like 9
  • Thanks 6
 Share



User Feedback

You may only provide a review once you have downloaded the file.


Bodyart

   1 of 1 member found this review helpful 1 / 1 member

This is just wonderful! I wonder why didn't Fibaro include all these functionalities, or at least a part of this stuff in their Firmware.

  • Thanks 1
Link to review
×
×
  • Create New...