14.02.2025, 11:59
(14.02.2025, 11:35)Daniel Wrote: Use value_bitmask in profile.
https://forum.logicmachine.net/showthrea...29#pid6729
Hello Daniel,
Can you provide an example how to read and write fan speed ?
I don't have it with me to test, but could it be something like that?
Example to read and write fan speed:
{
"name": "fan speed",
"bus_datatype": "",
"datatype": "",
"type": "register",
"address": 0,
"writable": ,
"write_only": ,
"write_multiple": ,
"value_bitmask": ,
"value_custom" : {"0" : "auto", "1" : "min", "2" : "med", "3" : "max"}
},