{"id":24166059,"url":"https://github.com/jonathanvdc/smarthomeweb","last_synced_at":"2026-06-05T13:31:13.089Z","repository":{"id":88519369,"uuid":"51508149","full_name":"jonathanvdc/smarthomeweb","owner":"jonathanvdc","description":null,"archived":false,"fork":false,"pushed_at":"2016-05-17T21:05:38.000Z","size":17403,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-02T07:51:40.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanvdc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-11T10:37:25.000Z","updated_at":"2016-02-18T10:53:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e208a28f-c602-4a20-9bb0-6eec9b300adb","html_url":"https://github.com/jonathanvdc/smarthomeweb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonathanvdc/smarthomeweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanvdc%2Fsmarthomeweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanvdc%2Fsmarthomeweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanvdc%2Fsmarthomeweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanvdc%2Fsmarthomeweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanvdc","download_url":"https://codeload.github.com/jonathanvdc/smarthomeweb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanvdc%2Fsmarthomeweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33944671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-12T20:14:24.047Z","updated_at":"2026-06-05T13:31:13.068Z","avatar_url":"https://github.com/jonathanvdc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmartHome website\nProject for the 2015–2016 *Programming Project Databases* course at the University of Antwerp.\n\n## Build Status\n\n[![Build Status](https://travis-ci.org/jonathanvdc/smarthomeweb.svg?branch=master)](https://travis-ci.org/jonathanvdc/smarthomeweb)\n\n## Team\n* Sibert Aerts\n* Ken Bauwens\n* Pieter Hendriks\n* Jonathan Van der Cruysse\n* Mauris Van Hauwe\n\n## Getting SmartHomeWeb up-and-running\n\n### Prerequisites\n\nTo get SmartHomeWeb to work, you'll need the following:\n\n* A CLR implementation. We recommend .NET on Windows and Mono on Linux/Mac.\n* A C# 6.0 compiler: a recent version of `csc` for the .NET framework, or `mcs` for Mono.\n* An MSBuild-compatible build system: `msbuild` for the .NET framework, or `xbuild` for Mono.\n* A Python interpreter.\n* The `requests` Python module.\n* SQLite3.\n* The NuGet package manager.\n\n#### Windows\n\nRecent versions of Windows ship with the .NET framework pre-installed. `csc` and `msbuild` are bundled with Visual Studio.\n\n#### Linux\n\nOn Debian-based Linux distributions, punching in the following command should install Mono, `xbuild`, `mcs`, `sqlite3`, the `requests` module, and the NuGet package manager:\n\n```bash\n$ sudo apt-get install mono-complete mono-devel sqlite3 python-requests nuget\n```\n\n[Install Mono on Linux](http://www.mono-project.com/docs/getting-started/install/linux/) provides a more detailed guide on how to install Mono.\n\n#### Mac OS X\n\nThe server has not been tested on Mac OS X, so we can't certify it for that platform. Due to OS X's similarity to Linux, however, running it on Mac OS X may be worth a try.\n\n### Step one: compiling SmartHomeWeb\n\n#### Windows\n\nOne option is opening SmartHomeWeb `backend/SmartHomeWeb/SmartHomeWeb.sln` in the Visual Studio GUI, and compiling it in _Release_ mode from there. Alternatively, you can issue the following commands.\n\n```bash\n$ nuget restore backend\\SmartHomeWeb\\SmartHomeWeb.sln\n$ msbuild /p:Configuration=Release backend\\SmartHomeWeb\\SmartHomeWeb.sln\n```\n\n#### Mono\n\nAnalogous to the Windows shell command:\n\n```bash\n$ nuget restore backend/SmartHomeWeb/SmartHomeWeb.sln\n$ xbuild /p:Configuration=Release backend/SmartHomeWeb/SmartHomeWeb.sln\n```\n\n### Step two: initializing the database\n\nThe following command should fill the database nicely, where `30` is the number of days you'd like to generate measurements for:\n\n```bash\n$ python init-db.py 30\n```\n\nAn alternate approach would be to manually create a database (from a database dump, or\nfrom `backend/database/smarthomeweb.sql`), and move it to `backend/database/smarthomeweb.db`.\n\n### Step three: running the server\n\nThe server can be started with the following command:\n\nWindows:\n\n```bash\n$ backend\\SmartHomeWeb\\SmartHomeWeb\\bin\\Release\\SmartHomeWeb.exe\n```\n\nMono:\n\n```bash\n$ mono ./backend/SmartHomeWeb/SmartHomeWeb/bin/Release/SmartHomeWeb.exe\n```\n\n__Note__: it is imperative that you run these commands from the project's top-level folder. For example, it is unlikely that running `mono SmartHomeWeb.exe` from `backend/SmartHomeWeb/SmartHomeWeb/bin/Release` will work.\n\n__Pro tip__: the server uses port TCP port _8088_ for all of its communication, so it can be killed by the command below if its process is accidentally detached from the current terminal.\n\n```bash\n$ fuser -k -n tcp 8088\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanvdc%2Fsmarthomeweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanvdc%2Fsmarthomeweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanvdc%2Fsmarthomeweb/lists"}