AD2SmartThings

If you’re not looking for a home security system along with your motion sensors, then it doesn’t make sense to use a security system.

No, you cannot use the Safewatch QuickConnect plus with this project, the alarmdecoder device requires things that the SafeWatch does not provide (access to the keypad bus).

Thanks for the reply Kevin.

It’s hard for me to say if I don’t want a home security system along with the motion sensors since I’ve never actually had one activated! What I do know is that the wife likes that the Safewatch QuickConnect announces when doors are opened and closed out loud, and I like the thought of a siren going off if someone opened the doors while we were gone. I can accomplish those, however, with a couple few sensors along with Sonos integrations (for announcing) and some rules in CoRE/ SmartThings.

The point I’m making is that there are probably more things that I could enjoy with a security system that I’m not even considering that would make it worth the investment. One that I think is big, is the ability to disarm the system with a keypad upon entering the house. Also, I take it you can fully use one of these security systems without a subscription by using the equipment and this software. I wouldn’t consider it at all if it actually required a subscription to ADT or something similar.

The email I got from AlarmDecoder indicated I could probably do this all for ~200 USD which is pretty doable - especially when you compare it to the cost of an actual ADT subscription!!

@josharmour,

Before you make your decision, did you already purchase a SmartThings ThingShield? If not, you will not be able to complete this project until an alternative is available. SmartThings discontinued the ThingShields.

Technically if you didn’t want to use it as a home security system you could use a 20p + 6160RF keypad along with your existing sensors for proximity/motion sensing without even having to program your panel but use your existing alarm sensors - you wouldn’t even have to remove your existing alarm system if you were just using the 20p+radio as a listener.

No, you don’t need a subscription, it is easy to self-monitor based on events - though as @d8adrvn said the ThingShields are no longer produced so implementing this specific project will be nigh impossible until something else is released. That said, there are other implementations that rely on the raspberry pi rather than arduino. This project however is definitely the most full featured and well supported currently.

@kevin_nutech any word on how to make the arm stay command be an arm stay instant?

@MacBenTosh Are you using Alarm Decoder’s Raspberry Pi web appliance? I ask since you directed that question to Kevin. If so questions for that project can be answered in this thread:
AlarmDecoder AD2Pi Network Appliance

If you have implemented this project with an Arduino, Thing Shield, and AD2Pi then that feature is already included and can be setup via preference on the device handler.

I am using the web app. Any way to use your dh with this setup?

No the AD2SmartThings device handler is specific to using an Arduino and a Thing Shield. But both solutions leverage the Alarm Decoder AD2Pi board, the difference is the Arduino vs Raspberry PI and zigbee Thing Shield vs REST web services. You may want to post your same question to the other thread I mentioned above to see if anyone using that device has tackled your feature.

To implement it though, its a matter of changing the stay command to use code plus 7 instead of code plus 3. Stan and I implemented this logic in the device handler and have a device preference to determine which one to use. Maybe look at our code as an example.

If you do solve it, you may want to post it to that other thread so others can benefit since again this thread is specific to the other solution.

I experienced a strange anomaly last night. It’s not a problem with this project per se, but maybe one if the Vista experts here, like @d8adrvn @ritchierich @kevin_nutech can help (or at least explain).

At 11:03 last night, the Vista20P decided to switch to battery backup, then immediately realized it was, in fact, just confused and switched back to AC. No problem, except… for reasons I don’t understand, that triggered armedAway. It then reverted to disabled. But that brief foray into armed status triggered all manner of ST events of which I was unaware. Here’s the event log:

Does this make sense as normal Vista20P behavior?

No way I could begin to guess anything without seeing raw device logs

1 Like

I agree with Kevin, without detailed logs from the Arduino/AD2Pi I don’t know what to tell you. The Arduino just processes messages from the AD2Pi and forwards those to ST. The AD2Pi just processes messages from your panel so it seems like a bogus or faulty message was sent from your panel, the AD2Pi or something happened with the memory on your Arduino since things got “reset”.

Hopefully it won’t happen again, especially in the middle of the night!

1 Like

@d8adrvn Stan - you may be able to leverage my latest Arduino “SmartThings” library to keep your project alive and well without the ThingShield. The new library adds support for a W5100 Ethernet Shield (to replace the ThingShield) or a NodeMCU ESP8266 WiFi board to completely replace the Arduino/Shield combination.

The new SmartThings library is significantly redesigned from a C++ Class Hierachy perspective, but you should be able to adapt it fairly easily.

Dan, thank you very much for your efforts on keeping the Arduino interface alive with SmartThings. Your recent updates are exciting to hopefully keep this project and many others working with the absence of the Thing Shield. If there is continued interest in this project Stan and I may explore it, but I personally don’t have a W5100 or ESP8266 to test with. Selfishly speaking, my 2 Thing Shields are working great for my current setup.

1 Like

I hear you! My ThingShields are working great as well, but I just hated that new users were left out in the cold, so to speak.

The nice thing about our redesign of the old ThingShield library, “SmartThings”, is that it can now be extended to use just about any form of communication between the microcontroller and the ST Hub/Cloud. We were really trying to future-proof things as best we could, while maintaining the same Arduino API, regardless of the method of communication.

I recently had a nearby lightning strike that destroyed an Arduino UNO and most everything that was attached to it. Therefore, I know that the ThingShields don’t last forever! :wink: Having another solution gives me a little bit of comfort. I simply used the 2 devices (W5100 and NodeMCU v1.0 ESP8266) I had laying around to get the ball rolling. If you need any other type of connectivity added to the new “SmartThings v2.x” library, just let me know.

Will the Arduino Ethernet Shield 2 work instead of the W5100?

Thanks

Currently, my new SmartThings v2.x library does not support the new Arduino Ethernet Shield 2. If I had one, I am certain I could add support for it.

Today I received some ESP-01’s. I have just started to incorporate support for the ESP-01 into the SmartThings v2.x library. The ESP-01 is a very inexpensive (about $4) WiFi module (actually, it’s a ESP8266-01) which can be used to add WiFi to an Arduino. I hope to have it integrated over the next few days.

1 Like

@Cory_Richter

I have added support for the ESP-01 WiFi module to my SmartThings v2.1 library. You have to use an Arduino MEGA with it currently, due to the need for a Hardware Serial UART to communicated with the ESP-01 at high baud-rates.

1 Like

i have a AD2PI Network Appliance that currently working with ST, can i just use that to work or do i have to get a An ArduinoMega and SmartThing ThingShield?

Kevan, this solution is completely different using an Arduino, SmartThings Thing Shield and an Alarm Decoder AD2Pi. SmartThings no longer offers the Thing Shield.

Since you already own the appliance you can get support from others in the community here:

You may also want to reach out to Alarm Decoder/Nutech support regarding setup of your network appliance.

thanks i’ll ceck it out