How can I get the names of all of the circuits? #81
-
So I've been digging into this library a lot. and it seems like with you can get a list of basically everything attached to your system... + it's state (on/off) via What I want to do is actually get the names of all of those items from the above list. It seems like you can retrieve names in general via getAllCircuitNamesAsync, but that just gives you a list of names that are available to be set as a circuit/feature name. kinda like a dictionary. Does anyone know how I'm suppose to map |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
It's been a while since I've messed with this, and my pool equipment is temporarily broken at the moment, but if I recall correctly the circuits in the array are ordered the same as the order of the names from Does that help? |
Beta Was this translation helpful? Give feedback.
Ah, yeah, that method isn't documented and is only in there because we could (as in: the message exists and the system will respond to it).
You'll probably need v2.1.1 of the library for getCircuitNamesAsync as it was not working for me when I tried it while looking into this discussion.