Search the Community
Showing results for tags 'opensecurity'.
Found 2 results
I'm trying to get an alarm system to work, but when I try this code I'm getting an error that os_alarm does not exist in /boot/04_component.lua local component = require("component") local sides = require("sides") rs = component.redstone alarm = component.os_alarm yes = true while yes do if rs.getInput(sides.south)>0 then alarm.setAlarm("klaxon2") alarm.setRange(1-60) alarm.activate() else alarm.setAlarm("klaxon2") alarm.setRange(1-60) alarm.deactivate() end end
The Guard - security system The Guard is a base security control program I've written in 2016. It allows you to use some of the security devices from the OpenSecurity mod. It has modular architecture - all features are implemented in independent modules that can be replaced. It has action-driven - you can specify how everything behaves using the action system. Features modular architecture action-driven configurable behavior redstone support (Redstone I/O blocks) support of security devices from OpenComputes: keypads biometric readers RFID card readers turrets entity detectors motion sensors alarms Further reading The guard has its own wiki, on which you can find the installation instructions as well as the example configuration and other information. If somebody is interested in writing a new module, I can create a wiki page with API documentation (basic information is provided in the_guard.lua file). WIKI Disclaimer Although I have tested this program, a few issues might have slipped through. In that case feel free to report them in this thread or, even better, on the issue tracker if you have Gitlab account. If there's an error, be sure to include log contents (logs button on the right side of the program's interface) containing that error. Screenshots