All menus that use standard macOS menu controls do this - it's default behavior. Thus, any menu in config UI should do this as well (as long as the menu items are alphabetized that is).akimball wrote: until I accidentally discovered that if I type a couple of keystrokes while holding down the scroll list it jumps right to or near the item I’m searching for. Perhaps you could make use of a similar technique? Thanks for considering the request.
Hue Lights discussion
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Hue Lights discussion
Re: Hue Lights discussion
That's actually a feature of the macOS UI. You can do that with any pop-up menu in macOS, as long as the developer who wrote the application uses standard macOS APIs (most do, including Indigo Domotics). The only issue I can see in using this technique with the Preset menu in the Hue Lights plugin dialog is that each preset menu item name begins with an asterisk and preset number followed by the preset name. Only typing an asterisk and first number of the preset would actually bring you to the preset you want. I'd have to think about ways to make both the menu easy to navigate and easy to read.
Re: Hue Lights discussion
Who knew
.
I can’t say enough good things about the hue plugin and thanks again.
I can’t say enough good things about the hue plugin and thanks again.
-Al
Re: Hue Lights discussion
Version 1.6.11 Posted
- Added the ability to set the total number of Presets from within the Hue Lights plugin configuration window.
- Added a custom plugin icon to plugin bundle.
Re: Hue Lights discussion
Feature request: can you support a sceneName field in the dictionary for recallScene? This would be useful only for scripts, but it's a lot nicer than peeking into the Hue Hub's API to eek out the scene ID's.
I've hacked together my own solution, but next time I update my plugin, I'll forget about it and overwrite what I changed.
The only challenge is for hubs that have repeated scene names. That kind of invites a longer, alternate discussion, because they probably shouldn't even appear. I think the JSON lastupdated is authoritative, though, and the older ones should probably just be thrown out.
I could try to contribute some code to help make this work...
I've hacked together my own solution, but next time I update my plugin, I'll forget about it and overwrite what I changed.
The only challenge is for hubs that have repeated scene names. That kind of invites a longer, alternate discussion, because they probably shouldn't even appear. I think the JSON lastupdated is authoritative, though, and the older ones should probably just be thrown out.
I could try to contribute some code to help make this work...
Re: Hue Lights discussion
Thanks for the suggestion.
Based on the questions I've seen here in this thread and other Hue related threads, the repeated scene names issue would be a fairly common problem, which would make naming and recalling specific scenes from within the plugin a somewhat challenging endeavor, especially if you don't want to hide scenes that are on the bridge/hub. Hiding older scenes (e.g. based on the "lastupdated" attribute) would break Indigo actions other users created that used those old scenes.
Of course, that doesn't mean adding that feature can't be done. If you're interested in contributing to writing and updating the plugin, it's available on GitHub at https://github.com/nsheldon/Hue-Lights-Indigo-plugin.
Based on the questions I've seen here in this thread and other Hue related threads, the repeated scene names issue would be a fairly common problem, which would make naming and recalling specific scenes from within the plugin a somewhat challenging endeavor, especially if you don't want to hide scenes that are on the bridge/hub. Hiding older scenes (e.g. based on the "lastupdated" attribute) would break Indigo actions other users created that used those old scenes.
Of course, that doesn't mean adding that feature can't be done. If you're interested in contributing to writing and updating the plugin, it's available on GitHub at https://github.com/nsheldon/Hue-Lights-Indigo-plugin.
Re: Hue Lights discussion
Thanks, I'll take a crack at it. Forked, but your repo looks to be a bit out of date! The newest is Indigo-7-API-2.0-support branch, but your plist is indicating version 1.5.1.nsheldon wrote:Of course, that doesn't mean adding that feature can't be done. If you're interested in contributing to writing and updating the plugin, it's available on GitHub at https://github.com/nsheldon/Hue-Lights-Indigo-plugin.
Re: Hue Lights discussion
I thought I updated it. Sorry. I’ll try to sync that soon. I don’t use GitHub often.
Re: Hue Lights discussion
No problem. I took a stab at it, and issued a PR against your repo.nsheldon wrote:I thought I updated it. Sorry. I’ll try to sync that soon. I don’t use GitHub often.
Instead of modifying recallScene as I mentioned, it seemed like the most logical choice was to added a new action (actually, two) to the Hue Group device type. Actually, this sounds completely unrelated to my original request, but the purpose of the original request was to be able to use recallScene in an action script in order to accomplish exactly what the pull request does: make it simple to cycle through the scenes already installed on the hub. This seems nice, because now I can share it and give it a nice UI rather than write more Python for everything. I think others might find neat uses for this, too.
Currently, the action doesn't discriminate against the owner, only against the correct group members.
Also, first time working with Python other than basic action scripts. Not sure how good my application of the language art is, but it technically works!
- henkjanvries
- Posts: 108
- Joined: Sat May 05, 2012 6:48 am
Re: Hue Lights discussion
Hi I have 5 tradfri E14 dimmable ambient lightbulbs. Could these be added to the plugin? What do you need, or see to get this doen. Happy to beta for you.
Re: Hue Lights discussion
Once you've paired the lights with the Hue hub, open the Hue app on your mobile device, touch the "Settings" icon at the bottom right, then "Light setup". Find each of your new lights and touch the "i" info icon to the right of each light. In the light information screen, look for the "Model" information and post that in your reply. The model is case sensitive, so be sure to type it exactly as it appears in that screen. If the model is different for each bulb, I'll need the exact model for each one. I'll also need to know what capabilities the lights have (i.e. can they display full color, color temperature, both, or are they just dimmable with no color capabilities at all). I can then add it to the plugin settings and release an update.
- henkjanvries
- Posts: 108
- Joined: Sat May 05, 2012 6:48 am
Re: Hue Lights discussion
Ive got it working, the bulbs needed to be added to the "supporteddevices.py" file in the plugin.
If this can be added in next release: TRADFRI bulb E14 WS opal 400lm
These are ambient lights where you can set temp as well.
Works well!
just to update everyone
If this can be added in next release: TRADFRI bulb E14 WS opal 400lm
These are ambient lights where you can set temp as well.
Works well!
just to update everyone
Re: Hue Lights discussion
I was just wondering is there a way to active a Hue lab formula remotely or from within indigo? All iI've found is something from smart things saying they use a virtual tap switch or something but not sure how to do the equivalent in indigo.
Re: Hue Lights discussion
I’m not aware of any way to simulate a tap of the center button on the Hue bridge, though that doesn’t mean one doesn’t exist. Requiring a physical action to authorize remote access is a security feature, so I doubt there’s a substitute for pressing that button.
Re: Hue Lights discussion
So once you "authorize" hue labs or pair it with the bridge with the center button, it says you can activate the formula via a virtual button on the webpage or set up a hue tap button press. I think once its authorized we would be good to go at least from the Hue labs to bridge perspective. Im not sure what is going on security wise to make that http call? but hope someone knows who to hijack it.
I was just wondering because I got an email today to simulate candlelight (cheap valentines day promo) with a lab formula. I believe it would work one single time on my wife "Alexa, set the mood" candlelight and Keith Sweat and stop the NVR.
I was just wondering because I got an email today to simulate candlelight (cheap valentines day promo) with a lab formula. I believe it would work one single time on my wife "Alexa, set the mood" candlelight and Keith Sweat and stop the NVR.