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 ... 31
1
Users / Re: Filter the KNX Motion detection?
« on: February 01, 2016, 05:34:29 pm »
Yes. Was exactly the same as normal light.

But I've just did some extra apt-get update... The apt-get update frooze on the mythtv plugin. He tols me that the user was already part of public. After 10 minutes no movement, I've decided to reboot the machine. Strange thing now that linuxmce itself didn't start? I needed to start it with '/etc/init.d/linuxmce start', and at first sight the server was running again.

When I now start the dummy light, it start.
The only strange part now is that the status is OFF/0 and ON/0?
I would expect OFF/0 and ON/1 like the others.
But I'll start testing it with ON/0...  :-X


2
Users / Re: Filter the KNX Motion detection?
« on: February 01, 2016, 04:31:25 pm »
Sadly not.
So I guess I've got another issue...

3
Users / Re: Filter the KNX Motion detection?
« on: February 01, 2016, 08:13:21 am »
hmm, think I've got another issue then.

It feels like the newly added device isn't responding correctly. When I try to switch on the virtual light manually, it doesn't come in my 99_eib.log file. Only the existing devices appear in there. When I create a new (virtual) device, I'm receiving the status **RUN_CONFIG**. A reload didn't solved this. :$

Damned, damned, damned.

4
Users / Re: Filter the KNX Motion detection?
« on: January 30, 2016, 05:52:27 pm »
setup a KNX light device (virtLight)

I was trying out your idea.

But can't figure out how to configure a virtual device.
Wen I create fe a light switch (template 47) like I've done for all my lights/outlets, I can't get it to work.
Can a virtual device be anything, or is this a specific template?

5
Users / Re: EIB segmentation fault
« on: January 21, 2016, 05:17:55 pm »
I've done a lot (except rebooting in timeto know when it started to fail)...

Main changes of last days:
   apt-get upgrades
   apt-get dist-upgrade
   dpkg -i libpthsem20_2.0.8_i386.deb
   apt-get remove bcudsk (and some reinstalls)
   apt-get install linuxmce-eib-eibd
   played around with the eggtimer
   Tried the qorbiter (and removed it), this was device ID 284

But I never touched the /etc/pluto.conf file.
I had some mayor issues after the dist-upgrade (?), my second network card didn't came up after the reboot.
I'm using VMWare, and in /etc/network/interfaces, I had 2 times an eth1? With default ip 192.168.80.1 and my real ip 192.168.111.1. After removing the 80 with 111, ubuntu started to boot properly.

When I check the database, the ID285 is assigned to CORE, template 7, with the internal IP.

6
Users / Re: EIB segmentation fault
« on: January 21, 2016, 03:52:40 pm »
hmmm, seems that with the updates (eib, dist-upgrade...), something changed for /etc/pluto.conf?

I've changed the line PK_Device = 285 to PK_Device = 1.
1 was the original number from my backup of yesterday.
Following, I've restarted linuxmce, and he started to rebuild everything.

And for now, it seems to work.


7
Users / Re: EIB segmentation fault
« on: January 21, 2016, 03:18:42 pm »
hmm, guess i've got other issues that eib now... :$

When I try to add a device:
Code: [Select]
ERROR: Error creating device. Be sure LinuxMCE is running.

8
Users / Re: EIB segmentation fault
« on: January 21, 2016, 02:57:19 pm »
One step closer for a clean apt-get process.
One step further away for my home automation.
LinuxMCE doesn't play anymore with my lights. :$

I still can activate things with the 'groupswrite' command.
But not by theLinuxMCE GUI anymore.

I can see a lot of refused connection in /var/log/Launchmanager.log, guess it has to do with eib?
Quote
05      01/21/16 14:50:35.903           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>
05      01/21/16 14:50:36.905           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>
05      01/21/16 14:50:37.907           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>
05      01/21/16 14:50:38.908           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>
05      01/21/16 14:50:39.909           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>
05      01/21/16 14:50:40.910           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>
05      01/21/16 14:50:41.911           Connect() failed, Error Code 111 (Connection refused)) <0xb6629b40>


ps we don't say it enough, but thanks guys for your patience and help you give us each time!!!

9
Users / Re: EIB segmentation fault
« on: January 21, 2016, 11:58:59 am »
Somewhere I'm missing a step I think.
When I run apt-get upgrade, he's telling me that eib service isn't known?

Code: [Select]
apt-get install lmce-eib-eibd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lmce-eib-eibd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
Warning: The home dir /var/run/eib you specified already exists.
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1)

10
Users / Re: EIB segmentation fault
« on: January 20, 2016, 07:46:43 pm »
In the inital setup, i've installed eibd manually to get it running.
But I believe now that that was a mistake.  :-[

Code: [Select]
dcerouter_1044981:/# apt-get upgrade                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1)


Is it a good idea to remove all eibd things of kroegler.
And then use the plugin of lmce?


Any suggestion what the proper workflow is for this?
Simple remove eibd stuff by apt-get, and install lmce-eib-eibd by apt-get?

11
Installation issues / Re: apt-get issues
« on: January 20, 2016, 07:27:40 pm »
A dist-upgrade indeed solved some things, and the autoremove.
I've manully removed the  lmce-datalogger-plugin, hope that this was the one you meant with 'atm'? At least it solved the datalog stuff.

My apt-get upgrade gives me now:
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 lmce-eib-eibd
E: Sub-process /usr/bin/dpkg returned an error code (1)

So one left... the eibd.
It feels so nice when you see less and less 'issues'... ;)

12
Installation issues / Re: apt-get issues
« on: January 20, 2016, 05:25:48 pm »
Seems to passed the updatedebcache warning.


I've got now still following issues. If I can do anything, let me know!
Not urgent for me, since we don't encounter any human issue with the server. ;)

Code: [Select]
dcerouter_1044981:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic-lts-utopic linux-headers-generic-lts-utopic
  linux-image-generic-lts-utopic lmce-asterisk lmce-cec-adaptor lmce-core
  lmce-md-meta mythtv-common mythtv-frontend mythweb openjdk-7-jre
  openjdk-7-jre-headless pluto-avwizard pluto-boot-scripts
  pluto-confirm-dependencies pluto-xine-player
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up lmce-datalogger-plugin (2.0.0.47.15121131752) ...
WARNING: "pear/Image_Color" is deprecated in favor of "pear/Image_Color2"
Did not download optional dependencies: pear/Numbers_Roman, pear/Numbers_Words, use --alldeps to download automatically
pear/Image_Graph can optionally use package "pear/Numbers_Roman"
pear/Image_Graph can optionally use package "pear/Numbers_Words"
downloading Image_Canvas-0.3.3.tgz ...
Starting to download Image_Canvas-0.3.3.tgz (55,245 bytes)
.....done: 55,245 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Canvas-0.3.3.tgz"
Download of "pear/Image_Canvas" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Canvas"
downloading Image_Graph-0.8.0.tgz ...
Starting to download Image_Graph-0.8.0.tgz (370,682 bytes)
...done: 370,682 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Graph-0.8.0.tgz"
Download of "pear/Image_Graph" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Graph"
downloading Image_Color-1.0.4.tgz ...
Starting to download Image_Color-1.0.4.tgz (9,656 bytes)
...done: 9,656 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Color-1.0.4.tgz"
Download of "pear/Image_Color" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Color"
Download failed
install failed
dpkg: error processing package lmce-datalogger-plugin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

13
Users / Re: Filter the KNX Motion detection?
« on: January 20, 2016, 07:04:54 am »
The eggtimer works great!
For the moment, I'm using it as 'eggtimer', just to get familar with it.

So in the upcoming days, I'll try your idea. But indeed, it sounds logical like that, so fingers crossed...



ps can we run multiple eggtimers at the same time without any problem? Fe I would like to turn on light in front of my house for 5 minutes, in the back for 3 minutes...

14
Installation issues / Re: apt-get issues
« on: January 20, 2016, 06:49:35 am »
Here's the code:

Code: [Select]
cat /var/lib/dpkg/info/lmce-diskless-tools.postinst
#!/bin/bash
#!/bin/sh
# postinst script for lmce-diskless-tools
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <postinst> `abort-remove'
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    configure)
# /var/lmce-build/svn/trunk/src/UbuntuDiskless/mkr_postinst.sh
#!/bin/bash

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#if [[ "$2" != "" ]] ;then
#       /usr/pluto/bin/Diskless_CreateTBZ.sh || echo "WARNING: Diskless_CreateTBZ.sh returned an error!"
#fi

if [ -x /usr/pluto/bin/Debug_LogKernelModules.sh ]; then
        /usr/pluto/bin/Debug_LogKernelModules.sh "$0" || :
fi

#################################################################
## move deb-cache to newer multi-arch friendly location
## update sourcs.list on core and all MDs to reflect new locations
if [ ! -d /usr/pluto/deb-cache ]; then
        exit 0
fi

LastVersion="$2"

# TODO: check if ver <= 20.0.0.45 (1004), only run this if it's that old
if [[ -n "$LastVersion" ]] ; then
        /usr/pluto/bin/UpdateDebCache.sh
fi

    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.



exit 0


ps my version
Quote from: cat /proc/version
Linux version 3.16.0-36-generic (buildd@roseapple) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #48~14.04.1-Ubuntu SMP Wed Apr 15 13:12:28 UTC 2015


I'll have a look tomorrow how to forcibly remove and re-install the eibd-package.... Hope I don't break to much...

15
Installation issues / Re: apt-get issues
« on: January 19, 2016, 03:15:00 pm »
Just tried to uncomment it, but still gotting some issues:

Code: [Select]
dcerouter_1044981:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic-lts-utopic linux-headers-generic-lts-utopic
  linux-image-generic-lts-utopic lmce-asterisk lmce-cec-adaptor lmce-core
  lmce-md-meta mythtv-common mythtv-frontend mythweb openjdk-7-jre
  openjdk-7-jre-headless pluto-avwizard pluto-boot-scripts
  pluto-confirm-dependencies pluto-xine-player
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up lmce-datalogger-plugin (2.0.0.47.15121131752) ...
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
WARNING: "pear/Image_Color" is deprecated in favor of "pear/Image_Color2"
Did not download optional dependencies: pear/Numbers_Roman, pear/Numbers_Words, use --alldeps to download automatically
pear/Image_Graph can optionally use package "pear/Numbers_Roman"
pear/Image_Graph can optionally use package "pear/Numbers_Words"
downloading Image_Canvas-0.3.3.tgz ...
Starting to download Image_Canvas-0.3.3.tgz (55,245 bytes)
.....done: 55,245 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Canvas-0.3.3.tgz"
Download of "pear/Image_Canvas" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Canvas"
downloading Image_Graph-0.8.0.tgz ...
Starting to download Image_Graph-0.8.0.tgz (370,682 bytes)
...done: 370,682 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Graph-0.8.0.tgz"
Download of "pear/Image_Graph" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Graph"
downloading Image_Color-1.0.4.tgz ...
Starting to download Image_Color-1.0.4.tgz (9,656 bytes)
...done: 9,656 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Color-1.0.4.tgz"
Download of "pear/Image_Color" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Color"
Download failed
install failed
dpkg: error processing package lmce-datalogger-plugin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-diskless-tools (2.0.0.47.15121131752) ...
/var/lib/dpkg/info/lmce-diskless-tools.postinst: line 49: syntax error near unexpected token `fi'
dpkg: error processing package lmce-diskless-tools (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pluto-newmdinteractor:
 pluto-newmdinteractor depends on lmce-diskless-tools (>= 2.0.0.47); however:
  Package lmce-diskless-tools is not configured yet.
 pluto-newmdinteractor depends on lmce-diskless-tools (<< 2.0.0.48); however:
  Package lmce-diskless-tools is not configured yet.

dpkg: error processing package pluto-newmdinteractor (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lmce-datalogger-plugin
 lmce-diskless-tools
 lmce-eib-eibd
 pluto-newmdinteractor
E: Sub-process /usr/bin/dpkg returned an error code (1)


Not sure if it's important, but it can wait for me (most important things are working on my linuxMCE). But if you want me to test/debug it a bit more, I can do it...

Pages: [1] 2 3 ... 31