What i did so far:
Wrote a plugin that reads several measurements (3 x Temp, 2 x PWM, 2 x error, 4 x status) from a RESOL DeltaSol Pro controller over the serial port.
Now that i got these values inside my plugin, i wonder how to further transfer/publish them.
As far as i saw, the number of values is limited to the following types:
Code: Select all
#define SENSOR_TYPE_SINGLE 1
#define SENSOR_TYPE_TEMP_HUM 2
#define SENSOR_TYPE_TEMP_BARO 3
#define SENSOR_TYPE_TEMP_HUM_BARO 4
#define SENSOR_TYPE_SWITCH 10
#define SENSOR_TYPE_DIMMER 11
#define SENSOR_TYPE_LONG 20
However i don't wanna modify code outside my plugin and it does not seem to be a good solution either.
Could the use of "ports" be the right solution?
But in my understanding ports should all be of the same type - not as in my case a mixture of different measurement types.
So, can somebody please support me in finding the proper solution to this problem.
Thanks
chunter