dwyl / home

🏑 πŸ‘©β€πŸ’» πŸ’‘ home is where you can [learn to] build the future surrounded by like-minded creative, friendly and [intrinsically] motivated people focussed on health, fitness and making things people and the world need!
GNU General Public License v2.0
248 stars 5 forks source link

Chore/Feat: Reset & Document `@home` Wifi Network #229

Open nelsonic opened 1 year ago

nelsonic commented 1 year ago

I've procrastinated on this task for months because:

  1. resetting the network requires a decent chunk of time; probably a couple of hours, but unknown! πŸ€·β€β™‚οΈ
  2. setting up and testing the new additions to the network (2 new cameras, a doorbell and wifi access point) requires a decent amount of configuration ... ⏳
  3. I can only do this when nobody is using the network i.e. not on a week/work day πŸ§‘β€πŸ’»
  4. we've been away from @home most weekends the past few months due to family illness or visits ... πŸ‘¨β€πŸ‘§β€πŸ‘¦
  5. there's always something else to do ... πŸ™„

Related issues:

I expect this to take around T4h including reset, re-configuring/adopting, testing and documenting During that time the @home WiFi network will be unavailable for about T1h. At the very least we will will resolve the intermittent WiFi issues.

Todo

Stretch Goals

nelsonic commented 1 year ago

This is the current network "hub":

image

The ISP router, Ubiqiti USG & Switch are all just mounted to a plywood board on the wall:

image

It's not pretty. But it's functional and allowed us to put the gear somewhere. I'm going to reconfigure it and add a few more components. This is just documenting the "As is" from a physical hardware perspective. πŸ‘Œ

nelsonic commented 1 year ago

Firstly, going to add this inline UPS that will ensure the Security Systems have 12h of power in the event of a power cut/failure:

image

nelsonic commented 1 year ago

Current topology:

Screen Shot 2023-04-22 at 14 40 34

Only two of the Access Points (out of 5) are working... We have our darling toddler to thank for this. And our own naivetΓ© at putting the Access points at his level ... i.e. by placing the RJ45 ports within reach of children, we practically guarantee that they will mess with the APs. πŸ™„

Going to see if the APs are recoverable. Or if I just have to do a full reset. πŸ”

nelsonic commented 1 year ago

The Unifi 16 Port PoE Switch only has 4 ports active:

image
nelsonic commented 1 year ago

Trying to see if we can re-adopt the DiningRoom AP:

image

Both Locate Device and Restart Device are unavailable. I suspect it's been disconnected and then incorrectly replaced ...

home-network-dining-room-unavailable
nelsonic commented 1 year ago

These are the CAT6 cables connected to the switch:

IMG_3646

removed everything from the wall mount to start from scratch with the layout:

IMG_3648

reconnected the ISP router / AP so that we still have some internet in the house … πŸ›œ

IMG_3651

moved it to the top-left to make space for the rest of the gear.

then got interrupted so need to return to the rest of the setup later … πŸ’­

nelsonic commented 1 year ago

The UniFi Devices page: https://localhost:8443/manage/default/devices gives a good overview:

home-net-default-devices

Attempting to adopt the U6-Mesh:

home-net-u6-mesh-adopt

adopting ...

home-net-u6-mesh-adopting
nelsonic commented 1 year ago

UPS installed and working well: https://github.com/dwyl/home/issues/167 πŸ”‹ βœ…

Going to continue trying to get the @home network working now... πŸ§‘β€πŸ’» ⏳

nelsonic commented 1 year ago

@home network wasn't working because the USG (firewall) failed to adopt:

home-network-USG-adoption-failed

There is a firmware update so I'm applying it:

home-network-usg-firmware-updating

Don't worry, all these IP Addresses will be changed before the network setup is done.

nelsonic commented 1 year ago

Not much I can do while this is updating ...

image

Heading to lunch. πŸ₯—

nelsonic commented 1 year ago

Adoption failed (again) ...

adoption-failed-all

Reading: https://community.ui.com/questions/SOLVED-USG-3P-adoption-failed/dd87c48a-eade-4f25-9141-6b8a73ee7d4e

nelsonic commented 1 year ago

Nothing I read on the UI forums was minimally useful. So I did a manual reset. πŸ’₯ But nothing in the docs warned me that I had to "forget" each device before doing each reset ... πŸ™„ Anyway, still not able to connect to the internet. ⏳

nelsonic commented 1 year ago

The good news is: after resetting the MEO router which cleared all the historical clients the speed while connected to WiFI is much faster again:

image
nelsonic commented 1 year ago

Good news the @home network is now operational:

image

Decent speed:

image

Ok. I'm back to square 0. πŸ‘Œ Now I can attempt to connect the new AP #207, Sec Cams #130 and Doorbell #201 ... 🀞

nelsonic commented 1 year ago

All APs restored and U6-Mesh (outdoor AP #207) working: https://localhost:8443/manage/9ex79d6p/devices

home-network-all-aps-restored
nelsonic commented 1 year ago

MEO Modem / Router only has one Client the UBNT USG (firewall):

image

The router now has a strong password (not default) and is well configured. βœ…

nelsonic commented 1 year ago

Next is to create a new CAT-6 Cable to connect the 16-port switch to the 8-port PoE switch because the cable we made a few weeks ago is dead 😒

Side quest: https://github.com/dwyl/home/issues/230 ⏳

nelsonic commented 1 year ago

Everything: IMG_4409 IMG_4418

nelsonic commented 1 year ago

Wall mounting for 2 cameras and 1 outdoor Access Point finally installed:

IMG_4436

IMG_4439

the reason for this design is to protect the gear:

IMG_4441 IMG_4442

Cameras still working:

IMG_4434 IMG_4432

all APs β€œexcellent” signal quality:

IMG_4435

progress πŸš€

iteles commented 1 year ago

So cool! I'm of course concerned someone is just going to come along and rip out that expensive camera though, especially with those gates open.

I'll call magnivertente tomorrow and follow up on the control for opening the gate automagically.

nelsonic commented 1 year ago

@iteles indeed. The automatic sliding (locking) gate is the final piece of the puzzle 🧩 but if we could get it moving forward it would be excellent! πŸ‘Œ ref: https://github.com/dwyl/home/issues/202

as for this issue, the next item on my list is the Pi Hole: https://github.com/dwyl/learn-raspberry-pi/issues/26

nelsonic commented 1 year ago

Suuuuuuper annoyingly the Unifi Controller automatically configures all APs to "Meshing" by default.

unifi-meshing-lame

As you can see in this screenshot of the controller, the DiningRoom-19 was meshed and therefore dependent on the UpstairsCorridor-21 which meant that if the "upstream" AP went down the dependent would too. This is the default behaviour for Unifi Networks and it really shouldn't be for APs that are PoE!

So ... I had to reset the whole network just to disable the meshing which wasted another chunk of time!! Anyway, it's "fixed" now. βœ…

nelsonic commented 1 year ago

Visiting the Topology tab in the Unifi Console: https://localhost:8443/manage/9ex79d6p/topology

image

We see that there are 3 devices connected to the USW-Lite-8-PoE:

  1. SouthGarden-G3-Flex
  2. Driveway-G3-Flex
  3. Outdoor-U6-Mesh

The Outdoor-U6-Mesh in turn has two devices connected:

  1. FrontDoor - the entrance security camera
  2. G4-Doorbell #201

This is exactly as it should be. βœ…

nelsonic commented 1 year ago

Pi-hole working a charm: https://github.com/dwyl/learn-raspberry-pi/issues/26 βœ