Author |
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 25 2011 at 08:34 | IP Logged
|
|
|
Every time I go to edit links in PH I find a large number of missing links. I
can normally find something that these missing links have in common
with a valid link. I also have only once lost valid links.
There is normally a bunch at the top like these
And then ones like these randomly mixed in
Is this normal? Is there something that I should be doing differently?
Everything always works, it's just a pain to delete all of those missing
links every time.
Edited by kev21986 - April 25 2011 at 08:37
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: April 25 2011 at 10:30 | IP Logged
|
|
|
I've seen stuff like this when a PLC was having problems. There are many Insteon addresses listed that are not defined (ID NOT FOUND). Some of these could be valid Insteon addresses that have not been defined to Powerhome. All the 9C.xx.xx are likely invalid.
__________________ Lee G
|
Back to Top |
|
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 25 2011 at 10:37 | IP Logged
|
|
|
All of my devices are defined in PH. The bad links are always very close to a
real link. In the lower list you can see this with the top 2 that are missing the
only difference is the button. Button 62 and 3 are not correct but the record
matches button 1, 2 rows bellow that. The same thing is true with the bad
addresses. They are always within a byte or 2 or a real device.
Is my PLM defective?
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: April 25 2011 at 10:59 | IP Logged
|
|
|
It is possible but I would look at powerline first with a PLM. Temporarily change the PLM plug point using a good 3 wire extension cord. Move the plug point as far away from PC/UPS computer equipment as possible.
The Status Scan option can be turned off to see if that helps. With that option On every device is looked at which makes a powerline issue even worse.
__________________ Lee G
|
Back to Top |
|
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 25 2011 at 12:17 | IP Logged
|
|
|
I can try that.
The PLM has been move 3 times in the past and it has always had this
problem. All of my computers and TVs have filters on them so I don't think
its a power line issue.
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 25 2011 at 12:19 | IP Logged
|
|
|
Is there a way to backup the link table and then restore it later?
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: April 25 2011 at 12:57 | IP Logged
|
|
|
Powerhome has all the links in its database. Under Powerhome Explorer | Setup tab | Clear and Add Full will write the PLM link database.
__________________ Lee G
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: April 29 2011 at 12:26 | IP Logged
|
|
|
Kevin,
Looking at your screenshots, I would be curious what your Insteon Comms report looks like to help rule out any communication issues.
Dave.
|
Back to Top |
|
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 29 2011 at 12:34 | IP Logged
|
|
|
Is this what you are looking for?
Edited by kev21986 - April 29 2011 at 12:35
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: April 29 2011 at 13:25 | IP Logged
|
|
|
Kevin,
Close, but I was referring to the "Overall Comm" report on the "Reports" tab. Judging from what you've posted though it looks like you've got some problem areas around the THERMOSTAT, S_DINING, M_KITCHEN, and maybe K_FR_FAN. The other stats look pretty good so I don't think you have a problem with your PLM or its location. Generally if the stats are low on all your devices, I suspect a problem with PLM location or interference. When its just a few devices, its most likely distance or interference in the area of the problem devices.
Dave.
|
Back to Top |
|
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 29 2011 at 13:32 | IP Logged
|
|
|
Thanks for look into this. I will move some things around and see if I can get
better comm reliability.
Are the missing links messed up on the devices or just in PH?
I kind of hinted at this before but is there a way to clean everything up and
then save all of the links to a file, then later reload that file and then tell PH
to rebuild the links?
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: April 29 2011 at 14:08 | IP Logged
|
|
|
It depends. If you were to delete the bogus links, then flag the device to "Scan DB" and the links you deleted came back, then they are most likely in the device. Links "can" become corrupt in a device. Thats not usually the case. What usually happens is that PowerHome is scanning the links of a device and their is a glitch in the Insteon communications (this isnt supposed to happen but it does...its either at the Insteon comm level or somewhere in the controller reporting back the wrong info). In any case, the link that PowerHome previously had stored (which is the correct link) is not found during that scan and is flagged as link not found and the new (bad) link is entered into the PowerHome database. PH doesnt know its a bad link because its only using what is sent to it via the PLC/PLM. Later, when the device is rescanned again, assuming no comm issue, the "correct" link is found and received and where it was previously flagged as "not found", its now updated to show it is correct. When this happens, the previous link (the bad link) is now flagged as "not found". If this happens multiple times (where the comm issue doesnt always fail exactly the same way), you'll eventually get multiple "bad" links. Depending upon when you check the system, the "good" link may currently be flagged as "not found" while a "bad" link is flagged as found or vice versa. The thing is, PowerHome will never delete a link from its database because it cant make the determination of which link is actually the "good" link.
The best way to clean this up is to "rescan" the devices database by checking the "Scan DB" option in Devices and letting the device in question be rescanned. When the scan is done, you can then highlight and drag to "Remove" the bad links. A second rescan should result in no differences. Once the links look good on screen, you can also press "Rebuild" to send the links currently displayed to the device. Don't "Rebuild" if you're showing "bad" links because then you'll just add bad links to the device. There is no built in way to export/import the links however you can do it with some code by querying the "insteonlinks" table and saving that in a format that could be later imported (generate SQL statements).
Dave.
|
Back to Top |
|
|
kev21986 Senior Member
Joined: April 04 2007 Location: United States
Online Status: Offline Posts: 199
|
Posted: April 29 2011 at 15:37 | IP Logged
|
|
|
That makes perfect sense.
It seems like these bad links show up after I haven't done anything in PH for
a long time. Does PH pool the link tables periodically or when does PH scan
a devices links? Do the Allow Link Spidering and Link Scan checkboxes have
anything to do with this?
__________________ Kevin Smith
@respectTheCode
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: April 30 2011 at 11:29 | IP Logged
|
|
|
On Insteon Explorer clicking the ? at the right end of the top line of check boxes provides information on the options. These are excerpts from that information ….
"Allow Link Spidering" allows PowerHome to automatically create Insteon Devices during device link database scanning. If this option is checked, during link scanning of a device, if PowerHome encounters an address that is not in its device table PowerHome will Ping the device and if it responds, create a new device entry with an ID in the form of "NEW SPIDER ??" where ?? is a sequential unique number. This allows the user to enter in only 1 or 2 main devices during initial setup and have PowerHome "discover" all linked devices.
"Link Scan" controls whether PowerHome will scan a remote devices link database. PowerHome will scan a devices link database when it thinks changes have occurred (as determined by the Status Scan operation) if this field is checked.
"Status Scan" enables or disables the POLL STATUS background operation. The POLL STATUS operation gets the current level status as well as the database changes flag (which lets PowerHome know if database changes have occurred and whether PowerHome should rescan the links).
Note sure what “after I haven't done anything in PH for a long time” means. Powerhome was not running for a long time or running but no changes have been made?. When Status Scan is checked the devices are queried for current status AND checked for a changed link database. A changed database causes Powerhome to read the device link database. With the garbage that is coming off the powerline/PLM (as shown with the link record issues) the database change indication could be garbage as well causing Powerhome to look at a link database even if not changed.
__________________ Lee G
|
Back to Top |
|
|