Skip to content

Commit

Permalink
fix duplicate and wrong file
Browse files Browse the repository at this point in the history
  • Loading branch information
tagyoureit committed Feb 11, 2021
1 parent 49d553b commit d511093
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
17 changes: 10 additions & 7 deletions defaultConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,18 @@
"reconnectionDelayMax": 20000
}
},
"equipmentManager": {
"name": "Equipment Manager",
"type": "equipmentManager",
"rulesManager": {
"name": "Rules Manager",
"type": "http",
"enabled": false,
"fileName": "equipmentManager.json",
"fileName": "rulesManager.json",
"globals": {},
"options": {},
"uuid": "27d91217-bd91-4024-a39b-6d9be9bb3926"
}
"options": {
"host": "localhost",
"port": 4200
},
"uuid": "65ee2581-e652-427e-99c6-17c6aa02a6e3"
},
}
},
"log": {
Expand Down
10 changes: 0 additions & 10 deletions web/bindings/rulesManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
}
},
"events": [
{
"name": "controller",
"description": "Turn on needsCleaning flag for filter. Evaluate on a controller socket emit. True when the pool is on, pump is not priming, and filter psi > 15",
"enabled": true,
"filter": "@bind=data.id;===1 && @bind=state.filters.getItemById(1).psi;>15 && @bind=data.status.name;!=='priming'",
"options": {
"path": "/config/filter"
},
"body": "{\"needsCleaning\":true}"
},
{
"name": "controller",
"description": "Turn on needsCleaning flag for filter. Evaluate on a controller socket emit. True when the pool is on, pump is not priming, and filter psi > 15",
Expand Down

0 comments on commit d511093

Please sign in to comment.