4 ms·
It sounds like what you want is something like what home automation controllers (and commercial building automation controllers) do. They generally run a 'maste
by damian2000 14y ago
It sounds like what you want is something like what home automation controllers (and commercial building automation controllers) do. They generally run a 'master' program written in some internal scripting language that consists mainly of a bunch of If,Then blocks. These have access to all the sensor states and outputs; it 'wires up' the logic to give a bunch of sensors some rudimentary intelligence.
E.g.
if (external_lightSensor is OFF) then
after 10 minutes, turn on house lights
endif
if (front_door_reed_switch is ON AND home_alarm is ON) then
Send SMS to mobile_phone
Turn ON siren for 5 minutes
Turn ON stobe for 20 minutes
endif