Open jschaeke opened 7 years ago
Same for me, I report a issue https://github.com/domogik/domogik/issues/482 to have a "three-valued logic" datatype.
Can you had your request in the issue to support this idea and give your datatype child example like this:
"DT_TriUpDown": {
"usage" : "Use Updown to control or get the status of devices that can be up or down (rolling shutter, barrier, ...)",
"example" : "0 (Up) | 1 (Down)",
"labels": {
"0": "Up",
"1": "Down",
"-1": "Pause" or other
},
"parent": "DT_Bool",
"childs": []
},
I could add a Domoweb widget after the new datatype will be create.
My next project at my home is to integrate the shutters by using 2 relais to control one shutter to get up and down (only one can be active at a given time, so 3 states: nothing, up, down). Is this feasible with mqtt plugin?