2020-09-21 01:58:32 +02:00
# Folding@home Binding
2021-05-06 22:26:05 +02:00
Binding for the [Folding@home ](https://folding.stanford.edu/ ) distributed computing software.
2020-09-21 01:58:32 +02:00
2021-05-06 22:26:05 +02:00
This binding can control multiple Folding@home clients and slots, using the TCP interface.
Clients are modeled as bridges, and support adding any number of slots (though, usually CPU and GPU).
2020-09-21 01:58:32 +02:00
The binding provides control over Run / Pause and Finish.
2021-05-06 22:26:05 +02:00
It polls for the status of the client, updates the run / pause state, and provides a basic description of the slot.
2020-09-21 01:58:32 +02:00
2021-05-06 22:26:05 +02:00
The clients must be added manually in the UI, but the slots for a client will then appear using auto-discovery.
2020-09-21 01:58:32 +02:00
## Requirements (network access to F@H)
2021-05-06 22:26:05 +02:00
The Folding@home TCP interface is enabled only on localhost by default, without a password.
In order to allow control of Folding on other machines than the one running openHAB, it is necessary to configure the Folding client to accept commands from a non-localhost address.
2020-09-21 01:58:32 +02:00
Here is how to do it in the FAHControl application:
- Open FAHControl on the client to be added
- Click on Configure, then the Remote Access tab
- Enter a password twice (invent one)
- Locate the Allow box under IP Address Restrictions
- Append a space and the IP address of the machine running openHAB to the text in that box, so it reads something like `127.0.0.1 192.168.1.2`
You should now have access to the client, configure it using the password and
IP address in the manual thing configuration interface.