{"id":23429027,"url":"https://github.com/janpalasek/smart-home-server","last_synced_at":"2025-08-03T16:32:31.084Z","repository":{"id":47513963,"uuid":"199059461","full_name":"JanPalasek/smart-home-server","owner":"JanPalasek","description":"Server that is supposed to handle everything what smart home requires.","archived":false,"fork":false,"pushed_at":"2022-11-11T19:56:00.000Z","size":481,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T07:30:58.575Z","etag":null,"topics":["csharp","smart-home"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JanPalasek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-26T17:56:45.000Z","updated_at":"2024-11-22T16:30:27.000Z","dependencies_parsed_at":"2022-09-23T12:03:59.994Z","dependency_job_id":null,"html_url":"https://github.com/JanPalasek/smart-home-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanPalasek%2Fsmart-home-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanPalasek%2Fsmart-home-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanPalasek%2Fsmart-home-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanPalasek%2Fsmart-home-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanPalasek","download_url":"https://codeload.github.com/JanPalasek/smart-home-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248046000,"owners_count":21038674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","smart-home"],"created_at":"2024-12-23T07:16:28.460Z","updated_at":"2025-04-09T13:22:47.025Z","avatar_url":"https://github.com/JanPalasek.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmartHome Server\nServer that is supposed to handle everything what smart home requires. It communicates with sensors and displaying aggregated results. Additionally it also provides API for performing file backups.\n\n[![Build Status](https://dev.azure.com/janpalasek/smart-home-server/_apis/build/status/JanPalasek.smart-home-server?branchName=master)](https://dev.azure.com/janpalasek/smart-home-server/_build/latest?definitionId=2\u0026branchName=master)\n\n## Requirements\n- .NET Core 3.1\n- MySQL database\n\n## How to install\n1. Clone the project and change working directory into smart-home-server.\n    ```bash\n    git clone https://github.com/JanPalasek/smart-home-server\n   # for linux\n    cd smart-home-server\n    ```\n2. Create SmartHome database and user with privileges.\n    ```\n   # run mysql command line\n   sudo mysql\n    ```\n   \n   ```mysql\n   CREATE USER 'HomeUser' IDENTIFIED BY 'noPass1234';\n   GRANT ALL PRIVILEGES ON *.* TO 'HomeUser';\n   CREATE DATABASE SmartHome;\n   ```\n3. Create tables and push basic test data\n    ```\n   # create tables\n    mysql --user=\"HomeUser\" --database=\"SmartHome\" -p\"noPass1234\" \u003c \"Scripts/RenewDb.sql\"\n    # insert test data\n    mysql --user=\"HomeUser\" --database=\"SmartHome\" -p\"noPass1234\" \u003c \"Scripts/RenewTestData.sql\"\n    ```\n4. Restore all nugget packages\n    ```\n    cd SmartHome.Web\n    dotnet restore\n    ```\n5. Download all required npm packages\n   ```\n   # expected directory: SmartHome.Web\n   npm install\n   ```\n6. Create configuration files from defaults, for example from *appsettings.development.json.defaults* create a valid *appsettings.development.json* replacing some placeholders.\n   \n ## How to run\n Go to *SmartHome.Web* directory and run\n```\ndotnet build\ndotnet run\n```\n\n## How to run rests\nGo to project root directory and run\n```\ndotnet test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanpalasek%2Fsmart-home-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanpalasek%2Fsmart-home-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanpalasek%2Fsmart-home-server/lists"}