Greetings,
I’m developing integration for my heater controller. Controller is pretty old and can only be contacted via serial port (USB to COM). It has it’s own control software that I use to reverse engineer hex messages for controller.
Long story short: there is a certain command that when issued gives me array of controller status data (temperature, voltage, heater status, etc.). There are 8 “sensor” and 4 “switch” fields in total.
Situation is that I need this data update every 0.5 seconds.
If I make regular entities as development guide advices it will make 8 queries to get individual parameters. Considering that serial communication has some latency, it will take more than a second to get all 8 “sensors”.
Now here’s the question. Every query cycle gives me list with update of all parameters. Is there a way to add single data source so entities will use n-th element of list instead of whole list?