Jump to content
C4 Forums | Control4

Logging


Recommended Posts

First - the problem -

I have a doors in motion (www.doorsinmotion.net) 12 foot door (four three foot sections). Last night at 1:24 AM the door opened for thirty minutes before I discoered it. (The outside lights come on when this opens and the lights woke me up and I investigated.)

The lights came on (according to the video cameras) at 1:24 so I know when this occurred. The door opens with either a hard wired switch or a radio remote controlled key fob or I have it wired into the house as well - you can touch screen it open or closed and consequently I can from my phone as well.

Second - wish -

1. I would really like to be able to write a line of code that when you select in C4 to open the door to write this to a "user log file". I know that I can send myself an email but a log file would be preferable.

I am also working on asking doors in motion how to change frequency for the RF opener or if I can somehow turn off the radio frequency and only turn it on when we want it on.

I know that if C4 is the culprit that I can conditionally based on time of day or alarm status turn off the ability to open the door through C4 - I BELIEVE that this was an RF triggered door open command and C4 des not have control of this.

So - my questions are:

1. does anyone else have a doors in motio door and have you had any issues with it?

2. does anyone know how to output to a user log file? When I had STARGATE in my prior house you could write a line of text out to a user specified filename. This is what I would like to do here if someone can tell me if it possible.

3. It APPEARS that the C4 log must be specifically turned on and then it runs for 5 meg or so and hen shuts off? Is there not a way to leave the log running all the time and only wirte out certain messages?

Link to comment
Share on other sites


Followup:

Doors in motion called me first thing this morning (their tech support is top drawer).

They recommend that I simply try switching frequency.

They are also going to see if they can produce a ZIGBEE wireless for my door. Their new SERIES ONE wireless door is already ZIGBEE.

Bill

Link to comment
Share on other sites

A special driver would need to be created for you to log this event.

You could then use this driver's "fire event" action in programming section of Composer HE to trigger logging action

Personally - If I had any talen to write this driver - I would write it and put it in the C4 Sales area - this would be really cool - you sould then set a system wide variable for "logging level" and then on each item that you wanted to figure out or know when they fired you could say something like:

If "SystemLogLevel" < 3 then output : "The front door was opened" at Date and Time stamp

If "SystemLog Level < 2 then someone was at the front door at ....

You can see how cool this would be - you could easily change the log level and even change it so that when your alarm is on the log level would change - this would give you a written view of the important things that happened or did not happen in your house. If you could then write the file name out as the DATE each day would create a different log - you could remove them periodically.

I would pay something for this capability - I bet others would as well...

Bill

Link to comment
Share on other sites

Hmm, you are right - users should be able to log different events system-wide.

I'll write this driver and will let you know when I have a test version.

Wow - that is really cool - looking forward to it.

So that others can "see the vision" - here is why I want this -

There are things thatare SCHEDULED to happen, and I ASSUME are happening but I don't want to have to go and CHECK to see if they are happening -

1. did the sprinkler system trigger last night?

2. did the outside security lights come on?

3. are any of my batteries low in my SR-250's?

4. did a door open or close during the night?

5.did a particular light go on?

You get the idea -

currently there are only a couple of options that one has, to know about these things -

1. REAL TIME - it can notify you with an announcement - which you might not hear even if you are there or if you are gone you would not hear

2. send you an email - I have enough of those - and I really simply want to be able to look at it from a log point of interest - I want my email to be things like - someone came to the front door while the alarm was on, or the power was lost.

Bill

Link to comment
Share on other sites

TexasBill...it's probably a good idea for you to put in a line of programming that fires an announcement when the door opens during certain hours or when nobody is home. I have my house send me a text anytime anything happens when nobody is home, but having an announcement occur when that door opens during strange hours sounds like a good idea to me.

Link to comment
Share on other sites

TexasBill...it's probably a good idea for you to put in a line of programming that fires an announcement when the door opens during certain hours or when nobody is home. I have my house send me a text anytime anything happens when nobody is home, but having an announcement occur when that door opens during strange hours sounds like a good idea to me.

Yes - thanks - I have already done that. Now I am looking to enhance that with logs of other things that I ASSUME are happening or not happening and then I can use a text editor to find all instances of something happening easily.

Thanks,

Bill

Link to comment
Share on other sites

  • 11 months later...
Hey guys. Did this logging project go anywhere. I would love the ability to log events. Especially the ability to send logs to a remote syslog instance.

Yes - the gentleman wrote a logging program and installed it. It worked. I made some recommendations and he was going to implement them and I have not heard back.

Contact him and I am sure that he will be happy to work with you. He was great to work with.

Bill

Link to comment
Share on other sites

  • 4 weeks later...

I will let you know when its finished, there are still a few things that TexasBill suggested adding.

My intent was to sell the driver for some low price to have a small benefit from the time I spent on writing it.

I was working with TexasBill on the driver so he has (or at least had) it installed on his system, I will make this final additions and wait for his feedback.

Link to comment
Share on other sites

I will let you know when its finished, there are still a few things that TexasBill suggested adding.

My intent was to sell the driver for some low price to have a small benefit from the time I spent on writing it.

I was working with TexasBill on the driver so he has (or at least had) it installed on his system, I will make this final additions and wait for his feedback.

If you need another tester, please let me know!

Link to comment
Share on other sites

I will let you know when its finished' date=' there are still a few things that TexasBill suggested adding.

My intent was to sell the driver for some low price to have a small benefit from the time I spent on writing it.

I was working with TexasBill on the driver so he has (or at least had) it installed on his system, I will make this final additions and wait for his feedback.[/quote']

If you need another tester, please let me know!

Let me say that I was impressed - there were some issues so I did not leave it installed and when I tried to install it again this past week it gave me a license issue - but I was very encouraged and really would like this capability.

Bill

Link to comment
Share on other sites

  • 10 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.