Zaiming (Stone) Shi d704de4a84 fix(emqx_rule_events): drop tuple-value from message headers 3 лет назад
..
etc 8aa60cc0a5 feat: generate a minimized emqx.conf 3 лет назад
i18n 9ea0147a8c feat(rule engine jq function): config for changing implementation 3 лет назад
include 71de9616d3 refactor(rule): rename outputs -> actions 3 лет назад
src d704de4a84 fix(emqx_rule_events): drop tuple-value from message headers 3 лет назад
test d704de4a84 fix(emqx_rule_events): drop tuple-value from message headers 3 лет назад
.gitignore 4a877a3a69 chore(apps): relocate some apps 5 лет назад
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX 4 лет назад
rebar.config ebe4d7c3fb refactor: stop releasing edge edition 3 лет назад

README.md

emqx-rule-engine

IoT Rule Engine

Concept

iot rule "Rule Name"
  when
     match TopicFilters and Conditions
  select
    para1 = val1
    para2 = val2
  then
    take action(#{para2 => val1, #para2 => val2})

Architecture

          |-----------------|
 Pub ---->| Message Routing |----> Sub
          |-----------------|
               |     /|\
              \|/     |
          |-----------------|
          |   Rule Engine   |
          |-----------------|
               |      |
        Backends Services Bridges

SQL for Rule query statement

select id, time, temperature as t from "topic/a" where t > 50;