https://github.com/hobbyquaker/lirc-simulator
Rudimentary LIRC simulator
https://github.com/hobbyquaker/lirc-simulator
infrared lirc simulator testing
Last synced: 6 months ago
JSON representation
Rudimentary LIRC simulator
- Host: GitHub
- URL: https://github.com/hobbyquaker/lirc-simulator
- Owner: hobbyquaker
- License: mit
- Created: 2017-06-13T21:28:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-13T22:56:52.000Z (over 8 years ago)
- Last Synced: 2024-04-26T16:04:25.571Z (over 1 year ago)
- Topics: infrared, lirc, simulator, testing
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lirc-simulator
[](http://badge.fury.io/js/lirc-simulator)
[](https://gemnasium.com/github.com/hobbyquaker/lirc-simulator)
[](https://travis-ci.org/hobbyquaker/lirc-simulator)
[](https://github.com/sindresorhus/xo)
[![License][mit-badge]][mit-url]
> A rudimentary LIRC simulator
This tiny piece of software simulates a [lircd](http://www.lirc.org/) and is listening on 127.0.0.1:8765. It replies
`SUCCESS` without `DATA` to all received commands. 2 Seconds after a client connects it broadcasts a single button press
of `button1` of `remote1`. Another 2 seconds later `button2` will be pressed 3 times with incrementing repeat counter
and 400ms pause between each press. That's all. ;-)
I use this for automated testing of [lirc2mqtt](https://github.com/hobbyquaker/lirc2mqtt).
# Install
`npm install -g lirc-simulator`
# Usage
Just call `lirc-simulator` - there is no config file and no command line parameters.
# License
MIT © [Sebastian Raff](https://github.com/hobbyquaker)
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE