Skip to content

Commit

Permalink
v1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lich426 committed Nov 25, 2022
1 parent 4e71007 commit 5645e55
Show file tree
Hide file tree
Showing 133 changed files with 14,112 additions and 437 deletions.
5 changes: 5 additions & 0 deletions App.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="locale"/>
</assemblyBinding>
</runtime>
</configuration>
315 changes: 168 additions & 147 deletions FanCtrl.csproj

Large diffs are not rendered by default.

50 changes: 0 additions & 50 deletions FanCtrl/Hardware/Control/BaseControl.cs

This file was deleted.

57 changes: 57 additions & 0 deletions Plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Plugins

FanCtrl supports external programs through the socket communication plugin.<br>

## How to use it
![11](https://user-images.githubusercontent.com/26077884/203911641-785929b7-703b-40a9-b7dc-dc53cfb3ed71.png)
- If you check Plugin in the option, Plugin button is created on the main screen<br><br>
![3](https://user-images.githubusercontent.com/26077884/203911900-d8bea006-1439-4dde-b47a-9525d9ba0e69.png)
- ① Set up a server to support Plugins<br>
- ② The connected client is displayed<br>
- ③ Create a Temperature sensor (The same key cannot be used)<br>
- ④ Create a Fan speed (The same key cannot be used)<br>
- ⑤ Create a Fan control (The same key cannot be used)<br><br>
![4](https://user-images.githubusercontent.com/26077884/203912779-ae642268-cb6a-45a2-be6b-1c3888d83435.png)
- Once set, the Plugin sensor appears on the main screen.<br>

## Structure
![3333](https://user-images.githubusercontent.com/26077884/203915325-47bd8573-5c46-4843-980f-13a6486e0746.png)
- Send the temperature sensor and rpm data read by your program to FanCtrl.
- FanCtrl sends pwm data to your program.

## Packet
- The packet is simple. start with STX(0xFA) at the beginning, followed by data size, and data.<br>
- The data is a json string.<br><br>
![4444](https://user-images.githubusercontent.com/26077884/203922229-931b804f-0a28-40ff-b3e9-c4e3f352f990.png)

### Json
- The json string to send to FanCtrl can be sent as follows.<br>
- type : 0 (temperature), 1 (fan speed)<br>
```json
{
"list" : [
{
"key" : "1",
"type" : 0,
"value" : 50
},
{
"key" : "2",
"type" : 1,
"value" : 2000
}
]
}
```

- The json string FanCtrl sends to your program is
- type : 2 (fan control)
```json
{
"key" : "3",
"type" : 2,
"value" : 50
}
```
## Example
- https://github.com/lich426/FanCtrl_Plugin
6 changes: 3 additions & 3 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
[assembly: AssemblyVersion("1.5.3")]
[assembly: AssemblyFileVersion("1.5.3")]
[assembly: AssemblyInformationalVersion("1.5.3")]
[assembly: AssemblyVersion("1.5.4")]
[assembly: AssemblyFileVersion("1.5.4")]
[assembly: AssemblyInformationalVersion("1.5.4")]
Loading

0 comments on commit 5645e55

Please sign in to comment.