XEON PWM is an application which I developed to control my server fans using my makeshift controller.
This is the backend part. It uses the ASP.NET Core framework. Settings and users are stored in a Sqlite database using the EF Core framework. SignalR (websocket) is used to update temperatures etc.
I chose to implement my own authentication scheme/handler because I did not want to use JWT for sessions and I did not like the built-in Identity system.
Links to related repos:
- React app: xeonpwm-ui
- manual mode
- automatic control based on current temperature
Here is how you can run the app:
- Clone the repo
- Change the settings (appsettings.(Development.)json))
cd XeonPwm.Api && dotnet run
Keep in mind that the API needs a working Arduino controller.