{"id":33051677,"url":"https://github.com/OpenCCU/ReGaHss-Test","last_synced_at":"2025-11-18T21:01:18.417Z","repository":{"id":37979331,"uuid":"108766738","full_name":"OpenCCU/ReGaHss-Test","owner":"OpenCCU","description":"Automated System Tests of \"ReGaHss\" - the HomeMatic (O)CCU \"Logic Layer\" Engine...","archived":false,"fork":false,"pushed_at":"2025-10-13T08:18:26.000Z","size":1054,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-20T05:56:42.610Z","etag":null,"topics":["ccu","homematic","occu","openccu","raspberrymatic","rega","regahss","system-tests","test-automation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/OpenCCU.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-29T20:02:26.000Z","updated_at":"2025-09-16T16:57:42.000Z","dependencies_parsed_at":"2024-06-11T01:55:53.130Z","dependency_job_id":"ba12e89e-8465-4bb8-9e09-d5c58c25a3c0","html_url":"https://github.com/OpenCCU/ReGaHss-Test","commit_stats":null,"previous_names":["openccu/regahss-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenCCU/ReGaHss-Test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCCU%2FReGaHss-Test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCCU%2FReGaHss-Test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCCU%2FReGaHss-Test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCCU%2FReGaHss-Test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenCCU","download_url":"https://codeload.github.com/OpenCCU/ReGaHss-Test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCCU%2FReGaHss-Test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285138471,"owners_count":27121052,"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","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"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":["ccu","homematic","occu","openccu","raspberrymatic","rega","regahss","system-tests","test-automation"],"created_at":"2025-11-14T03:00:28.327Z","updated_at":"2025-11-18T21:01:18.408Z","avatar_url":"https://github.com/OpenCCU.png","language":"JavaScript","funding_links":[],"categories":["Misc Software"],"sub_categories":[],"readme":"# ReGaHss Testing Environment\n[![CI](https://github.com/jens-maus/occu-test/workflows/CI/badge.svg)](https://github.com/jens-maus/occu-test/actions)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![Known Vulnerabilities](https://snyk.io/test/github/jens-maus/occu-test/badge.svg)](https://snyk.io/test/github/jens-maus/occu-test)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nThis repository performs automated daily system tests of `ReGaHss` - the HomeMatic (O)CCU \"Logic Layer\" engine. It uses a [mocha](https://github.com/mochajs/mocha)-based node.js testing framework to test all published `ReGaHss` binaries in the [OCCU](https://github.com/eq-3/occu) environment published by eQ3. Beside testing common corner cases of the embedded scripting language of ReGaHss this testing framework also tests for security vulnerabilities.\n\nRecent test results for the different build flavors of ReGaHss can be viewed here:\n\n[![](http://github-actions.40ants.com/jens-maus/occu-test/matrix.svg?only=ci.build)](https://github.com/jens-maus/occu-test/actions)\n\n## HOWTO run the tests locally\n```bash\n# Start the travis container\ndocker run --name travis -dit quay.io/travisci/travis-ruby /sbin/init\n\n# Get a shell\ndocker start travis\ndocker exec -it travis bash -l\n\n# Install Node.js\nnvm install 10\n\n# Clone the repo\ncd /home/travis\ngit clone https://github.com/jens-maus/occu-test\n\n# Install dependencies\ncd occu-test\nnpm install\n\n# Run the tests\nnpm test\n```\n\n## homematic.regadom\n\nReGaHss is started with a prebuilt `homematic.regadom` which contains the following variables, programs and objects:\n\n#### Variables\n\n* VarBool1 - id: 1237\n* VarEnum1\n* VarNum1\n* VarString1\n\n#### Programs\n\n* Bool1OnFalse - BidCoS-RF:13 PRESS_LONG\n* Bool1OnTrue - BidCoS-RF:12 PRESS_LONG\n* Bool1OnFalseUpdate - BidCoS-RF:14 PRESS_LONG\n* Bool1OnTrueUpdate - BidCoS-RF:15 PRESS_LONG\n* TimeEveryMinute - id: 1302 - BidCoS-RF:50 PRESS_LONG\n* Time0100 - id: 1314 - BidCoS-RF:11 PRESS_LONG\n* Time0130 - id: 1430 - BidCoS-RF:20 PRESS_LONG\n* Time0155 - id: 1458 - BidCoS-RF:21 PRESS_LONG\n* Time0200 - id: 1470 - BidCoS-RF:22 PRESS_LONG\n* Time0205 - id: 1498 - BidCoS-RF:23 PRESS_LONG\n* Time0230 - id: 1510 - BidCoS-RF:24 PRESS_LONG\n* Time0255 - id: 1522 - BidCoS-RF:25 PRESS_LONG\n* Time0300 - id: 1534 - BidCoS-RF:26 PRESS_LONG\n* Time0305 - id: 1546 - BidCoS-RF:27 PRESS_LONG\n* Time0330 - id: 1558 - BidCoS-RF:28 PRESS_LONG\n* Key16Key17 - on BidCoS-RF:16 PRESS_LONG =\u003e BidCoS-RF:17 PRESS_LONG\n* Key1 - on BidCos-RF:1 PRESS_SHORT =\u003e BidCoS-RF:2 PRESS_LONG\n\n## Todo\n\n* test all examples of the official homematic script documentation **wip**\n* test script error handling **wip**\n* test popular scripts published on homematic-inside.de and homematic-forum.de **wip**\n* extend regadom with more testvars/programs/devices\n* add more devices to rfd and hmipserver simulator and add them to regadom\n* test device interactions (add/delete/readyconfig, test programs, ...) **wip**\n* trigger travis builds on commits in occu repository\n* test variable creation/deletion via script\n* test room/function creation/deletion via script\n* test room/function assignment creation/deletion\n* test program creation via script\n* WebUI tests?\n* ...\n\n## Links\n\n* [OCCU](https://github.com/eq-3/occu)\n* [hm-simulator](https://github.com/hobbyquaker/hm-simulator) (simulates rfd/hmipserver)\n* [ccu x86 docker image](https://hub.docker.com/r/litti/ccu2/) (used for creation of the prebuilt homematic.regadom)\n* [homematic-rega](https://github.com/hobbyquaker/homematic-rega) (Node.js Homematic CCU ReGaHSS Remote Script Interface)\n\n## Contributing\n\nHelp and Feedback highly appreciated, Pull Requests Welcome! :-)\n\n## License\n\nMIT (c) 2017-2020 [Jens Maus](https://github.com/jens-maus), [Sebastian Raff](https://github.com/hobbyquaker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenCCU%2FReGaHss-Test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpenCCU%2FReGaHss-Test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenCCU%2FReGaHss-Test/lists"}