length of custom entities? #1700
Replies: 2 comments 2 replies
-
yes, INT and UINT (for unsigned) are both 1 byte/length with different ranges. It's int8 and uint8 in C/Java |
Beta Was this translation helpful? Give feedback.
-
The entities added here for #1463 are 4 byte long on the bus. In my case a 3 byte int with a 1 higher offset also worked, as the values are not that large and extraction from broadcasted value is sufficient. The additional polling by EMS-ESP for custom entities failed in my case:
similar polls from the MX300 internet gateway with 4 bytes suceeded:
This doesn't matter in my case as there are no updated values between the broadcasts, but that might be relevant for other entities. |
Beta Was this translation helpful? Give feedback.
-
ems-esp version 3.6.5
while defining custom entities on the search for missing entities, I wondered about the value length, as I could not read a 4 byte int.
When configuring some non-existent test entities
I got periodic scans
I did not expect length 1 for int and 3 for long. Is this intended?
Beta Was this translation helpful? Give feedback.
All reactions