carealtor Posted December 30, 2018 Posted December 30, 2018 Is there a way to see what the current backlight level is set to? I recently went from V4 to V5. I may be remembering wrong, but I thought I could see the current backlight level in V4. I'm not seeing it in V5.
larryllix Posted December 30, 2018 Posted December 30, 2018 1 hour ago, carealtor said: Is there a way to see what the current backlight level is set to? I recently went from V4 to V5. I may be remembering wrong, but I thought I could see the current backlight level in V4. I'm not seeing it in V5. You may have to clarify what a "backlight level" is.
carealtor Posted December 30, 2018 Author Posted December 30, 2018 23 minutes ago, larryllix said: You may have to clarify what a "backlight level" is. Seriously?
dbuss Posted December 30, 2018 Posted December 30, 2018 2 hours ago, carealtor said: Is there a way to see what the current backlight level is set to? I recently went from V4 to V5. I may be remembering wrong, but I thought I could see the current backlight level in V4. I'm not seeing it in V5. I have the ability to set the backlight level in V5.0.14. What is the device you are trying to set the backlight level?
carealtor Posted December 30, 2018 Author Posted December 30, 2018 No, not trying to set the backlight. I know how to do that. The question was about seeing what the current backlight level is.
rccoleman Posted December 30, 2018 Posted December 30, 2018 (edited) It looks like that field should reflect the current value, as well as letting you change it. It writes to the device when I change the value and I expect that whatever's stored in the device is reflected in the admin console. Edited December 30, 2018 by rccoleman
dbuss Posted December 30, 2018 Posted December 30, 2018 (edited) Once you change the setting it will reflect the setting you changed to. Then you can change it to another setting if you wish to do so and it will reflect that setting. You need to make a change to get it to reflect something different than 0. However, when you close and reopen the admin console the reading will go back to 0, but the backlight will still be set at what it was set the last time. Edited December 30, 2018 by dbuss
rccoleman Posted December 30, 2018 Posted December 30, 2018 4 minutes ago, dbuss said: Once you change the setting it will reflect the setting you changed to. Then you can change it to another setting if you wish to do so and it will reflect that setting. You need to make a change to get it to reflect something different than 0. Or query the device, presumably, which should happen automatically every night and when the ISY boots (if you have that selected).
dbuss Posted December 30, 2018 Posted December 30, 2018 12 minutes ago, rccoleman said: Or query the device, presumably, which should happen automatically every night and when the ISY boots (if you have that selected). Querying the device does not change the setting from 0. At least not for me.
rccoleman Posted December 30, 2018 Posted December 30, 2018 (edited) 37 minutes ago, dbuss said: Querying the device does not change the setting from 0. At least not for me. Weird. It looks like the "beep" and "backlight" values aren't refreshed when re-opening the admin console or querying the device, but the others (on-level, ramp rate, current level) are. I think that's a bug. Here's what I get when I query the device, but I don't have enough experience to know what's actually contained in the response. Perhaps other commands need to be issued to pull those values. I started perusing this, but there's a lot to digest. Sun 12/30/2018 01:36:56 PM : [INST-TX-I1 ] 02 62 41 29 7E 0F 19 00 Sun 12/30/2018 01:36:56 PM : [INST-ACK ] 02 62 41.29.7E 0F 19 00 06 LTSREQ (LIGHT) Sun 12/30/2018 01:36:56 PM : [INST-SRX ] 02 50 41.29.7E 3D.95.02 2F 00 0D (0D) Sun 12/30/2018 01:36:56 PM : [Std-Direct Ack] 41.29.7E-->ISY/PLM Group=0, Max Hops=3, Hops Left=3 Edit: it looks like it's just ready and writing a memory location in the switch: Sun 12/30/2018 01:48:16 PM : [All ] Writing 1 bytes to devices Sun 12/30/2018 01:48:16 PM : [41 29 7E 1 ] Memory : Write dbAddr=0x0264 [0C] cmd1=0x2E cmd2=0x00 Sun 12/30/2018 01:48:16 PM : [INST-TX-I2CS] 02 62 41 29 7E 1F 2E 00 00 07 0C 00 00 00 00 00 00 00 00 00 00 BF Sun 12/30/2018 01:48:16 PM : [INST-ACK ] 02 62 41.29.7E 1F 2E 00 00 07 0C 00 00 00 00 00 00 00 00 00 00 BF 06 (00) Sun 12/30/2018 01:48:16 PM : [INST-SRX ] 02 50 41.29.7E 3D.95.02 2F 2E 00 (00) Sun 12/30/2018 01:48:16 PM : [Std-Direct Ack] 41.29.7E-->ISY/PLM Group=0, Max Hops=3, Hops Left=3 But I don't see any attempt to read specific memory locations during a query, and I suspect it's not done when the admin console opens. @Michel Kohanim, do you agree? Edited December 30, 2018 by rccoleman
larryllix Posted December 30, 2018 Posted December 30, 2018 (edited) 1 hour ago, rccoleman said: Weird. It looks like the "beep" and "backlight" values aren't refreshed when re-opening the admin console or querying the device, but the others (on-level, ramp rate, current level) are. I think that's a bug. Here's what I get when I query the device, but I don't have enough experience to know what's actually contained in the response. Perhaps other commands need to be issued to pull those values. I started perusing this, but there's a lot to digest. Edit: it looks like it's just ready and writing a memory location in the switch: <snippage> But I don't see any attempt to read specific memory locations during a query, and I suspect it's not done when the admin console opens. @Michel Kohanim, do you agree? Opening the admin console does not cause any querying of devices, only transmission of currently known statuses inside ISY. Insteon Queries do not ask for any particular information, only that devices send their current status for their nodes. Battery devices do not typically send much or anything. Ramp speed wasn't included in the packets either AFAICT. Since ISY is the only source to set the LED levels there would be no value in the devices to respond with the status change. The other nodes in devices can be changed by other Insteon devices. This may not be true for ZWave device technologies. IIRC backlight levels for Insteon SwitchLincs were never available in any ISY version. If they were discontinued old programs would stop functioning. UDI never does that intentionally. Edited December 30, 2018 by larryllix 1
rccoleman Posted December 30, 2018 Posted December 30, 2018 Be that as it may, it seems misleading that you can change the value and it clearly writes to the device, but then displays zero the next time the admin console starts. Some of the fields reflect the current values and others do not. To answer the OP’s question, it seems like there’s no way to get the current value. 1
larryllix Posted December 31, 2018 Posted December 31, 2018 3 hours ago, rccoleman said: Be that as it may, it seems misleading that you can change the value and it clearly writes to the device, but then displays zero the next time the admin console starts. Some of the fields reflect the current values and others do not. To answer the OP’s question, it seems like there’s no way to get the current value. What fields display zero when your start the admin console? My admin console is always up to date when it allows me to operate it. (unless my java times out and locks it up) What am I missing here?
rccoleman Posted December 31, 2018 Posted December 31, 2018 Set the beep or backlight level to something non-zero, observe that the values are written to the device, close and reopen the admin console, and notice that the values that you set are now reported to be zero.
larryllix Posted December 31, 2018 Posted December 31, 2018 2 minutes ago, rccoleman said: Set the beep or backlight level to something non-zero, observe that the values are written to the device, close and reopen the admin console, and notice that the values that you set are now reported to be zero. The beep fields have never worked in most Insteon devices. Those devices do not support the beep length but UDI provided whatever was specified anyway.
rccoleman Posted December 31, 2018 Posted December 31, 2018 Good to know about the beep. The backlight level, which was what the original poster was asking about, does work (I can see the LEDs change brightness when I change the percentage), but the backlight level will always be shown as 0% when I open the admin console. It's not a good user experience and is not consistent with the state of the device, so that's why I called it a bug and responded to the OP as I did. I'm guessing that the default value is around 50% for the switch that I'm looking at based on visual inspection, but I don't think there's an easy way to know for sure. Maybe by dumping and decoding the links in the admin console, but it's possible (even likely) that the memory address that the admin console is modifying isn't part of a link and is just inaccessible to normal humans. The bottom line is that if I click on "query" with a device highlighted in the admin console, I expect it to read and populate all of the values from the device, just as I can set them through that same interface, and it doesn't. That's the main point that I'm trying to get across, and I hope that the UI of the upcoming non-Java interface is more consistent. I don't really expect anything like this to get fixed in the current Java version. 1
larryllix Posted December 31, 2018 Posted December 31, 2018 25 minutes ago, rccoleman said: Good to know about the beep. The backlight level, which was what the original poster was asking about, does work (I can see the LEDs change brightness when I change the percentage), but the backlight level will always be shown as 0% when I open the admin console. It's not a good user experience and is not consistent with the state of the device, so that's why I called it a bug and responded to the OP as I did. I'm guessing that the default value is around 50% for the switch that I'm looking at based on visual inspection, but I don't think there's an easy way to know for sure. Maybe by dumping and decoding the links in the admin console, but it's possible (even likely) that the memory address that the admin console is modifying isn't part of a link and is just inaccessible to normal humans. The bottom line is that if I click on "query" with a device highlighted in the admin console, I expect it to read and populate all of the values from the device, just as I can set them through that same interface, and it doesn't. That's the main point that I'm trying to get across, and I hope that the UI of the upcoming non-Java interface is more consistent. I don't really expect anything like this to get fixed in the current Java version. I hear that but I don;t consider those setting menus as device status fields. You cannot use them for programs either. They don't exist in the falldown menus.
carealtor Posted December 31, 2018 Author Posted December 31, 2018 Interesting discussion and thank you to all. Honestly, when I made the original post, I just expected someone who was still on V4 would tell me if it was there or not. I thought I remembered being able to see what the backlight level was set to, but I'm probably remembering wrong.
Michel Kohanim Posted December 31, 2018 Posted December 31, 2018 @rccoleman, Query does not read memory locations. What you see on the Admin Console is from what was previously saved and stored in ISY. With kind regards, Michel
rccoleman Posted December 31, 2018 Posted December 31, 2018 Just now, Michel Kohanim said: @rccoleman, Query does not read memory locations. What you see on the Admin Console is from what was previously saved and stored in ISY. With kind regards, Michel Fair enough, but that implies that it either doesn’t store those values or that the mechanism is broken because they just show up as zero, regardless of what was last set. Is that the intended behavior?
Michel Kohanim Posted December 31, 2018 Posted December 31, 2018 @rccoleman, No, it's a bug. I just submitted a bug report. With kind regards, Michel 2
rccoleman Posted December 31, 2018 Posted December 31, 2018 Great, thanks for the confirmation Michel. 2
kclenden Posted January 4, 2019 Posted January 4, 2019 On 12/31/2018 at 12:27 AM, carealtor said: Interesting discussion and thank you to all. Honestly, when I made the original post, I just expected someone who was still on V4 would tell me if it was there or not. I thought I remembered being able to see what the backlight level was set to, but I'm probably remembering wrong. A little late to the party since Michel has said the current behavior in V5 is a bug, but yes in V4 when you set the backlight level for a device, the ISY remembers that value and displays it for you when you next look at the device's backlight level - even when the Admin Console is restarted. Though I'm on V5 now, I know V4 acts that way because I routinely used that capability when I installed new devices so that I could set their backlight level to match other devices near them. 1
carealtor Posted January 4, 2019 Author Posted January 4, 2019 9 hours ago, kclenden said: A little late to the party since Michel has said the current behavior in V5 is a bug, but yes in V4 when you set the backlight level for a device, the ISY remembers that value and displays it for you when you next look at the device's backlight level - even when the Admin Console is restarted. Though I'm on V5 now, I know V4 acts that way because I routinely used that capability when I installed new devices so that I could set their backlight level to match other devices near them. Finally! Thank you.
dwengrovitz Posted April 30, 2019 Posted April 30, 2019 Has anything changed with respect to reading or setting backlight levels in the latest code versions? I'm running V5.0.15A, and am seeing some really odd things with the backlight setting. If I set the backlight level on one device (for example, a 2466D), I see the settings for a number of other devices updated to reflect whatever I set the value for on that one device. I'm not sure the actual devices get updated (they definitely don't all seem to reflect the setting if I look at the LEDs) but the value showing up in the admin console does. For example, I have around 35 Insteon switches, with a mix of types (2477D, 2466D, etc.). To start, I set every switch backlight individually to 100. Then, I set one switch to 50, and I now see the backlight levels for 26 other switches now showing as 50.
Recommended Posts