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 ... 4 5 [6] 7 8 ... 27
Users / Re: DAY/NIGHT = Time or 'timeframe'?
« on: December 04, 2012, 02:52:43 pm »
OK, i figured it out...

  • Add a "Respond To Events"
  • Insert a description
  • Choose from dropdown 'New Event': Sunrise (or sunset)
  • Add you command

So in fact, when you look now at the event, you'll see that the "criteria" are empty.

Feature requests & roadmap / Re: Status / overview page?
« on: December 04, 2012, 02:49:11 pm »
UPDATE: Before i ran a script to read the sunrise/-set from the log files. This wasn't best practice since it was a higher load for the system, just to get this value.
I found out that php has a command date_sunrise and date_sunset that calculs your sunrise timing. This based on your lattitude and longitude. And let these values now be in the database.

So i've update the status page:
  • first grep the latt and long from the db
  • get the offset from the timezone
  • use this with date_sunrise
  • ...

Users / Trigger script with respond to events
« on: December 01, 2012, 08:47:40 am »
This opens a whole new box of oppurtunities to play around with...  ::)

Didn't understand the term 'spawn'. But now i do... ;)

Users / [SOLVED] Trigger script with respond to events
« on: November 30, 2012, 01:57:03 pm »
What's the best way to start a homemade script with respond to events?
I couldn't figure out what kind of event command i need to use.
Is this #28 PK_CommandGroup (int)

fe when you push a light switch, it should trigger '/scripts/'

Users / Re: DAY/NIGHT = Time or 'timeframe'?
« on: November 27, 2012, 08:44:20 am »
There are events for sunset and sunrise, you can use those instead.

I fail to understand it. :$

So i choose a 'respond to events' and in events, i add 'Time of Day = DAY'?
Doesn't this say that it will be triggerd the whole day? Or only at sunrise?

I've also tried to add an advanced event, and in 'New event' i've chosen 'general > sunrise'.
But when i check now the events, this is empty? Is this normal?

Users / Re: LMCE right for me?
« on: November 26, 2012, 08:02:09 am »
All things are possible. I'm using them in a reallife situation (home automation, IP-phones, IP-camera's, data...)

The only thing i really miss in the whole LinuxMCE story is a nice backup system for you data.
But this can be solved with some tricks. I use fe a NAS with rdiff to backup all my data/config nightly.

Users / Re: LMCE & security
« on: November 26, 2012, 07:57:32 am »
Usually there is a router before the core anyways

You can mostly add additional security features on this router (fe buildin firewall).
Or to be 100% safe, add a real firewall device in front of it. Of course, this is an extra device (power consumption, configuration work...)

Users / [SOLVED] DAY/NIGHT = Time or 'timeframe'?
« on: November 26, 2012, 07:53:17 am »

I'm using several 'respond to events' where i choose DAY/NIGHT to happen different things. fe:
  • lights on when i come home at night
  • lights not on when i come home at day
This is working great btw

Now i was trying to make some things happen when night falls. But for one or the other reason, it seems to fail.
I added:
  • Timed events
  • Days of week: 1,2,3,4,5,6,7
  • Time: NIGHT
  • ...

I'm wondering if we can use the term NIGHT/DAY as actually time, or is this only for a kind of timeframe?

Installation issues / Re: Phone line goes down?
« on: November 20, 2012, 06:40:09 pm »
Okay, maybe not as it should be, but this is a temporary workaround...  :-X

I've created a 'respond to event'.

  • Day of the week: 1,2,3,4,5,6,7
  • Time of day: 6:55

Commands: Asterisk - PBX Application
  • application: ring
  • Number: 01990

This will automaticlly calls each day in the morning a number of my provider. The number gives me information about the latest caller.
I specially choose this number since it will automaticlly kill the call once it gave the information (+/- 10sec). And of course because it's a free number.

Of course, it would be nicer that it only calls once (if the line went down, if the server rebooted). But i couldn't figure out how i can trace that with 'respond to events'. So for the moment, a daily call should do it...
But if somebody could tell me how i could it elseway, glad...

Installation issues / Re: Phone line goes down?
« on: November 20, 2012, 11:42:23 am »

But no solution so far for the bug at asterisk...  :(

Maybe i should create a small script that performs an outgoing call each time the server boots?
This way the line will be registred?

Installation issues / Update went wrong?
« on: November 07, 2012, 07:08:13 pm »

Just (2012-11-07) did an 'apt-get upgrade', and several things where updated for linuxcme (fe i saw a lot of things on the db and website).

But when i now restart the server, it's in a kind of loop.
  • In the begin, i see that he's has problems with the network interface. And from another machine i'm not able to reach it anymore.
  • The server itself keeps on retrying to connect with the DCErouter. I'm not able to connect with cli (fe with alt-f2).

I've connected another harddisk (with a working linuxmce from last week), and this one starts up fine.
So somewhere their went something wrong with the network drivers.
Any idea how i can 'bypass'/restore this?

Installation issues / Re: new release "precise"
« on: November 04, 2012, 11:17:29 am »
I've just tested it on a clean disk:

  • Installation of a fresh LinuxMCE (LMCE-1004-20121030125826619)
    Everything is working fine (user setup in LinuxMCE, network, internet browsing...)
  • run a 'do-release-upgrade'
  • No more LAN more?
    I can ping from the server to a client. But from a client, i can't reach the server?
    Everything is listing locally (TCP 80, 53....)
    Probably a kind of firewall kicked in (but no iptables, no ufw...?)
  • I've installed gnome (apt-get install gdm)
  • And when i try to login locally to linuxmce, he tells me that there are no users?
    But i'm 200% sure that i created a user in Linuxmce before.
    so the do-release-upgrade did also something to the database?

Back to an original installation, without the do-release-upgrade...  :-X

Feature requests & roadmap / Re: Status / overview page?
« on: November 02, 2012, 07:47:06 am »
one thing I would like to see is the CPU temp of all MD's/Core (if it isn't already there)

This should be possible with lmsensors.
I'll see if i can work something out next week...

Feature requests & roadmap / Re: Status / overview page?
« on: October 31, 2012, 01:13:43 pm »
I look outside to see if the sun is there or not

You're right.
But i like to know when my lights outside will work, and when not.
Since I let LinucMCE control a big part of my electricity, i still want to know when things will happen, and why...
I'll not be the slave of my technology...  ;D

It's a nice feature, the day/night.
But when you troubleshoot, it's nice to know these kind of things... :-X

And on the side, i find it really interesting to know when the sun will be gone...

Feature requests & roadmap / Re: Status / overview page?
« on: October 31, 2012, 10:16:14 am »

Not really necessary to put it on top, but it would be nice to have it somewhere.
Maybe an extra block with statistics? I'm also very interested to see the counts of the database. This can give you an idea of your configuration.

Regarding cacti, i know that you can have easy links to the graphs. For the moment, my server crashed. And i'm rebuilding it. Once it's up, i can show you a webpage on my intranet where i inserted the images...

Pages: 1 ... 4 5 [6] 7 8 ... 27