Hi Eric,
It is not a custom program. I have the Camect Connect app as well as the Amazon Echo Skill app loaded into my Hubitat Elevation (no Rasberry PI necessary as they can both be loaded directly into the Hubitat). When you do this, each of your IP cams will show up in your Hubitat Devices list as Camect Motion and Alerting devices. You can set up a Camect Motion and Alerting device for each camera, and for each object you wish to be alerted for on that camera.
The next step is to set up Virtual Contacts with auto-off Switches for each of the “triggers” you will use for the various Routines you will set up in Alexa for each announcement and/or action you wish your Alexa device to carry out.
Then go to Rule Machine in Hubitat and set up the If-Then rules used to trigger the rule, and the Virtual Switch it will trigger.
The Amazon Echo Skill app in Hubitat will allow you to select the Hubitat devices (including the Virtual Contact Switches you created in Hubitat) that will become visible in Alexa.
In Alexa, enable the Hubitat skill so that your Hubitat devices which you set up in Hubitat (the cameras and virtual switches) will show up in the Alexa App.
Finally, set up Alexa Routines for each announcement you wish Alexa to make using the specific Virtual Switch you made in Hubitat as the Routine “WHEN” trigger. For the Routine action, the first action I set is to set the volume of the Alexa device (in my case an Echo Dot, Flex or Show) followed by the Announcement (such as “Motion has been detected on the Driveway”). Depending on the specificity of the “trigger” you set, (you have to set up a Virtual Contact Switch in Hubitat for each particular Alexa Announcement you wish to hear) you can set up some very complex conditions in Rules in Hubitat. In other words, you need to set up an Alexa Routine for each Announcement.
Finally, in Alexa, you can specify which Alexa devices will enunciate the Announcement (you can designate any combination or all of them depending upon your specific needs). Because some smarthome devices cannot be directly controlled by Hubitat (such as some smart lights and switches) one advantage of integrating Hubitat, Camect and Alexa is that you can use Alexa to also control Alexa controllable devices using Camect’s excellent object recognition capabilities as triggers (so you can use Camect triggers to control lights etc in addition to making announcements).
As I noted in my previous email, I also have my security system integrated so that I can combine motion detectors and contact switches with Camect object recognition to increase the accuracy or specificity of any action or announcement. For example, you can have a special announcement when your garage door is open and a person is detected in your driveway by Camect and confirmed with a motion detector (decreases false positives from people walking in front of the driveway on the sidewalk etc if you have trouble setting up precise detection zones in Camect). Or, you can set your announcement/action to trigger if either Camect OR the detector triggers if you want a very sensitive system that will work unless both systems fail.
Of course the big downside is that for Alexa to work, you have to have internet access and it is a bit tedious to set up a Virtual Contact Switch in Hubitat and an Alexa Routine for each and every variation of announcement or action you want Alexa to perform in response to a Camect trigger.
I do wish there was a way to do this completely locally but given how well it has worked so far for me, and how incredibly flexible and adaptable/customizable the integrated system is, this will have to do (at least for me).
BTW, because of the new Camect Home Alexa Skill, I was able to use the same techniques above to use a Camect object detection to trigger a Rule in Hubitat, which would trigger a Virtual Contact Switch, which would trigger an Alexa Routine that would turn on my FireTV and bring up the live feed of the triggering camera on the FireTV via Camect Home.
I can also bring up Camect Home via an Alexa Routine using a voice command (my FireTV when linked to Alexa serves as a large 55” Echo Show). Although the new Camect Home Alexa Skill allows you to call up individual cameras using their voice command “open Camect Home and view camera (insert camera name)” I have found this is not so good for the WAF. Instead, I set up Alexa routines for each camera with the voice command “view (insert camera name” and the Alexa Routine (under Custom Action text) calls up the Camect Home app and displays that camera. I can also give Alexa a voice command to open the Camect local IP address so that it will show the live view of the first four cameras together on one screen (something I have not been able to get the Camect Home Skill to do directly). Hopefully, Camect will have an update to do this through the Camect Home Skill directly as it would be simpler.
Anyway, hope you guys find these workarounds helpful.
Sent from my iPhone
> On Dec 27, 2020, at 10:22 PM, Eric Roberts <
earobe...@gmail.com> wrote:
>
>
> Good evening,
>
> I saw your reply to my bug report today in the Camect user forums. For some reason in the actual thread, I couldn't see or reply to your message so I hope it's ok I'm reaching out to you directly.
>
> I also use Hubitat as my main smart home controler so I am VERY interested to know more about the Hubitat/Alexa/Camect integration you mentioned.
>
> I would love to know how to set this up within my system as well so that I can get this flexibility within my system, it sounds exactly like what I have been hoping/waiting for.
>
> Is this a custom Hubitat integration that you have written? Any additional details you can give me would be awesome!
>
> Thanks in advance,
> Eric Roberts