#ios_and_mac-archived

1 messages · Page 65 of 1

calm cove
#

the weird thing is the title bar never updates

#

but yea, right clicking on the menu bar icon did the trick

calm drift
#

do you have it set to hide the dock icon? the main menu bar is tied to that, so i put the things you may need in the right-click yup - glad you found it

hearty shore
#

Morning guys!
Does your iPhone disconnect from wifi when the screen is locked? Because of that the device tracker entity from the Unifi integration changes from "Home" to "Away" all the time. Is it possible to change that behavior? Thank you!

weak cargo
#

yes, it's normal for the phone to drop off wifi when it's asleep

#

if you want to use your phone as a presence device, you need to allow remote access to your HA instance manually, or via something like Nabu Casa cloud

#

or use the tracker in conjunction with something else to improve the accuracy, such as a door opening

hearty shore
#

"you need to allow remote access to your HA instance manually"
What do you mean?
This iPhone in particular doesn't have Hass app installed on it.
I was hoping to use the Unifi integration to detect when some friends are at my place and make some automations based on that. Android phones seem to work fine , but iPhone doesn't, it connects and disconnects all the time when the phone is idle. (I was able to test on just one iPhone 11)

weak cargo
#

This channel is for the app

#

And like I said, that's normal

hearty shore
#

Should I delete the post here?

thick fox
#

Hi guys, I have read all ip ban related posts, but cant find a solution. My iPhone keep getting ip banned every day on celurar and also wifi. I use only external IP (duckdns) to connect to my HA, so my all devices at home cant acces HA either when it gets banned. When I clear all the IPbans, i get another ban in few minutes. The only device that causes it is my iPhone, reinstalling the app did not help. Any suggestion ?

ebon dragon
#

Having a strange issue with the iPhone widgets on the most recent app. Using the "action" widget, I can select whatever I want. Using the 'open page' widget, however, I can't tap the 'choose' link.

calm drift
calm drift
thick fox
#

So I delete all banned IPs from /config/ip_bans.yaml and it works for few minutes until I get banned again

#

After a week out of my house, I came back home and got all my friends IP banned because my phone connected to their wifi.

calm drift
#

can you share the full ban log?

#

you can redact the IPs - mostly curious about the rest

thick fox
#

2022-07-05 16:38:47 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 78.108.xx.xx (78.108.xx.xx). (Home Assistant/2022.3 (io.robbie.HomeAssistant; build:2022.358; iOS 15.5.0)) 2022-07-05 16:38:47 WARNING (MainThread) [homeassistant.components.http.ban] Banned IP 78.108.xx.xx for too many login attempts

#

I can see just mine IP now

calm drift
#

so definitely the app and not the frontend. weird the app isn't being signed out too. the full app logs may be helpful to see exactly what is erroring. you can either read through them (it's not gonna be easy) or share them with me (either with https://wormhole.app or dropping them here: https://www.dropbox.com/request/CtVWqILBXZ41tmFSGK2y) and i can take a look.

Wormhole

Wormhole lets you share files with end-to-end encryption and a link that automatically expires.

#

app settings > debug > export logs. to get at them.

thick fox
#

Should I export the log now, or after I get banned again ? Does it matter ?

#

Thank you for your time helping me, I apreciate it a lot

#

I am already banned, so I am exporting it now

#

Do you need all the files like backup.realm etc?

thick fox
#

I just wanted to make sure I am not leaking all my HA credentials here posting the full log here😁

#

I uploaded it with my name JirkaAerox

calm drift
#

you don't need to include the realm file. sorry i'm starting my work day so it may take me a bit to take a look

thick fox
#

Sure ! Thank you.

crimson swift
#

can i also ask something about homekit and doorbell

weak cargo
calm drift
# thick fox Sure ! Thank you.

do you know roughly when the first ban log occurred? might be useful to tie it into the app logs. chances are what you saw in the logs was a post-ban log rather than pre-ban.

#

the first log i see in your logs is, unfortunately, the app already having been banned

#

did you set your device's clock forward to august?

#

and october?

#

i think that made the certificate become considered invalid, which maybe caused the app to open a websocket connection but not give auth credentials which i think HA may treat as invalid auth, i vaguely recall

thick fox
calm drift
#

i think - reset the app / log it out, and let's see if it happens again. not sure what is going on exactly.

thick fox
#

I increased the number of invalid attempts to 10, I can see that I get invalid login from time to time, but the app still works when I open it, so it needs to have correct auth.

#

It seems like some part of the app is doing something weird

#

How can I reset the app correctly? I have tried like 10 times to log out, delete the app, but the problem is still the same.

#

Should I delete all tokens in HA? I got like 100 of them, only because of my phone got logged out so meny times, when banned.

ebon dragon
calm drift
calm drift
heavy night
#

I setup a proxy on my fw and soon later my HA app reset itself, needed to delete my companion integration and login again yada yada

#

Because i believe it still used the internal url and in combination with the proxy got a invalid result back..
Is this something fixable or is this behaviour expected?

topaz pine
#

I am using Nabu Casa for remote access, which works fine. But when I am at home and connected with my wifi, it still uses the internet connection and is ignoring the internal url. This happens even when my internet is down - I can't access home assistant anymore though sitting in my living room . Using a webbrowser I can access HA using the internal url. The setting in my app always shows Remote UI Url as connection.
As it is also slower using Nabu Casa than access directly, I want it to use the internal url when connected to my wifi. I reinstalled the app on the iPad and iPhone, same result. Any ideas please?

weak cargo
#

Did you set the SSID for the internal URL in the app settings?

flint token
#

(It’s in settings -> companion app -> your server name -> internal URL)

calm drift
topaz pine
heavy night
#

I did not even open the app, this happened in the background.
Proxy was just to test other things

calm drift
heavy night
#

hm, a warning would be cool 😄 instead of bam - logged out! it's not even a flow change, it was my reverse proxy not allowing access to this proxy. all works fine if the proxy ip would have been allowed I believe.
just a minor thing though

crimson roost
#

Hi all, I'm having trouble debugging/troubleshooting the login flow. I'm one of the many who's put my home-assistant instance behind an authenticating proxy (also for internal traffic) and the auth_header component. Right now my symptom is that when I log in on the iOS app, it just loads the home-assistant homepage but doesn't return control to the app. I've exempted /api/websocket from the authentication flow, and I've set up my authentication such that requests with auth headers that would give a 2XX on GET /api/ are passed through.

I'm trying to figure out what precisely is happening, but I can't seem to get at any of the debugging data. I've tried running the CI artifact in the iOS simulator on my Mac, and I was hoping the logfiles would go into the console or somewhere else I can read them, but they don't seem to have done so. In an ideal world I'd be able to dig in and figure out where the process is going wrong between the app login intent being passed through in the redirect URI, the app intercepting the intent, the app taking that token and connecting using websockets/API, or whatever it is that's going on.

#

Quite unfamiliar with iOS and Mac development, so while I can see that the logs are being put in a file somewhere, I can't see any way to get at them... except by exporting them through the settings window, which of course I can't access unless I've already logged in successfully.

#

... maybe I can add an export button to the onboarding screen at least

thick fox
calm drift
#

i don't see the app doing anything to get itself banned as far as i can tell, it wakes up to find itself getting 403s

calm drift
thick fox
calm drift
#

hmm. next time it happens, save the full HA log from the logs page, it will be helpful for timing data to see what the app may have done at the exact time it got banned.

thick fox
#

Ok, thank you for your time.

crimson roost
# crimson roost Hi all, I'm having trouble debugging/troubleshooting the login flow. I'm one of ...

Update on this thread:

  1. The easiest way to get good debugging information was to try it out on Mac instead of iOS, where there's a lot more latitude to get at the logs.
  2. The issue in this particular case was that my authenticating proxy (oauth2-proxy) was silently stripping the redirect URLs out of the authentication request (that is, the authentication request to my SSO provider) because they contained a // - just needed to allowlist the domain with --whitelist-domain.

Hope these show up in Google and help somebody else out in the future.

calm drift
# crimson roost Update on this thread: 1. The easiest way to get good debugging information was...

oh darn i wish i had seen your earlier message, could have saved you some time. you may also run into issues with the authenticating proxy after login since the api calls and websocket connections from the app won't include any cookie data it sent.

at some point i hope to figure out if i can support these proxies. i've been working on esoteric login things (untrusted ssl, client certs) lately and it's in a similar area.

ornate hedge
#

Hi,
Is there a reason that you can’t select the color in a Complication with a template? There are a lot use cases to use that

thick fox
#

Hi @calm drift, little update about the IP banning the iPhone
`Logger: homeassistant.components.http.ban
Source: components/http/ban.py:125
Integration: HTTP (documentation, issues)
First occurred: July 8, 2022 at 12:55:02 PM (2 occurrences)
Last logged: July 8, 2022 at 12:55:03 PM

Login attempt or request with invalid authentication from 78.108.xx.xx (78.108.xx.xx). (Home Assistant/2022.3 (io.robbie.HomeAssistant; build:2022.358; iOS 15.5.0))`

This just looks like if the phone used wrong password, isn't it ? This time I have no log from the app, because I noticed it too late, but the app was working like always. The homeassistant log I remember from previous bans looks just the same.

calm drift
#

the app logs keep for around 3 days so it should still be there

thick fox
#

2022-07-08 23:58:03.131 [Info] > Home Assistant Version: 2022.3 Build: 2022.358 PID: 25485
The log starts after the ban. I will make sure I have all the logs next time . Jesus I am so unlucky.

calm drift
#

the logs rotate to dated files in the app's export too

mental cradle
ornate hedge
twilit bluff
#

I have a couple of questions

#

is it possible in the app to swipe from view to view?

#

and also, i am considering using a ipad mini for a remote, for HA and one or two other programs, is there a good free (or at least no subsription) "kiosk mode"-like app for ios? That lets the ipad mainly just show those to apps?

thin jetty
#

Are the clear-notification tags just a hit or mis? It works for a very limited time (read one or two times...) but after that it's not longer working. Is this a known issue or is there another reason i experience this behaviour.

clever plaza
#

is there a way to get notified of how many windows have been left opened ? I have a windows counter card, but it would be really nice if i could get a notification when i leave home, that like 3 windows are left open. And best if its possible to do that in UI ...

weak cargo
#

You'll need to be specific about the part you want help with

calm drift
crimson roost
#

oh darn i wish i had seen your earlier

clever plaza
clever plaza
#

And second question ( Got sent here from #general-archived ) trying to get blinds closed when i activate sleep focus on my iPhone, but from what i've understood so far, only do not disturb is used as a focus here, or can i also use focus profiles i've created on my own ?...

mental cradle
clever plaza
#

Ok so then the idea I had wouldn’t work 🙂

sharp geode
#

Does the iOS beta version of the mobile app support client certs like the Android version? I installed through TestFlight but it didn't prompt like the Android version did.

sharp geode
weak cargo
#

no obvious explosions or general failures using the app with the iOS 16 public beta

#

The widgets on the lock screen are pretty underwhelming, but the whole build seems pretty stable

calm drift
weak cargo
#

I saw that the phone name changed in the app settings, but my existing service remains and works

#

in addition to the "new" ones

#

maybe it'll be a problem if I restart

calm drift
#

that would be my fear. apple still hasn't said anything about permission to read device names. may need to add a hack.

weak cargo
#

notifications were the first thing I tried

weak cargo
#

yeah, it created another mobile_app instance that was frozen to my old iOS version and status, but the related service still worked. I removed it and the new one just wants to be known as "mobile_app_iphone"

#

if that's the only issue, it'll be a success

sweet egret
#

... that would explain notifications not working for me right now 🤦‍♀️

#

As we can set our device name in the app, would it make sense to use that for the notify service id? Well, a slugified version of it

#

I personally have two iPads, and while that's not that normal, I can imagine more people having multiple devices signed into their account which are actually shared devices.

calm drift
#

the device name you set in the app is used for the notify service name too

weak cargo
#

seems....snappier

sinful lichen
#

too bad those keep changing back to the name the user sets in their device (and use/set those for all sensors. I keep having to rename those every time the app is logged out for some reason. Couldnt the Mobile app integration remember those settings ?

#

example: my device is called 'My mobile phone' so all entities/sensors get that name. I want to rename 3: device_tracker, activity and geocoded_location, simply because I have rather complex templates, which copy the complete config and only need the 'name' I set in the mobile_app. 'device_tracker.marijn_app, sensor.marijn_app_geocoded_location, sensor.marijn_app_activity' etc etc for all family members.

#

device_tracker is ok, and remains untouched when a re-registration happens. The sensors however always get renamed to the original device name... as the app regularly logs off family members, you can understand how nice it would be if Integration Mobile_app would 'remember' the settings

runic anvil
#

Installed iOS 16 Public Beta, and as expected, my notification service was renamed to notify.mobile_app_iphone. I changed the name of my device in the app settings to match my iPhone device name (e.g., John's iPhone), but the newly created notification service removed the apostrophe in the device name (e.g., notify.mobile_app_johns_iphone) rather than replacing it with an underscore (e.g., notify.mobile_app_john_s_iphone), so it still doesn't match the old notification service.

#

Any suggestions for renaming the mobile_app notification service so I don't have to go through and change all of my automations? (I really don't want to do that anyway for consistency with other devices/entities that use an underscore in lieu of a special character.) I suppose for now I could change the device name in the app (e.g., John_s iPhone or John s iPhone), but that's a temporary hack at best and could create issues with the friendly name of related entities in Home Assistant.

#

Open to any other ideas!

weak cargo
#

I use a script to send notifications and that's the only place I have the actual mobile_app service. Limits the changes

runic anvil
runic anvil
#

For now, changing the device name in the app to John s iPhone and subsequently renaming my mobile device in Home Assistant to John's iPhone appears to have done the trick.

calm drift
full herald
#

I do know that Iphones ' is slightly different than other OS system's had a similar issue while programming.

runic anvil
#

Thanks for the suggestion.

#

That seems to have done the trick. I did have to paste in a straight apostrophe as I never could get the iOS keyboard to type one.

#

Would it be worth creating an issue on core about the disparate treatment of straight vs curly/iOS-style apostrophes when config flow is creating entity ids?

calm drift
#

i think there's a shared "slugify" that home assistant uses which is an external library

weak cargo
#

You can also see what it's going to do by pasting something like this into devtools -> Templates:
{{ slugify('abc') }}

idle scroll
#

Presence at home. I have used both WiFi/router detection and the companion app/mobile integration, but lately my WiFi has disconnected on my iPhone, resulting in several automation beeng triggered, which I don´t want, obviousely.

#

Will I actually need/benefit from the WiFi detection when using the companion app?

mental cradle
#

I don’t use it. Personally, I rely exclusively on the location data from the companion app for my prestige detection, but your mileage may vary.

lucid pond
#

Hey Everyone,

Incase anyone is interested I made a Shortcut that toggles the state of an Home Assistant Entity between ON/Off using the Home Assistant API.

You can get a Home Assistant API Token by going your Home Profile Page and then scrolling to the bottom and clicking "Create Token". Answer the setup questions or read the comments to setup the Shortcut.

https://www.icloud.com/shortcuts/28f7a8cec95d4186a2ee2f7dcf4f75d4

Hope this helps someone 🙂

Aidan

mental cradle
lucid pond
#

Yes but I just was playing with the API hahaha 🤣

#

This way you could control via Siri

mental cradle
# lucid pond This way you could control via Siri

But, again, isn’t that already a feature of shortcuts? I don’t mean to be rude or take away from what you’ve built, but I’m trying to understand what new capabilities this provides that aren’t already offered by the existing native service calls within the Shortcuts app.

lucid pond
#

I understand, to my knowledge you can’t get the current state of an Entity with the provided Home Assistant shortcuts actions.

sinful lichen
#

this is getting so frustrating... whenever I leave my local network, my iPhone App gets banned on its nabucasa url, though the ip-bans is listed at 127.0.0.1. in the app I have the cloud for external url.. I need to delete the in-bans.yaml file restart and relogin.. (and after that rename several of the entities in mobile_app, because the integration isnt smart enough to remember those, even though the device should have a unique_id). Why o why did this start happening since 2022.7..

calm drift
sinful lichen
#

heck, i got to wait for it to happen again.... I switched off network just now (and immediateley the app was kicked out of the connection). No error just yet though, only the nabucasa link is denied for now

calm drift
#

i don't really know what that means. if the app was signed out it stores the reason in the event log.

sinful lichen
#

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:124
Integration: HTTP (documentation, issues)
First occurred: 20:18:12 (1 occurrences)
Last logged: 20:18:12

Login attempt or request with invalid authentication from localhost (127.0.0.1). (Home Assistant/2022.3 (io.robbie.HomeAssistant; build:2022.358; iOS 15.5.0) Alamofire/5.4.4)

#

Could this be it ?

sinful lichen
#

Ive also noticed the location is constantly updated. Even when not moving at all ( watching a movie just now) and enormous amounts of loggings happened .. might explain the battery drain I am seeing lately….

#

And the toggles on the zones can’t be toggled ?

rapid pollen
#

I have the Fellow EKG electric kettle, which uses BLE protocol through an iOS app to turn the kettle on and off, set temperature, etc. There is a small amount of research that I found into this topic, but implementation seems to be quite involved in writing test code, which I’m not too sure how to do yet. Anyone else have this kettle and thought about best way to get this working or know of something in HACS that might be useful?

clever plaza
#

Hello, i can't find .homeasisstant folder on my mac - any idea why?

sinful lichen
#

so this:```2022-07-15 12:48:56 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from localhost (127.0.0.1). (Home Assistant/2022.3 (io.robbie.HomeAssistant; build:2022.358; iOS 15.5.0) Alamofire/5.4.4)

maiden musk
#

hi maybe its not for here but i am going crazy please can somebody help

#

Every six weeks i get Apple every 30 or so minutes asking do we approve of a login! I have no idea which intergration it is in HA. I have icloud , IOS and mobile phone would you know ?

#

I have tried disabling them i was sure it was icloud

#

but still gtting prompts after disabling it

calm drift
calm drift
maiden musk
#

I guess it is not the IOS intergration but if iCLoud is disabled why we still getting them, the whole family gets them thats how i know its a HA intergration

calm drift
#

are you sure it's disabled?

sinful lichen
#

more than 1 server: not sure I get what you mean. Its my main HA instance, and I connect either over the wifi or 4G.... sometimes it logs 127.0.0.1, sometimes it logs my iphone devices name.

maiden musk
calm drift
#

in the app's settings at the top, do you see just 1 server entry?

sinful lichen
#

will throw some logs if and when it happens, but for now, (after disabling the Google TTS setting) it has yet to come back. So even though Paulus said it couldnt be it, I wonder if it could...)

#

o sorry, no I have 3

calm drift
#

are the 3 for distinct servers or is there overlap?

sinful lichen
#

overlap as in what? identical entities/trackers?

calm drift
#

if 127.0.0.1 got banned for some other reason, the app will definitely log the http.ban entries because it doesn't know not to send network calls. so it might be worth figuring out why the server thinks the network calls are coming from 127.0.0.1 -- maybe you need a trusted_proxies entry for it

#

like are the 3 suppose to be 3 or are there suppose to be less?

maiden musk
sinful lichen
#

no there are supposed to be 3. they're different devices

calm drift
maiden musk
#

its very weird you have to keep disabling it then after a few you get an warning app need configuring and icloud pops up even if disable you re enable refresh then ad you apple details very weird

calm drift
#

the disable maybe is more of a 'request' unless you restart, i'd guess

maiden musk
#

cheers anyway have a good weekend andthing coming new to ios app ?

calm drift
#

always and never, depends on free time 🙂 it's been a busy year for me at work so far, so less attention to HA, but weird TLS situations should be easier in the app. and if you grab the TestFlight app (and aren't on iOS 16) it'll keep your sensors live-updated when Local Push is on, which can be pretty good.

sinful lichen
#

on the zones: any reason this is logged so constantly, even when not moving at all? I now have only zone enter/exit enabled and Push, which calms it done a bit, but I dont understand why it constantly updates all zones

#

Sensors ofc are useful updating, but the zones?

calm drift
#

how constantly? if you tap into it, what does it say the reason for the location update is?

#

in location history the subtitle is the cause of it

sinful lichen
#

Like this

calm drift
#

tap into one of them, do you have 2 zones that are near each other there?

#

that does seem abnormal, but i'm not sure what's going on. it could also be that it's stuck in a loop like: (1) update location, triggering zone changes (2) zone changes triggered entry (3) entry causes location update, repeat

sinful lichen
#

as said, Ive disabled the background fetch for now, but thats really not optimal ofc, as I want my phone to be tracked. It should only happen on moving though. And, I can see it updating All zones also, not just the ones I am travelling through

calm drift
#

background fetch is unrelated to those geographic enter/exit, but those are tied 1:1 with the zones themselves

#

clearly something weird is going on

#

in event log do you see anything with: "Initially monitoring" in it? how many zones do you have?

sinful lichen
#

I also added some track_ios: false to some of them ( I have rasther a lot of zones...)

calm drift
#

the app has to minimize the number of zones it tracks, which means when location updates happen it may swap which ones are tracked to only do closer ones, but it's suppose to ignore any events that happen during that swap

sinful lichen
#

yes, Initially_monitorind, and Ending_monitoring

#

and Exceeded maximum.....

calm drift
#

do your zones overlap the location you're at?

sinful lichen
#

no, my zone.home is the default, made by the original configuration.yaml settings, and no overlaps

#

39 zones

calm drift
#

i think some kind of bug is happening causing it to update locations when it's thinning the tracked zone list (to keep within apple's maximum monitored regions) -- logs are probably the best bet to see what is happening at least

#

it's possible the logic to ignore updates for about-to-change zones is happening too soon or not enough

#

what version of iOS is this?

sinful lichen
#

15.5

sinful lichen
calm drift
celest yew
#

Hey so was there a way of getting my childrens ipad and iphones update when something changes on their phone/ipad? Like when their battery drops.. when their device goes into charging mode etc?
What I can see on their "Last Update Trigger" its really stuff that doesnt happens a lot since their units mostly is at home.
Last Update Trigger on their units is Significant Location Change, Geographic Region Exited and Siri.
Isnt a trigger "Battery drop" or "Plugged into charging" etc a good trigger as well? Or is there only these major changes that trigger an update on their IOS devices?
My Samsung trigger each time I plug it into charging for example..

sinful lichen
#

Still without Bans.. ;/) gives some space for another issue: whenever I open the app via a widget on my iPhone the tab icons aren’t displayed… even a pull down refresh won’t make them appear

#

Closing the app and reopening via the icon on the Home Screen is always ok

#

On the widget: I have a set of shortcuts pointing to only 1 of my 3 servers. And yet it always asks which server I want to open. I can select any but ofc the other 2 show Not found. Isn’t it a bug it asks for those servers even if the shortcut is clear in itself ?

sweet egret
calm drift
sinful lichen
#

Clicking one of those always ask me to select a server

icy idolBOT
shadow valve
#

I need help configuring the "synced actions" for the iOS app in the configuration.yaml. Whenever I add an action there the configuration file seems to silently fail to load (all sensors and integrations are unavailable).

Validation says that the configuration.yaml is valid and the logs don't show anything.

Home assistant container v2022.7.5

The configuration: https://pastebin.com/FUWhBysA

(Yes I am aware I've defined the icons in two different ways, I believe the issue is with the icon so I was testing)

stone geode
#

Why is GPS updated so infrequently and what can I do to make it quicker with minimal extra battery drain? OwnTracks?

swift knot
#

Quicker will mean more battery drain, that's unavoidable

#

OwnTracks is certainly one option, I used it, works well if you get it right

#

Not sure how much more frequent it can manage on iOS though, given the rate limiting done by Apple

mental cradle
# stone geode Why is GPS updated so infrequently and what can I do to make it quicker with min...

One option is to train iOS to keep the app awake by simply launching it more often.

Alternatively, you can write automations to have Home Assistant actively ping your phone to request updates. Unfortunately, this is not 100% effective.

The last option is to create an iOS Shortcut that automatically updates Home Assistant whenever your phone is unplugged or plugged in (or whatever other trigger you like). In my experience, this is nearly 100% reliable - and instant.

Personally, I use all three methods and have very little issues with any of my sensors updating. I hope this helps.

stone geode
#

Honestly I'd want to replicate Life360's functionality with their updates when someone is looking at the map thing, although that would be hard to do, wouldn't it?

clever plaza
sweet egret
#

I've used a setup for doing that from iOS before. It kills your battery if you share it at a rate someone can follow you exactly, but it was handy for the events I was at.

clever plaza
#

got my problem, spacing 🙂

sweet egret
#

That and a good editor (such as the VS Code add on Frenck so generously maintains), will save you hours of headaches.

clever plaza
#

im slowly getting used to headaches when dealing with HA, its like a thing that comes together with using HA in my case 🙂 im just so into all this today that i somehow copied the lines correctly and then removed the correct spacing, after checking the original code, i found the difference 🙂

calm drift
#

the app optimized for "are you in a zone?" as an answer. anything more accurate will be complicated for battery usage - the app should be generally around 1-3km accurate otherwise depending on cell towers.

for like 6 months we've been waiting for apple to respond to our request for permission to use a feature that would allow the server to reliably ping the phone for a location update. think when viewing the map, the phone is asked to update. perhaps if they ever do so, it can be more similar to Find My.

sinful lichen
#

why o why is the app always renaming the entities back to the ios devices name and entity_id upon re-login, instead of keeping it named the user overrides in the integration settings? I want the IOs device to have some cryptical name so it can not be discovered on the train to be mine, but want to name it differently in HA.

#

it should have a unique_id to be able to do so and remember that?

calm drift
sinful lichen
#

Yeah but somehow we regularly get logged out… auto magically. Or purposely, when the local only devices return home…

#

But even so, couldn’t this be made so it does keep?

calm drift
#

yeah maybe. i'm not sure how the core side of it works. it definitely re-connects to the integration it had before because the device id matches.

#

ideally we solve why you're getting signed out

sinful lichen
#

See above , I added some logic for the logout

#

I thought I had it fixed by renaming the device ( first only renamed some entities) but unfortunately not, and though the device name remains changed, the entity_ids all return to the original

mellow ermine
stone geode
#

Sorry, wrong reply BigBlackBear.

grave lake
#

anybody fix the ios16 notification problem ?

#

its sending on my phone but if ı click 2 times call service its sending 1 time

dreamy rivet
#

i love the widget that lets me load a scene on android.. the same exists on ipad but instead of just loading the scene, it also opens the home assistant ap.. is there a way to change that?

calm drift
calm drift
grave lake
#

İf you want ı can record video @calm drift

calm drift
#

sure that may be helpful

nimble whale
#

am I completely blind or is the companion app for mac os only available from the app store now? there always used to be a direct download available as well

dreamy rivet
#

new to ios.. damn shortcuts looks pretty cool

sweet egret
#

It really is. Play with the automations tab—specifically personal automations and turning off "ask before running". So handy 😄

calm drift
nimble whale
#

TY! bookmarking that everywhere I can think of

thin cedar
#

is there anything that can be done to increase the effectiveness of the ios App reporting sensor information while backgrounded? I have one family member who's sensors update, but seemingly do so at a sporatic interval. fwiw: iphone 13.

#

said family member doesn't open the app all that often

sweet egret
#

Speaking of which, if you have multiple servers, which one(s) will be updated by the shortcuts action "Update sensors"?

thin cedar
#

You're saying I can 1) build a shortcut that triggers the HA app to send updated sensor information and 2) that can be configured to run automagically on some regular basis?

nimble whale
#

oh wow that's a really good idea

#

there's literally an "Update Sensors" action in shortcuts -- that makes it really easy, we run into the same issue @thin cedar

#

depends on the sensor though I guess... probably not very useful for location and things that are constantly changing

thin cedar
#

curious if the Update Sensor shortcut thing actually tells the OS to update the values of the sensors -- or if it just tells HA to send the current data to the server

#

"Send a sensor update to Home Assistant" - I'd assume that means it just sends data, no updating what the current status is

nimble whale
#

the example I just saw was someone wanted phone charging status, so they made an iPhone automation for when the phone is charging to run the "Update Sensors" HA action and it seemed to work flawlessly, so I'm optimistic it does both?

thin cedar
#

still have to do #2 above

nimble whale
#

yeah, you can set up automations to run based on a few triggers (not as much as android would allow), but you can have it run based on location, time of day, etc...

calm drift
#

"Update Sensors" sends the latest values.

in the latest testflight beta, as long as the app is connected to Local Push (so internal url working and on wifi for it), sensors should update mostly instantly. https://home-assistant.io/ios/beta

Home Assistant

Invitation to join the Home Assistant iOS beta.

calm drift
sweet egret
clever plaza
#

Hey 🙂 trying my luck in #installation-archived but it’s been pretty quiet, so I’m trying my luck also here since it’s kinda mac related 🙂 im unable to connect to my HA config with samba share, using HA OS on VM on Mac, Samba Share installed and running, tried these adreses \192.168.x.y\config
://\192.168.x.y\config
smb://192.168.x.y/config
smb://192.168.x.y without any success. Trying to connect to it on mac through desktop, go, connect to server, and im using the ip that i see in my router for HA, tried the DuckDNS in the beginning but was told its not the right way 🙂

weak cargo
#

None of that is related to the iOS app

clever plaza
#

iOS and Mac ?…

proven elm
#

points to the category

#

Apps

#

Android, iOS and Mac apps

#

Not general Android, iOS and Mac help and advice

clever plaza
#

Ok 🙂

#

Was worth a try, still thanks 🙂

proven elm
#

Yep!

weak cargo
#

What you're asking is more a question for Google

tribal wedge
#

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?

weak cargo
#

Doesn't seem related to the Mac app