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 5 ... 27
Users / Samba issue
« on: June 27, 2014, 07:06:39 am »

Last days, I played around with the users and the group they belong to. And did also some apt-get udpates. And now I can't login anymore with samba protocol. Apparantly the user don't exist anymore?

The clientPC = Windows 7 & Linux Mint 17
The user = brientje

Quote from: grep brientje log.ClientPC
  check_ntlm_password:  Authentication for user [Brientje] -> [pluto_brientje] FAILED with error NT_STATUS_NO_SUCH_USER
  check_ntlm_password:  Authentication for user [Brientje] -> [pluto_brientje] FAILED with error NT_STATUS_NO_SUCH_USER
  check_ntlm_password:  Authentication for user [Brientje] -> [pluto_brientje] FAILED with error NT_STATUS_NO_SUCH_USER
  check_ntlm_password:  Authentication for user [Brientje] -> [pluto_brientje] FAILED with error NT_STATUS_NO_SUCH_US..........

Quote from: grep brientje /etc/samba/usermap.txt
pluto_brientje = brientje

Quote from: grep brientje /etc/samba/smbpasswd
pluto_brientje:10001:DD4D27348EDCBEBA93E28745B8BF4BA6:3D83FDBC71EF25E316C6BADA8AFF8D19:[U          ]:LCT-00000001:,,,

Quote from: grep brientje /etc/passwd
brientje:x:1001:1003:Brientje User,,,:/home/brientje:/bin/bash

Quote from: id -a brientje
uid=1001(brientje) gid=1003(brientje) groups=1003(brientje),1001(public)

Quote from: id -a pluto_brientje
uid=10001(pluto_brientje) gid=10001(pluto_brientje) groups=10001(pluto_brientje),1001(public),1003(brientje)

Any idea / suggestion?

Users / Re: "Respond to events" is 'empty' after restore
« on: May 20, 2014, 09:38:42 am »
I'm a bit embarrassed to say this. But i've found the issue...

I've installed LinuxMCE 8.10.
And did a recovery (mysql -u root -p pluto_main < pluto_main.dump) of a LinuxMCE version 10.04

So I've lost 3 day because I entered the wrong (old) cd.  :-\
You've got no idea how stupid I feel myself...

Users / "Respond to events" is 'empty' after restore
« on: May 19, 2014, 06:52:56 am »

I just had to reinstall my linuxmce server... A OS failure disk...  :-X
But no prob, i've got a backup. ;)

I just restored all data, and put the databases back in place.
But to my surprise, the 'respond to events' are empty when you look in the admin page. All other settings seem to be corect.
When I check the database itself, I see that the the table 'pluto_main'-'Eventhandler' contains all my created events.

Any hints what I've forgot/did wrong?

Users / EIB: relay hangs in scenario?
« on: November 28, 2013, 05:53:18 pm »

I'm using now for about 2 years linuxmce to control my home automation. And it works greats... ;)
But this week, when I trigger my 'house sleep' scenario, a relay hangs. Before, I used this scenario almost daily.

The strange this is, that with console (groupswrite ip: 3/1/81 1), I can normally control the relay.

But when I runs the scenario with that relay, the relay doesn't switch of completely? I need to manually give it an extra push. But when I check the status then in linuxMCE, this relay is still in the 'on/1' status.

Any idea?

Users / Re: Heating Boiler Viessman
« on: November 02, 2013, 08:07:26 am »
I found Vitogate to be too expensive for what it can do.

I agree with you. The prices i'm finding are about 700 euros, and this only to convert the signals?
But I must say that each time a look at eib hardware (fe the network convertor), i've got this feeling.  ???

And you're correct that once you've setup the heating, it should be fine.
But i was thinking of let all things work together. Fe heating down, windows open, shutters down...
This way, I would first play a bit with windows/shutters/... to control the temperature. And if this isn't enough, the heating can kick in.
But I agree, the heating should be able to cope with it on his own. Nevertheless it would be great to have 1 control center for all...

Users / Re: Heating Boiler Viessman
« on: October 31, 2013, 05:32:55 pm »
Whatever we can?  ;)

I was thinking about changing temperature, reading the temperature...
And in later phase playing with temperature, closing windows...

Users / Heating Boiler Viessman
« on: October 31, 2013, 03:37:32 pm »

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?

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
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.

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.

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...

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.

  • 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
  • ...

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

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.

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.

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]

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:

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

echo "<script src=\"$_FORECAST\"></script>";

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...

Pages: 1 2 [3] 4 5 ... 27