beanz / xpl-perl

Perl modules for the xPL Home Automation Protocol
19 stars 12 forks source link

new_from_payload: Trailing trash #13

Closed Hotfirenet closed 11 years ago

Hotfirenet commented 11 years ago

Hello, this message show when i start the hub: xpl-hub -i eth0 --define broadcast=0.0.0.0 > /dev/null &

you have an idea or can come of this error?

xPL::Message->new_from_payload: Trailing trash: at /usr/local/share/perl/5.14.2/xPL/Listener.pm line 612

I have done abbord: sudo apt-get install libtimedate-perl libyaml-syck-perl libsub-name-perl libanyevent-perl libdatetime-event-sunrise-perl

then

perl Makefile.PL make make test sudo make install

Thank you for your help

beanz commented 11 years ago

One of the other clients on your network is sending invalid xPL messages - i.e. they are sending junk after the end of an xPL message. Try using "xpl-logger --define stealth=1 -i eth0 --head --body" to find the client source id.