Thomas More - 1ITF - Project Windows System Administration
This repository has been archived on 2026-06-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C# 95.1%
  • PowerShell 4.9%
Find a file
2021-04-02 09:58:22 +02:00
model First commit; 2021-04-02 08:52:38 +02:00
.gitignore First commit; 2021-04-02 08:52:38 +02:00
install.ps1 Install script for Windows 2021-04-02 09:58:22 +02:00
Program.cs First commit; 2021-04-02 08:52:38 +02:00
project-wsa-1.csproj First commit; 2021-04-02 08:52:38 +02:00
README.md Updated README 2021-04-02 09:05:56 +02:00
WebRequest.cs First commit; 2021-04-02 08:52:38 +02:00

Project Windows System Administration

The purpose of this project is to create a .NET Core application. I have chosen to count the time that any light in my house has been on since midnight. This has been done by using the Home Assistant API together with C# and the HttpClient.

This program makes use of environment variables.

Required Name Description
Yes HASS_API_KEY The Home Assistant API key.
Yes HASS_API_ENDPOINT The URL for the Home Assistant API.
Yes HASS_ENTITY_ID The entity you want to process.