Menu

linknx on Raspberry Pi

Help
chris_14
2012-06-18
2013-02-10
  • chris_14

    chris_14 - 2012-06-18

    Hello,
    after long waiting for my Raspi, I got one last week. This credit-card sized Linux-PC is an ideal base for linknx and more.

    Based on the debian "squeeze" image from http://www.raspberrypi.org/downloads I installed eibd, linknx, etc.. Connetion to the EIB is made with the serial port of the Raspi and an BCU.

    Everything is working fine, but not sending emails. At compiling of linknx I got the message:

    checking libesmtp.h usability... yes
    checking libesmtp.h presence... yes
    checking for libesmtp.h... yes
    checking whether to use libesmtp... configure: WARNING: libesmtp is compiled with pthread support. This can conflict with pth. If you observe segmentation faults at startup, try to recompile with libesmtp support disabled
    yes
    

    .

    Any idea, how I can make it work?

    Best regards chris

     
  • gun7

    gun7 - 2012-06-18
     
  • jef2000

    jef2000 - 2012-06-18

    Hi,

    This message is just a warning, not an error.
    If you remove the warning message in-between, the remainder says:
    checking whether to use libesmtp…  yes

    What do you get when you execute "linknx -V"? Does it say "E-mail gateway enabled"?

    Jean-François

     
  • chris_14

    chris_14 - 2012-06-20

    Hi Jean-François,

    What do you get when you execute "linknx -V"? Does it say "E-mail gateway enabled"?

    it says:

    root@raspberrypi:~# linknx -V
    linknx 0.0.1.30
    - E-mail gateway enabled (with pthread support)
    

    I found out, that it worked sometimes, but most time not. It looks like there is an dependence of objects, that have no group-address. This is my rule:

            <rule id="technikalarm_3">
                <condition type="and">
                    <condition type="object" id="technikalarm_aktiv" value="on" />
                    <condition type="object" id="stoerung_regenwasser_1" value="on" trigger="true" />
                </condition>
                <actionlist>    
                    <action type="send-email"  to="xxxxxxxxxx@gmx.de" subject="Technik-Alarm" >Sammelstoerung Regenwasser!</action>
                </actionlist>
            </rule>
    

    Since I removed the condition "technikalarm_aktiv", it works now.
    It's nonsatisfying, but in the moment I don't know how to find out, what exactly happens.

    chris

     
  • chris_14

    chris_14 - 2013-02-10

    Hi,
    Just for information, with a newer Debian-Image for Rasberry Pi its working perfect since several month. If someone needs support, please leave a message.

    Chris

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.