taligentx / dscKeybusInterface

An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
GNU General Public License v3.0
504 stars 126 forks source link

PC3000 Testing #303

Closed b0bcarlson closed 2 years ago

b0bcarlson commented 2 years ago

I am currently setting up Arduino Uno to a PC3000. Ran the KeybusReader without issue using the instructions for classic wiring. Switching to the MQTT I am having some issues but I believe they are network related (struggling to connect to the MQTT server when it worked before wiring it). I will update when I have updates!

b0bcarlson commented 2 years ago

I was able to get it connected to MQTT and it shows in HA as disarmed, however I cannot seem to get anything else to work. No zones update in HA and attempting to arm from HA does not do anything. Guessing this is a MQTT config issue so I will continue to investigate Disregard this, I forgot to enable the PC16 output

b0bcarlson commented 2 years ago

Update to this - I'm attempting to run the unlocker but getting stuck at any of the places it's checking the dsc.status[0] (zones are clear so it should continue). I'm not much of a C programmer but I'm trying my best to dig into what these statuses mean and why it might not be working.

b0bcarlson commented 2 years ago

I realized the unlocker is not compatible with the classic series, so I modified it to brute force and was able to get the installer code. Unfortunately I am having connection issues again, but I'm thinking things are still looking pretty good.

b0bcarlson commented 2 years ago

After continuing to mess around with this I have come up with a pattern:

I found the "Status" example and it pretty much confirms my findings - it connects then does not display any messages after that.

I'll keep this ticket open for now in case anyone has any ideas. However, this is not my house and I will be moving in a week so I will not be able to test after that.

It should be noted that I am using a breadboard against recommendations as I would like to see if it even works before I solder.

sfossen commented 2 years ago

Have you tried a modified version?

b0bcarlson commented 2 years ago

Yes, actually I saw that yesterday and started testing it with much better luck. Still not perfect though; I moved the PC16 from 4 to 12 and the network issues stopped but when I use MQTT it seems to cause interference (breadboard probably). I haven't had much time to get further but I was going to try a few other modifications and see where they get me.

sfossen commented 2 years ago

Which version of the circuit did you use? The version I pointed you to was developed on a breadboarded circuit with optocouplers on an nodemcu v2.

b0bcarlson commented 2 years ago

Gotta close this out, with me moving at the end of this week I've run out of time to keep working on it :(

kricon commented 2 years ago

@b0bcarlson sorry that im late here,