Elk M1G Logging - How do I log everything?

DotNetDog

Active Member
I want to see everything going on in my M1G. The Log available from ElkRP doesn't show everything. For instance, I want to see whenever a zone is opened or closed; whenever the M1G turns a light on or off; whenever a motion sensor is violated or returns to normal.

Is there any way to get all this logged? By the way, I am not using any HA software....just the M1G rules (for now).
 
I don't know for sure, but I thought all changes were reported via the main serial interface? If you monitor all activity on the main port I believe that shows the changing state of everything on the system.
 
All the events will get reported, IF you enable all the Globals on the Serial interface. You should be able to capture the events with the ASCII protocol, or HA software that uses the ASCII protocol.

The other alternative it to have the monitoring station report them to you via whatever protocols they support (email, sms, etc).
 
I just want to log everything for debugging purposes. For instance, I had a light controled by a motion sensor that would turn off immediately after turning on. I spent some time chasing down the problem before I figured what dumb mistake I had made (in the rules). If I could have see the events logged it might have made the debugging go faster. Of course, I stil would have kicked my own but the the mistake I made in the rules....but I would have gotten there faster.

I'm not at home right now but I did go back and look in the M1G Install manual. Now I see that globals 36, 37, 38, 39 and maybe 40 are where I need to change to "Yes". I'll try that this evening and see what happens.

Thanks guys! Once again...Cocoon has proven to be a helpful resource!
 
OK, I ran ElkRP and I see that the globals for serial port 0 transmit options were all already checked. That means that ElkRP does not capture these events. I just re-read what wuench wrote and I think he is implying that ElkRP doesn't capture the ASCII events but that I need some other software that uses the ASCII protocol. Bummer!!!!

I'm still deciding whether to use some HA package or write my own custom software. I know....why re-invent? I have my reasons...I just lack the time.
 
Yes you'll need to capture it out of the serial port (or network). There may be some perl/python etc. scripts out there. It's a pretty simple protocol, the most complicated part is probably the checksum.
 
Back
Top