Code Monkey home page Code Monkey logo

Comments (9)

dandersson01 avatar dandersson01 commented on September 2, 2024

Receiving this error when trying it out. The full message xpl-plugwise shows:

Use of uninitialized value in subroutine entry at /usr/lib/perl5/Digest/CRC.pm line 264.
WR>STICK: 0012000D6F0000A445997044
RX<STICK: 0000006900C17121
Use of uninitialized value in subroutine entry at /usr/lib/perl5/Digest/CRC.pm line 264.
RX<STICK: 0000006900E1DB87
Use of uninitialized value in subroutine entry at /usr/lib/perl5/Digest/CRC.pm line 264.
xPL::Dock->plugwise_process_response: Received response code with error: 0000006900E1

at /usr/local/share/perl/5.14.2/xPL/IOHandler.pm line 213

First I tried it with xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=000D6F0001A44599 -v -w 3, but.. it didn't want the full address, only A44599.

from device-plugwise-perl.

hollie avatar hollie commented on September 2, 2024

Hi,

thanks for your report.

Concerning you tests with the full MAC address of the device: using the full address is not supported. As a user you typically only see the short address and hence that is what I use to interface to the devices. If this is a problem: I'll gladly accept pull requests :-)

Concerning the CRC error: you're by chance not trying to read live status as fast as you can from the stick? I heard from others that this sometimes causes problems. You can try to switch on the 'ultra verbose' setting to get more insight in what is going on.
According to what I know, the source software from Plugwise only read status once per 8 seconds max. Pulling info faster might not be supported and might be resulting in incomplete responses and in error codes.

Please provide me with more info on what you're doing and when the error occurs so that I can try to reproduce it.

Kind regards,
Lieven.

from device-plugwise-perl.

dandersson01 avatar dandersson01 commented on September 2, 2024

No worries with full MAC, just got me a bit confused ;)

The command I ran was: xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=A44599 -v -w 3, but realize now that I should have put 1A44599 as device.

Doing that works and I get a proper response, but xpl-plugwise still complains with the following messages (--ultraverbose): http://septum.org/xpl-plugwise.txt

from device-plugwise-perl.

hollie avatar hollie commented on September 2, 2024

Hmm, strange.

Please provide some more details on the system you're using. Maybe your Digest::CRC module is too old. I did not put an explicit version requirement in the code for that module, maybe I should do so…

Op 4-jan.-2013, om 09:27 heeft lunarmys [email protected] het volgende geschreven:

No worries with full MAC, just got me a bit confused ;)

The command I ran was: xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=A44599 -v -w 3, but realize now that I should have put 1A44599 as device.

Doing that works and I get a proper response, but xpl-plugwise still complains with the following messages (--ultraverbose): http://septum.org/xpl-plugwise.txt


Reply to this email directly or view it on GitHub.

from device-plugwise-perl.

dandersson01 avatar dandersson01 commented on September 2, 2024

Debian wheezy (with Linux 3.2.0-4-686-pae).

From Digest/CRC.pm:
$VERSION = '0.18';

Kind regards,
Daniel

On 4 jan 2013, at 11:03, Lieven Hollevoet wrote:

Hmm, strange.

Please provide some more details on the system you're using. Maybe your Digest::CRC module is too old. I did not put an explicit version requirement in the code for that module, maybe I should do so…

Op 4-jan.-2013, om 09:27 heeft lunarmys [email protected] het volgende geschreven:

No worries with full MAC, just got me a bit confused ;)

The command I ran was: xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=A44599 -v -w 3, but realize now that I should have put 1A44599 as device.

Doing that works and I get a proper response, but xpl-plugwise still complains with the following messages (--ultraverbose): http://septum.org/xpl-plugwise.txt


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

from device-plugwise-perl.

hollie avatar hollie commented on September 2, 2024

Hmm, looks recent enough. I'll have to dig in further to see what is happening. Might take a week or two before I have time to do so however…

To be clear: you're able to communicate with the plugs and turn it on and off but you get the CRC error message, right?

Best regards,
Lieven.

Op 4-jan.-2013, om 11:40 heeft lunarmys [email protected] het volgende geschreven:

Debian wheezy (with Linux 3.2.0-4-686-pae).

From Digest/CRC.pm:
$VERSION = '0.18';

Kind regards,
Daniel

On 4 jan 2013, at 11:03, Lieven Hollevoet wrote:

Hmm, strange.

Please provide some more details on the system you're using. Maybe your Digest::CRC module is too old. I did not put an explicit version requirement in the code for that module, maybe I should do so…

Op 4-jan.-2013, om 09:27 heeft lunarmys [email protected] het volgende geschreven:

No worries with full MAC, just got me a bit confused ;)

The command I ran was: xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=A44599 -v -w 3, but realize now that I should have put 1A44599 as device.

Doing that works and I get a proper response, but xpl-plugwise still complains with the following messages (--ultraverbose): http://septum.org/xpl-plugwise.txt


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

from device-plugwise-perl.

dandersson01 avatar dandersson01 commented on September 2, 2024

Yeah, it seems to be working fine (now when I use the correct address).

So it's more of an eyecandy thing/warning from Digest::CRC than an actual error/problem :)

On 4 jan 2013, at 11:42, Lieven Hollevoet wrote:

Hmm, looks recent enough. I'll have to dig in further to see what is happening. Might take a week or two before I have time to do so however…

To be clear: you're able to communicate with the plugs and turn it on and off but you get the CRC error message, right?

Best regards,
Lieven.

Op 4-jan.-2013, om 11:40 heeft lunarmys [email protected] het volgende geschreven:

Debian wheezy (with Linux 3.2.0-4-686-pae).

From Digest/CRC.pm:
$VERSION = '0.18';

Kind regards,
Daniel

On 4 jan 2013, at 11:03, Lieven Hollevoet wrote:

Hmm, strange.

Please provide some more details on the system you're using. Maybe your Digest::CRC module is too old. I did not put an explicit version requirement in the code for that module, maybe I should do so…

Op 4-jan.-2013, om 09:27 heeft lunarmys [email protected] het volgende geschreven:

No worries with full MAC, just got me a bit confused ;)

The command I ran was: xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=A44599 -v -w 3, but realize now that I should have put 1A44599 as device.

Doing that works and I get a proper response, but xpl-plugwise still complains with the following messages (--ultraverbose): http://septum.org/xpl-plugwise.txt


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

from device-plugwise-perl.

hollie avatar hollie commented on September 2, 2024

OK, cool. Thanks for the update. It is still worth trying to find out what the problem is, though. I'll leave this ticket open and keep it in mind. I need to check what exact version of the CRC module I'm running at home.

Kind regards,
Lieven.

Op 4-jan.-2013, om 11:49 heeft lunarmys [email protected] het volgende geschreven:

Yeah, it seems to be working fine (now when I use the correct address).

So it's more of an eyecandy thing/warning from Digest::CRC than an actual error/problem :)

On 4 jan 2013, at 11:42, Lieven Hollevoet wrote:

Hmm, looks recent enough. I'll have to dig in further to see what is happening. Might take a week or two before I have time to do so however…

To be clear: you're able to communicate with the plugs and turn it on and off but you get the CRC error message, right?

Best regards,
Lieven.

Op 4-jan.-2013, om 11:40 heeft lunarmys [email protected] het volgende geschreven:

Debian wheezy (with Linux 3.2.0-4-686-pae).

From Digest/CRC.pm:
$VERSION = '0.18';

Kind regards,
Daniel

On 4 jan 2013, at 11:03, Lieven Hollevoet wrote:

Hmm, strange.

Please provide some more details on the system you're using. Maybe your Digest::CRC module is too old. I did not put an explicit version requirement in the code for that module, maybe I should do so…

Op 4-jan.-2013, om 09:27 heeft lunarmys [email protected] het volgende geschreven:

No worries with full MAC, just got me a bit confused ;)

The command I ran was: xpl-sender -c plugwise.basic -m xpl-cmnd command=status device=A44599 -v -w 3, but realize now that I should have put 1A44599 as device.

Doing that works and I get a proper response, but xpl-plugwise still complains with the following messages (--ultraverbose): http://septum.org/xpl-plugwise.txt


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

from device-plugwise-perl.

hollie avatar hollie commented on September 2, 2024

OK, I can reproduce it on an Raspi. Needs to be examined in detail.

from device-plugwise-perl.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.