poflynn / jGemNap

Having fun with the Napco Gemini 3200 and 9600 home security systems
MIT License
3 stars 4 forks source link

How do you use this #1

Open mtoczycki opened 2 years ago

mtoczycki commented 2 years ago

I would love to use this, I have a raspberry pi did you use the uart on a raspberry pi or did you use a usb to serial adapter from Napco?

I am just wondering also what kind of hardware you ran this on and what JDK just to maybe start trying to integrate this to work with my alarm panel.

Hope to hear from you soon. Michael @poflynn

poflynn commented 2 years ago

Oh gosh, this is very old code ;-).And even when it was new code it was super ugly ;-).

First off, for my panel at least, I had to buy some extra hardware, namely a "PCI-MINI Interface" like this https://www.jmac.com/Napco_PCI_MINI_p/NAPCO-PCIMINI.htm https://www.napcosecurity.com/media/pdfs/PCI-MINI_WI767.pdf

I recall that also required a new ROM chip for the panel to support the PCI-MINI. But once I had those in place and the correct passcode set I could simply call the servArm class to arm the panel, servDisarm to disarm it etc. The code did actually work BTW although it is such a mess it might be hard to reverse engineer.

What JDK? Sun's, Java 4 if I recall. Good luck!

mtoczycki commented 2 years ago

I do have a pci mini interface already, but it runs on a really old dell laptop from the early 2000's that runs the quick loader so I was wondering if a napco serial to usb adapter would work, since I think the serial is 12 volts, because I want to replace that laptop. That laptop is going to die some time this decade. What kind of computer did you use to run it? Do you think that I could use a raspberry pi to make it work?

poflynn commented 2 years ago

I would imagine the Napco USB adapter would work but I can't be certain. You could also buy a USB to RS232 adapter which would definitely work. Lastly I'm sure a Pi would work just fine as long as it has an RS232 port. My original plan a million years ago was to jam some little computer in there and have it talk to my wifi, this was the days before the Pi existed, the Pi would be perfect for that. If you ever get anything going do let me know.

mtoczycki commented 2 years ago

I will definitely let you know, but I am currently finding out that the Napco usb to serial is the adapter I need to use, because I think the standard adapters are regular 5v serial and not 12v serial. Also I think the chipset matters.