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


Philips HUE AIO VD standalone 3.1

   (6 reviews)

1 Screenshot

About This File

Philips HUE AIO VD v3.1

(standalone version)

With Philips HUE preview VD v1.1 - brings easier setup and support for multiple Philips HUE bridges

 

 

INTRODUCTION

Philips HUE lighting brings colorful way of lighting experience. More about this lights you can find here https://www2.meethue.com/en-us Philips HUE AIO VD is All In One solution for HC2 owners to control Philips HUE lighting with support for all types of HUE lamps made by Philips and some other manufacturers.

 

PREREQUISITES

  • Fibaro Home Center 2 with firmware 4.120 or greater (tested up to 4.540)
  • Philips HUE bridge V1 (round) with firmware up to 01041302 (released 05 February 2018) or
  • Philips HUE bridge V2 (square) with firmware up to 1901181309 (released 07 February 2019)

 

FEATURES

  • Consists of two VD's: Philips HUE Preview VD which connects to Philips HUE bridge and downloads information of all lights and groups of lights and greatly simplifies installation of Philips HUE AIO VD that controls individual HUE bulbs or group of bulbs. Also added unreachable icon for Philips HUE bridge v1.
  • Philips HUE Preview VD has button for generating authorization username and for easy connection to Philips HUE bridge
  • Support for multiple HUE bridges and most of the Philips HUE bulbs including bulbs from other manufacturers that can be connected to HUE bridge.
  • HUE AIO VD recognizes different types of bulbs like multicolor, white ambience and dimmable and enables proper controls
  • Can control brightness, hue, saturation, color temperature and transition speed that can be set from instant to 10 seconds duration
  • Buttons to activate colorloop efect and Alerts
  • Multilanguage support with 27 languages included. VD's can use HC2 selected language or user can select any other available language. VD will be automatically translated to the selected language (visible after refreshing page on browser or refreshing network data on Fibaro mobile application)
  • Easy setup for VD icons that will also setup icons for all buttons and sliders of the VD. (on UHASTM compatible version is even more easier to setup VD icons with Icon Preview VD)
  • On HUE AIO VD user can setup separated on and off button or have on/off toggle button
  • Self adding of global variables needed and global variable data integrity checking
  • Automatic repair of global variables without user intervention
  • New approach to programming other code to control this VD enables future upgrades without needing to change that code. (See more about that in User Manual provided)

 

INSTALLATION

Please check provided User Manual where all steps are explained in detail and this video made by @MarcoTorino71:

 

PACKAGE CONTENT

  • Philips HUE Preview VD v1.1 standalone
  • Philips HUE AIO VD v3.1 standalone
  • Icon pack Philips HUE E27 bulb indoor
  • Icon pack Philips HUE E27 bulb outdoor
  • Icon pack Philips HUE GU10 bulb indoor
  • Icon pack Philips HUE GU10 bulb outdoor
  • Icon pack Philips HUE LED strip indoor
  • User Manual v1.1 EN

 

CREDITS

Many thanks to BodyArt, gucio1234 and many other Fibaro forum users for help with testing, translations and user manual.

 

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 Philips HUE AIO VD. Please contact the author Sankotronic, on the Fibaro Forum, for any questions or support required.

 

LEGAL NOTICE

HUE is registered trademark of Philips Lighting Holding B.V. registered internationally.

 

LATEST NEWS

1 April 2019

Philips HUE bridge firmware new version 1901181309 is out. If you upgrade to this latest firmware Philips HUE AIO VD will continue function properly.

 

VERSION HISTORY

3.1 - Corrected bug that was causing HUE AIO VD main loop to stop with error if user set light or group ID that does not exists on HUE bridge. Also corrected bug that was not updating list correctly after first scan if user removed or added light or group on HUE bridge.

3.0 - All In One solution, one VD for all types of bulbs and for control of individual light or group of lights with supporting Philips HUE Preview VD.

2.1 - added Philips HUE White dimmable VD of same version as color version.

2.1 - Corrected error handling when HUE bridge is not reachable.
2.0 - Added On/Off button; two version available: 2.0m with Main loop refresh  or 2.0b with button refresh for systems with more than 15 HUE lamps to improve response and reduce network traffic; changing brightness, color or Saturation sliders now immediately refreshes VD status; code improved so users can easier setup necessary data
1.5 - Added sliders for color (hue) and Saturation, VD is now getting ID & TCP port setting from VD general tab 

1.0 - Changing icons based on the brightness level, Changing icons based on HUE lights state (unreachable/error); Error handling for HUE response data, status information in the bottom bar of the VD; detailed comments in LUA code, main loop refresh code added

 

Here is a new look of Philips HUE AIO VD and companion Philips HUE Preview VD:

 

   28855720_SAPhilipsHUEPreviewv1.1.thumb.png.6265881218e323ce300a09274d214529.png 1237575361_SAPhilipsHUEAIOVDv3.1.thumb.png.4350a30e1fd4412fb92d77ed82c73a25.png     

 

Enjoy coding and your new Philips HUE virtual device!

Sankotronic :P 

 

PS

This solution is only for HC2. If you have HCL then please check @AkilliYuva.com solution here:

 


What's New in Version 3.1   See changelog

Released

  • Moved VD from Fibaro marketplace here to Fibaro forum DOWNLOAD section
  • Corrected bug that was causing HUE AIO VD main loop to stop running if user setup light or group ID that does not exists on HUE bridge
  • Corrected bug that was preventing proper update on HUE Preview VD of lights and groups after user changed setup on HUE bridge
  • Added icon for HUE bridge v1 unreachable

 

UPGRADE

  • From 3.0 to 3.1 - If you are happy with 3.0 then you can skip this version. If you still want to upgrade then delete all previous version VD's and then added global variables and install v3.1 according to user manual.
  • From 2.X to 3.1 - Please delete all old VD's and global variables and follow installation instructions in user manual provided.

 

  • Like 9
  • Thanks 3


User Feedback

Recommended Comments



Hi @Sankotronic

 

thanks for reply.

 

Yes I control HUE with Alexa and not over Fibaro Skill ( Fibaro Skill doesn't expose VD...).

 

Yes, of course I can set the brightness with  some few words. But I don't understand why Alexa Skill doesn't work properly.

Link to comment
Share on other sites

Guest Sankotronic

Posted

You can always first turn on HUE bulb with HC2 to 100% then use Alexa to turn it off and then back on and see what happens. If Alexa still turn bulb to different brightness then you will at least know that it has nothing to do with HC2 and HUE AIO VD.

 

BTW to control HUEs do you use HUE AIO VD and VSL scene combination or you do it differently?

Link to comment
Share on other sites

Yes most of the time Alexa turn on and off the lights.


The problem is when I activate one of the scenes with which I turn off all the lights and activate the alarm: at that point Alexa does not activate them at 100% brightness.

 

I only use HUE AIO VD without the VSL. I created the scenes via LUA of AWAY and HOME

Link to comment
Share on other sites

Just tested Alexa and indeed when you say Alexa turn on <bulb_name> it turn it to 10 % only.

I always use: Alexa turn <bulb_name> to <desired percentage> %.

 

Link to comment
Share on other sites

Guest Sankotronic

Posted

And do you set brightness to 10% with scenes in some point or just turn off without changing brightness? Asking because just trying to find connection between HC2 HUE control and Alexa

 

@Bodyart  was faster :-D

Link to comment
Share on other sites

Of Course :D

1 minute ago, Sankotronic said:

And do you set brightness to 10% with scenes in some point or just turn off without changing brightness? Asking because just trying to find connection between HC2 HUE control and Alexa

 

@Bodyart  was faster :-D

 

Link to comment
Share on other sites

Hi @Sankotronic,

 

i'm fully convinced that there is no connection between Alexa and HC2 regarding HUE. Alexa controls HUE directly, so just switch HC2 off and Alexa will control HUE the same way :-D

 

Link to comment
Share on other sites

Guest Sankotronic

Posted

Hi @Sjakie ,

 

I'm not sure if I understand what do you mean? Can you gie some more info about when this happens and what exactly?

Link to comment
Share on other sites

Hi @Sankotronic,

 

If HUE is switched of by HC2 sometimes and  I have no clue why it shows in your VD bri=1 and the light glows a bit

To switch light off  I dont use to set brightness to zero just switch off.

//Sjakie

 

Link to comment
Share on other sites

Guest Sankotronic

Posted

Hi @Sjakie ,

 

Do you use VSL scene to control HUE AIO VD or some other code? I know that VSL scene sometimes get confused and does not turn off HUE completely if motion sensor was breached in the moment when scene is dimming lights before turning them off.

Link to comment
Share on other sites

Guest Sankotronic

Posted

Hmmm, that is strange. And what is the settings of the Transition speed slider? Maybe it is possible that bulb doesn't manage to switch off completely if this slider is set to longer times. I will have to check that.

 

Link to comment
Share on other sites

On 9/28/2020 at 8:56 PM, Al3x said:

cannot seem to get this to work any more when hue running on HTTPS, i keep having to repair it each day

 

Hi @Al3x,

 

have you setup your HUE bridge to have static IP address?

If HUE is running HTTPS on local network then VD would stop working completely and my HUE VD's are working just fine whole the time.

Check your bridge network settings and set it up to have static IP address and not one get from DHCP server

 

Link to comment
Share on other sites

Hi, does this run on Home Center 3 as well? If not are there alternatives or is this planned to be made available there as well? Thanks

Link to comment
Share on other sites

Hi @Sankotronic,

 

Thanks a lot for the topic and help. I have a HC3 and the hue white ambiance led. In this case, it seems that only Brightness and Color Temperature are used to control the light. However, only Lua command for changing brightness seems to exist. Do you know about any solution to control Color Temperature? Would your VD work? and if so, I guess it's not adapted to HC3... Thanks for taking time to read.

Best regards

Antoine

Link to comment
Share on other sites

On 12/2/2020 at 9:56 AM, NHST said:

Hi, does this run on Home Center 3 as well? If not are there alternatives or is this planned to be made available there as well? Thanks

 

Hi @NHST@AntoineF,

 

HUE AIO VD is for HC2 only, but there is alternative from @jgab for HC3 that you can find here

 

  • Like 1
Link to comment
Share on other sites

Hi @Sankotronic, thanks a lot for the help. I tried that one as well as the "QuickApp - Philips Hue - All in One" from petrkl12 but none of them allow to control color temperature in scenes, at least not in block scene. "Children of Hue" doesn't allow to control color temperature at all at device level. The other "QuickApp - Philips Hue - All in One" does allow color temperature control at device level but not in block scenes. I am checking with them if there is a Lua command to control this. I am waiting fore their reply.

 

Thanks for your help.

Link to comment
Share on other sites

I have happily been using the Philips HUE AIO VD standalone 3.1 for some time.

However one thing is bugging me.

I have a button “101.7” activating a scene, which turn on 2 lights ( I have made a group “Lys over spisestue” in the HUE bridge)

The scene defines the different levels, as you can see.

However, the levels is not right when I call the scene on the button, not even if the lights are switched off at that level.

Especially the brightness level makes a peak and then quickly adjusts down to the defined level (35%)

Is there a way to avoid this peak?
I have several groups acting the same.

Udklip.JPG

Link to comment
Share on other sites

In the main loop i got an error from the virtual device: The "SA HUE Preview 1.1". See attached

The only way to resolve this is to restart my HC2

 

How can this be fixed?

If you need more info let me know.

 

HC2 V4.620

 

Screen Shot 2021-12-27 at 20.41.38.png

Link to comment
Share on other sites

Hello @samuel,

 

From debug screenshot it is clear that global variable content is lost and VD is rebuilding them. ERROR is caused by missing data, which is odd since data should be renewed before that part of the code is executed.

 

I looked at the code and found bug. It is all about language settings. After rebuilding global variables language is not set in the first run and therefore code stops on error.

 

Solution is to change code line 168 which is now:

  local langTable=json.encode({language="",

to

  local langTable=json.encode({language=lng,

This should solve problem with code ERROR.

BUT there is still remaining question, why are global variables destroyed. Most common cause is to use Save button in global variables panel. Another cause can be writing wrong data to those variables, but since all variables are reported to be repaired this is not the case. Can you confirm that you never use SAVE button in global variables panel?

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
Add a comment...

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