# Getting Started with node-red-contrib-unifi

**URL:** <https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210>\
**Category:** General\
**Created:** [26 September 2022 02:43 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210 "2022-09-26T02:43:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmichaeltx](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Post date:** [26 September 2022 02:43 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210/1 "2022-09-26T02:43:42Z")

</div>

I have been using Node Red quite a while and just got some unifi equipment for my network. I thought this set of nodes would be fun to play with, but I find that for some reason I am getting no feedback other than ERR\_BAD\_REQUEST.

Anyone have any insight into how to troubleshoot getting the connection up and working?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [26 September 2022 04:43 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210/2 "2022-09-26T04:43:51Z")

</div>

Are you connecting to the unifi controller ? Does it have a self-signed certificate, if yes, is the ssl verification checkbox unchecked ?

---

<div class="post-metadata">

**Author:** ![tmichaeltx](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Post date:** [26 September 2022 12:50 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210/3 "2022-09-26T12:50:51Z")

</div>

Yes, I am connecting to the unifi controller. It does have a self-signed certificate. I have tried with the SSL verification checkbox checked and unchecked, though the way you asked the question, explains what that box is for. (Was that in the documentation somewhere that I missed.)

Regardless of the SSL situation, that alone isn't the problem.

I am also unclear on the use of the Unifi OS checkbox, but I get the same result whether checked or unchecked.

Finally, for what it is worth, have successfully connected using the nodes in node-red-contrib-unifi-os. It looks like while it may be more fiddley, it may better meet my needs. That said, I would love to get both to work as options are always good.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [27 September 2022 15:48 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210/4 "2022-09-27T15:48:31Z")

</div>

If you are connecting to the controller, unifi OS should be unchecked (the url endpoint is different on unifiOS vs controller)

---

<div class="post-metadata">

**Author:** ![tmichaeltx](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Post date:** [28 September 2022 22:12 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210/5 "2022-09-28T22:12:43Z")

</div>

Good to get a description of the meaning of that checkbox, but I get the same result with either setting (though off is the correct setting for my circumstance).

Any other thoughts?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 November 2022 22:13 UTC](https://discourse.nodered.org/t/getting-started-with-node-red-contrib-unifi/68210/6 "2022-11-27T22:13:14Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
