Serge Tupchii aca65ca2d4 fix(rule_engine): don't increment unknown counter on unrecoverable errors 2 سال پیش
..
etc 8aa60cc0a5 feat: generate a minimized emqx.conf 3 سال پیش
i18n 157c919ba1 ci: add i18n style check script 3 سال پیش
include dbc10c2eed chore: update copyright year 2023 3 سال پیش
src aca65ca2d4 fix(rule_engine): don't increment unknown counter on unrecoverable errors 2 سال پیش
test 1824e7efcc fix(rule_engine): count referenced bridges in `from` clauses as dependencies (rv5.0) 2 سال پیش
.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;