Glad you like it!
CorrectâŠyou should be able to copy/paste it right from the setup web page right to the Developer site. Be sure your label is also from the setup page all all upper case. @smwein
I did that before and didnât save. I will try again.
MichaelS
You have done some incredible work. Really love the app, I am trying to tweak it so that I can say âturn AC/heat onâ vs turn on cooling mode. Any suggestions on how to do this properly?
Carmelo
Interesting ideaâŠI instead of replacing âcoolingâ I will simply add it to the list of available commands you can useâŠthink of it as an easter eggâŠlooking at how difficult it would be to do that right now since I am in the code.
That was a pretty easy addâŠtwo additional lines of code and a new item in the parameters slotâŠshould be in the next release.
great, no more having to say turn on cooling mode it was a little cumbersome especially for my mom with a heavy Italian accent.
Glad to hear itâŠI find it strange the Alexa knows âAâ âCâ and doesnât think it is âackâ soundingâŠeither way I did test it and while you have to be rather verbose and say the commands exactly right, it does work.
So other ideas that would be awesome to integrate would be to have the device list pulled vs having to modify the list every time I add something new or decide to change the name ofor a device. Is there a way in the custom slots to just point to the variables website and have it download the device list or better yet all the custom slots variables.
I have looked at this, and if you go into the forums within Amazon you will see the answer is a resounding noâŠThis is a reason my app will never be âpublishedâ by AmazonâŠit is TOO customized for the individual user (both the slots and the OAuth code). To make it more âgenericâ would be to limit its functionality (I would only be able to allow certain names of devices or macros, for example).
It is a great device, but the level of integration we have with the SmartThings requires a bit more manual efforts. However, IMO it is worth it for the level of control we get.
2.1.0 will be released probably SundayâŠI want to do a few more tests on it. However, here is a sampling of what will be included:
-
Bug Fixes/Optimizations-This version focuses speed of some routinesâŠoverall, I was able to minimize the looping of some actions and brought the response time down about 1 second on some longer operations. I also moved some of the âtranslateâ needs (i.e. mph to miles per hour, etc) to the Lambda code from the SmartThings code to speed up processing as well.
-
Environmental Report - Lunar rise/set has been added, and the sunrise/sunset are now functions of the location you enter and not just the SmartThings hub location. As always, courtesy of @storageanarchy
-
Mode/Routine/SHM control- Instead of these functions being on or off, you can now choose which modes, routines, or SHM controls are accessible via Ask Alexa. For example, you may not want to be able to disarm the SHM with your voice but be able to set Arm (Stay)âŠyou can now do that. This will require you to set up this feature even if you had it set up previously and change your slot lists in the developer site. Thanks @Michael_D for this suggestion.
-
Macro Continuation Commands - Now allows you to suppress the after-macro continuation commands (if enabled) on a per macro basis. This option will only be available if the global setting for continuation commands is on. Errors will still give the continuation option. Thanks @bamarayne!
-
Courtesy Responses - Based on the recent survey many of you completed, you can now choose how Alexa addresses you during the continued responses. This DOES NOT change the underlying action responses, however, any continuing commands now change based on your settings. Courtesy presents more âThank Youâs and âPleaseâs than that normal response. Next version will be Snarky, and then from there a more formal (Jarvis like) response. This also adds the ability to add a personal name to the additional commands. These are randomized so it doesnât say it all of the time. In addition, you can use the text macro %people% to autopopulate the name depending on who is present. This WILL use all names of those set up and present, so this may not be the best solution for everyone.
-
Lambda Code-Added the âCourtesyâ personality responses. These are randomized and can include your name in the response. Also the behind-the-scenes translate function
-
AC Cooling-Added a key word âACâ that works like the cooling command for thermostats. You may now say âAlexa, tell SmartThings to set Thermostat AC to 67 degreesâ. Thanks @Crizz6396 for the suggestion!
Check back here Sunday!
I actually found a way to separate the password/pin out from being global to more context based. So you can turn on doors and not locks, or for modes but not routines, etc. I didnât implement it into all voice macros yet as it would conflict with the time delay and need to figure out how this will work with group macrosâŠbut the framework is there and will be implemented over the next few releases.
Just made a donation. Thanks for your hard work on this.
Thanks JasonâŠI really appreciate the support the community gives to the developers for the work they doâŠit isnât at all expected, but it is a nice treatâŠYou just bought me a vodka soda tonight
Awww hell Iâll buy you one too
Anyone else for a third ? HAHAâŠhave a great weekend guys!
Hi @MichaelS, I wanted to say thanks for all of the work you have put into this app. This is great. Last night i went through all of the installation and it went fairly smooth due to the wiki. The question i have at the moment is in regards to colored lights grouped under macros. When using these commands:
MacroOperation to set the {Macro} to {MParam}
MacroOperation to set the {Macro} to a color of {MParam}
the lights turn off. After digging into the code of the smart app for a bit i see the cause. The default level is set to 0.
I simply changed line 982 from:
def num = mNum == âundefinedâ ? 0 : mNum as int
to
def num = mNum == âundefinedâ ? 100 : mNum as int
and all works well. I havent really dug in ans seen if this breaks other things, but for the time being, it seems to fix this problem.
I was trying to pull the current state to get the existing level, but it appears the actual lights are not pulled into this function. I see in other parts of the code the lights are part of the function, maybe in future versions of the code we can pull current state into this function?
Thanks again!
AhâŠI see your pointâŠif you fail to give a numeric command it is 'undefined; in which case it appears to go to 0âŠI will go through some testing to figure out if this is the correct way to resolve this. I think the issue I ran into with getting the current value is that even if the light is off, the âlevelâ is set and could cause some confusionâŠhowever, if I check if âonâ and the âlevelâ it might work betterâŠI think, however, even in that scenario I ran into some loopâŠ
Either way I appreciate you letting me knowâŠand thanks for the kind words.
Looking into this further and looking up my notes, the issues is that pulling the individual lights in a group gets confusing rather quicklyâŠThat being said I do think the logic in place is currently incorrect and will figure out a way to change itâŠThe original intention is that for a group of lights, if you wanted them to sync in color, you would probably want them to sync in brightness and you would give them a brightness command.
Either way, I will play with this today and get it fixed.