So I added a new device.
Went into the webcore SmartApp on my phone, checked off the box for it in available devices, went back to my dashboard and it’s not showing up in the drop down for pistons.
So I added a new device.
Went into the webcore SmartApp on my phone, checked off the box for it in available devices, went back to my dashboard and it’s not showing up in the drop down for pistons.
Hard refresh the page (hold Ctrl whilst clicking your browsers refresh button)
If that doesn’t work, log out of the dashboard and then back in using a new register code.
When you add a device in ST, it gives the device a generic name based on the device handler, the name you give it is the label.
You can see this under devices in the IDE.
Actually, it gets an initial name based on the name of the default device handler, then you change that name to something relevant… but it’s still the name… there’s no label ever visible to a smartapp.
What? That’s not right. I can see tons of devices I have that have some generic name like “Motion Sensor” and a label like “Living Room Motion” which is what shows up in the ST App and the SmartApps. WebCore was getting the label before and in fact shows the label value in the smartapp but in the webcore dashboard the NEW device I added is showing up as the generic name, ie Device-Name rather than Device-Label . I changed the name in the IDE and unsurprisingly the name in the webcore dashboard changed.
I’ve always kept the label in the IDE blank… I guess I just assumed label was irrelevant and only viewable in the IDE… suppose then that ST uses the ‘name’ if the label is blank, otherwise it uses the ‘label’?
I can see what Robin is saying.
When your device is discovered, do you not give it a name that means something to you.
I think I know what you mean about when it’s discovered it could be called a ‘Xiaomi Motion sensor’. At that point you get an option to rename it and I rename the device to something that means something to my setup like ‘Lounge - Motion Sensor 1’. Do you not do that?
That’s correct it does use Name if Label is blank but when you use the phone app to change the name of a device it actually changes the label. Up until recently webcore was using the Label value (if present) but now it’s getting the name value. Since you need to go into the IDE to change the name value this is more than a minor inconvenience.
Just read your reply above. Looks like we were typing at the same time.
I’ll go back to sleep.