{"id":13604846,"url":"https://github.com/hobbyquaker/hm-simulator","last_synced_at":"2025-04-14T18:22:43.738Z","repository":{"id":57264613,"uuid":"89813317","full_name":"hobbyquaker/hm-simulator","owner":"hobbyquaker","description":"Simulates (partly) a Homematic CCU","archived":false,"fork":false,"pushed_at":"2019-10-02T20:28:30.000Z","size":487,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T06:51:10.740Z","etag":null,"topics":["homematic","simulator","smarthome","testing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/hobbyquaker.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}},"created_at":"2017-04-29T21:15:25.000Z","updated_at":"2022-11-03T06:30:14.000Z","dependencies_parsed_at":"2022-08-25T02:52:16.002Z","dependency_job_id":null,"html_url":"https://github.com/hobbyquaker/hm-simulator","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/hobbyquaker%2Fhm-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobbyquaker%2Fhm-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobbyquaker%2Fhm-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobbyquaker%2Fhm-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hobbyquaker","download_url":"https://codeload.github.com/hobbyquaker/hm-simulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564657,"owners_count":21125408,"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":["homematic","simulator","smarthome","testing"],"created_at":"2024-08-01T19:00:51.903Z","updated_at":"2025-04-14T18:22:43.712Z","avatar_url":"https://github.com/hobbyquaker.png","language":"JavaScript","funding_links":[],"categories":["Misc Software"],"sub_categories":[],"readme":"# hm-simulator\n\n[![NPM version](https://badge.fury.io/js/hm-simulator.svg)](http://badge.fury.io/js/hm-simulator)\n[![Dependency Status](https://img.shields.io/gemnasium/hobbyquaker/hm-simulator.svg?maxAge=2592000)](https://gemnasium.com/github.com/hobbyquaker/hm-simulator)\n[![Build Status](https://travis-ci.org/hobbyquaker/hm-simulator.svg?branch=master)](https://travis-ci.org/hobbyquaker/hm-simulator)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![License][mit-badge]][mit-url]\n\n\u003e Simulates (partly) a Homematic CCU\n\n\n## Installation\n\nPrerequisites: [Node.js](https://nodejs.org) \u003e= 6.0\n\n`npm install -g hm-simulator`\n\n\n## What for?\n\nThis can be used for automated tests of software connecting to a Homematic CCU\n\n\n## What does it do?\n\n**Warning: This is far away from a complete simulation and still work in progress** Until now I'm only implementing what \nI needed for basic tests of [hm2mqtt.js](https://github.com/hobbyquaker/hm2mqtt.js).\n\n* Simulated rfd, [binrpc](https://github.com/hobbyquaker/binrpc) only, interface on port 2001\n* Simulated hmipserver, xmlrpc only, interface on port 2010\n\n\n### RPC methods implemented until now\n\n**incoming:**\n\n* init \n* ping\n* system.listMethods\n* getParamsetDescription\n\n\n**outgoing:**\n\n* listDevices\n* newDevices \n* deleteDevices \n* event\n* system.multicall \n\n\n### Scripting\n\nIn the behaviors directory are two example scripts:\n\n * `virtual-button-press.js` triggers a `PRESS_SHORT` on `BidCoS-RF:1` every 5 seconds.\n * `window-open-close.js` opens and closes `0000D3C98C9233:1` every 30 seconds.\n\n\n## Todo\n\n* bugfixes...\n* extend script api\n* more behavior examples\n* more rfd devices\n* correct error responses to invalid methodCalls\n* incoming getParamset\n* MASTER, MAINTENANCE and LINK paramsets\n* service messages, incoming getServiceMessages\n* incoming putParamset\n* rega listener on port 8181, rega script mocking \n* ... many more... ;)\n\n\n## Contributing\n\nPull Request welcome! :-)\n\n\n## License\n\nMIT \nCopyright (c) 2017 Sebastian Raff\n\n[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat\n[mit-url]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhobbyquaker%2Fhm-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhobbyquaker%2Fhm-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhobbyquaker%2Fhm-simulator/lists"}