# External rule engine – prend (python3, rest)

**URL:** <https://community.openhab.org/t/external-rule-engine-prend-python3-rest/59574>\
**Category:** Scripts & Rules\
**Tags:** restapi, notifications, rule-engine\
**Created:** [December 12, 2018, 10:17am UTC](https://community.openhab.org/t/external-rule-engine-prend-python3-rest/59574 "2018-12-12T10:17:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raulix](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/dc4da7/32.png) [@raulix](https://community.openhab.org/u/raulix)\
**Post date:** [December 12, 2018, 10:17am UTC](https://community.openhab.org/t/external-rule-engine-prend-python3-rest/59574/1 "2018-12-12T10:17:50Z")

</div>

just as information…

I provided an “external rule engine” for OpenHAB.

Features:

- connects to OpenHAB via REST API
- gets updated by change notifications about state changes of items, groups, things
- reads and caches states of items, groups and things.
- change states via COMMANDs and UPDATEs
- write your own rule classes, subscribe for state changes and cron events
- runs as daemon (command line interface: --start/–stop; so far no service script for a system daemon)
- programming language: Python 3 (use your favorite tools incl. debugger, unittests, code inspection)

Disclaimer:

- Python programming skills required.

Homepage: [GitHub - rosenloecher-it/prend: an external rule engine for OpenHAB](https://github.com/rosenloecher-it/prend)
