-
Dear all, I have got an ebusd shield 5, rpi 5, node red mqtt emoncms set up, all working fine. I know the ebus wiki. Next step would be to understand message definition files fully, in order to see whether I can improve the files. The master part I get, certain bytes in the message form the key to look up a line in the message definition file. However I am not able to get my head around the slave part of the message. For example, if columns in definition file ctvl2 are: type (r[1-9];w;u),circuit,name,[comment],[QQ],ZZ,PBSB,[ID],field1,part (m/s),datatypes/templates,divider/values,unit,comment,field2,part (m/s),datatypes/templates,divider/values,unit,comment,field3,part (m/s),datatypes/templates,divider/values,unit,commentgrab result: f115b52406020003001400 / 08010314000000a041 = 1: ctlv2 z1ActualHeatingRoomTempDesired. the definition file determines tempv as the datatype, however that is not an existing datatype, so how is the code then interpreted.... I hope somebody can get me on the right track. I could not find a description clear enough for me. best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If message definitions are already there in the CSV (as in your case) it's easy. It's a good idea to look at the message definition and the message defaults above, e.g.:
Here, the IGN:4 in the default definition means the first 4 bytes of the slave response (after the first byte indicating length of the response) are ignored. In case of
this means The datatype
If you use
and check the output for datatype EXP or simply type
you will see that the result is '20' (20°C, the actual desired room temperature for zone 1). Of course, if the message definitions are still unknown decoding is a bit more tricky. As far as I know this repo https://github.com/jonesPD/ebusd-configuration has the most complete set of definitions for the |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot Chriszzzp. Clear, from the wiki example in how to's I was under the impression that a simple hex to dec conversion should give a hint what the number could be, However all data types should be tried to find potential meanings. The converter below I also found. Also btw I did not realise that the help function in ebusctl can also be for a specific command, this also clarifies a lot. https://gregstoll.com/~gregstoll/floattohex/ |
Beta Was this translation helpful? Give feedback.
@JGJ156
If message definitions are already there in the CSV (as in your case) it's easy. It's a good idea to look at the message definition and the message defaults above, e.g.:
Here, the IGN:4 in the default definition means the first 4 bytes of the slave response (after the first byte indicating length of the response) are ignored.
In case of
f115b52406020003001400 / 08010314000000a041 = 1: ctlv2 z1ActualHeatingRoomTempDesired
this means
01031400
is ignored and the actual bytes evaluated are:0…