{"id":18010174,"url":"https://github.com/chkr1011/ha4iot","last_synced_at":"2025-03-26T14:31:54.653Z","repository":{"id":94202481,"uuid":"41593507","full_name":"chkr1011/HA4IoT","owner":"chkr1011","description":"Open Source Home Automation system for .NET","archived":false,"fork":false,"pushed_at":"2018-10-14T20:11:51.000Z","size":122567,"stargazers_count":154,"open_issues_count":1,"forks_count":74,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-10-30T03:49:24.218Z","etag":null,"topics":["actuators","alexa","hardware","home-automation","humidity","i2c","iot","motion-detector","raspberry-pi","roller-shutters","sensor","smart-home","temperature","webapp","windows-10"],"latest_commit_sha":null,"homepage":"https://www.hackster.io/cyborg-titanium-14/home-automation-system-using-raspberry-pi-784235","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chkr1011.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,"governance":null}},"created_at":"2015-08-29T13:00:17.000Z","updated_at":"2024-07-27T09:48:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"b11a69e5-32c6-465a-a858-4e75a25f16ce","html_url":"https://github.com/chkr1011/HA4IoT","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkr1011%2FHA4IoT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkr1011%2FHA4IoT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkr1011%2FHA4IoT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkr1011%2FHA4IoT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chkr1011","download_url":"https://codeload.github.com/chkr1011/HA4IoT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245670777,"owners_count":20653422,"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":["actuators","alexa","hardware","home-automation","humidity","i2c","iot","motion-detector","raspberry-pi","roller-shutters","sensor","smart-home","temperature","webapp","windows-10"],"created_at":"2024-10-30T02:13:13.384Z","updated_at":"2025-03-26T14:31:49.634Z","avatar_url":"https://github.com/chkr1011.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Attention! This project is no longer maintained and obsolete. The successor of this project is called 'Wirehome.Core' (https://github.com/chkr1011/Wirehome.Core).**\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/Logo_256.png?raw=true\" width=\"128\"\u003e\n\u003c/p\u003e\n\n# HA4IoT\nHA4IoT (Home Automation for Internet of Things) is an Open Source Home Automation application running on Windows 10 IoT Core. It allows integration of different hardware actuators and sensors. It also provides a HTML/JavaScript based WebApp to control the system. But also other external services like Alexa, Twitter, Telegram etc. are supported.\n\n## Raspberry Pi\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/Pi2.JPG?raw=true\" width=\"375\"\u003e\n\u003c/p\u003e\nThe core application of this project is running under Windows 10 IoT Core which is available for free and runs on a Raspberry Pi 2/3 for example. But any other compatible board is supported.\n\n## Amazon Alexa support\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/Echo.jpg?raw=true\" width=\"256\"\u003e\n\u003c/p\u003e\n\nThis project contains a _Custom Skill_ for Amazon Alexa (Echo and Echo Dot) which allows controlling actuators via speech commands and ask for sensor status like open windows etc. \n\n### Demos\n* Turn lamp on and off: https://www.youtube.com/watch?v=9089vAgu2pQ\n* Turn device on and off: https://youtu.be/RaIP7T-nLUs\n\n## CCTools support\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/HSRel5.jpg?raw=true\" width=\"256\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/HSPE16.jpg?raw=true\" width=\"256\"\u003e\n\u003c/p\u003e\n\nThis project has build in support for many devices from _CCTools_ (www.CCTools.eu) like I2C based relay boards and I2C port expanders. Support boards from _CCTools_ are:\n* HSRel5\n* HSRel8(+8)\n* I2C-Port16-HS\n* PCF-Ports-HS\n\nBut also other compatible I2C boards based on _PCF8574_, _PCA9555_ or _MAX7311_ are supported.\n\n## 433 MHz support\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/LPD.jpg?raw=true\" height=\"256\"\u003e\n\u003c/p\u003e\n\nControlling old 433 MHz devices is supported via using a I2C or WiFi -\u003e 433 MHz sender bridge. The bridge is based on Arduino/ESP8266. Also recording 433 MHz signals like from a TV remote is supported.\n\n## Itead Studio Sonoff supported\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/Sonoff.jpg?raw=true\" height=\"256\"\u003e\n\u003c/p\u003e\n\nThis project has build in  support for several _Sonoff_ devices from Itead Studio (www.itead.cc). But it is necessary to replace the firmware with a different one. More information can be found here: https://github.com/arendst/Sonoff-Tasmota\n\n## LUA scripting support\nWrite your own scripts using the scripting language LUA to write powerful automations or interacting with your hardware.\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Screens/Script_1.png?raw=true\" height=\"796\"\u003e\n\u003c/p\u003e\n\n## Extensible\nIt is possible to add _Adapters_ for different hardware. I2C bus and MQTT broker are already available in the project.\n\n## Cloud based access\nThe HA4IoT WebApp is able to communicate with the controller (Raspberry Pi i.e.) using the Azure cloud. This feature requires an Azure subscription and is optionally.\n\n## Build in actuators and sensors\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/chkr1011/HA4IoT/blob/master/Media/Images/Overview2.png?raw=true\" width=\"796\"\u003e\n\u003c/p\u003e\nLots of actuators and sensors are already implemented in this project and can be reused. It is also possible to add custom actuators and sensors.\n\n## Awards\nThis project was one of the winners of the \"Windows 10 Home Automation\" contest at Hackster.io. The project documentation is also available at hackster.io ([https://www.hackster.io/cyborg-titanium-14/ck-homeautomation](https://www.hackster.io/cyborg-titanium-14/ck-homeautomation)).\n\u003e This brilliant project explores uncharted home-automation territory; it even includes a cat litterbox controller, which detects the cat and channels the air into an outdoor flue! Be sure to check out the whole hack; it's an incredible embedded system with extensive wiring built right into the house.\n\u003e\nhackster.io (https://www.hackster.io/blog/win-10-winners)\n\n## Contributors\nIf you are interested in supporting this project in any way feel free to contact me. We are a growing community which needs your support.\n\n## Key features\n* Virtual actuators like push buttons, motion motion detectors, lamps, sockets, roller shutters which can be interconnected using a fluent API\n* Responsive WebApp for iOS, Android, OSX and Windows\n* Highly configurable automations with complex conditions\n* Predefined conditions depending on sunrise, sunset, time, state of other actuators, position of roller shutters, motion detected\n* Predefined common automations like automated lights, roller shutters etc.\n* Software architecture using several layers which allows for transparent configuration of inputs and outputs across the used hardware\n* Optional integration of Microsoft Azure EventHubs to allow for analysis of actuator states or power consumption statistics\n* Optional CSV log containing all state changes of every actuator which allows for analysis of actuator states or power consumption\n* UDP broadcasted debug traces\n* Powerful RESTful API\n* Complete with fritzing sketches and documentation to build devices like 433Mhz sender, sensors etc. on your own\n\n## Built-in automations\n* Opening roller shutters after sunrise\n* Closing roller shutters after sunset\n* Closing roller shutters if outside temperature reaches a custom value (intended for rooms below the roof)\n* Prevent automatic opening of roller shutters if they maybe frozen (checking of outside temperature)\n* Prevent automatic opening of roller shutters if sunrise is too early (before your alarm clock)\n* Automatic light based on motion detectors\n* Autoamtic light based on time\n* Autoamtic lights can be configured to be only active at night\n* Disable automatic light if another light is already active\n* Disable every actuator temporary\n* The project provides a powerful condition framework which allows creating of complex autoamtions using C#\n\n## Personal Agent\nRegister a free bot for the messenger \"Telegram\" and let the bot control the home. Just tell him what he should do. The bot also supports giving status information like Weather information (Temperature, Humidity etc.), Window states (Open, Closed), Sensor values (Temperature, Humidity) etc. The bot will also send errors and warnings from the log to administrative users (which are defined in the configuration file). Every user who want's to interact with the bot must be added to a whitelist to ensure a high level of privacy.\n\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/PA_1.png?raw=true\" width=\"100%\"\u003e\n\n## App\nEvery actuator can be controlled using the web app which is hosted at the Raspberry Pi 2 using the build in webserver. The language for the examples is German but translation of each UI element is supported. The app shows every rooms/areas and provides several overviews like the overview of all temperature sensor. The app is based on Bootstrap and AngularJS and runs on Smartphones, Tables, PCs etc.\n\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/App_1.png?raw=true\" width=\"100%\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/App_2.png?raw=true\" width=\"100%\"\u003e\n\n## Management App\nThe management app is an HTML/JavaScript application based on AngularJS and Bootstrap which is used the configure all areas, components, automations etc. It is deployed to the controller (Raspberry Pi 2 i.e.) and can be also used to create backups from the configuration.\n\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/MA_1.png?raw=true\" width=\"100%\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/MA_2.png?raw=true\" width=\"100%\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/MA_3.png?raw=true\" width=\"100%\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/MA_4.png?raw=true\" width=\"100%\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/MA_5.png?raw=true\" width=\"100%\"\u003e\n\u003cimg src=\"https://github.com/chkr1011/CK.HomeAutomation/blob/master/Media/Screens/MA_6.png?raw=true\" width=\"100%\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchkr1011%2Fha4iot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchkr1011%2Fha4iot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchkr1011%2Fha4iot/lists"}