# Unify camera/notifications

**URL:** <https://community.homey.app/t/unify-camera-notifications/84596>\
**Category:** Questions & Help\
**Tags:** camera\
**Created:** [July 14, 2023, 7:03pm UTC](https://community.homey.app/t/unify-camera-notifications/84596 "2023-07-14T19:03:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 14, 2023, 7:03pm UTC](https://community.homey.app/t/unify-camera-notifications/84596/1 "2023-07-14T19:03:22Z")

</div>

Hi, received my homey yesterday and after some fiddeling managed to get hue, husqvarna and unifi protect integrated. set up a flow for unifi and works when i test it, but i don’t notifications from homey even though unifi gives me notifications. Could i have set up the flow wrongly?

 ![camera flow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48cc2627281d7af394628fb3913feb70c156f224.png)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2023, 6:55am UTC](https://community.homey.app/t/unify-camera-notifications/84596/2 "2023-07-15T06:55:28Z")

</div>

> [@Jote](#):
>
> Could i have set up the flow wrongly?

Who should know if you don’t show us the flow?

---

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 15, 2023, 8:32am UTC](https://community.homey.app/t/unify-camera-notifications/84596/3 "2023-07-15T08:32:07Z")

</div>

Got it uploaded now, If the camera registers motion, send a notification, and depending on month and time turn on a light. If i test it it sends me a notification, but it doesn’t seem to work as my unifi app gives me notifications while homey doesn’t.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2023, 9:16am UTC](https://community.homey.app/t/unify-camera-notifications/84596/4 "2023-07-15T09:16:21Z")

</div>

If the motion alarm turned on, the notification should definitely work because there are no conditions which must be fulfilled.  
Did you checked if the motion alarm of the camera works properly?  
Like this?

 ![IMG_2227](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b842e43ab39a5cac84c74f5c997be12ffb9a142c.jpeg)

The indication mark on the left side musst be set in the settings of the camera in the section “status indication”. The actions history of the of the camera can be checked in the submenu of the camera tile (long tap):

 ![IMG_2228](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/e/de7a8f11a4384c893748e31809b33123bbb49868.jpeg)

**But** , I don’t own a UniFi camera so I don’t know if these features are available for this camera.

Another way to check if the motion alarm works properly is to have a look into [Developer Tools → Devices](https://tools.developer.homey.app/tools/devices).  
Search for your camera and check if the `alarm_motion` capability is set to `true` when you walk in front of the camera.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/9/2985ad8d6ae29fbfd2fa48ef45b6e02a6113eb85.png)

* * *

Btw, I guess that the flow doesn’t work as you expect.  
I guess you want:  
– The month is between May and September **AND** the time is between 22:30 and 6:00 then turn light on  
– The month is between October and April **AND** the time is between 15:00 and 8:00 then turn light on  
Right? Then you have to use blue lines between the month and time cards.

Another mistake:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b2dbf4f8729036818186044167d72a9bcfb0db2a.jpeg)

The red line is used for troubleshooting.

---

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 15, 2023, 9:56am UTC](https://community.homey.app/t/unify-camera-notifications/84596/5 "2023-07-15T09:56:59Z")

</div>

Thanks for the instructions. I’ll keep to the blue lines for now🙂 read up on that now…  
Looks like i should link it to smartdetection events in stead… For a start anyway. Those changed instantly when i walked out.

 ![Screenshot_20230715_112118_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f463b4ca757dfe164c216af795cb8f663cc44c6b.jpeg)  
 ![Screenshot_20230715_112127_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/6/161f791080a37c7041bff8f382f10095fa508ec1.jpeg)  
 ![Screenshot_20230715_112136_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bde289ae98a115ed5276dd7b34b524023689a6aa.jpeg)  
 ![Screenshot_20230715_113805_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a5fe4638f6f1b2b8b60dac7b7b3513023bada2f9.jpeg)

Changed that and now it works. At some point I put the cameras to only register smartdetections since motiondetections gave way to many notifications.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/d/4da0297f09fc8705c45fead1b6005c2df7ddefbf.png)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2023, 10:24am UTC](https://community.homey.app/t/unify-camera-notifications/84596/6 "2023-07-15T10:24:04Z")

</div>

> [@Jote](#):
>
> I’ll keep to the blue lines for now

Blue means: the condition, e.g. „between May and September“, is fulfilled  
Orange means: the condition, e.g. „between May and September“, is not fulfilled, ergo it’s „ **not** between May and September“.

> [@Jote](#):
>
> At some point I put the cameras to only register smartdetections since motiondetections gave way to many notifications.

Ah, okay. So that’s the reason why the motion\_alarm capability isn’t triggered at all in DevTools.

Another tip. I know that there used to be problems with the time condition cards when the period was over 2 days, e.g. “is between 22:00 and 08:00” (today and tomorrow). However, I don’t know if this problem has been fixed in the meantime, but with the app solar events there is still this problem.  
Since then, I have been using the time condition cards as follows:  
Instead of “is between 22:00 and 08:00” I either use “is between 08:00 and 22:00” and connect the next card with the orange line, or I turn the card to “is **not** between 08:00 and 22:00” (right click on the card → invert) and use the blue line.

So just check it if it works with your flow. If not, you know already what to do… 😉

---

<div class="post-metadata">

**Author:** ![Jote](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jote/32/71412_2.png) [@Jote](https://community.homey.app/u/Jote)\
**Post date:** [July 15, 2023, 10:30am UTC](https://community.homey.app/t/unify-camera-notifications/84596/7 "2023-07-15T10:30:45Z")

</div>

Thanks again, I’ll try with the time settings as is now and see how they work.

and i guess I can ‘clean up’ the flow with using a yellow line instead 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/2/72ec6f868bf4968157a0f00e76a9a9bc0a2779cc.png)

Edit: even more so, swapping with ‘it is day’… will see how this works, depending on definition of day (between sunrise/sunset i guess) and how light it is outside.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/ddfb0e2bb9ceeff9f7c63024dd842f08b6495e89.png)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 15, 2023, 11:50am UTC](https://community.homey.app/t/unify-camera-notifications/84596/8 "2023-07-15T11:50:11Z")

</div>

Steep learning curve 👍🏻

> [@Jote](#):
>
> will see how this works, depending on definition of day (between sunrise/sunset i guess) and how light it is outside.

Hoover with the cursor over the exclamation mark, the you get more information:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/744e3e49a35cd83725f674f7bfbbd5eb381c91e9.png)

So it’s between dawn and dusk.
