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


Recommended Posts

  • Topic Author
  • Posted

    v0.2.5. Updated color status updates for devices. When color was changed in the Hue app the color was not reflected correctly in the QA.

    • Like 2
    • Thanks 1
    Posted

    Jan,

    For color lights it works like a charm!

    no interaction with device icon:

    -Hue ambiance spot,LTW013,  

    -Gradient

    -Zone with Gradient and Hue color candle

    -room 1 hue color respond second nothing and room also no change

     

    Posted

    Jan, Fibaro shows the colored rings great but it doesn't show B/W to me.

    Posted

    Hi @jgab,

     

    Just installed latest version and I see many improvements 👍. I can see that you covered color scenes for those lights that support them. 

    Many color lights including HUE Festavia also now support color effects like "candle", "fire", "opal" etc. and it would be nice to have them available.

     

    I'm also interested if there is a way to get current status from individual lights or room zones from other quick apps?

     

    I know that HUE bridge does not provide which color scene is activated for e.g. room zone, but it can be saved when it is activated from quick app and then read by another quick app to use it?

     

  • Topic Author
  • Posted

    You can of course read color (RGB) and colorTemperature.
    I could store the scene being activated but then it would need to be cleared when user changes anything.
    ...and if users set scene from the Hue app, there is no scene event, just the colors...

     

    In the documentation in the first post there are description of the API.
    They are not available in the UI, but there for automation calls.
     

    signal sig, duration_ms, colors Signalling effect (see below)
    setEffect effect Looping light effect (see below)
    setTimedEffect effect, duration_ms One-shot timed effect (see below)

     

     

    Light effects reference

    signal — blink / alerting effects

    Applies a visual signalling effect to the light or group.

    Please login or register to see this code.

    Parameter Type Description
    sig string Effect type (see table below)
    duration_ms number Duration 1000–65534000 ms. Default 5000
    colors table Optional array of 1–2 RRGGBB hex strings
    sig value Colors required Description
    "on_off" none Blink between max brightness and off
    "on_off_color" 1 color Blink between off and the given color
    "alternating" 2 colors Alternate between two colors
    "stop" none Cancel any active signal immediately

    Examples:

    Please login or register to see this code.


    setEffect — continuous looping effect

    Individual lights only (not supported on rooms/zones).

    Please login or register to see this code.

    effect value Description
    "candle" Candle flicker
    "fire" Fire effect
    "prism" Prism colour cycle
    "sparkle" Random sparkle
    "opal" Opal shimmer
    "glisten" Glisten
    "underwater" Underwater wave
    "cosmos" Cosmos
    "sunbeam" Sunbeam
    "enchant" Enchant
    "stop" Cancel active effect

    setTimedEffect — one-shot timed effect

    Individual lights only (not supported on rooms/zones).

    Please login or register to see this code.

    effect value Description
    "sunrise" Sunrise simulation
    "sunset" Sunset simulation
    "stop" Cancel active timed effect

    • Like 1
    Posted

    Hi @jgab,

     

    Thanks for the info. Will test how to work with light effects.

    Monitoring Yahue this evening it seems that something is still missing, I'm just not completely sure it is due to your code or unfinished coding by Nice is new Fibaro development team for colorController devices.

     

    In the long run I do not have much option than to write my own code and see. I still have some problems with understanding how to make advanced child devices, but with patience and trial and error I guess will manage somehow since any other way is not much easier.

     

     

     

     

    Posted

    Hi @jgab,

     

    Unfortunately child devices of room/zone type same as some individual lights are not updated when their state is changed by my HC2. I do see events are fired in the console, but devices state do not change.

  • Topic Author
  • Posted
    1 hour ago, Sankotronic said:

    Hi @jgab,

     

    Unfortunately child devices of room/zone type same as some individual lights are not updated when their state is changed by my HC2. I do see events are fired in the console, but devices state do not change.

    What kind of lights?

    Posted

    Perhaps the same lights as I mentioned?

    Posted
    1 hour ago, jgab said:

    What kind of lights?

     

    Hi @jgab,

     

    Mostly RoomZones. All my RoomZones control original HUE color bulbs. Only Kitchen has mixed two hue ambience bulbs with some color bulbs and color strip. Also, Entrance has two dimmable bulbs only. My HUE lighting is currently controlled by my HUE solution for HC2 and in most cases by sending color scene to the RoomZones.

     

    Whenever my HC2 solution sends new command to the HUE Pro bridge, I can see events in the HC3 console from the Yahue:

    Please login or register to see this spoiler.

     

    but none of the child devices are updated to the new state.

    BTW - I'm not looking at the color rings, but at the log below ring and it says that RoomZone is off, while I can see that all HUE bulbs from that RoomZone are turned on.

     

    I do have two INNR smart plugs and original HUE plug added as binary switch and are also not updating.

     

    Posted (edited)

    Jan,

    I have YahueV2 installed and all lights give feedback from Hue >>> HC3  and backwards

    Yahue 0.2.5 installed and all lights are placed in the default room to avoid conflicts. In debug I see all lights switch on and off.

    HC3 nothing if I switch  on or off the overview stays the same and a the light stays on as you can see in the picture.

    Those lights who are on in V 0.2.5 are off in YahueV2

    Some of the lights in 0.2.5 when on stays on and some don't change.

    In the picture below TV_Lampen is a zone so aal other lights should show also on.

    Or am I doing something wrong?

    If you need more info I am happy to share..

    Thanks

     

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Edited by Sjakie
    change picture
  • Topic Author
  • Posted

    Updated to 0.2.7 - should behave better when updating roomzone status in UI.

    • Thanks 2
    Posted

    Jan, looks much better! Only one thing is still the same If in HUE app light is on (1%) HC3 sees it as off!

    Remark there is a difference in the device screen showed \by startup sa in my picture and in the device screen with device no text room etc.

    Device screen showed in my picture is not accurate. If I switch on in HUE app 1 light I see several icons change from off >>>on. Those lights are in different zones or rooms.

    Thanks for the step forwards.

    Posted

    Hi @jgab,

     

    Today I get this:

    Please login or register to see this code.

     

    and this:

    Please login or register to see this code.

    then at the end this:

    Please login or register to see this code.

     

    I think that I have some problem on my network that needs to be investigated, but way your code handle problem in communication with HUE bridge is interesting, but not what I expected.

    Didn't yet upgrade to the latest code 0.2.7

  • Topic Author
  • Posted (edited)
    52 minutes ago, Sankotronic said:

    Hi @jgab,

     

    Today I get this:

    Please login or register to see this code.

     

    and this:

    Please login or register to see this code.

    then at the end this:

    Please login or register to see this code.

     

    I think that I have some problem on my network that needs to be investigated, but way your code handle problem in communication with HUE bridge is interesting, but not what I expected.

    Didn't yet upgrade to the latest code 0.2.7

    The match error on line 74: was a bug - fixed in 0.2.9
    The /eventstream error is your hub not responding. You have other QA/HC2 scenes that polls the hub too?

    Missing resources are just Hue resources not mapped (yet) by the engine.

    Edited by jgab
    Posted
    10 hours ago, jgab said:

    The /eventstream error is your hub not responding. You have other QA/HC2 scenes that polls the hub too?

    Yes, one scene on HC2 that polls data every 10 sec and sends commands when lights need to turn on/off. Today was first time that this happened since I installed Yahue 5 days ago.

     

  • Topic Author
  • Posted
    7 minutes ago, Sankotronic said:

    Yes, one scene on HC2 that polls data every 10 sec and sends commands when lights need to turn on/off. Today was first time that this happened since I installed Yahue 5 days ago.

     

    If you don't run any command to Yahue, it should just connect and receive eventstreams over a single connection to update the status. Shouldn't flood the hub with requests.
    Anyway, try 0.2.9 and see if it has improved?

    Posted

    Just installed and tested 0.2.9.

     

    Updating is now working for RoomZones, but still not correctly for individual bulbs and plugs.

     

    I have 4 plugs conencted to HUE bridge, 2 are Philips HUE and 2 are INNR. This four plugs I put in one zone to have them on one place, but I control them individually not using zone. Regardless if I turn on one of the plugs using Yahue or HC2, Yahue shows that all plugs are turned on, even three others are actually turned off.

     

    I guess your code still prefer to work with zones and not individual devices?

    All events are printed in console, first for individual lights/plugs and then for room/zones.

     

     

  • Topic Author
  • Posted
    8 hours ago, Sankotronic said:

    Just installed and tested 0.2.9.

     

    Updating is now working for RoomZones, but still not correctly for individual bulbs and plugs.

     

    I have 4 plugs conencted to HUE bridge, 2 are Philips HUE and 2 are INNR. This four plugs I put in one zone to have them on one place, but I control them individually not using zone. Regardless if I turn on one of the plugs using Yahue or HC2, Yahue shows that all plugs are turned on, even three others are actually turned off.

     

    I guess your code still prefer to work with zones and not individual devices?

    All events are printed in console, first for individual lights/plugs and then for room/zones.

    Ah, the issue may have been if the plug(s) were part of a grouped_light ...
    I only have a single plug to test with and that worked for me, but I see a potential issue when it's part of a grouped_light.
    Pushed v0.2.10 that should fix it.

    • Thanks 1
    Posted

    Hi @jgab,

     

    just tested Yahue version 0.2.10 and now works almost like a charm.

    It updates properly zones and individual plugs and now even color rings are showing color when light is turned on 👍, but it stopped updating at one point and this was printed in console before that:

    Please login or register to see this code.

    Don't know if that has anything to do with event listener thou.

     

    There is one type of lights that is not properly supported with current version and it is HUE Festavia light string.

    I guess you do not own one, so here is this light resource data:

    Please login or register to see this spoiler.

    These lights also support HUE scenes, but I mostly use it with effects.

     

    Will do thorough test and also will look more closely to your code and report here my findings.

     

    What I need is to add some translations and define each child device model and manufacturer properties for easier integration with Yubii UHAS.

    Also it would be nice to add drop down menu to activate effect if available for certain light or group of lights. What I also need is to be able to read current status of the child controlled lights from my ALC (Advanced Light Controller) when put in learning mode, so to be able to easy store different light moods for different occasions.

     

    I have ALC that can do that on HC2 so I do not see why not to have it on HC3. :-) 

     

     

     

     

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