triggers
PlaceOS Triggers
PlaceOS service handling events and conditional triggers.
Contributing
See CONTRIBUTING.md.
Environment Variables
SG_ENV= set toproductionfor production log levelsSMTP_SERVER= hostname of the SMTP server for sending emails. i.e. smtp.example.comSMTP_PORT= port to connect to the SMTP serverSMTP_USER= username if any required, will not authenticate if this is left blankSMTP_PASS= password if requiredSMTP_SECURE= left blank for clear text,SMTPSfor a TLS connection,STARTTLSfor negotiating TLS on an initial clear text connectionREDIS_URL= the redis connection string, defaults toredis://localhost:6379
Bindings
Trigger state is exposed through the system like a regular module.
# Binding
_TRIGGER_.trig-systemtrigid
This exposes the following data:
{
"triggered": true / false,
"trigger_count": 34,
"action_errors": 2,
"comparison_errors": 0,
"conditions": {
"comparison_1": true / false,
"time_1": true / false
}
}
Repository
triggers
Owner
Statistic
- 0
- 1
- 3
- 0
- 15
- about 11 hours ago
- June 24, 2019
License
MIT License
Links
Synced at
Thu, 06 Nov 2025 07:19:15 GMT
Languages