<br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 10:35 PM, Jake <span dir="ltr"><<a href="mailto:jake@spaz.org">jake@spaz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jake, what is the difference between <a href="https://www.noisebridge.net/wiki/User:Jake" target="_blank">https://www.noisebridge.net/<u></u>wiki/User:Jake</a> and<br>
<a href="https://www.noisebridge.net/wiki/User:Jerkey" target="_blank">https://www.noisebridge.net/<u></u>wiki/User:Jerkey</a><br>
</blockquote>
<br></div>
i don't know, i guess they are both me.  I made the jerkey one to edit wiki pages, and i made the jake one so that i could be given ssh access to pony.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you want your SSH key for "jake" pushed to minotaur?<br>
</blockquote>
<br></div>
yes, that would be great.  so, what's that machine "for" and what is running on it?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm happy to help facilitate making anything related work with the hardware/software, since I feel like I know it well. However, from my perspective, it was already working. Coming onto the list and saying "Help! Make the door work!" doesn't make it clear what you're looking for, or how anyone can help you out.<br>

</blockquote>
<br></div>
I did the hardware, since there was nothing to plug the door wiring into anymore (the Wise box was gone and i heard they are bunk anyway) but I had nowhere to begin to try to get it to work with the new setup.<br>
<br>
It turns out that the hardware was working when i sent that message, except that a wire had come loose on the dooropener circuitboard, which I fixed with Danny.  But hardware is nothing without software, and there was no software on the Minotaur to activate it.  It's fixed now, says Danny.<br>
</blockquote><div><br>I just tried out the software jof put on it, but it seems to work (the daemon is running now too, but I didn't put in an init script to restart it on boot). The webscript is also not fixed to work with it yet.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
rock on!<span class="HOEnZb"><font color="#888888"><br>
-jake</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I put the two most-helpful tools for dealing with the hardware on minotaur:<br>
 - /usr/local/sbin/open-door (a setuid root binary that "buzzes" open the door with the parallel port hardware)<br>
 - /usr/local/sbin/parport_daemon (a setuid binary that takes control of the parallel port, starts listening on UDP<br>
<a href="http://0.0.0.0:30012" target="_blank">0.0.0.0:30012</a>, and talks a simple protocol to query the state of the ringer and open the gate)<br>
<br>
Personally, I'd like to use the parport_daemon program going forward, though most of the scripts others use are not setup<br>
to use it just yet. The protocol is dead simple. Ask it "Sup?" and it will respond with "Nothing." (nobody's ringing) or<br>
"RING!" (someone is or just rang the gate buzzer). If you send it "OPEN!" it will respond "Acknowledged. Buzzing it<br>
open." (buzzes open the door) or "Already opened recently." (if someone beat you to it -- there's a timeout to avoid<br>
wailing on the solenoid).<br>
<br>
So, to open the gate from pony, one could do something like: echo -n 'OPEN!' | socat stdio udp4:minotaur.noise:30012<br>
I should probably make a wrapper script or controller around that next.<br>
<br>
I'm also thinking it would be cute to have the computer hosting the daemon to also announce a Zeroconf/Avahi service<br>
records for the door. Maybe _door._udp?<br>
<br>
Cheers,<br>
jof<br>
<br>
</blockquote>
</div></div><br>_______________________________________________<br>
Rack mailing list<br>
<a href="mailto:Rack@lists.noisebridge.net">Rack@lists.noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/rack" target="_blank">https://www.noisebridge.net/mailman/listinfo/rack</a><br>
<br></blockquote></div><br>