Page 1 of 2

Command Class Meter Pulse (0x35) support

Posted: 05 Jan 2015 02:19
by kozlow
Hi, I'm discovering your plateform and I can't wait to develop on it, but:

"Got frame from device xx to controller, but command class 0x35 is not implemented"
I'm inspecting data sent by my MIMOLite (Fortrezz) device and it seems I have a problem. Do you expect to implement this little ;) command class? Or is there a way to hook frame processing and handle by myself this kind of class?

Thx, Mat

Re: Command Class Meter Pulse (0x35) support

Posted: 05 Jan 2015 03:24
by pofs
Yes, I was bored and added it. Will be available in the next builds.
It is deprecated though :)

Re: Command Class Meter Pulse (0x35) support

Posted: 05 Jan 2015 10:36
by kozlow
Excellent! Deprecated but useful in my case :-p

However, I'd like to renew my question: is there a JSApi-way to hook frame data I can see in log file? I've found this: "
Configuration Command Class can be managed using our UI, you do not need to trap frames to use it." as a response in this forum but it doesn't satisfy me ;-)

Re: Command Class Meter Pulse (0x35) support

Posted: 06 Jan 2015 05:24
by pofs
No, there's not.
Frames are handled on the much lower level than JS, and there's no way to hook in even with C API.
Handling frames require quite a knowledge of serial API (which is not available to public), and a lot of effort with dynamically creating JS functions, so we decided not to bother with it.

Re: Command Class Meter Pulse (0x35) support

Posted: 16 Jan 2015 18:47
by kozlow
Hi,
now (-rc9-3-...) I can effectively read commandClass[0x35] data but only through JS/Run/zway... API.
CommandClass 0x35 data are missing with Run/Data dump API (I've forked ExpertUI and would like to add meter pulses output to Meters page). Could you fix this please? Thx by advance.

Re: Command Class Meter Pulse (0x35) support

Posted: 17 Jan 2015 18:35
by pofs
That's strange, as it just walks the entire data tree without any filtering. Please compare outputs from "/JS/Run/zway" and "/ZWaveAPI/Data/0", and see if it is present there.

Re: Command Class Meter Pulse (0x35) support

Posted: 17 Jan 2015 22:19
by kozlow
Strange indeed, see by yourself with attached (untouched) outputs. Device 22.

Re: Command Class Meter Pulse (0x35) support

Posted: 19 Jan 2015 21:26
by PoltoS
it is because of "supported = false".

Can you re-interview the device? this is because Z-Way have not made interview of this Class yet.

Re: Command Class Meter Pulse (0x35) support

Posted: 20 Jan 2015 00:20
by kozlow
Indeed, solved.
For info, I've submitted a pull request in GitHub ExpertUI repository to support MeterPulse display in Meters page.

Re: Command Class Meter Pulse (0x35) support

Posted: 21 Jan 2015 02:15
by PoltoS
Thanks, we are already evaluating it