Yeah but you know some of us install new devices weekly lol
Can you send a screen shot of there thermostats page? Also, can you remove the thermostats one at a time and see which one is causing the issue? If I had to bet, one of your thermostats is community created and doesnât use the label properly (or keeps it null). Once you find the offending device send me a screen shot of the device itself from the Device List from the IDE.
You can also edit your device to put something in the labelâŠI will see if I can code around it, however.
The label was blank for the Honeywell thermostat. By updating it, it now works. I suppose for those of us who have a custom device type and the label is not filled in, we just need to know to fill it in. Unless you find a code work around. Thanks for your help!
I re-coded the section to trap the errors and and output to the log a warning to ensure the devices should be unique. I am not sure that is the best idea, howeverâŠthat will only mask the error and may generate more issues as only half of the devices would show up in the listâŠ
We will see how many people have this situation. I HAVE updated the documentation to account for thisâŠ
When I click show setup information I see this in the IDE:
java.lang.NullPointerException: Cannot invoke method toLowerCase() on null object @ line 691
Seems to be related to my thermostats - I removed them and it now works. Will have to look into it more
Question for you. I am getting an error that I have multiple devices with the same name. Now, I donât have multiple devices in the sense that I have a room and a device or two different devices. What I did do, and I am not sure its allowed, is to use the same device for multi-function. I have the âMain Thermostatâ set up as a thermostat, as well as a temperature. Is this wrong? Does it assume by being a thermostat, that it can also report temperature? I tried to get the answer from the doc and I wasnât clear. Thanks!
Same as @Big_Jim 's issue above, please ensure your labels are NOT empty (null) and you can control themâŠ
I am surprised people have labels that are blankâŠso I WILL send out 1.0.0a by end of day to accommodate these along with the documentation.
HmmmâŠinterestingâŠwhere are you getting the error? I know I did a trap for that when it does the setup, but I am not sure it faults out but instead should put something in the logâŠ
Let me know as I do believe this will be one of the more annoying pieces is getting your devices named correctlyâŠbut I donât want to impede the use of the program either.
EDIT I just tried this and see what you mean (it says you have multiple devices)âŠI will have to noodle on this as it isnât technically âwrongâ to do this, but it also creates issuesâŠthe best thing to do it just list the thermostat once as you can get the temperature reading from it when you ask Status. You could also set up a report that has the same devices and that should NOT conflict.
EDIT 2 This will not be an easy fix until I get two-dimensional responses put inâŠuntil then I have updated the doc: As mentioned in the Ask_Alexa#Tips_and_Tricks section, naming (labels) of your devices are rather important. In addition, even if you name everything uniquely, there are still areas where Alexa will respond with âYou have multiple devices that are named < device name > in your SmartThings SmartApp. Please rename these items to something unique so I may properly utlize them.â. This could be caused by you choosing the same device for different functions. For example, you can choose a thermostat (Letâs say âofficeâ) and also choose it for your temperature reading or humidity sensor. This will cause an issue as Alexa has no way of understanding the context of a device that is listed multiple times. It is best practice to not only name you devices uniquely, but use them once within your device setup. Please note that if you want the humidity from a thermostat, you only have the enable the multiple attributes reporting option under the <> menu.
sorry should have looked up - one of my three had a label - odd but fixed
ExcellentâŠvery strange, but glad it is fixed!
I have everything hooked up and a quick test looks good. Nice work - very impressive. Will have to dig in more.
All of my devices have underscores in the name - old tech habit I guess. Seems I need to remove those to get this to work better?
Had to add LIST_OF_PARAMS and the associated 4 entries even though I donât have a controllable thermostat. Since itâs called in Sample Utterances.
Just FYI for anyone else like me that isnât fully plugged in!
Ah yesâŠI will need to fix that as all of the slots are requiredâŠupdating the app nowâŠrelease tonight.
Thanks Micheal, it works great! Have you created a report listing devices that have not checked in sinceâŠ? I didnât see any way to do something like that.
I didnât as I couldnât figure a good way to get that to work outside of constantly polling the event log, and that is not a reliable way to do it. I did notice one instance in my setup where a water sensor hadnât checked in and simply had a null outputâŠwhen I ârefreshedâ it, it worked properlyâŠso that is not a reliable way to do it either.
If there are other ideas you have let me knowâŠmaybe in future versions if I can crack that nut.
Updated the appâŠwill post tonight if there are no more issues folks encounterâŠKeep them coming!!!
Version 1.0.0a - Same day release. Bugs: nulls in the device label and ensure LIST_OF_PARAMS is always created
Even captured a line of code in the middle there that didnât even belongâŠso good catch!
Can you help me out with what reports are used for?
A few examples of reports that you have set up, how you invoke them and how they respond would be helpful.
Thank you.
Running SQL, attending meetings and installing Ask Alexa is a little bit too much for my brain, right about nowâŠ
Iâve got one called Basement report. Tells me whatâs on, temps of some sensors, and doorâ/windows that are open. One for my kids, says both of their devices status, outlets on, lights on, if their presence sensors are NOT here. Still building someâŠ
I noticed in the doc you mention that you can add custom colors, but I didnât see where in the doc that can be done. The key to this app for me is color control verbally. (a few others as well). Could you help point me in the right direction for this input? Thanks!