#i don’t know where else to look but

1 messages · Page 1 of 1 (latest)

pale stratus
#

It'll work, but you need working internet to install Z2M and Mosquitto

fiery rivet
#

@pale stratus i just got some questions tho, how will i access my dashboard in the future and actually control my devices etc?

pale stratus
#

Well... locally, on the network that HA and Z2M are running on

#
http://192.168.0.42:8123/
fiery rivet
#

😭sorry i’m relatively noob at this

fiery rivet
pale stratus
#

Sure, as long as it's on the same network kas the Pi, with the same address range

#

Set up a WiFi access point for example

fiery rivet
#

i’m having trouble wrapping my head around this “network.” after installing ha etc, does it appear as a wifi network i can connect to or something

#

because i’ve seen smart devices in my wifi list before, does it operate similar to that

pale stratus
#

You need to set up a network

#

Then connect HA and the laptop to it

fiery rivet
lunar aspenBOT
#

@fiery rivet When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

pale stratus
#

Set up a WiFi access point for example

fiery rivet
#

gosh i feel stupid, how does one setup a wifi access point if he doesn’t have wifi?

pale stratus
#

You ... buy one

#

Buy any WiFi router, set it up, it just won't have internet

#

Plug HA into the router, connect the laptop to the WiFi, and then you can connect to the web ui for HA

fiery rivet
#

ohhh my gosh that makes sense

#

i apologise for my beyond rudimentary knowledge

#

okay here’s my plan of attack, please point out anything that will probably fuck me over:

#

step 1: setup the microsd card for pi

#

step 2; plug it in pi, plug in ethernet cable (i might go to someone’s house who have ethernet) and do initial setup

#

step 3: connect it to wifi aces point created by the internetless router

#

step 4: access the dashboard and commence tomfoolery

#

done.

pale stratus
#

Remember that (2) is all the setup

#

You need working internet to set up any integration, install any add-on, upgrade anything, etc

#

HAOS will also sulk when there's no internet - the #installation-archived channel can help you limit the sulking to make it start up faster

fiery rivet
#

thanks for that note. very intriguing.

#

i wonder though, is it possible to cheese it using my iphone hotspot, like even connecting my laptop to my hotspot then wiring an ethernet directly to my laptop via network address translation

#

even for the initial setup and future tinkering? (no pun intended)

pale stratus
#

HAOS is based on Docker, all add-ons are containers, all containers have to be downloaded

#

All integrations use Python libraries, those have to be downloaded when one is set up

#

Note that containers are ephemeral - shutting down the host can cause container contents to be discarded. That means all those libraries may be discarded and need to be downloaded again.

fiery rivet
#

the host in this case would be the pi right?

#

i’m just wondering about the viability of just connecting the pi directly to my laptop for installing integrations etc, allowing it to access internet thru my hotspot, and afterward connecting it back to the router

#

or are there flaws in that which i have missed

pale stratus
#

That'll work, as long as none of your integrations are network based

#

Hopefully everything is Zigbee

fiery rivet
#

live, laugh, love and die zigbee all the way

#

but there’s one more thing

#

homekit bridge.

#

basically, given everything works properly so far, i think this extra step would work? afaik this bridge just allows me to control things from the home app

pale stratus
#

Yes, but only if you're on the same network as HA

#

At which point you may as well use the HA app

fiery rivet
pale stratus
#

Well, your phone/laptop has to be able to communicate with HA somehow

#

HA can control the devices regardless, but if you want to tell HA to do anything then you have to be able to talk to HA

#

TL/DR: Automations will run regardless, but you won't have manual control without a connection to HA

fiery rivet
#

hmm that sucks just a lot but i suppose what the hell was i expecting trying to make a setup this stupid work

#

i am determined however

pale stratus
#

Well, sounds like you were expecting magic

fiery rivet
#

the problem arises when i use my laptop, as i cannot connect to the router from my phone

#

ergo, i cannot manually control my devices whenever my hotspot is on

#

but i’ve got two workarounds, one, smart switches that automate shit

pale stratus
#

So....

  1. Stop using the phone for that?
  2. Buy some device to use as a dedicated manual control?
fiery rivet
#

bingo

pale stratus
#

Pick one

fiery rivet
#

and 2. is there some possible way to communicate to ha outside of the wifi thing

#

bluetooth even?

pale stratus
#

Communicate how?

#

From another computer?

#

Get to the web ui?

fiery rivet
#

ok i’ll try and explain this idea i have as succinctly as possible

#

but i was made aware many blue moons ago i can use my home router as a vpn

#

this means i can remotely access my router even away from home

#

could i somehow tweak this to my advantage by getting it able to talk to pi

#

therefore mitigating the need to manually select the router in the list of networks before turning lights on or off

pale stratus
#

i don’t know where else to look but basically i don’t have any internet connection. nada. the only thing i got is my phone which can act as a hotspot for my computer to connect to

#

That's where we started

#

Now you're saying you do have internet?

fiery rivet
#

ah

#

there’s the problem

#

that vpn thing has one little caveat, and that is it requires internet

#

right?

pale stratus
#

Do ... do you have any understanding of computers and networks?

#

Because it seems like you know the words, but not what they mean

fiery rivet
#

a very rudimentary level

#

which is why i’ve been throwing them around superficially

#

sorry if that’s been throwing you off 😭

pale stratus
#

For any two computers to communicate they need a network that's shared between them

#

If those two computers are in different places then that's normally the internet

#

A VPN from place A to place B requires a shared network, else they can't communicate

fiery rivet
#

ah

pale stratus
#

Treat networks like roads, and computers like houses

fiery rivet
#

well that clears things up

fiery rivet
pale stratus
#

If you don't have a road how can you drive from one to the other?

fiery rivet
#

i do hope whatever the fuck i’m doing here isn’t the most stupid thing you’ve seen around here 😭

pale stratus
#

Not even in the bottom 20

fiery rivet
#

honestly i’m just a high school idiot trying to automate his room to start with

pale stratus
#

That's also not to say you're in the top 98% 😛

fiery rivet
#

i graduate this year and thought i’d get started with this

#

shame i have no fucking wifi ffs

pale stratus
#

Some basic computer knowledge would help you a lot here

fiery rivet
#

a router with wifi then would really do me wonders

pale stratus
#

Go find some articles on how computer networks work, and that'll probably shine a lot of light on things

fiery rivet
#

fucking shame, that. anyways

pale stratus
#

Then you can connect everything to that, not your phone

fiery rivet
#

i suppose then i’d have to connect to that mobile router, which may take up a lot of data and most importantly, money

#

lose lose situation i made myself here

pale stratus
#

Well, yes, but no, but maybe

#

You can turn off the mobile data when you don't need it

fiery rivet
#

here’s the new game plan then. i’ll buy some cheap shit tuya zigbee smart buttons

#

i’ll provide you with a teeny bit of background info intro in that case

#

i got a few cheap as fuck aliexpress led strips that i want to turn smart. at first i thought of buying a zigbee controller, but the whole power source spiel was a bit too complicated so i settled with smart plugs

#

well, now seeing it’s not very feasible to control them from my phone i plan to buy some cheap shit tuya zigbee smart buttons that i can automate to turn off and on the strips thru HA, connected to my laptop of course

pale stratus
#

And use ZHA, not Zigbee2MQTT, so you've got less to learn

fiery rivet
#

incompatibility 😭

#

i wanted to use zha as well but the cheap stuff often doesn’t ride well with zha from the descriptions i’ve read on ali

pale stratus
#

Are you assuming, or did you actually check?

#

Because neither support everything

fiery rivet
#

sometimes it’s explicitly stated to use z2m and not zha

pale stratus
#

Take that with a mountain of salt

#

Seller descriptions are often full of shit

fiery rivet
#

noted with due reverence

pale stratus
#

Most Zigbee 3.0 stuff should work with ZHA

fiery rivet
#

i’ll tell you about my hardware so you can see how much of an noob i am

pale stratus
#

Same for Z2M

fiery rivet
#

raspberry pi 4b

#

smlight szlb 07 zigbee coordinator

#

Just found this amazing item on AliExpress. Check it out! AU$30.79 17% Off | SMLIGHT SLZB-07 Zigbee 3.0 to USB Adapter Smallest Thread/Matter Works With Zigbee2MQTT, Home Assistant, ZHA
https://a.aliexpress.com/_mPaLiIs

#

i did a bit of research before hand it doesn’t seem too rambunctious

pale stratus
#

That coordinator will work with either

fiery rivet
#

relief to hear

#

now, for the router

#

Just found this amazing item on AliExpress. Check it out! AU$9.99 86% Off | EATPOW 300Mbps 2.4G Wireless Router MTK7628KN Chipset WiFi Router With 2*5dbi External Antenna Router for Office/ Home
https://a.aliexpress.com/_mP2u8vm

#

would this work?

#

$9.99 aud piece of shit

pale stratus
#

Probably - but cheap stuff can be a gamble

fiery rivet
#

i think i’ve gotten everything i need

#

the final parts the ethernet cable

#

does it have to be crossover?

pale stratus
#

No

#

Crossover cables are mostly a thing of the distant past

fiery rivet
#

i’ll be using this same cable to wire it directly into my macbook and the shitty router

#

yunno, i’m sitting here having splurged $200 bucks on HA because i didn’t wanna pay $100 for philips hue, in hopes on setting something up so it’s easier than manually turning on my led lights, turns out to be hell of a bunch more complicated

#

the irony is palpable

fiery rivet
#

hi again 😁 there’s just one more thing

#

what ethernet cable do i need for it to work both with the router and with my laptop

pale stratus
#

You asked that yesterday, and it was answered

fiery rivet
#

oh right

#

i was talking about the plethora of cat cables

#

cat 6e, cat 5

pale stratus
#

5e is all you need, 6, 6a and above will work but will be overkill

#

Hell, even 5e is probably overkill for your setup

fiery rivet
#

@pale stratus i can’t connect to the dashboard 😭

#

the pi has power

#

ethernet is going into my laptop

#

green and yellow light on the pi, green on the laptop port

fiery rivet
#

oh nevermind i got it to work

fiery rivet
#

TINKERERR

#

I GOT IT TO WORK

#

IT WORKSSSSS