Jump to content


Get HDHR Reset Reason

HDHR HDHomeRun reset reason

  • Please log in to reply
No replies to this topic

#1 FordGT90Concept OFFLINE  


    Advanced Member

  • Members
  • 724 posts
  • Local time: 12:49 AM

Posted 11 October 2018 - 08:41 AM

I threw this code together fast to get the log data from the HTML page and parse it for reset reason and time. It is a command line application and the only argument is the IP address of the HDHR to look at. Here's pictures of the results for my three HDHomeRun EXTENDs:
Attached File  100.png   52.82KB   2 downloads Attached File  101.png   11.34KB   3 downloads Attached File  102.png   40.82KB   2 downloads

This screenshot includes the system information from the HDHR (Device ID is very important for figuring out which HDHR is defective):
Attached File  system.png   14.75KB   3 downloads

C# source code attached. No copyright, license, or anything. Knock yourself out.

The code is fairly self explanatory. HTML parsing is in Program.cs and classes for each HDHR HTML type (log and system) are in the HDHR folder. Those classes take the trimmed HTML (pre for log and table for system) and reorganize the data into memory structures (e.g. HdhrSystem.DeviceId). The class constructor parses the data.

The .NET Framework 4.6 executables are in there and, as compiled, they output results formatted in the last picture above when the first argument is a valid HDHR IP. Not incredibly useful but it's a starting point for anyone looking to pull data from the HDHR.

This code was only tested using HDHR EXTEND. It should theoretically work on other models but it could theoretically crash too. Shouldn't take much to fix any issues that arise though since it is just reading the HDHR webpages.

Attached Files

Edited by FordGT90Concept, 12 October 2018 - 11:01 PM.

  • cayars likes this

Also tagged with one or more of these keywords: HDHR, HDHomeRun, reset reason

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users