#general-archived

1 messages Β· Page 360 of 1

quasi tapir
#

@stark raptor I want to show names that have a clear meaning in the Energy dashboard "Monitor individual devices" can you create name field for the devices I can change?

rapid obsidian
#

hi, will b/g/n devices work with ax wifi standard?

#

like, does ax also contain those lower frequency bands, allowing the lower devices to select their respective bands, while others can use the higher band?

undone moss
undone moss
quasi tapir
#

@rapid obsidian moust common a device connecting to a BSSID (WIFI name) + mac of AP is connected to the network until a lover rssi is reatch or the AP cicks it off.. Of the device do a reconect. .. so if yo first connect to a nettvork ant the one AP in the garage is strongest. you deivice will connect to it. and if you move into the living rom and the AP there have a stronger signal you devices well not swap untill the lover limit of the garage is reatch .. 12% signal or so. then swap. you need to manage your device strangsth to get it to swap.

#

Do not overlapp APs whit the same SSID and channel more then 10% signal stranges

rapid obsidian
#

thank you,that's well and good, but I was asking about frequencies not signal strength

#

I got a new router and it's 802.11ax. Old one was 802.11b/g/n.
now all my devices are out of whack

#

am just trying to pinpoint the cause

undone moss
#

As I’ve said for me it worked πŸ™‚

rapid obsidian
#

yes, thank you Oskars I took your advice, tried readding some devices and only some worked. Am still narrowing it down, maybe it's because of newly selected ports

undone moss
#

Maybe the router is using the dual band thing and allows the devices to connect only to the new standard ? I had some issues with 2,4gHz devices in the beginning, so I had to turn of 5ghz band and the new standard and it worked, connected them, then turned everything back on πŸ™‚

quasi tapir
#

What type of out of whack are talking about ?. good signal but poor speed? Signal but now acces. Or random discon ?

rapid obsidian
undone moss
#

Oh and mine also had the new security standard, that was a problem also with one devices I turned the wpa2 back on and it worked πŸ™‚ sorry don’t have all the terminology in my head now but hopefully I could help πŸ™‚

rapid obsidian
#

yes that's a good tip

#

cheers

quasi tapir
#

what I have experiansed is if the network do not give you access to internett .. wrong DNS or wring IP network .. you connect and get discon after 10 sec

rapid obsidian
#

yeah,no that's not it. Internets are working everywhere else (other PCs in the network)

quasi tapir
#

connected to the same AP and Wifi networ ?

rapid obsidian
#

yes, I set the same values for the network, same settings I mean

#

so that the new router behaves exactly like the old one

#

as much as possible

quasi tapir
#

Go lov level TB .. Can you ping your GW adress ? .

rapid obsidian
#

what's a lov level tb

#

or a gw address?

quasi tapir
#

do a win+r

#

CMD

#

ipconfig

rapid obsidian
#

gw=gateway, got it

undone moss
quasi tapir
#

πŸ™‚

rapid obsidian
undone moss
#

Yep πŸ™‚

quasi tapir
#

@undone moss @rapid obsidian yes. if you can forget your network and then reconect

rapid obsidian
quasi tapir
#

ping what you see as your gateway adress

rapid obsidian
#

ok I did but I already knew that would work

#

0 loss

#

0ms lag

quasi tapir
#

and what if you ping 8.8.8.8

rapid obsidian
#

20ms

quasi tapir
#

no loss ?

rapid obsidian
#

nope

quasi tapir
#

then you have intenett

rapid obsidian
#

yes, I already said that :p

#

it's the devices that don't connect to the network, not the network not connecting to the internet

#

anyway, that's what I needed to know: if b/g/n fits inside ax spectrum

quasi tapir
#

ok sorry .. yes. .. b/g/n is on the same basic freacuasy

rapid obsidian
#

that's good. ok so then the mac thing is most likely the culprit

quasi tapir
#

I THT Wifi like 100x at a day .. its alwasy the thing you dont ting about thats the problem

rapid obsidian
#

heheh yeah

#

usually the most obvious thing is the one to go under the radar

#

for me at least

quasi tapir
#

Yes. i like to go by the iso 7 layer module .. and that work 50% of the time

wide warren
#

has anyone recently used google calendar integration?

#

i saw that it no longer creates that yaml file and if i want to make some custom calendars(like i want to track reminders and stuff as well, now if i have an all day event i cant see anything else)

zenith marten
#

Hi im getting "are too far apart with stepSize of 1 millisecond" from the history page, did anyone else get theis problem

glacial mountain
#

Looking at adding SSL, but I subscribe to Nabu casa so don't need remote access: any guide that I should follow or use?

subtle bramble
#

Good morning all ... is the websocket API available on the same port as the web interface?

#

I've added websocket_api: to my configuration.yaml but for some reason websocket requests aren't working. It returns an error code 400 "Bad Request".

undone moss
#

hi all, i did something stupid with my hassos install and wondering the easiest way to resolve it. i installed the adguard add-on and then statically configured hass's DNS to use it. on the first reboot, it's stuck in a boot loop, i guess because it can't resolve DNS for something that it needs before it starts the adguard container.

rustic nest
#

hello, I am trying to install Home Assistant on my Macbook air. I am very new to all of this and pretty much don't know anything. I followed the instructions from this Youtube video https://www.youtube.com/watch?v=hej6ipN86ls, but when I go to run the UI using this command "hass β€”-open-ui" it doesn't work. Can anyone help me?

cerulean igloo
#

Sorry, i had to step away. I asked if IPv6 is ever going to get fixed for reverse proxy because several people have complained that when you use reverse proxy for IPv6 and enable trusted_proxies, it ignores IPv6 addresses. Also, IPv6 addresses are always shown as real IP even though going through reverse proxy. Where as IPv4 shows as the Reverse Proxy address so you only need the IP of the reverse proxy.

#

But even if you add the IPv6 physical address HA always says: Invalid IP address in X-Forwarded-For: [XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX] and the client says 400: bad request.

cerulean igloo
#

Ok. I figured out part of it... My reverse proxy only had it's IPv4 address pointing to the server. So, Request was coming from IPv4 -> IPv6. This was making the wrong IP show up. But now I still can't get the trusted_proxies to recognize an IPv6 address to allow it!

undone moss
#

or at least, it's intended to (maybe it's buggy)

#

I've never seen square brackets around IPv6 addresses in X-Forwarded-For, so that might be your issue

#

i don't see anything in this code that would strip them, so they probably cause a parse failure

#

X-F-F isn't standardised anywhere, so I can't say that you're wrong to include them, I've just not seen it done by other software

cerulean igloo
#

Gotcha. Well, I'm using IIS with Application Request Routing (ARR). So maybe it's a microsoft thing?

undone moss
#

maybe. open a github issue to let HA developers know that some software sends X-Forwarded-For with square brackets around the IPv6 addresses, so they should probably strip them out if they encounter them

#

if you're capable with Python, make a pull request!

cerulean igloo
#

I'm unfortunately not 😦

#

Ok. I will create a Github issue and go from there. Thanks for your help!

lavish wadi
#

So I have an RPi with a touchscreen that I want to mount on the wall. I have the RPi running Chromium and opening up HA fullscreen the way I want, but is there some clever way to sign it in so it stays signed in? Can I use a long term token with it somehow?

undone moss
#

was reported before, and closed due to being stale (nobody fixed it and the issue was silent for a while)

#

a hacky solution would just be to change addr.strip() to addr.strip(" []")

#

but really you'd want to be strict that it either had both brackets, in the correct order, or none at all

cerulean igloo
#

That's not encouraging! HAHA

#

At least I'm not the only one! LOL

undone moss
#

it's a big piece of software, small itches like this are likely to not get scratched unless someone both cares about them and can fix them

#

a small function to parse an IPv6 address optionally enclosed in square brackets would not be complicated (the standard library handles parsing the address, you just need to deal with the brackets), maybe a good opportunity to learn python :)

cerulean igloo
#

HAHA πŸ™‚

digital crescent
#

Hello, where i can find chanal on lovelace or find some creation?

undone moss
hearty veldt
#

So, I'm trying to access my MQTT Broker from outside my network without success. In short, I have an external IP address and access my instance through Cloudfared (HTTPS-only), how can I send messages to my MQTT broker like that? I tried using the 8883 port with TLS, but didnt have success.

stoic hill
#

If I want to define groups (like light groups) in yaml ... which file is best to use, configuration.yaml or is there a better alternative, perhaps one that does not require a full restart?

cosmic thunder
#

You can define old style groups in YAML, and reload them, but they're not light entities, just group entities

merry sage
#

Was that actually removed?

#

I thought they internally 'rewrote' them, like template entities

cosmic thunder
#

Oh, actually, you may be right...

#

It's the first time they've released a new integration that ignores the requirement for either YAML or UI

wide warren
#

i m trying to connect home assistant to google assistant and i get some wierd errors and warnings

#

i can click the custom project and it opens a link to my ha domain

#

but i get an Error: Invalid client id or redirect url

#

in the logs i get a Login attempt or request with invalid authentication, and an error with "os error while looking up redirect uri:

#

could it be casue i don t access my ha with https? it s set up with a reverse proxy, i access the http but it gets converted to https

verbal lava
#

Hey there,
Is there a way to check what uses the space on my sd card?

#

I only have 0.7 left

cosmic thunder
stoic hill
# cosmic thunder You ~~can't~~ actually can define `light` groups in YAML

Oh, that's a bummer. I was hoping to be able to manage the groups more easily - as in, if the group changes, because I add or move a device, to make changes, without having to delete and recreate the groups...
Is there an alternative to group management over the UI, which is annoying, to me. πŸ˜„

cosmic thunder
#

You can manage UI created groups in the UI

#

No need to remove them, just add or remove new members

#

Even better, it's all point-n-click

stoic hill
cosmic thunder
#

Yes, it goes for any UI group

stoic hill
cosmic thunder
#

Just edit it in the Helpers menu

stoic hill
verbal lava
cosmic thunder
#

Yes, it's not obviously a button to click

stoic hill
sick loom
#

I'd like to understand whether select.xxx entities are updated in HA if they are changed from outside of HA. e.g. I use the Goodwe integration that allows me to set the inverter operation mode to one of 4 options. If use the Goodwe supplied application from my phone to change the operation mode to something different what HA is reflecting, the select.xxx value in HA is not updated. A reload of the integration is required for it to reflect correctly. Is this the expected behaviour?

cerulean igloo
# undone moss it's a big piece of software, small itches like this are likely to not get scrat...

For now, I just disabled my X-Forward-For header. Is there any real risk in this? I know everything now shows it's coming from my reverse proxy address instead of actual host address, but at least it's working. I have my reverse proxy logs all enabled as well in IIS, so I can see the true IP that way... Is there any other drawbacks from disabling my reverse proxy from sending X-Forward-For headers?

cosmic thunder
#

Well, now all remote connections appear to be local, so you're bypassing a bunch of protections

cerulean igloo
#

😩

cosmic thunder
#

I just use IPv4 for my Proxy<>HA connection, it's not exactly like my internal network hasn't been dual-stack for years and years

cerulean igloo
#

Gotcha. Then that maybe what I'll have to do and just live with it πŸ™‚ HAHA

undone moss
#

you could also change the proxy you are fronting it with but I guess you are using IIS for other stuff

#

virtually anything else should work, I don't think adding square brackets around ipv6 addresses in XFF is typical (there is no reason to do it, seems like someone at MS just saw them in a URL β€” where they are part of the URL syntax, to differentiate from the port, not part of the address itself β€” and thought they were part of the address)

cerulean igloo
#

Yes. IIS is my main webserver unfortunately. Would be lots of work for me to change it 😦

#

With login_attempts_threshold... If you have it set for 3, and fail twice, succeed on third, it'll let you in. Does it ever reset the counter? Or would next time you login with invalid password ban you?

cosmic thunder
#

A successful login should reset the counter, that's generally how it works everywhere

lone spear
#

Hi everyone! I'm running Supervised 2022.7.6, noticed recently that it says my setup is unsupported due to docker daemon config. My original config was the same as here https://www.home-assistant.io/more-info/unsupported/docker_configuration but with the lines flipped. I now have it the same as the docs and still getting the same message and "recommended link" when I check my system health.

I am running on Debian Bullseye and Docker version 20.10.17, build 100c701

#

I also had a weird issue after changing the daemon config and restarting the docker service, most of the add-on containers and some core stuff failed to start. All fine now after a full reboot, but still getting the "unsupported" message.

I apologise if this is not the right channel, but I see #330944238910963714 has been archived

cosmic thunder
#

Do keep in mind that Supervised should only be run by people who're already deeply experienced with managing Linux and Docker, it's far too easy to get it into the state you have

lone spear
#

Experienced, I am. What I don't get is the reference to a "wrong" config when my config file matches perfectly, and had been properly set up for a long time as I like my fast long-term stats. I'll make sure the rest of the reqs are still met. Thanks for the feedback!

cosmic thunder
#

Supervised is pretty fragile, it doesn't take much for it to break, and TBH there's pretty much no good reason to run it these days

lone spear
#

I tried HAOS first, didn't wanna boot at all on my hardware. Running everything on a Zotac Zbox mini

cosmic thunder
#

Native Docker, or HAOS in a KVM VM

lone spear
#

I'll try native at some point. Either way, seems like a bug in Supervised, if it points to a config that decidedly not wrong.

#

Seems like I have some reading to do, thanks again @cosmic thunder

cosmic thunder
#

Well, Supervised is minimally supported, it's an accident of history at the end of the day

undone moss
#

i mean, i had a problem today with HAOS that got it into a boot loop, rebooting too quickly to even see what was failing, until I grepped through the HAOS repository to follow a hunch and then told systemd via the kernel cmdline to mask docker.service and then went and ran dockerd manually to get logs and find out that it had somehow corrupted docker's key.json. so I guess HAOS is not immune to being fragile and requiring someone "deeply experienced with managing Linux" either

#

in the end something i was controlling which i could actually debug would have been easier; an inexperienced user likely would have had to just wipe and start again / restore a backup

lone spear
#

My setup has been running in Supervised for over a year now, no issues from the HA side, just me not knowing how things work on this platform (came from Hubitat). I still prefer the model of Supervised, allowing to setup add-ons as companion containers, all under the same umbrella. I also don't mind the requirement to only have HA stuff running, not sure if this also applies to running in Docker.

#

I am setting up a VM to run some migration tests, and see if I can stand up a temporary VM-based HAOS to wrap my head around what needs to move

cosmic thunder
#

Nah, if you use Docker/HA Container then you can do what you want

#

It's only Supervised that has restrictions, because otherwise stuff breaks all the time

lone spear
#

I'll try again with HAOS on the same hardware, maybe now it will work. I still want to use a separate host, as the docker stuff I have on my NUC is for general home-lab management and doesn't touch on home automation.