Adafruit Matrix Portal Unifi

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Adafruit Matrix Portal Unifi

Post by JPZone »

I have got given an Adafruit Matrix Portal for Christmas to help with my code learning journey. However, I am unable to connect it to my home SSID. I am getting the following error

Code: Select all

Could not connect to the internet ('Failed to connect to SSID, Name Of SSID
The AP I have is an Unifi UAP-AC-Lite and the SSID band is on 2Ghz and 5Ghz. I have also tested it on different channels as well as on auto. Also WPA2 and WPA3 The SSID details are correct. I also created another SSID in my Unifi panel just in case the SSID name and password causing the issue.

I can only connect the Adafruit board to the internet via my mobile phone's hotspot.

I have also borrowed another Unifi model from work U6-Lite and connected it to its own SSID and I am still unable to get the board working.



The code I have added in my secerets.py file is:

Code: Select all

secrets = {
    'ssid'          : 'namessid',
    'password'  : 'ssidpassword',
}

I have reset the board dozens of times but not having any luck. Has anyone had these issues before with Unifi?

I am using the following versions:
- CircuitPython 7.3.3
- Firmware 1.7.4
- Unifi Panel 7.3.76
- Unifi Firmware 6.2.49

User avatar
dastels
 
Posts: 15674
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Matrix Portal Unifi

Post by dastels »

Have you replaced the value (namessid and ssidpassword) with the corresponding values for your network?

Dave

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

Yes I have. I altered them for this post

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: Adafruit Matrix Portal Unifi

Post by danhalbert »

I have two UAP-AC-IW's at home that work with the MatrixPortal. UAP's are running firmware 6.2.35. So it is possible. I have a 2.4GHz/5GHz network like you with a single SSID, using WPA2. They are downstream from a Verizon FiOS router, which is doing the DHCP, etc.

Is there anything unusual about the characters in your SSID or password? I have a relatively short SSID, but the password is longer.

You could try CircuitPython 8.0.0-beta.6 or later, but I also have used with 7.3.3 in the past.

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

One SSID had numbers and symbols like '!' the other had just letters.
I'll give the 8.0beta a go.

User avatar
tarrant1704
 
Posts: 20
Joined: Sun Jun 10, 2018 9:13 am

Re: Adafruit Matrix Portal Unifi

Post by tarrant1704 »

Have the same issue with MatrixPortal M4 and UAP-nanoHD. It takes several soft reboots before the M4 can connect (or at least I think it connects). I'm a circuitpython newbie, and I'm not sure how to code a simple program to verift Wi-Fi connectivity with the internet.

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

danhalbert wrote: Wed Jan 11, 2023 6:30 pm You could try CircuitPython 8.0.0-beta.6 or later, but I also have used with 7.3.3 in the past.
I have updated CircuitPython to 8.0.0-beta.6 and still no luck.

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

After doing a few factory resets of the board and restarts to the AP. The AP can see the Board but still not able to see the internet.

Edit - I also loose its ping after 2 minutes on the network

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: Adafruit Matrix Portal Unifi

Post by danhalbert »

Do either of you have a router upstream of the AP's that you could power-cycle?

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

Not sure what that means so probably not.

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: Adafruit Matrix Portal Unifi

Post by danhalbert »

JPZone wrote: Thu Jan 12, 2023 6:17 pm Not sure what that means so probably not.
I mean,that you have a router from your ISP that's connected to cable, FiOS, etc., and then that router is wired to your access points. My FiOS ONT (optical network terminal) has Ethernet out, which goes into a router supplied by Verizon, and then my UniFi access points are wired to the router. The router takes care of DHCP: the access points don't handle DHCP themselves.

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

Ah yeah, my router is from my ISP. The WiFi is switched off from it and only is going through the AP. DHCP is from router too.

User avatar
tarrant1704
 
Posts: 20
Joined: Sun Jun 10, 2018 9:13 am

Re: Adafruit Matrix Portal Unifi

Post by tarrant1704 »

Updating the ESP32 firmware seemed to fix the issue for me:
viewtopic.php?p=955833#p955833

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

I tried to update the firmware but still not having any luck.
It's strange.

User avatar
JPZone
 
Posts: 9
Joined: Sun Dec 25, 2022 9:16 pm

Re: Adafruit Matrix Portal Unifi

Post by JPZone »

So my AP sees the board but it doesn't want to give out internet.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”