Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - brononius

Pages: 1 [2] 3 4 ... 26
16
Users / Heating Boiler Viessman
« on: October 31, 2013, 03:37:32 pm »
Hey,

I would like to take a next step with LinuxMCE, namely connection my heating boiler (Viessman) with my server.
I saw that Viessman has a model to connect with EIB.

Do you guys think this will work with LinuxMCE? Or are there other solutions?

17
Users / Re: Events log
« on: October 11, 2013, 03:09:15 pm »
Based on this, i've created a small script that follows the logs, and put the most important info (for me) into a seperate log file.
Below you can find to commands. One to log the 'tripped sensors', and one to log the phonecalls. I'll see if i can find other intresting things to have in my 'filtered events log'.

Code: [Select]
#Log the triggered events
tail -f /var/log/pluto/DCERouter.log | awk '/Sensor Tripped/ {sub(/\(/,"",$8); sub(/)/,"",$12); sub(/Event:/,"",$22); sub(/,/,"",$23);print strftime("%Y-%m-
%d %H:%M:%S")," - Sensors: ",$8,$9,$10,$11,$12," - ",$22,$23 | "tee -a /var/log/events.log"}' &

#Log the phonecalls
tail -f /var/log/asterisk/full | awk '/Call completed to/ {sub(/Local\/0/,"",$9); sub(/@trusted/,"",$9);print strftime("%Y-%m-%d %H:%M:%S")," - Phone:", $6,
 $7, $8, $9 | "tee -a /var/log/events.log"}' &

This will return you following log:
more /var/log/events.log
Quote
2013-10-11 14:31:19  - Sensors:  K Sonar1 10x / FrontDoor  -  Sensor Tripped
2013-10-11 14:35:30  - Sensors:  K Button1 2x / Kitchen  -  Sensor Tripped
2013-10-11 14:35:30  - Sensors:  K Button1 1x / LivingRoom  -  Sensor Tripped
2013-10-11 15:06:20  - Phone: Call completed to 01534855


If you want to use it, it's possible that you'll need to change some parameters (like $8,$9,$10...). This is a first version, so it's rather 'raw' for my own intrest.
  • Basiclly, the first part (DCERouter.log) tells you what log file to check.
  • The second part (Sensor Tripped) tells you where to keep an eye on.
  • The third part (print xxxxxx) gives the 'result' back.
  • The last part (events.log) tells you where the results will be kept.

18
Users / Re: Events log
« on: October 09, 2013, 11:13:56 am »
Just a thought, but it would be a nice feature that a kind of log-level could be created.

fe
loglevel 12: all details (all below + debug)
loglevel 10: system stuff (all below + system alerts)
loglevel 7: external triggers (all below + incoming calls and so)
loglevel 6: user triggers (all below + manual push of lights and so)
...

But I think that this will be a huge change to the systems, no?  :-\

So I guess that I'll see to create a kind of script that keeps an eye on the dcerouter.log and that copies some info to another log file...
Or if there are other suggestions, let me know...

19
Users / Re: Events log
« on: October 09, 2013, 09:22:10 am »
Is there sometimes a 'special' parameter that I can use to filter out specific things?


The end idea is to have a list of events around the house. Let's call it a more 'human' list.
My girlfriend will never read logfiles, and i expect that most of the people will not do this.
I think that a more userfriendly loglist would be a step in the right direction to open up the system to everyone.

fe
  • 20131009-091420 :: Video Door motion detected (no more warning for next 5 minutes)
  • 20131009-091510 :: Doorbell triggered
  • 20131009-091620 :: Doorbell triggered
  • 20131009-094015 :: Light Kitchen status 1
  • 20131009-095544 :: Light Kitchen status 0
  • ...

20
Users / Events log
« on: October 08, 2013, 02:33:31 pm »
Hey,

Is there somewhere a way to see all 'triggered' events?
From time to time, i'm wondering when this or that happened, so it would be nice that this could be seen in a kind of log file.

21
Feature requests & roadmap / A kind of search function
« on: May 28, 2013, 03:11:52 pm »
You create some scenarios for you lighting (respond to events, timed events...). And when you leave your system for a while, you don't remember what you used for what. Ever happen to you?  :P

So maybe it's a nice idea to have a kind of 'where used' function for your lights and so?
This way, with one click, you could see where you're using that device.
And of course, it can help when you're need to debug something as well.

22
Feature requests & roadmap / Re: Status / overview page?
« on: March 05, 2013, 01:51:38 pm »
If i'm not wrong, it doesn't really check your TIMEzone. But it looks more at your timeZONE.  :-X
Have a check what you see when you do 'more /etc/timezone'. If all is well, you should see your city. Or at the least a city nearby.

more /etc/timezone
Code: [Select]
Europe/Brussels

23
Feature requests & roadmap / Re: Status / overview page?
« on: February 18, 2013, 07:55:43 am »
These are the blocks that i'm using for the weather:


Quote
$_LOCALTIMEZONE = file_get_contents('/etc/timezone', NULL, NULL, 0, 1000);
$_LOCALWEATHER = $_LOCALTIMEZONE;
$_FORECAST = str_replace("/","_",$_LOCALWEATHER);

echo "<script src=\"http://www.weatherforecastmap.com/weather21.php?zona=$_FORECAST\"></script>";

24
Feature requests & roadmap / Re: Status / overview page?
« on: February 15, 2013, 07:39:07 am »
And why shouldn't I give a damn?  >:(


Normally, the weather part is based on the timezone.
I'm from Europe/Belgium, so this is outside the United States. And it works over here.

What's your timezone if i may ask?
This way i can change my server's timezone and have a look why it's not working for you.

ps This will not be in the next 2 weeks. I'm busy with another project that takes up all my time now... So please be patient...

25
Users / Re: Change default phone menu
« on: January 20, 2013, 08:45:47 am »
So you don't use the general/family mailbox?
I'll give it a try...

26
Users / Re: Change default phone menu
« on: January 18, 2013, 06:51:17 pm »
Mmm, not really clear to me.  :-[

In 'call routing', i can perfom following:
  • Step 1: ring extensions
  • Step 2: forward to voicemail

But in step 2, i can only select a users voicemail, not the general one?
And how many 'seconds' are passing between step 1 and step 2?

27
Users / Re: Change default phone menu
« on: January 18, 2013, 03:24:00 pm »
The problem is that i've got a default computer voice with some bla-bla-bla after 45sec...
The setting is correct (45sec), but the voicemail that's been forwarded isn't.

The menu:
  • If you know the direct extensi...
  • To call everybody in the house, dial
  • To call Bruno (?), dial
  • To call...
  • To leave a mess...

I just want that whatever situation it is (one person home, sleeping, away...), the phone should go directly to the general voicemailbox.
95% of my callers will never use those kind of menu's, i think that even more then 80% won't even bother to listen to an english menu. :$

28
Feature requests & roadmap / Re: Status / overview page?
« on: January 17, 2013, 02:33:49 pm »
Done...

And link is updated in first post...

29
Users / Re: VPN setup (change port 500)
« on: January 17, 2013, 02:29:47 pm »
Complain to your provider?
 
;D  ;D   ;D

You won't believe how many people complain of this. Telenet is one of the biggest broadband providers in Belgium.
Their response? Buy a professional connection with us when you want to host a server.
Can you believe that? These days still commercial b*llsh*t ...

30
Feature requests & roadmap / Re: Status / overview page?
« on: January 17, 2013, 02:02:11 pm »
tried to install this - the zip file is reported as invalid.

Give it a try with:
Code: [Select]
tar -zxvf status.zip

Pages: 1 [2] 3 4 ... 26