more G-Labs products

Author Topic: x10 RF data log  (Read 3119 times)

September 04, 2014, 03:14:00 AM
Read 3119 times

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
How do I find d the RF data that is being seen by HG?  I don't see it in the log or the events history. I am using CM11 to PC (CM11 does not have RF) and RR501 which does receive RF from remotes. I am borrowing a DS10a and want HG to detect open close (eventually from several DS10/DS12s)

I tried setting up a virtual module with the codes Gene noted in another post.  Not seeing my light toggle when I close the contacts.

Also tried creating a new automation feature as in another post that checks for the RF data stream and toggles light... No luck there either. 

So.....want to confirm RF data is getting into HG.

Thanks!
« Last Edit: September 05, 2014, 08:51:28 PM by kevin1 »

September 04, 2014, 04:21:54 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
You have to look at the mono output.  If you are on Linux, you can change the startup.sh script to redirect the output to a file rather than /dev/null.  Or, you can simply launch HG from the command line and watch the screen (either Windows or Linux).

September 04, 2014, 11:41:16 PM
Reply #2

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
I am on win7.  I tried HomeGenie.exe and HomeGenieManager.exe but don't see any output from dos window.  I there a command line switch needed?

September 05, 2014, 04:48:00 PM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I'm not at my Windows system ATM so I can't give the command I'm using right now.  I thought it was just launching HomeGenie.exe from a command prompt so output was dumped to screen.

September 08, 2014, 01:15:52 PM
Reply #4

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
bump... Can anyone help find the X10 RF data log on Win7 so I can see if my DS10a messages are received through the path: DS10a -> RF (only 3ft away for testing) -> RR501 -> CM11a -> Win7 -> HG ?  Thanks!



September 08, 2014, 08:13:46 PM
Reply #5

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Did you try stopping the HG process via the taskbar icon and launching HG from a command prompt?  That should give you what you need.

September 09, 2014, 04:08:27 AM
Reply #6

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
Yes, I did as you said then tried the two home genie .exe files. One didn't seem to do anything. The other started as normal but no dos/console output.

Thank you for the help!

September 09, 2014, 05:07:53 AM
Reply #7

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I'm running WinXP for a second HG setup used only to monitor traffic for temporary debug use.  On that system, I used the system tray icon to stop HG.  I then opened a dos prompt and ran the following:

Code: [Select]
C:Program FilesHomeGenie>HomeGenie.exe > logmono.log
The result is a file (mono.log) that contains all traffic that HG sees.  You may need to turn debug mode on (can't remember if it's needed too), but it will certainly output a bunch of stuff.  If you leave off the redirection, the output will be to the console.

September 10, 2014, 03:23:12 AM
Reply #8

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
All I am seeing from HomeGenie.exe >hg.log is
Code: [Select]
Program interrupted!
HomeGenie is now exiting......QUIT!
after hitting CTRL-C (because nothing was happening).

HomeGenieManager.exe starts the service up but nothing goes to log.

I found a post from Gene that mentioned use a Wizard Capture, it doesn't seem to detect anything when I open and close the DS10 reed switch.

How do I enable debug?  I searched forum for debug and didn't find anything except your post in this thread.

Thanks again!!!

September 10, 2014, 04:54:38 AM
Reply #9

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
If I leave HomeGenie manager running (including HG service and HG.exe), I get the following (all after ctrl-c):
Code: [Select]
C:Program FilesHomeGenie>HomeGenie.exe


Program interrupted!

HomeGenie is now exiting...
WebServiceGateway: The I/O operation has been aborted because of either a thread
 exit or an application request
   at System.Net.HttpListener.EndGetContext(IAsyncResult asyncResult)
   at MIG.Gateways.WebServiceGateway.ListenerCallback(IAsyncResult result)


...QUIT!


C:Program FilesHomeGenie>

If I kill all 3 processes, I get a long string of commands output to the console (I stopped this immediately to make a shorter post):
Code: [Select]
C:Program FilesHomeGenie>HomeGenie.exe
2014-09-09T19:53:09.1175000-07:00       HomeAutomation.HomeGenie        SystemIn
fo      HomeGenie service ready HTTP.PORT       80


Program interrupted!

HomeGenie is now exiting...


...QUIT!