Page 1 of 1

How do I view the code for a switch I added?

Posted: Saturday 29 February 2020 14:02
by NibblyPig
I added a switch a long time ago, and during the manual addition, I selected a code from the dropdown for ARC - house code and unit code.

I can see the switch in domoticz but I'd like to know what house code/unit code I used when I added it. I cannot find this information anywhere.

Can anyone help?

Re: How do I view the code for a switch I added?

Posted: Saturday 29 February 2020 17:15
by waaren
NibblyPig wrote: Saturday 29 February 2020 14:02 I'd like to know what house code/unit code I used when I added it. I cannot find this information anywhere.
It's in the ID field of the devices tab

Re: How do I view the code for a switch I added?

Posted: Sunday 01 March 2020 1:15
by NibblyPig
Hmm, the ID says 68, but the code is a letter in the first dropdown and a number in the second dropdown.

Re: How do I view the code for a switch I added?

Posted: Sunday 01 March 2020 1:19
by waaren
NibblyPig wrote: Sunday 01 March 2020 1:15 Hmm, the ID says 68, but the code is a letter in the first dropdown and a number in the second dropdown.
Looks like you are looking at the idx. I suggested to look at the id (two columns to the right in the devices tab)

Re: How do I view the code for a switch I added?

Posted: Sunday 01 March 2020 17:39
by NibblyPig
Don't think so

Image

Re: How do I view the code for a switch I added?

Posted: Sunday 01 March 2020 18:18
by waaren
NibblyPig wrote: Sunday 01 March 2020 17:39 Don't think so

Image
You are right. Does not seem to be the case for ARC. Works for other subtypes.
arc.png
arc.png (157.55 KiB) Viewed 1062 times

Re: How do I view the code for a switch I added?

Posted: Tuesday 03 March 2020 17:50
by alanlsmith
The device IDs for 'ARC' & 'X10' switches appear to be the ASCII decimal codes for the letters selected in the dialog to create the virtual switch, instead of the letters themselves. I thought that this just applied to Virtual switches when I mentioned it in the bug section last year.