-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUDIT - sync all links fails #136
Comments
This could occur if a device does not have an aldb object. This might happen if a new device is added, and get_engine_version is not run on the device prior to a sync_all_links??? I can try duplicating this tomorrow, but that is only a guess as to how it is occuring. Again a longer log message would likely help here. |
I had longer logs in the Email on the list. I didn't repaste everything here, sorry. I can reproduce at will: |
To get debugging, I did this: It shows that gar_outlights_kpl_garage1_neon has a non defined aldb entry. 25/03/2013 08:32:24 Dumping $garage2_neon_kpl_gar_outlights / Insteon::ALDB_i1=HASH(0xb0f34e4) INSTEON_KEYPADLINCRELAY, 20.FB.30:01, gar_outlights_kpl, All_Lights # vx.x keypadlinc dualband relay Argh, I found my problem: I forgot to change the config in items.mht for buttons 3,4,5,6 (elsewhere in my file). bad: good: It would be nice to add something to the parser to make sure that KPLs are consistent, but that's indeed a new issue. |
It looks like you made two changes: I don't think that having a KPL versus a KPLRelay would cause any of the The device_id was likely the culprit though. We may not be able to quickly On Mon, Mar 25, 2013 at 9:00 AM, Marc MERLIN notifications@github.comwrote:
|
Interesting. It might not be that hard to add logic that requires a new object with group other than 01 to already have a parent 01 device with the same object ID. The new() could just reject this outright. That would cover .mht files as well as user code that tries to create Insteon objects. Kevin, this is loosely related to your Thermostat design problem. How to specify dependent objects that behave as first class MH objects but can also be identified as part of the parent? The Insteon case above is trivial but if we start looking at more sophisticated GUIs for things like Keypad Links and Thermostats it might make sense to bind these together a bit stronger. |
It is a similar problem. Keypadlincs and Remotelinc buttons could also be As for adding logic to new(), I would be careful, if the children are Plus, if you don't allow the children to be spawned, what do you do with In the meantime, I can add a print_log message to root_device() that will On Mon, Mar 25, 2013 at 11:46 AM, Michael Stovenour <
|
On Mon, Mar 25, 2013 at 02:03:16PM -0700, krkeegan wrote:
I believe it would have been more clear because mh would have said that
If this catches the different code paths I managed to hit, works for me. Thanks, Marc"A mouse is a device used to point at the xterm you want to type in" - A.S.R. |
Provides a warning message if a root device cannot be found. Such as when a user defines a keypadlinc button but does not define the root keypadlinc. May also occur when there is a typo in the device id. This should help users to catch errors such as issues hollie#134, hollie#135, and hollie#136.
The text was updated successfully, but these errors were encountered: