#i don’t know where else to look but
1 messages · Page 1 of 1 (latest)
@pale stratus i just got some questions tho, how will i access my dashboard in the future and actually control my devices etc?
Well... locally, on the network that HA and Z2M are running on
http://192.168.0.42:8123/
😭sorry i’m relatively noob at this
so you’re saying i can have a laptop that’s not connected to a wifi network and able to access the pi?
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
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
i’m not completely clear at this step. how would i do that
@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).
Set up a WiFi access point for example
gosh i feel stupid, how does one setup a wifi access point if he doesn’t have wifi?
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
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.
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
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)
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.
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
That'll work, as long as none of your integrations are network based
Hopefully everything is Zigbee
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
Yes, but only if you're on the same network as HA
At which point you may as well use the HA app
so i have to be connected to the to the router from
my phone or laptop to be able to even control the devices
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
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
Well, sounds like you were expecting magic
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
So....
- Stop using the phone for that?
- Buy some device to use as a dedicated manual control?
bingo
Pick one
and 2. is there some possible way to communicate to ha outside of the wifi thing
bluetooth even?
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
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?
ah
there’s the problem
that vpn thing has one little caveat, and that is it requires internet
right?
Do ... do you have any understanding of computers and networks?
Because it seems like you know the words, but not what they mean
a very rudimentary level
which is why i’ve been throwing them around superficially
sorry if that’s been throwing you off 😭
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
ah
Treat networks like roads, and computers like houses
well that clears things up
nice analogy
If you don't have a road how can you drive from one to the other?
i do hope whatever the fuck i’m doing here isn’t the most stupid thing you’ve seen around here 😭
Not even in the bottom 20
honestly i’m just a high school idiot trying to automate his room to start with
That's also not to say you're in the top 98% 😛
i graduate this year and thought i’d get started with this
shame i have no fucking wifi ffs
Some basic computer knowledge would help you a lot here
a router with wifi then would really do me wonders
Go find some articles on how computer networks work, and that'll probably shine a lot of light on things
fucking shame, that. anyways
Well, that or buy a mobile router, that you can plug a SIM into to get you some mobile broadband
Then you can connect everything to that, not your phone
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
Well, yes, but no, but maybe
You can turn off the mobile data when you don't need it
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
And use ZHA, not Zigbee2MQTT, so you've got less to learn
slight problem.
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
sometimes it’s explicitly stated to use z2m and not zha
noted with due reverence
Most Zigbee 3.0 stuff should work with ZHA
i’ll tell you about my hardware so you can see how much of an noob i am
Same for Z2M
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
That coordinator will work with either
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
Probably - but cheap stuff can be a gamble
i think i’ve gotten everything i need
the final parts the ethernet cable
does it have to be crossover?
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
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
5e is all you need, 6, 6a and above will work but will be overkill
Hell, even 5e is probably overkill for your setup
@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
oh nevermind i got it to work