|
|
před 3 roky | |
|---|---|---|
| .. | ||
| etc | 8aa60cc0a5 feat: generate a minimized emqx.conf | před 3 roky |
| i18n | 4da106882c fix(rule): create_at lost when save to config files | před 3 roky |
| include | 71de9616d3 refactor(rule): rename outputs -> actions | před 3 roky |
| src | b55048f705 chore: update app versions | před 3 roky |
| test | 6685a3c5a8 fix: remove the 'headers' field from the rule events | před 3 roky |
| .gitignore | 4a877a3a69 chore(apps): relocate some apps | před 5 roky |
| README.md | 1be3eb1446 chore: rename EMQX Broker to just EMQX | před 4 roky |
| rebar.config | ebe4d7c3fb refactor: stop releasing edge edition | před 3 roky |
IoT Rule Engine
iot rule "Rule Name"
when
match TopicFilters and Conditions
select
para1 = val1
para2 = val2
then
take action(#{para2 => val1, #para2 => val2})
|-----------------|
Pub ---->| Message Routing |----> Sub
|-----------------|
| /|\
\|/ |
|-----------------|
| Rule Engine |
|-----------------|
| |
Backends Services Bridges
select id, time, temperature as t from "topic/a" where t > 50;