Open toshibochan opened 3 years ago
This plugin was never really written with the intention to be used beyond my specific implementation. That being said, I anticipate others could find this useful (with more work). You really need to understand the code in accessory.ts to be able to use/modify this plugin effectively.
Here's an example config. This requires relays or transistors to be wired up to a remote that controls the fan on specific gpio ports on an rPI (see accessory.ts for more info on what pins to wire up):
{
"accessories": [
{
"accessory": "GpioFan",
"name": "Fan 1",
"id1": false,
"id2": false,
"id3": false,
"id4": true
},
{
"accessory": "GpioFan",
"name": "Fan 2",
"id1": false,
"id2": false,
"id3": false,
"id4": false
}
]
}
If I get some time in the future (or some support to make time for it) I'd be happy to make this a little more reusable.
Thank you so much! Later I will explore and try modify
please you can add config example