Anonymous

Project:Door sensor: Difference between revisions

From London Hackspace Wiki
No edit summary
Line 30: Line 30:
?doorstatus on IRC will responsd with  
?doorstatus on IRC will responsd with  
"Door closed" or "Door open"
"Door closed" or "Door open"
?doorsnmp will do a more advanced check, with SNMP polling and respond thusly:
Door is closed (last movement was on 18/11/2012 at 20:29:29)
The ?doorsnmp (/usr/share/irccat/doorsnmp.py on babbage) code isn't the greatest, I'm sure someone can improve it.


=== What next? ===
=== What next? ===