#general-archived

1 messages · Page 159 of 1

undone moss
#

homeassistant.local right?

void maple
#

Yeah but I don't really use mDNS. Can be flaky in my experience. The ip is probably most reliable or the hostname without .local. Your router probably handles that if you use DHCP

undone moss
#

it turns out my ssl certs were issued for my duckdns domain thus my local ip has no valid certs
Refused to frame 'https://192.168.0.19:2665/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://192.168.0.19:8123".

undone moss
fair cloud
fathom trail
#

so i have installed home assistant in virtual box in windows to dip my toes into it and next week i get my home server hardware will i be able to migrate what i started in virtualbox to that server (which will be linux most likely) or will i have to start anew ?

merry sage
#

No. Take a backup and restore it

fathom trail
#

k thanks

#

https://i.imgur.com/9gLRbhz.png another question: i have a tasmota plug with energy sensors and now im wondering which of these sensors is the right one for the energy dashboard. usually i would say the realtime watts but that sensor isnt available to choose only the kWh ones

#

also all the sensors only refresh like once in 30 secs or so can i increase that rate ?

void maple
tight bone
#

question: everytime my HA reboots, i need to then reconnect the wifi (give it a IP scan for a network join it ) is there a way of that just happening automaticly?

void maple
muted marsh
#

Hello everyone, I have an problem with my installation, I get OOM when the core try to update from 2023.4.6 to 2023.10.5. What channel can I use to get help ?

void maple
#

Here seems fine. Can you share the log and some details about your setup and hardware?

muted marsh
#

hi thanks, let me a second to type it ^^

olive summit
#

Hi, I am experiencing some problems with my tablet running fully kiosk (no PLUS) for home assistant. As a home power supply I put a smart socket, creating an automation that when it gets to 35% battery it recharges while when it gets to 80% it turns it off. The problem is that after it is charged, and it is used, and it gets to 35% it activates the automation but doesn't start charging, causing it to drain until it shuts down. Making it unusable. How can I solve this? The tablet is a pritom 10 with android 12

muted marsh
#

I have a rpi3b with 1G RAM. The core is in 2023.4.6, I'm connecting to it directly with a keyboard since everything else is not usable.
When the pi boot up, the homeassistant container (it's the core ?) takes 100% of the CPU and takes over the RAM, up to provoking th OOM Killer which kills something at random.
I tried to update the core via 'ha core update', which told me that everything was ok, but on restart the raspberrypi3-64-homeassistant:2023.4.6 container boot up and hog the memory again.
I just tried to disable the watchdog, stop it and launch the update but it's seems to be doing nothing anymore and not giving me back the prompt.
I may be able to post picture of the screen if you want logs, feel free to point me to the commands needed.

junior summit
olive summit
#

tips?

junior summit
junior summit
# olive summit tips?

no, ask in a discord for your tablet. charging and turning off/on psu is a basic thing which apparently fails

muted marsh
junior summit
#

I have no idea about HAOS, especially not on a rpi3.
but rpi3 is barely supported I suggest you change to something more powerful

#

or change to a container install

#

1gb ram is almost fully used by ha itself

muted marsh
#

yeah, it's what I come to see.
Would be nice if the install page stated it 😕

quartz oriole
#

If changing the configuration via the mqtt discovery payload, do first have to send an empty configuration payload with retain=false.
And then send a new discovery payload with new configuration?
Or does it work to just send a new retained discovery payload?

void maple
muted marsh
# void maple You might be able to figure out why it uses so much: <https://www.home-assistant...

I'm not sure I can (or know how) install an integration from the ha command line. Can you point me on resources ? Is it possible to disable the Zigbee integration to test, since it's the main thing I use ?
I have adguard (which I stopped), google drive backup, ssh, nginx and duckdns (all running) (and configurator but I think it's an internal addon ?). They don't take that much bu I can try to disable them.
If I change i will go to HA Green, hoping that the problem doesn't come back down the road

junior summit
#

you do realize there is a whole bunch of other containers running besides what you already describe here? that poor little pi3

muted marsh
#

Yeah i'm watching them right now 😄

rocky wyvern
#

In Home Assistant, I have a template occupancy in binary_sensor.yaml as an example: - platform: template
sensors:
tpl_occupancy:
friendly_name: R&M
value_template: >-
{{ is_state('person.robert','home') or is_state('person.mojca','home') or is_state('input_boolean.guestmode','on')}}
icon_template: >-
{% if is_state('binary_sensor.tpl_occupancy','on') %}
mdi:home-account
{% else %}
mdi:home-outline
{% endif %}

#

The sensor shows me on/off, but I would like it to show me home/away! How could I achieve this?

muted marsh
junior summit
#

homeassistant uses >600mb alone, and you have a whole fleet of other containers besides that

#

1gb is not enough, no. not even close

muted marsh
#

Can I disable all other containers and start haos ? Or there is required containers ?

junior summit
#

supervisor will start them again

muted marsh
#

Since everything was fine before, I suspect that the startup is trying to update something and it may go back to lower ram.

muted marsh
void maple
junior summit
#

I suspect they want to disable the audio-container etc...

void maple
#

Single Board Computer.

muted marsh
#

You're not a fan of ha green/yellow?

void maple
#

No

#

Can you show the output of the commands I mentioned and the log with the OOM information?

muted marsh
#

I'll get them

muted marsh
tight bone
void maple
# muted marsh why that ? Same for Rpi then I suppose ?

For 100$ (SFF or tower PCs even for less than 50$ in some locations) you can get a small PC that is x86 and can run pretty much any OS and software. Is extendable (you could just exchange the RAM). It's also a lot faster. The list goes on. A real general purpose PC basically.
Pis have poor price performance ratio, need a powered USB hub if you want to reliably use their USB ports, for a external SSD for example.
Their internal storage sucks. SD cards corrupt easily. You need a mini HDMI adapter to debug them (petty, I know). Can't run specialized distros on it or boot a live iso.
You're limited in what you can run (ARM) and debugging is harder, can't be extended/modified.
You also can't properly virtualize of which I'm a big fan of: #hardware-archived message
Not sure if it's the same for others and the list is just what I had in mind right now but it's enough for me. I'm a bit biased.

void maple
#

They are usually a bit more pricey but yeah, something like that

void maple
tight bone
void maple
#

Only parts of it and its eco system. I wouldn't consider myself a HA expert

tight bone
#

how do i get the power to show on the front screen, is that a template question?

junior summit
#

what power and what screen

void maple
#

Depends what you mean with power and front screen
Good to see I'm not alone in questioning what this means

tight bone
#

power meaning energy

junior summit
#

what energy ?

tight bone
#

that little graphic thing

junior summit
#

which little graphic thing?

#

if you mean the ENERGY DASHBOARD you have to configure sensors in settings - dashboards - energy

tight bone
#

Energy distribution

junior summit
#

there's dozens of ways to display that in ha

tight bone
#

what would number 7 be?

tight bone
void maple
tight bone
#

oh and a way more difficult question, it is a hypothetical, if i have a HA at my mums place and a HA at my uncles and my HA, is there a way to share all the data on my website with them all?

void maple
#

If the website is publicly accessible there's likely some way but that's too vague to really answer. What data?

tight bone
#

i see what i did there, can i get all the solar data thru the HA?

junior summit
#

yes

tight bone
#

sorry 90% of my interests is solar, 1% chicken eggs 1%weather 1%pavolvas 1%gardening 1%networking 5%cats

pseudo mulch
#

hi i don't see a channel for mqtt but feel free to redirect me if i missed it i recently bought a meter to see how much power i am using i am trying to connect this to homeassistant with mqtt it is connected to my mqtt server but i can't see any data.

2023-10-29 11:59:29.555 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform dsmr_reader
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1056, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/dsmr_reader/sensor.py", line 55, in async_added_to_hass
    await mqtt.async_subscribe(
  File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 176, in async_subscribe
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Cannot subscribe to topic 'dsmr/reading/electricity_delivered_1', MQTT is not enabled
2023-10-29 11:59:29.569 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up dsmr_reader platform for sensor``` This is the log
junior summit
mental temple
#

Hi there, I have a problem after upgrading to 0S 11.1, no network connection... I only have access to "ha". If I try network update end0, I get a message saying ... "no space left on device". I'm using a raspberry py4 with 32Go of sd card...

void maple
#

Can you run df -h?

mental temple
#

/ 100%

void maple
mental temple
#
668.5K /etc
52.0K /tmp
320.8M /usr
11.9G /mnt
1.2M /run
0 /var
0 /sys
0 /sbin
0 /root`
...
7.4M /mnt/boot
25.0M /mnt/overlay
11.9G /mnt/data
0 /mnt/config```
#

I've try ha su repair, docker prune -a... without success

tight bone
#

im using a rpi3 so far not having any problems

#

hmmm why is sensor.inverter_active_power not appering on my energy page?

junior summit
#

I‘d call that a problem

#

Maybe its POWER and not ENERGY

mental temple
#

if I try to restore a backup: Error: 'BackupManager.do_restore_full' blocked from execution, no supervisor internet connection 🤔

void maple
mental temple
#

keyboard & monitor, I can't have network connection because 'No left space on device'

void maple
#

Can you also show the full df -h output? It's docker system prune -a btw

mental temple
#

/dev/root 130.4M 130.4M 0 100% /

#

total reclaimed space: 0B

void maple
#

Take a picture if you must but I want the full thing

mortal gorgeBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

bitter notch
#

https://imgur.com/f2l1aiE does this feature move the entire HAOS to the other Storage device? i want to move from a sd to a ssd disk

mental temple
bitter notch
cosmic thunder
#

Yes

#

Though, download the backup first

void maple
muted marsh
mental temple
upper plank
#

I have a gen 2 shelly device, and it appears I need state_on for a mqtt.light , but somehow that's only valid for mqtt.switch which I would guess should be similar, any way around this?

void maple
mental temple
#

my ethernet cable is plugged in and was working before the update 😄

void maple
#

You can run something like lsblk -o+LABEL,FSTYPE,SIZE,FSSIZE,FSUSED,FSAVAIL,FSUSE%. In my case it shows this

|-sda3   8:3    0  256M  0 part /                         squashfs  256M 194.4M 194.4M       0   100%

The 100% is probably a squashfs thing I'm not familiar with. If you run findmnt / you can see that it's read only any way so this is not the issue.

du -shxm /* | sort -n | tail shows

...
2       /run
5       /share
446     /usr

The difference is probably due to compression. This isn't really important, I just wanted to show it.

/etc/NetworkManager/system-connections is mounted in my hassos-overlay partition

|-sda7   8:7    0   96M  0 part /var/lib/NetworkManager       hassos-overlay ext4       96M  84.5M    50K   77.7M     0%
|                               ...
|                               /etc/NetworkManager/system-connections

You could try if this causes the same error echo "test" > /etc/NetworkManager/system-connections/test.tmp; rm /etc/NetworkManager/system-connections/test.tmp.
Also see here for some debugging commands: https://stackoverflow.com/questions/24671621/no-space-left-on-device
This whole thing reminds me of this: <#installation-archived message>

tight fog
#

Why can't we create threads here to get help?

lost sierra
#

Not sure if this is the right channel. I am thinking to buy smart thermostats. Any recommendations for those also to include them in home assistant.

merry sage
mortal gorgeBOT
#

@tight fog I converted your message into a file since it's above 15 lines :+1:

tight fog
#

Very usable bot

void maple
#

Huh. There's no code in there? It usually only does that if it detects backticks

tight fog
#

Idk some dev thought it's a good idea to convert it into FILES

#

I'm in like 50 servers and never seen anyone doing that.. yes I've seen it converting CODE BLOCKS into files but not normal messages lol

void maple
#

I don't agree with this being a thing or images not being permitted either but converting normal messages is uncommon. At least I haven't seen it yet afaicr

tight fog
#

Yeah I'm just frustrated with Home Assistant overall

#

nothing else disconnects except tasmota devices and rpi4 with HA on it

void maple
#

Your setup isn't very optimal. Looks like (diagram time) you have double NAT and a extender/AP so potentially multiple networks, different ip ranges and multiple DHCP servers.
Tasmota has debug logging options and ability to send logs to somewhere. The pi might have some networking info via dmesg -T. Is the pi connected via ethernet?

tight fog
#

Yes it's via cable

#

you mean ethernet as cable or as connection to the World wide web?

unborn nest
#

Is there any way to switch audio output using the android tv remote integration ?

barren scarab
final dagger
#

guys, if i have a WD my cloud at home can i use home assistant to access my files in it?

junior summit
#

Yes and probably also no

final dagger
junior summit
#

What do you want

final dagger
#

like for example in the media tab in the home assistnat i would like to access my files from it

junior summit
#

Yes

#

Just mount them into the corresponding media folder

final dagger
#

what do you mean? how do i do that

junior summit
#

Depends on how you installed ha

final dagger
#

from a virtual machine

#

on a mac

tight fog
junior summit
#

You want a flat network topology

#

No network address translation, everything in the same subnet

#

Access points in the same network

#

When everything is working you can look up vlans and how to create iot SSIDs and serve them the iot VLAN

junior summit
round fable
#

Isn't that the point of an AP to be on same subnet? An AP shouldnt' be doing NAT translation if set in AP mode(maybe I'm missing something)

junior summit
#

Yes

#

But wireless aps often come with router functionality and a Internet port which by default isn‘t bridged but NATs everything

steep sandal
#

i have to make a fresh install in other platform of Home assitant

#

how can I export the backup?

#

to not having to reconfigure all

junior summit
#

Settings - backup

#

Take a backup

#

Download the archive

steep sandal
#

yeah, and importing that?

#

thats done already

junior summit
#

You will be asked for the same file

steep sandal
#

when you are using a fresh install you will be asked?

junior summit
#

Except on container or core installs, where you replace the contents of /config manually

steep sandal
#

or how do i feed the new home assistant?

#

oks

#

so feed it using the shell okis

#

ty

unborn nest
junior summit
final dagger
unborn nest
#

Let me just state my final goal, I want to have a button that turns off the light and opens Plex on my Nvidia shield and change audio output, or if Plex is already open then to go back to the home of the tv change audio output close the tv and turn on the lights

west tinsel
final dagger
west tinsel
#

Enter the storage server's IP and the kind of protocol it is providing

final dagger
west tinsel
#

From the storage server

final dagger
west tinsel
#

If a NAS provides SMB or NFS shares (you usually have to set those up) the IP is the NAS' IP and the kind of protocol is the one provided by it

final dagger
west tinsel
#

Yes

final dagger
west tinsel
#

No

west tinsel
#

No

final dagger
#

this is what i see

west tinsel
#

How are you accessing your NAS?

final dagger
#

google

west tinsel
final dagger
#

both mobile app or google

west tinsel
#

Are you using it with the Windows Explorer?

final dagger
#

i am on mac

#

one sec

#

i am cooking one sec

pallid imp
#

anyone could revommend best zigbee wall switch with fan dimmer

final dagger
#

got the ip address

final dagger
#

not a valid value for dictionary value @ data['type']. Got 'nfs' required key not provided @ data['share']. Got None

#

i just got this

west tinsel
final dagger
#

oh wait i need the path of the remote share

final dagger
#

theres no SMB option as protocol

west tinsel
#

CIFS

final dagger
#

ok

#

whats the remote share tho?

#

ah the folder that i want to selct from my NAS?

final dagger
#

thank you so much

west tinsel
#

Test it a bit before using it for real stuff. Just to be safe the settings were correct

final dagger
#

yeah i got the whole music from it

junior summit
#

now disconnect your wd cloud nas from the cloud

#

thats nasty

hearty cape
final dagger
final dagger
#

what do they do?

west tinsel
#

Backup will add the network storage as backup space (for HA backups):
Media will mount it in the /media folder (for media players)
Share will mount it in /share (for other usecases than media players or backup)

final dagger
west tinsel
#

In theory, yes

shrewd vapor
#

Hello, I installed HA with a virtual machine. After some tests, I have this issue: "The operation on the file "E:\haos_ova-9.0.vmdk" failed. The file system where disk "E:\haos_ova-9.0.vmdk" resides is full.". My disk is full (17go). I add some cameras on my dashboard, it seems that it stored too many videos. How can I free up some space from my vmdk file? Is it possible to "reset" this file? Thx

final dagger
# west tinsel In theory, yes

sorry one last question, if i have music and then i make it start playing it on my speakers it will stop after the first song is finished

#

how can i tell home assistant to keep playing the other songs in that folder?

west tinsel
#

Don't know if it is possible (easily). I'm not using it as a musicbox. shksShrug
Depending on the media player used, there might be enqueuing options for service calls.

rustic sky
#

is there a way to find my MQTT user password? is it clear text burried somewhere?

twilit fern
#

Maybe in .storage

rustic sky
#

i don't see a .storage in code server explorer

odd ridge
#

Interesting, apparently the default template switch in esphome is a momentary on switch. Or I did something wrong and it's not reporting state.

twilit fern
final dagger
#

i do see the devices as a entity

west tinsel
final dagger
# west tinsel <:shksShrug:598242559567069195>

You can add X10 to your network through the ethernet(100Base-Tx/10Base-T) LAN or through WiFi(WiFi is optional). You can play file from cocktailAudio X10 on X10 via iPhone / iPad and Android phones. And, you can play file from server(for example, your PC) on cocktailAudio X10 via iPhone / iPad or Android phone

#

do you think its because its not using ethernet?

#

also another small detail, when i go to the settings of the device it says "server samba"

#

do you think i can directly add it to my networks?

west tinsel
#

Neither do I know the device, nor how you connected it to your network, nor how you integrated it in HA

final dagger
mortal gorgeBOT
#

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).

final dagger
#

because with the IP address i can go and see all the songs in it and also remotely controll it

junior summit
#

shocking

atomic root
#

where would i talk about dashboards?

long blaze
gusty sierra
#

looking for assistance setting up a light with the Local Tuya integration. If someone could walk me through it that'd be great. I'm not sure I know what I'm doing.

#

I'm not understanding the ID's

hollow willow
#

Let me find the guide I used, it helped a ton!

real matrix
#

Hey there, in the configuration.yaml is there a variable I can use that means date of today… I would like to use that for a curl request I use where I have to give a date_from and date_to to request a list of items.
But I wonder what is the best way to dynamically have the date of today in the command…
Any hints or idea for me ?

merry sage
#

via a Jinja template, sure

#

{{ now().date() }}

real matrix
#

I’ll look into Jinja template. Never really used that before …
And then another question. I will have a json, a list of items(that can vary from 0 to many) containing few infos on each items… The best way to show them would be a markdown card ?

merry sage
#

by reading the response into the attributes of the sensor and then displaying those attributes in the markdown card

real matrix
#

Yes, that what I was thinking about doing… Good then!

#

Thanks for your help

gusty sierra
hollow willow
#

If you're referring to things like "once I have things in Local Tuya, how do I control them?" You just have to hope someone's already done the legwork, because it's really complicated to determine what each thing is/does.

gusty sierra
#

Its for an RGB strip. I got the basic on/off but my Id's arent making any sense to me

hollow willow
#

Is it the Feit Electric strip from Costco? Because I found a guide for that one, but if not, you just have to experiment.

gusty sierra
#

HA will report the colors as I change them in the smart life app, but I cant get HA to reverse engineer that and control the colors.

hollow willow
#

I haven't been able to control RGB on my Feit one either. Luckily only really use it for white/on/off. :/

brittle dome
#

do you have a list of dp's reported?

gusty sierra
brittle dome
#

DP's are what you call ID's

#

DP = data point

gusty sierra
#

I do. but for me, brightness, color saturation, and actual color are all under the same id. (known in the tuya iot app as "color_data"

#

But then theres another ID that idk what it does.

#

I got 4/5 of them, though.

real matrix
#

So I’m trying to get stuff from voip.ms API. From the shell, it’s working as I wanted… But from HA, I get an invalid date format… which is yyyy-mm-dd … I tried the resource line with the jinja in the developper sections and it’s working… But still, I get the invalid date format from the API with the same thing in the - resource.

#

Sorry for the messy post 😉

#

So I believe the trouble in my url is coming from the part:
date_from={{ (now() - timedelta(days = 30)).strftime('%Y-%m-%d') }}&date_to={{ now().strftime('%Y-%m-%d') }}
But it looks fine and works the Developper tools Template.

#

If I put the date statically in the yaml, it works… 🤔 I dont understand…

real matrix
#

Oh! I’ll try that… thanks for the hint.

gusty sierra
#

I was having a problem with my tuya local ids that I figured out. However, I am now having another problem. I am trying to connect another RGB strip, but when I put in my local key and device ID, I get an error message. Can anyone help me out with this?

#

"Cannot connect to device." Verify that the address is correct and try again"

real matrix
#

Am I understanding correctly ? If I request an API for example, the result can’t be over 255 characters ?

homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.voip_ms_callrecords. State max length is 255 characters

Is it a little bit small for a rest response ?

wind basalt
#

The state value of a sensor cannot exceed that, that limitation isn't true for attributes

ivory hare
#

did you ever get your problem resolved mine is getting worse sometimes I have to actually power of my pi ane replug it into to get HA to restart

paper snow
#

@ivory hare @jaunty shard Which Pi are you running it on? 3, 4?

ivory hare
#

rpi3

paper snow
#

@ivory hare What's the amperage on your power supply?

ivory hare
#

Had to unplug it to see, 2500mA

paper snow
#

Have you tried with another power supply?
Power supplies that were not tailor made for the Pi 3 can sometimes be a little unstable, not to mention HA is a resources hog - which means a power hog as well.

Any chance you could swap it for a 3 amp power supply and see if it helps?

void maple
ivory hare
#

This is the one that came with the Vilros rpi3 kit have been running it for serveral years but I imagine HA is more consuming than it was 8 years ago

paper snow
void maple
#

I believe HAOS ships with the vcgencmd utility to check if under-voltage occurred

paper snow
#

Another good thing to check!

ivory hare
#

would I run the vcgencmd from the terminal window

paper snow
#

Sounds about right! @void maple ?

void maple
#

I'm not sure if it's available through the advanced SSH addon or if you have to run this on the host directly via debug SSH or keyboard & mouse. GIve it a try, I guess

paper snow
#

Trying it!

ivory hare
#

command not found

paper snow
#

Same! It might not be available depending on your flavor of Home Assistant though?

void maple
merry sage
#

dmesg|grep -i voltage may work

paper snow
#

@ivory hare You can also go to Settings, click in the Search tool and look for RPi Power status! It'll give you a log of the Pi.

void maple
ivory hare
#

Search tool reveals nothing found under Integrations thanks

#

RPI Power status OK

real matrix
#

I could probably show what I want using Webpage card and linking to a « homemade » webpage… Or maybe an iframe card… something like that… Using a script to generate a webpage wouldn’t be hard…

molten iris
#

How can I create an entity whose state (on/off) depends on the result code of a shell script? I know how to run shell scripts and check the return code, but I'm falling down about how to turn that into an HA entity with on/off state. (Ideally, it'll run every X minutes)

void maple
molten iris
#

oh sweet thanks. Not sure how I missed that

steep mortar
#

Can Sonos brand speakers/microphones allow for local voice fulfillment? i.e. local voice control of Tuya smart lights in a house, so I don't have to be reliant on latency to google home servers

vale kindle
#

Hello 🙂 I am completely new to Home Assistant and before buying a RasPi4 I want to know if it fits my needs. 🙂 I have mixed vendors (Hue, Sonos, IKEA Tradfri, Govee and some more) and I really want to get rid off all those Hubs (IKEA Hub, Hue Hub) and third-party apps. I want to manage everything with Apple HomeKit. Is this possible with Home Assisant?

pure spindle
#

Anybody notice a large increase in delay if the frontpage with the newest updates?

pure spindle
#

But yes home assistant is perfect for centralizing things

vale kindle
fair cloud
vale kindle
pure spindle
fair cloud
pure spindle
#

Oh. Well. Don’t listen to what I said then

open prawn
#

hi all i wanna change ',' by '.' in 1,966Wh of entity value. How to do it?

cosmic thunder
#

Is that the actual value shown in States, or just what the frontend shows?

mortal gorgeBOT
open prawn
cosmic thunder
#

That's handled by your user profile settings

mortal gorgeBOT
#

Open your Home Assistant instance and show your Home Assistant user's profile

open prawn
elfin yew
#

hi all :-). I'm hoping someone can help me. I made a custom theme. It works beautifully on my PC (browser) and on my mobile phone (app), but when I open it on the app on my Android tablet, it doesn't load all features (font, card-colors). Any idea what could be causing this?

cosmic thunder
elfin yew
#

thank you @cosmic thunder , wasn't sure where to go 🙂

hallow hawk
#

Hi, I'm looking for advice how I can track what causing hanging in home Assistant on Raspberry Pi 3. Is started somewhere at begin of current year. I thought that is caused by MariaDB that was below requirements (Synology). Recently Synology updated version of MariaDB so should be fine. Unfortunate issue is persistent. Every 3-5 days at around 1-2 am Home Assistant stops being responsive. I have to physically restart Raspberry. I don't see anything in logs that would give me some insight. Ideas, thoughts about what debug I can use to find what is a cause?

cosmic thunder
#

The #installation-archived channel can probably best help you, if you tell them whether you're using Home Assistant OS, Container, or something else

hallow hawk
#

TY

dense aspen
#

Am i right in thinking the "Overview" tab automatically adds devices when they get added? Mine doesn't seem to do that anymore 🤔

cosmic thunder
dense aspen
#

Ahhhh - if i edited it before does it stop the auto-populate?

cosmic thunder
#

Yes

#

#frontend-archived can help you set up a second, auto-populating, dashboard if you want that

#

Or reset your main one to auto-populate

dense aspen
#

Thanks - i'll ask, just want to reset it back

crystal island
#

hello, i did not find my question, so i try again... is it possioble to remove all errors at once? otherwise i need to click in repair -> ignore

#

if you have got over 50 items this is time consuming

crystal island
#

in my case, if i update my wifi accesspoints... all shellys are generating an repair that the push updated failed... everythime i have to click each repair... ignore... repair ignore

cosmic thunder
#

You may be able to automate that... worth searching the forum

ruby thorn
#

(probably something to make a feature request for?)

mortal gorgeBOT
#

If you have a feature request for the frontend you can open one here, for Home Assistant itself please post on the forum. All other feature requests should be made to the developer of that custom card/component.

ruby thorn
#

👍

kind orbit
#

Hi guys I don't know where to ask the question so if this is not the place, please tell me where I need to be. I have an old android cellphone screwed to the wall that acts as a homeassistant screen. There should be so much more I can do with all the sensors built into that device! Google searches only pop up the most basic tutorials so does anyone know a good tutorial that shows me how to make full use of a permanent cellphone? In particular I am interested in presence detection of other android cellphones through bluetooth or something.

astral vault
#

if it's neither of those platforms, then the answer is "there will be no extra sensors"

kind orbit
#

Sorry Yeah android all the way. Changed my initial question

astral vault
undone moss
#

Hello!

Because the supported tuya integration does not yet recognize my new device (https://www.aliexpress.com/item/1005004969687871.html), which is a 4P, 3-phase circuit breaker. This measures current, temperature, total energy, etc.

So I configured it using the local tuya extension. In essence, I recorded the parameters of the sensors (and switches). Now it works perfectly, but I have 2 problems with it:

  1. it would be good if the device worked in the supported tuya integration. What data should I send and where?
  2. I don't see any of the device's sensors on the "energy" tab, so even though I can see the energy supplied by the fronius, I have no information about the received energy.
astral vault
#
  1. Create an issue on github, but keep in mind tuya is notorious for not following standards, your device may never be added to the official integration.
  2. Make sure your entitys have a device_class, state_class, and unit_of_measurement.
#

if they are power entities, you need to turn them into energy entites by using the integration integration in the below message:

mortal gorgeBOT
pseudo mulch
#

hi i recently bought i power meter to see how much power i am using. i wanted to connect this via mqtt and this worked i connected to my mqtt server and confirmed that the data was coming through. but now i don't know how to get this data in my ha dashboard? (the mqtt server is running as an addon in my ha).

astral vault
#

You have to configure the MQTT sensors in yaml, or have the device output discovery information

#

most likely the device does not support outputting discovery information as that's an HA only thing. So you'll have to manually configure the entities vai the MQTT integration in YAML.

pseudo mulch
astral vault
#

There is documentation

mortal gorgeBOT
pseudo mulch
#

thank you

astral vault
#

np

#

use the website to find how to integration individual sensors by searching the integration page. MQTT has alot of documentation

#

that link is just for the main integration and it doesn't cover each domain that MQTT supports. Those are separate pages.

real matrix
#

Can I use automations to purge entities after for example 10 days and another automation for entities I want for 30 days and for the rest keep using the automatic purge that I did set recorder to 90 days ?
Could it cause any trouble ?

astral vault
#

yep, should work fine

real matrix
#

Okay good. That will help manage every entities as I want 🙂
Another question, not sure what caused this but I’m unable to include the repack: true into the automations.
I got an error:
extra keys not allowed @ data['repack']

Not sure what is wrong. But I think it could be a mix of using yaml and interface to edit the automation.

pseudo mulch
cosmic thunder
cosmic thunder
astral vault
#

on your service call

#

ony way for us to help fix is to do what tinkerer said

pseudo mulch
#

alr thank you

real matrix
#
description: ""
trigger:
  - platform: time
    at: "01:15:00"
action:
  - service: recorder.purge_entities
    data:
      keep_days: 10
      repack: true
    target:
      entity_id:
        - binary_sensor.bitwarden
        - binary_sensor.pihole_condo
        - binary_sensor.appletv_condo
mode: single```
#

The entities list is like 100 entities … I cut it 😉

astral vault
#

purge entities doesn't support repack

astral vault
#

you can't just add things to service calls, you have to follow the docs

real matrix
#

Hm. I didn’t understand it like that… How can I repack the after a purge ?

astral vault
#

because the purge service supports repack

#

purge entities does not

#

not really rocket science

#

just how they function

real matrix
#

I saw a forum post where it was included 😁 but I probably mixed up some stuff

astral vault
#

don't follow guides, follow the docs

#

use guides to help, but always consult the docs

#

people make shit up all the time

#

AI does the same too, so you can't trust AI either

real matrix
#

Okay… True. 😁
So i finally use SQLite and vacuum; it after the purge of entities… my db did go from 4.5G to 2.1G…
And purge service runs every night ? So I could just wait for it to repack I believe ?

astral vault
#

repack only happens on the second sunday of every month

real matrix
#

Hm. So if I clean so much data more often than that maybe I should repack it with vacuum manually or with cron…

astral vault
#

or you could not bother with any of this

#

waste of time IMO

#

I just store 90 days or 60 days, can't remember

real matrix
#

When I kept the default 10 days without include: in the recorder settings I had a db size of 2.5G… Yesterday, I included in recorder only like 200 or 300 entities.
But with all the 945 entities the db size was 4.5 after something like 20 days…
I fear that if I left the repack to be done only on every 30 day with that volume of data I have, it will be too big for HA or at least slow it.

astral vault
#

just only keep a recorder for the entities you need

real matrix
#

Forgot to say that I set the recorder to 90 days without include. That’s why I had a db of 4.5G in 20 days.

astral vault
#

I can guarentee you don't need the history on that random device_tracker created from that random integration

#

in the 7+ years of using this software, I've rarely cared about any entity over 30 days. Now w/ LTS, all the entities that you want to keep historical data on, have historical data. And you don't really need that for normal history.

#

I keep lights, switches, people, and a handful of temperature, humidity and lux sensors. Everything else is useless info unless you want it

void maple
#

Long term data should go into a time series database so you can actually do something useful with it

astral vault
#

right

#

and it does, it's a separate table that's optimized for numerical information

real matrix
#

With the include and the automations, I believe it will stay under 3G…
Most entries in the SQLite are caused by my ping sensors… which I would like to keep but just for 10 days. So the automation is doing the job. But I delete those entities with the days 10 days but I don’t repack.
Will it not became to big if I repack only every 30 day ?

astral vault
#

repack is resource intensive

#

so, as long as you understand that, do whatever you want to do

void maple
real matrix
#

Okay. So I’ll just try it and see. And I’ll adjust the thing if it became too big.

#

Yeah I can. It’s pretty stable. At 9:40 yesterday, it was 4191Mb. and for example at 17:45 it was at 4373Mb. So it’s growing fast.
That’s why I started include: in recorder and did my automations to purge.
I’m still worried about the repack every 30 days… But I think I’ll just wait and see if it’s fine as-is.
I have no space limitations. I just think I have to not let it grows as it was pretty fast 😁

astral vault
#

I really think you should reduce the number of entities you're tracking

#

there's really no reason to track everything

#

which is the default

#

I can guarentee you have about 500 of the 900 entities that you do not need to have in history

#

I'm alittle extreme. I have about 200 things tracked out of 1800 entities.

real matrix
#

Those who make the much data are those who I keep only 10 days now… Those ping sensors…
the sun, weather, automations, switch, etc aren’t making a lot of data in the db.
Well, I let it live a little now with all those include: and my purge automations and I’ll wait the second Sunday of the month and I will adjust if it needs.

#

I Will wc -l and get the number of entities I kept in recorder … I think it’s like 200 or 300…

void maple
#

You can run a query that shows you the number of entries per entity. Use that to know what to exclude:
<#general-archived message>

void maple
#

Why would you need wc then?

real matrix
#

Okay. Maybe I can do better. I kept 482 of the 945.

#

Oh wc… just to count the number of include I put in recorder

astral vault
#

why do you need the ping sensors? I'm curious. What are you going to do w/ that info?

#

I keep ping & speed for my internet only, so I can argue bills w/ my ISP

junior summit
#

I use ping sensors for vpn connected sites / endpoints

#

So i can track their states

astral vault
#

right, but do you need a history?

junior summit
#

Not need per se but its nice to check for previous outages

#

But you are right there are dedicated tools for that. E.g. smokeping

astral vault
#

yeah, that's really my only point. HA is meant to track what you care about. I used to track all sorts of crap, then I found that I never looked at it.

#

There are times where I do look at something and I don't have a history, but it's never been detrimental. And if it is, I just add that entity

real matrix
#

I ping all my containers (which are macvlan with their own IP) and my devices like my Zigbee coordinator, my voip box, etc… I have three or four ssh reverse shell, like my fathers house, where I ping few device there to be sure everything runs fine there like a pihole hole and his voip box…

junior summit
#

I don‘t filter 😅 my db is huge

astral vault
#

if the ping is high, just make actionable notifications. Don't store the history. Or you can make a template binary_sensor that represents high ping, and track that in history.

real matrix
#

It’s pretty practical. I had a trouble where my z2m will fail and don’t restart … and couldn’t get my finger on the problem, it was affecting my Zigbee coordinator also… So the ping was a big help to pin point the exact time and exact device that was causing this.

#

Or when my father calls and he say « the phone wasn’t working yesterday in the PM » or something like that…

real matrix
#

Oh… so I create a binary helper to keep downtime or high ping of an entity… Is that what you mean ? That could be a good idea… and save a lot of records in the db…

cosmic thunder
#

I just use an external tool for tracking host and service status

astral vault
#

you'll only have an on or off

#

and it will only be in the database when it changes from < 40 to > 40

real matrix
#

Oh that’s even better than what I understood. Nice.

astral vault
#

and if your stuff always works, it will basically always be false and never have more than 1 db entry

real matrix
#

Yeah most of them are always up… Just a few of them are down sometimes… Thanks for that trick!

cursive saddle
#

Hi All. Please if someone could point me in the right direction. I have connected a flow meter to a D1Mini with tasmota. That all works perfect. Everything shows up in home assistant. I now however need to create a sensor using the values from tasmota.

This here is the code that I found. I have put it in configuration.yaml

  • unique_id: flow_meter_1
    state_topic: "tele/flow_meter_1/SENSOR"
    name: flow_meter_1
    value_template: "{{ ( value_json['COUNTER'].C1 | multiply(0.001648) | float ) | round(2) }}"
    unit_of_measurement: "l"
    qos: 2

The sensor creates but the value shows at "Unknown"

What am i doung wrong?

mortal gorgeBOT
#

@cursive saddle To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

winged orbit
#

new to dashboards any tips guys?

cosmic thunder
#

(as do the docs, and the forum has a whole section for them)

winged orbit
#

thanks tinkerer

tall mountain
#

Hello, I installed a Shelly pro1pm in my home to control my electric water heater, I also have a solar water heater. (Not smart and don't want to make it ) and I want it to turn on only if it was a cloudy day. I find the default weather forecast not reliable enough. Does anyone have an idea? I'm looking for a cloud solution and not a sensor.

cosmic thunder
#

Try one of the many other weather integrations?

#

There's a whole host built in, and many more custom options

mortal gorgeBOT
#

There is no universal best weather integration. Which one works best for you depends on where you live - try them all and see which is generally the most accurate.

wise walrus
#

Hey everyone, I have recently decided to change up my infrastructure from ProxMox back to oVirt; I know it's going EOL soon, but for me, the ease of migration and HA capabilities outweigh the timetable. That said, oVirt doesnt natively support containers, so I'll be setting up another box specific for these tasks. Anyone have any tried and true pointers for a base OS? I definitely dig the LXD aspect of ProxMox, but I am NOT a fan of the UI, nor how I have to go back and edit config files behind the scenes for containers that need a little extra configuration.

amber falcon
#

On the home assistant dashboard I have added wipro smart lights that support light effects via the wipro or smart life app. I have added it via the Tuya integration + smartlife app to HA. How can I use light effects like breathing or rainbow etc?

mortal gorgeBOT
cosmic thunder
#

Using the light.turn_on service call, documented there

jolly bronze
#

any ideas what would cause homeassistant to intermittently disconnect and say "unable to connect to Home Assistant. retrying in...."?

currently have it running through proxmox. vm stays up and i can access proxmox still while this occurs.

wraith basalt
#

Hi all, maybe a stupid question but how do I disconnect my Home assistant from a WiFi? I have my instance connected via both Ethernet and WiFi (historic reasons) and I‘d like to leave the WiFi

jolly bronze
#

reading a few posts where people had to disable that due to disconnects?

jolly bronze
#

under configure network interfaces

wraith basalt
#

… I don’t have a configure network interfaces Dialoge, all that i have is a window with multiple tabs, each for one interface where i can scan for networks and join networks

#

But no „disable“ button

amber falcon
cosmic thunder
#

No

#

HA just says hey light X, please do effect Y

#

The light has to support it itself

#

(or whatever hub you're using to connect the light)

amber falcon
#

Got it.
I know the lights support it because API s exist to change to certain RGB values. It should be possible then to call in certain order to create whatever effect. Am I getting this wrong?

jolly bronze
wraith basalt
#

Yes I have that too, i can disable the iPv4 and IPv6 but the interface stays „connected“ to the network

#

At least that is what is tells me

jolly bronze
#

is there also one for wifi? my machine running proxmox doesn't use wifi, so i just have the ipv4/ipv6

jolly bronze
wraith basalt
#

Ok I see, thanks will give it a try

lapis lotus
#

Did you ever figure out a way? I too have many of the Amazon smart plugs

noble bramble
#

I have like 10 smart plugs and that would be way too many routines

#

Contemplating just replacing them with meross or tapo plugs

lapis lotus
#

Dang! I also have 10 or more...that's too bad. Thanks

winged orbit
#

hi guys

#

could someone help my dashboard always says i am not home

cosmic thunder
#

What are you using for location tracking?

winged orbit
#

my phone

cosmic thunder
#

So, the Android or iOS app?

#

Did you set up remote access so it can reach HA when you're away from home?

winged orbit
#

i believe so @cosmic thunder

cosmic thunder
#

Well... either you did or you didn't...

winged orbit
#

i have got it tracking my pixel phone

cosmic thunder
#

And remote access?

#

You set that up, and it works, or ...?

winged orbit
#

where would i check if i set up remote access

cosmic thunder
#

Then you almost certainly didn't

#

You'd have either subscribed to the Nabu Casa cloud service, and set that up, or set up DuckDNS/whatever with port forwarding and SSL

twilit sage
#

I set up a custom domain and a letsencrypt cert to access HA.

It was working fine, but recently I decided to switch to a different domain name.

I set everything up again.

I can access my HA using my **new ** custom domain from all of my devices within my network, including Chrome on my Android phone.

And I can assess my HA instance using the HA app on my Android from outside of my local network. But when I try to access it from *within * the network:

"Unable to connect to Home Assistant. The Home Assistant Hostname certificate mismatch..."

Halp?

winged orbit
#

@cosmic thunder i have subscribed to the Nabu Casa Cloud service

mortal gorgeBOT
#

@winged orbit Discord isn't like IRC, you don't have to tag people on every response. Keep in mind that every time you tag somebody, they get a notification ping. That can very quickly become annoying and people may block you.
When using Discord's new Reply feature it defaults to pinging the person you reply to, click @ ON to @ OFF to stop this - on the right side of the compose bar.

cosmic thunder
winged orbit
#

ok thanks

cosmic thunder
twilit sage
#

I have the new URL configured in Home Assistant URL and I cleared both the cache and data for the app and triggered the original setup wizard.

cosmic thunder
#

#android-archived can probably also help you with that, assuming you have purged all use of the old certs

twilit sage
#

I've never configured the Internal connection URL in the past. I wonder what that field is for. 🤔

cosmic thunder
#

For those that use a proxy for SSL

twilit sage
#

I didn't realize there was an #android-archived channel until you mentioned it to lchappy just now. I'll cross-post my issue there.

cosmic thunder
#

I do that, so I have the internal and external URLs set separately

twilit sage
#

Ah, no proxy here. Thanks for spoon feeding me tho.

meager compass
#

does "All yaml configuration" reload the frontend: bits too?

molten halo
#

Hi, which channel should I use to ask about my Aqara 2 way relay and that it's two outputs appear as lights only (I use it for a bathroom fan)?

fervent loom
#

Any homeassistant organizr users ?

#

i have homeassistant reverse proxyed, but now i wanna install a addon the visual studio code and that doesnt work anymore

fringe lion
#

@astral vault hey i came across your handle when looking for a solution to an issue i have with my BME280s, think i can pick your brain? i am trying to find a way to "calibrate" but it seems that i have to use an offset? (sorry i am way over my head as far as coding either my pi or teensy (which is what the BME280 is on))

supple hearth
#

Hi. I have a weird question. I want to have a sensor that is set to "Online" when new data comes in, but turns to Offline if no new data has come-in in the last 2 minuets.

#

The data would be updated every 5 seconds (+ or - 10 seconds )

balmy shell
#

Dose anyone know how to have a Teckin smart plug to home assistant.

west tinsel
fringe lion
west tinsel
#

You are having problems with a BME280 in ESPHome?

fringe lion
west tinsel
#

So a problem with a template sensor, right?

fringe lion
#

maybe? i think its more that the relative humidity is showing 100% most of the time when its closer to 85-90

#

cant really get my humidifier to turn on if the humidity is showing 100

pure spindle
#

I am noticing a weird issue. My HA install will prompt me that an update is available, and then when I hit update, it will show an error stating that its unavailable. All update notifications then disappear.

Edit: Apparently it decided to update, now it shows 2023.10.5. I am going to restart HA and see if any other update prompts decide to show.

dire edge
#

If it is allowed, we can DM to get stuff done more easily or even call with screen sharing

pure spindle
#

If you would still like to go the emulated hue route, feel free to DM me questions.

latent crypt
#

anybody know a good way to do rem sleep detection with a galaxy watch in HA?

dire edge
pure spindle
dire edge
#

Nvm actually I answered my question by my own thought 😅

#

But I meant that it would rely on the cloud to get to alexa and then again for the virtual's home

fathom trail
#

can i delete preinstalled integrations like google translate and radio browser if i dont need them ? or does my whole system collapse then ? 😄

void maple
fathom trail
void maple
#

It will probably be fine and your HA won't collapse. Having backups is always a good idea though

fathom trail
#

gotcha

#

can i have one dashboard layout for pc and another for iphone ? with the same user ?

long blaze
fathom trail
#

great thanks

surreal smelt
#

anyone have any recommendations on what device to use for measuring power on a 14-50 circuit?

willow bay
#

My system is logging a large number of 'identity' and other entities showing them to be 'unknown', ' unavailable', or going to a state (such as a cover becoming 'closed') when nothing is really changing. I have around 100 lights, 20 switches, 15 covers, etc., all on a Ubiquiti Wi-Fi mesh that has 5 AP's. Signal strength looks OK and everything works fine, but getting 20-30+ log messages per minute is a pain. Any thoughts as to how I can track this down?

junior summit
#

Are these entities mqtt related?

#

My logbook easily shows 60+ messages per minute when I‘m moving but these are usually correct

willow bay
#

@mstone No, I have added an mqtt broker recently, however this predated that and I only have 2 digital sensors configured to mqtt. I do have the HomeKit controller which I trigger from switches and drive automations.

junior summit
#

anything weird in the logs?

midnight zephyr
#

What system do you guys recommend to run Home Assistant? I currently have a Raspberry Pi Model 4B running on a micro SD card. Is it wise to upgrade to an SSD or buy something like HA Green?

void maple
#

A (U)SFF/Mini PC

willow bay
#

not sure. I am looking for patterns - the entries seem to come in bursts, say 7-20 at a time with multi-second gaps between them. These groups are usually all 'unavailables' or 'unknowns' , interspersed with covers going to say the 'open' state. The covers are blinds connected via Wi-Fi as is everything else. As examples there was a "Mbedroom_3 MB 3 was opened" and a "Mbedroom_2 Indentify became unknown" at the same time (along with many others) Mbedroom is a bedroom cover, MB 3 is a blind, and Mbedroom_2 is another cover. Perhaps I need to understand diagnostics?

#

just taken another look at these and I believe that most of them originate from a ACMEDA Pulse 2 hub that communicates via Wi-Fi with 11 roller blinds. The logging ones are close to the range limit of the hub so I think I am seeing dropouts. There are other entities, but much less frequent. I have ordered am ACMEDA hub repeater to provide better coverage and the base unit is known to have range limitations. I will wait on the repeater and revisit this then. Thanks for your input, it focused me on what was happening.

granite crypt
#

hey guys, as a general rule of thumb is there much of a difference between tuya local and local tuya? is one better than the other or are they just as good as each other?

prime hedge
#

Hello, has anyone ever experience a sudden aqara disconnection from Z2M? After a reboot I only see a Zigbee voc sensor (frient) e two aqara radiator E1 s...more than 15 other aqara sensors (contacts and temp/hum) have disappeared from Zigbee2mqtt dashboard

cosmic thunder
storm violet
#

Hey, my log is being truncated, even in the downloaded version, and so I can't see what the whole error is. Any way to stop this:
2023-10-31 08:36:24.184 ERROR (MainThread) [homeassistant.components.rest.data] Error fetching data: https://www.englishcouncil.gov.uk/apiserver/ajaxlibrary failed with

#

It's also truncated the same if I open the log in studio code server

upper pasture
#

Hey guys... got a temperature sensor that has unit of measurement as "C"... tried setting it to "°C" in developer tools -> states, but it reverts after 5 minutes (the next measurement)... Is there a way to manually set it to "°C" in the card, or somewhere else that'd remain ?

cosmic thunder
#

Cards are a topic for #frontend-archived - but you need to solve that in the integration for the sensor

upper pasture
#

the integration is .... esphome

#

thanks, figured out why it resets,,

river marten
#

I'm looking for the guy who made his own sensor (with temperatur etc). I want to know the webstie, for showing my colleague the sensor.

west tinsel
#

There are thousands of guys and ladies who made their own sensors with temperature and so on.

river marten
#

But he's selling it through his own website. A Dutch guy haha. Tried to find the guy through this channel. Saw him posting something a few (monts/days) ago.

modern quest
#

hello world ! i want to know if it is possible to declare a room for an entities created in configuration.yaml ? on my entites list, it is marked as read only so i can't modify it.

astral vault
#

No, but you can create old school groups

#

area's are UI only

west tinsel
#

Or add a unique id (if the integration supports it). Then it is editable and can be assigned to a room in the UI.

cobalt ferry
#

do you guys know if I must own an amazon echo to be able to use an amazon device (specifically, the Amazon Smart Air Quality Monitor), or is there a way to kinda emulate it through home assistant?

astral vault
#

you need to own an alexa, and there's 0 ways to integrate it into HA regardless if you own an alexa or not.

#

TLDR: Don't buy amazon smart home products

#

There may be a way to use a homekit bridge to do it. Not sure though

#

either way, still requires alexa

upper pasture
#

So... HASS installed in a VM.. is there a way to install qemu-guest-agent? Someone said it's already installed, but Proxmox doesn't see it .... "Guest Agent not running"

#

Why isn't there an option to interact with the "host" os (as in not docker) ?

brittle dome
#

interact how?

upper pasture
#

install OS package, etc ?

void maple
#

Because it's not a normal general purpose OS

upper pasture
#

Sure, but there should still be a way to do these things... (after accepting a condition or something)

#

"This could be dangerous! Are you sure whatever.. y/n"

brittle dome
#

there is but then you reboot or upgrade and pooof, it's gone

upper pasture
#

because you're still in docker ..

#

that's not what I mean

cosmic thunder
#

No, you can't install stuff on the host OS

#

The host OS is disposable

void maple
cosmic thunder
#

If you want to install stuff on the host then you need to ditch HAOS and add-ons and go with Debian and Docker

upper pasture
#

VNC doesn't appear to be running/accessible on the default port ?

cosmic thunder
#

VNC isn't installed on the host

upper pasture
#

so .. login .. what user/pass do I need to use ?

cosmic thunder
#

None

#

There's no login on the console

upper pasture
#

➜ ~ login
a0d7b954-ssh login:

cosmic thunder
upper pasture
#

after login...

#

➜ ~ systemctl status qemu-agent
zsh: command not found: systemctl

cosmic thunder
#

Right

#

When you SSH on you're inside another container

upper pasture
#

yes, login via the proxmox console did give me a way to check

cosmic thunder
#

HAOS is not a full blown Linux experience

upper pasture
#

and "Unit qemu-agent.service could not be found."

#

so / is mounted readonly..

cosmic thunder
#

HAOS is not a full blown Linux experience

upper pasture
#

good, but it's supposedly able to run in a VM .. why isn't qemu-guest-agent part of it ..

void maple
upper pasture
#

board: generic-x86-64; boot:b; data_disk: QEMU-QEMU-HARDDISK-drive-scsi0; update_available: false; version & version_latest: 11.1

void maple
#

You want the ova for VMs

# ha os info
board: ova
boot: A
data_disk: QEMU-QEMU-HARDDISK-drive-scsi0
update_available: false
version: "11.1"
version_latest: "11.1"
# systemctl is-active qemu-guest
active
upper pasture
#

thought both are identical..

#

and had trouble converting the OVA for proxmox LVM (haven't updated the host from 6.4-15 yet)

#

(and don't have any other storage besides lvm, no "thin", no "disk")

void maple
#

Make a HA backup, download it, then stop the VM, detach the disk, attach the OVA like this to your VM: #1162789585894514748 message
Change the boot order, restore and have fun

upper pasture
#

which results in qcow2 needing a "dir" storage which I don't have

void maple
#

No. Just try it

kind orbit
#

How can I see a list of all entities that are being logged? They used to be listed in the history vieuw together with a graph so I could determine if it was worth logging but now that's gone. I want that list back so I can add some things to the exclude list.

upper pasture
#

@void maple "raw" LVM disks have a fixed size when they get created. qcow2 on the other hand are sort of "dynamic". Will it prompt me to set a XX amount of GB for the disk?

void maple
#

You are importing the QCOW2 to whatever your storage supports. It will not. Like I said, try it out. You can also do the import first and keep your disk, doesn't matter

void maple
upper pasture
#

yeah got it ..

#

importing qcow2 now, let's see...

#

wrote @ the thread...

visual plaza
#

I have HA running virtually on my PC. Wanted to make sure it did what I wanted it to do before committing. I have a rPi4. So I’m going to image a SD card with HA, do a backup on my PC, then how do I push the restore on the rPi end? If I put the backup file on a usb stick could it be done that way?

vague narwhal
#

Morning! For anyone familiar, is it normal to have to reauthorize nest devices constantly? I have to reauthorize my google nest integration at least twice a week.

trim edge
#

is it possible to change the radius of the home zone

cosmic thunder
#

Yes

mortal gorgeBOT
cosmic thunder
#

Explained in the docs

trim edge
tacit tendon
#

Hi guys,i have Xiaomi MiWifi router,i have one ststic ip(I can connect to it from an external network)
How can i make port forwarding to open home assistant in other network.

How can I configure the HA IP to be local, so that when I connect to a static IP, I will be transferred to the local one?

trim edge
tacit tendon
#

Now on XA I just have this static IP connected in the settings and I can connect to it from another network, but local devices do not work (like IP cameras)

slate slate
#

Hi,
I'm asking here because I'm not sure where to file my question.
Is it possible to create a "stateless" virtual sensor? (Maybe call it a "pure functional sensor" or something)
What do I mean with that? A sensor that is entirely based on the value of something else (like another sensor) and doesn't have a real presence in the database.

If you look through the forums, you'll get pointed to template sensors, or the derivative sensor in the helper section.
But these sensors essentially take measurements. If the sensor they depend on updates, they "measure" their new state and write it into the database, just like any other sensor.

There are several problems with that:
a) You have redundant writes to the database.
b) You can't get values for the sensor before it was created.
c) You get old values for the sensor should you update the function that calculates the values.

This behaviour is sometimes exactly what you want (e.g. when dealing with calibration), but often you can just calculate the values based on other values on demand.

If there is no current way in HA to do this: Is it possible to implement a custom sensor for this?

cosmic thunder
#

No, the data has to come from somewhere, and HA doesn't have a TARDIS function

#

You can exclude entities from history, but then you don't get any history

rain river
#

whats a reasonable size for home-assistant_v2.db

cosmic thunder
#

Depends on your system

#

Usually not a few hundred GB

rain river
#

ok mine is 2GB

#

but its running on a pretty beefy setup

cosmic thunder
#

12 GB here

rain river
#

i keep getting a warning about an attribute being too large but I dont know how to exclude a specific attribute from being recorded

#

I want the state to be saved just not the attribute

#

are attributes globs?

cosmic thunder
#

Not sure what you mean

slate slate
# cosmic thunder No, the data has to come from _somewhere_, and HA doesn't have a TARDIS function

Sure, some data has to be in the database, but nothing prevents you from calculating new data from that, does it?

When you have a sensor.temp_celsius in your database, you could have a virtual sensor sensor.temp_fahrenheit = sensor.temp_celsius * 9/5 + 32 that just takes the database values from sensor.temp_celsius, without the need to have any database values itself, or not?
No need for a TARDIS. 😕

rain river
#

it says you can exclude "entity globs" in the recorder documentation

cosmic thunder
#

That'd be entities, not attributes

cosmic thunder
#

Your desire to have history, while not writing to the database, is also contradictory

#

The database is your history

astral vault
#

there's the state machine (which is what you're calling 'the database') and then there's the database, which is a history of the state machine

#

state machine is all the current entity states in home assistant

slate slate
#

I understand that this is not how HA works.
When state changes, that change is recorded to the database, fine.

But at some point you want to get the state of an entity at a particular point in time, be it now or a day ago, how do you get that data?

The answer can't be just "get it from the database", because there obviously can't be a state in the database for every given time (or else you'd need a TARDIS).
You have something like:
current_state = latest_state_before(now())
state_at(time) = latest_state_before(time)

ruby thorn
#

I mean that's just part of the db query at that point I suppose

cosmic thunder
#

Every state change goes there

astral vault
#

Correct, you get it using the SQL sensor

#

no, it's not easy.

#

and yes, the answer is 100% get it from the database

cosmic thunder
#

That's how HA gets it for any card, history tab, etc

astral vault
#

yep

#

So, you get it from the database using the SQL sensor, which requires you to create a database query

#

luckily, the documentation for SQL sensors cover some of the queries

mortal gorgeBOT
mortal gorgeBOT
#

@slate slate I converted your message into a file since it's above 15 lines :+1:

astral vault
#

@slate slate if you include it in recorder, yes.

cosmic thunder
#

If you don't exclude it then every entity is written to the database (aka recorder)

strong stone
#

Can anyone help me with format of this template sensor. it looks like it works when i test the it in Dev Tools, but throws a config error

https://pastebin.com/YLSWRFPw

stable radish
#

Hi folks! I'm lost with defining a global set of variables. My vacuum robot uses a set of unreadable numbers to assign rooms. Instead of having to define room names + parameter number assignements in several places (e.g. as input_select options, etc.) I want to store the lookup of identifier -> number in a "global constant". Ideally I would even have an iterable list of objects to re-use this in various UI elements, helpers, etc. Does anyone have an idea how to solve this?

stable radish
astral vault
#

Post the service that you use and example rooms. I'll help you create the script. Have to run for a second but if you tag me w/ that information, then I can write it up in a few minutes when I get back.

stable radish
strong stone
stable radish
strong stone
cosmic thunder
#

states.light.garage_west.attributes.brightness should be state_attr('light.garage_west','brightness')

strong stone
#

thanks, sorry i didnt even see that channel

stable radish
fading crown
#

Dumb question: is MQTT "automatic" in that devices/services that are MQTT capable will use it over other methods?

#

I have MQTT connected, on some things now, which is cool, but are they really getting used for comms?

astral vault
astral vault
#

both being MQTT and whatever integration it's using. Some integrations use MQTT and the integration however under the hood they are ONLY MQTT. The integration just provides discovery.

#

MQTT entities will only 'automatically' appear if there's a topic that's dedicated to describing what the device is. Some devices don't have that capability, so an additional integration is required to provide that.

fading crown
#

Thanks for the explaination Petro

fading crown
astral vault
#

Ok, that means whatever integration you're using that creates the entities is just providing discovery for MQTT essentially and it's using MQTT under the hood.

#

unless it's an integration w/ a separate API

#

what integration?

fading crown
#

Frigate

#

Shelly

#

Both are connected to Mosquito Broker add-on, neither show up in MQTT integration

#

but I don't know if they are supposed to....

astral vault
#

frigate uses mqtt

#

shelly can use mqtt or it's own api

#

the only way you can integrate shelly via MQTT is if you manually create the MQTT entities in YAML.

#

So, frigate is using it's own discovery via MQTT. SHelly is using it's own API and not using MQTT at all

fading crown
#

Ah OK. I guess that's alright, I mean to be honest.....all I care about is it working one way or another, haha

astral vault
#

yeah, that will still work

fading crown
#

I'm not using any authentication on my MQTT atm, is this like.... Raw dogging the internet or am I OK as long as it's local-only

astral vault
#

if you're using the mosquitto addon, it set up a user and is using that

hollow sand
#

is there a way to use an old ipad 2 just as a browser to connect to HA

astral vault
#

Yes but it may not work well

junior summit
#

afaik ipad 2 doesn't do websockets ?

#

so no

astral vault
#

it just depends on the OS version, IIRC HA used to work on my ipad2

valid aurora
hollow sand
#

using 9.3.5

astral vault
#

yeah, that won't work anymore

hollow sand
#

ok thanks

long blaze
#

You'll have to wrangle that data on your own, and if you do, you can create a sensor per gas station to make that map.

#

idk if gasbuddy integrates, or maybe you can scrape it from somewhere.

astral vault
#

There's definitely rest endpoints out there w/ gas info but you'll have to find one in your area

valid aurora
long blaze
#

Well you can request anything you want, but if not gasbuddy I'm not really sure where that data would come from. I imagine anyone who has that data isn't going to just give it away for free (or at least not in a API they can't serve advertisements over)

#

if nothing else if gasbuddy gives you the lowest and a location, you can make a single entity that moves around on the map and shows the lowest price.

astral vault
#

I just googled open source gas api and found like 8

#

hmm that looks like import prices

long blaze
#

"alternative fuel stations" ?

astral vault
#

🤷‍♂️

#

it looks like Here has an api

#

the same company that provide the travel times api

#

Yah, it's xml, so rest might work for it

#

TBH, I'd try them first

#

It looks free and you can also get travel time info using the travel time integration for here

ivory hare
#

Is there a log that records when or if HA crashes?

astral vault
#

Yes, homeassistant.log

rough rock
#

anyone use ecobee4 with a whole house humidifier? Mine never shows that it's running the humidifer and I'm wondering if it's because it's connected to the hvac unit instead... but it is wired through the ACC+ connection so I'm not really sure

undone moss
#

Any pfsense users here? I just started using it and it seems to block the Nabu Casa remote login. I am just trying to get this fixed!

merry sage
ivory hare
#

can anyone tell me what this means '2023-10-31 11:57:28.794 ERROR (MainThread) [homeassistant.components.ipp.coordinator] Error fetching ipp data: Invalid response from API: Timeout occurred while connecting to IPP server.'

#

Having an issue where HA is no longer available an the only way I can get it working is to powere off and onn my rpi

late tartan
#

i think that falls into the "shit's fucked" category

#

gotta share some logs man

round fable
#

Sorry if this is a stupid question, but can the generic thermostat control another thermostat or does it just work with switches?(trying to figure out how to use a thermastat group with a Centralite Pearl, the physcial thermostat is to close to the kitchen.) Open to other ideas too, right row just using a node red flow to control temp with time/presence/outdoor temps

#

not a thermastat group lol, a sensor group sorry

merry sage
#

I expect them to fight each other

ivory hare
#

what logs do you wan to see?

cosmic thunder
#

Core, always core 😉

ornate pier
astral vault
rough rock
merry sage
#

doesn't it show it on the home screen?

#

I haven't paid attention to the IQ charts in years

rough rock
#

No i haven’t seen it anywhere

paper kindle
#

Please help! I disabled a script and now it’s COMPLETELY gone. I can’t find it in the UI to re-enable it!!!

#

It’s still in the scripts.yaml file so I have NO CLUE why I can’t re enable it

merry sage
#

Change the filter in the top right of the list?

paper kindle
#

Nope

#

nothing on the scripts list that filters by disabled

merry sage
#

Usually that means that you have a broken script somewhere and it stops loading them

west tinsel
#

There is no option to disable a script. Maybe a missing enitity in the script - like the automations some time ago

#

Or a syntax error

paper kindle
#

Fml - the Scripts list didn’t shore it but the full Entities list did when I checked the z a show Disabled

west tinsel
#

Automations can be disabled or single actions in a script

#

Or have you disabled the script entity?

merry sage
#

It's a pretty weird thing

#

Doesn't really make sense to disable a script

west tinsel
#

Yeah. But in that case it wouldn't be a setting in the script, but in the entity registry

paper kindle
west tinsel
#

And what filters are you using on the entity list?

paper kindle
#

I was in a rush and needed to prevent that from running as part of multiple automations

paper kindle
#

Thanks

hollow sand
#

I just installed a zwave thermostat. All is working as expected except when i adjust the temperature on thermostat card. Set to 21 if i want to increase it to 22 it jumps to 30 and higher up to 90. Not sure what is causing this. Also, is there a way to set min and max on thermostat card and adjust between those parameters?

west tinsel
obsidian seal
#

I recently moved haos into proxmox and just setup my skyconnect. its been rock solid! very pleased

rain river
#

Is the notification rate limit from the cloud or just some setting I can change

barren lotus
#

Does anyone know how to have devices from 2 home assistant servers be on the same dashboard

#

install a home assistant pi to access some rtsp feeds from some wyze cameras and don’t want to have to switch servers constantly

tall burrow
#

I'm setting up a proxy using CF, (running HA Container and CFD container on the same machine), and I am getting the 400 error even after adding the use_x_forwarded_for to true and adding 127.0.0.1 to trusted proxies. What's going wrong?

tight bone
#

so.... i went away for 3 days to have surgury and now the wifi is back to not being connected to the device it was connected to? is there a conf file i can edit ?

void maple
tight bone
#

nah last time someone gave me a diffrent link

#

this one looks more perm

cosmic thunder
#

I'm setting up a proxy using CF, (

umbral nacelle
#

Good day, does somebody uses home-assistant with gitlab and gitlab-runners to validate the code in a docker container prior rolling it out to production? 😄

cunning ledge
#

HI everyone, I have huger stability problems in siome versions. Currently HA is unavailable every 2 to 4 hours. Typically with a "500 Internal Server Error" or the web UI is still available but no device is available and every sub page displays an error message. After reboot everything works perfect and there are no errors in the logs as far as I understand it. I had similar problem 1 or 2 months ago, then after and update no problems for weeks. After the last update it got worse and worse. What to do?

#

HA runs on a RPi4 / SSD for over a year now.

cosmic thunder
#

What else is plugged into the USB ports?

cunning ledge
#

just the zigbee thingy

#

it is the original RPi4 power supply.

cosmic thunder
#

That might well benefit from an externally powered USB hub then

cunning ledge
#

for both devices or just the Zigbee receiver?

#

is it possible to check if the power supply is the problem?

cosmic thunder
#

Both, the problem may be that the Pi can't provide enough power on the USB ports for both devices - that's been seen a lot here

cunning ledge
#

I read about it, but as it worked for months with older versions of HA and zigbee2mqtt I did not thought this to be the problem here.

cosmic thunder
#

It may be that things have been borderline

#

It may be that the Pi is using more power itself now

cunning ledge
#

ok, sounds logical. thanks. I think I have an old powered usb2 hub somewhere. will try that with the zigbee stick first.

umbral nacelle
#

got my gitlab-runner setup working, just need to figure out now, how to exclude physical components, which are missing in docker, that my check passes.

umbral nacelle
#

hmm only issue now in my setup is: - Platform error device_tracker.bluetooth_tracker - Requirements for bluetooth_tracker not found: ['PyBluez==0.22'].

#

it looks like, that the error code is always 1, thats a bit unfortunate, is there a difference in the failure codes between a complete failure and a partial successful config setup?

astral vault
#

You shouldn't be getting that error. If you are, there's a bug in whatever integration is using PyBluez

cosmic thunder
#

That's the built in Bluetooth presence detection integration 😉

#

It's been throwing that error since HA switched to Python 3.11

mortal coral
#

Following up on the color temp issue on my Hue light: firmware version 1.108.5; zclversion 1

#

Interestingly the other one on the same firmware and the same zclVersion functions fine, so I'm wondering if the one that's acting up is just going bad. Might try a factory reset

astral vault
raven hazel
raven hazel
calm fern
#

Hi, when create light group, and on it try turn on effect then only one bulp take effect, is it normal?

astral vault
#

do all lights in the group support that effect?

calm fern
#

Yes

#

2x hilips hue while and color

astral vault
#

if they are all on, then it should work. Otherwise look in your logs for errors

calm fern
#

Philips*

tight bone
#

sooo "If the sensor you want is not listed, but you found a relevant register in the "Huawei Solar Modbus Definitions" PDF file, you can choose to add the sensor yourself by editing the sensor.py file from this integration." where do i find these .py files?

#

ah found it

astral vault
#

you could also just use the modbus integration

mighty reef
#

I can't think of the platform.... What is the platform that allows you to define an expected trigger/condition/scheduled interval and if you don't send a PUT/POST via REST it will trigger an alarm via SMTP for example? - Forgot about chatgpt, it's called HealthChecks.io

mortal coral
leaden trail
#

Is anywhere a good ressource to make quirks?

I have a Paulmann smart switch with zigbee. I paired it with ZHA and i see in the logs the button press, but there is no entity for any of the dimmer functions or on off functions.

So i figured i probably need something people call quirks, but i haven't found a good ressource to read up on it and how to make one for a zigbee device. Can someone link a ressource so i can read up on it and learn it?

cosmic thunder
leaden trail
#

alright i will post my question there

#

thanks

worthy lake
leaden trail
rose jacinth
#

Interesting one. I don't often do it, but on the odd occasion I have to reload, say, automations.yaml or another one, there are a few of them that take a good minute to reload whilst all the others are in the seconds. For example, all the Input * ones take around a minute each. How would I go about debugging that? I've looked at htop and it shows that python3 -m homeassistant --config /config is using 100% or greater CPU, which isn't very helpful.

#

Any ideas?

astral vault
#

there's nothing really to debug

#

that's just how long that operation is taking

#

You can switch to the UI versions of the integrations and then you won't have to reload at all

rose jacinth
#

Fair-enough. It's just that if I do the reload all one, it takes so long, it hangs and fails. That's what made me try them one by one.

#

Yeh, I've got most of the integrations in the UI. It might just be one of those things in a sizeable system as you say.

astral vault
#

i'm referring to the input_x integrations

rose jacinth
#

yeh, I need to finish getting those across. Actually, there may be something in that. I had set those manually in the yaml and then added to them in the UI when that became available. Perhaps I've confused it a bit. Will check on that one! Thanks Petro!

untold spade
#

Disk full - What to do?

cursive sparrow
#

Anyone know why I cant see profile links in Discord? I hate this app...lol

astral vault
#

you blocked by them

solid basin
#

Does HA have some sort of RBAC? I am trying to get metrics from /api/prometheus, but I don't want to give my prometheus instance a token that has too many permissions in HA, as the account/token really only needs permissions for that endpoint

astral vault
#

nope

solid basin
#

so whats the smallest scope of permissions I can give? I only can add "admins" and "users" it seems but besides system config permissions where can I find the differences? I see there's a "groups" field when I list users and there's a "read only user" but I can't figure out how to actually make one

cursive sparrow
#

if any...lol

astral vault
#

if you block someone, you can still view what they say

astral vault
solid basin
#

lol so noauth is practically more secure

#

for prometheus at least

stoic field
#

Hey folks- was wondering if there is a "best practices" guide to naming devices..?

To explain- my home assistant setup is comprised of multiple "ecosystems" and each one has naming and grouping. For example, I have both HUE lights as well as TP-Link KASA lights. In the both the HUE and the LKASA ecosystems, you can name devices and group them by rooms. However, I can also name the devices and group them in home assistant itself.

When I (inevitably it seems) rearrange things or relocate things, I end up with entities that look like this:

Name: Front Porch Light
Entity ID: (light.backyard_walkway)
Area: Bedroom

🤦‍ The above exmple shows the journey of a TP-Link bulb. It started in the bedroom as a nightstand light. I ended up getting a HUE bulb for the bedroom (liked the color saturation better) so I moved the TP-Link bulb to the backyard walkway. I ended up changing the walkway to an LED strip. So I again moved the bulb, but this time to the Front Porch.

So, what are the "best practices" when it comes to naming devices across multiple ecosystems to avoid having to untangle things when they get moved around?

astral vault
#

I always name the entity_id w/ the area and keep them up to date.

#

the name name is just handled by my UI

stoic field
#

so when u add a device to an eco system.. lets say a smart plug to the TP-Link KASA system, it prompts you to name it and give it a room. what do you put there before it is "detected" by Home Assistant and brought in..?

#

I am considering setting the only "room" on HUE and KASA to be like "Home" or maybe the street name where our house is located like "Oak Street". then naming each device with the make model so a new smart plug when added to the TP-Link system would be:
Device name: HS103 Smart Plug
Device Location: Oak Street
So then, when I import it to HA, it would allow me to group/name it with its current use/function/location.. 🤔

astral vault
#

e.g. Kitchen Island Lights

#

or just Kitchen Island if the light is implied

stoic field
#

so if you move the light, you rename it in the native ecosystem and then delete the old entities in home assistant and let it rediscover?

astral vault
#

No, I'd just rename things

#

in all places

#

it's a PITA but it's rare so it's not a huge deal

tall burrow
#

Is 172.21.0.2 a common docker IP?

stoic field
#

for me its less rare. 😦 I tend to evolve things over time. plus there are periodic device failures and/or specil events like Halloween or Xmas where I rearrange things..

#

I've had devices fail and I've had rearrangements as I move devices based on need/prefernce.

stoic field
brittle fog
#

Hi all. So I’m having an issue with automatically arming my alarm system when anyone leaves. I don’t have an issue setting up triggers or automations or anything. I’m just having the issue with the system seeing that we left. Currently I have 4 trackers on our iPhones. I have iCloud, icloud3, the HA mobile app, and ping. Out of those 4, the best they do is trigger the arm automation up to 45 minutes after the device leaves the zone. I’ve played around and can’t seem to have any of them work within 5 minutes. Ping uses the wifi, the rest use geolocation. Is there any other way I can have these work? I have a button to arm when either of us leaves we can push it, but I want the automatic arm because 9 out of 10 times, my roommate doesn’t push the button. Sorry if I’m in the wrong section.

#

The alarm system is alarmo,

astral vault
stoic field
astral vault
#

I get that, and I've had similar tranisitions. But i'm now 7-8 years into this and I don't move anything because I made my things more permanent

#

by purchasing higher quality items that just work in my setup

stoic field
astral vault
#

Christmas is the only caveat because I add additional lights.

astral vault
#

I"m not sure why you have to move things so often

#

I have a camera that I move around the house

#

I named that "Floating camera"

#

for example

stoic field
brittle fog
#

Thankfully my roommate just has his phone. The system arms, just 45 minutes later. So I’m hunting for a better way.

#

Really just a functioning trigger.

stoic field
# astral vault I"m not sure why you have to move things so often

It just happens. I like to experiement with new tech when it comes out or replace things or add things ¯_(ツ)/¯ When I had a couple of hue bulbs fail I added TP-Link Kasa bulbs and when they proved to work welli I added more. I also started to play with WLED and made some naet lights with it. Then I added a smart thermostat.. then I decided to automate the scneted wax warmer unit in the kitchen. then I ripped out all my leviton and replaced it with TP-Link as well since leviton will NOT allow local control of their switches etc etc.. I am regularly changing things and evolving them.. lifes a journey and all that ¯_(ツ)

stoic field
brittle fog
#

I’ve tried running one as the trigger for a few days, then switched to the another and so on, then had all 4 as triggers to see which triggers first, and it’s roulette

#

Let me double check again, cus I believe I played around with all settings for each one (iCloud, icloud3, and so on)

astral vault
#

i'm not going to keep something if I don't like it

brittle fog
#

Yeah, for the app you set it to full location with precise location on, but it’s triggering anywhere from 10 minutes to 45 minutes after he or I leave.

stoic field
brittle fog
#

But aside from those 4 I use, is there something or a few things other ppl use that triggers when your away, and actually works?

#

Without buying new phones, or redoing my entire house lol, just hoping to use what I have.

astral vault
#

what kind of router do you have?

#

and how percise do you have your location settings in HA on iOS?

#

and how many other apps on iOS use location?

brittle fog
#

From the isp, I’ll have to look at the brand

heavy totem
#

Has anyone install the sqlite-web addon in a docker hosted environment? Or in some manual method other then HACS?

astral vault
#

iOS and andriod have systems in place where the number of things requesting location make the location better and more precise

brittle fog
#

The setting are at their max.

astral vault
#

so if you just have HA using location, then it probably won't be precise regardless of how high you have the settings in the app

#

and for your router, i've heard people have issue w/ thier phone connecting/disconnecting randomly w/ iOS. I don't have that issue but I also don't look at it.

brittle fog
#

Many of our apps use location, just never really focus on them cus I just let them do their thing.

stoic field
#

I've found apple products tend to optimize toward power savings so they can have their wifi or even their Ethernet go asleep or stop replying to ping.

brittle fog
#

Yeah, at random times when we are home, ping says we are away

stoic field
#

I stopped using uptime kuma to watch the AppleTV for example

brittle fog
#

Router is gigahub. I’d have to go and dig in the closet for model numbers and anything else

cosmic thunder
brittle fog
#

I have most on 3 minute delays so if they say away and we are home, they don’t trigger. Ping normally says away and then home within a few minutes.

#

However, when he gets home, it’s triggered within seconds

cosmic thunder
#

Bluetooth, and for Android the WiFi sensor, are much more reliable than ping

brittle fog
#

Unfortunately we don’t own androids

shrewd lion
#

Hi. I’m really new to home assistant. Been using it for like 2 hours now. lol. Was looking for a way to trigger scripts using windows hotkeys. I think this is possible. But I honestly have no idea where to start. I have a script to activate my switch bot, and it works when I call the service. But is there a way to assign it to a hot key in windows so I can use a macro pad or stream deck for home assistant? I saw a video where someone said they use auto hot key. I tried using ChatGPT to help me out. But the autohotkey scripts keep returning errors.

cosmic thunder
#

If AutoHotKey can call a webhook, then you can use that to trigger automations

astral vault
#

I cant remember the name of it, but I use something to do that

#

tinkerer, help me remember

west tinsel
#

I think System Bridge can do hotkeys

late tartan
#

might prefer just using hass.agent

west tinsel
#

or Hass.Agent

astral vault
late tartan
#

hass.agent lets you send notifications and control the pc too which is useful. i use it to put my pc to sleep but also to send notifications when doorbell is rang

brittle fog
astral vault
#

Just looking at my home/away history, it's basically spot on when I leave and arrive

#

and it just uses iOS location

late tartan
#

i use the iOS home assistant app device tracker ONLY

late tartan
#

i set a notification when i left and got back to my phone to see how delayed it was. it's basically after like 3 houses down the street that it switches over

#

and that's due to my zone.home range

brittle fog
#

@late tartan yeah, I have iCloud, icloud3, the HA app, and ping all linked in our person card thing

astral vault
#

Yep

brittle fog
#

So maybe I’m over crowding it?

late tartan
#
# Zones for Location Tracking
zone:
  # This will override the default home zone
  - name: Home
    latitude: !secret home_latitude
    longitude: !secret home_longitude
    radius: 20
    icon: mdi:home-circle
``` i use this  in configuration.yaml too
brittle fog
#

But like I said too, I’ve tried each by the self and I get a large delay when we leave but seconds to a few minutes when we arrive

astral vault
#

my radius is HUGE i tell ya

astral vault
late tartan
#

yea...

brittle fog
#

I don’t get it either, that’s the thing, it should work.

#

My home zone was automatically set when I set up HA, should I have configured it? The 100m radius is set with my house being right in the middle.

astral vault
#

that's what I use

#

I don't override it like smart home sellout

brittle fog
#

Yet both of yours work as they should, so user error on my part again?

astral vault
#

what does your tracking of your device tracker look like when you put it on a map with hours_to_show set to 24?

brittle fog
#

Let me look.

#

a spider web?

#

it shows us coming and going from the home location. its all working i believe, just as mentioned, the delay is odd

#

but i think what ill do is disable all other tracking and just use the app again. idk

astral vault
#

You need to check out the datapoint directly after you leave the house

#

That will trigger zone triggers as leaving

brittle fog
#

sorry im dumb, like check the logs?

barren scarab
#

Oke. My serious snapcast setup and my asterisk integration are both reaching final stages. I wonder wich one reaches documentation 1st.

astral vault
brittle fog
#

ill switch over to just using the app and monitor it for a week or so. I probably messed something up along the way. I'll try again to sorta start over. If it works for everyone else but me, then I'm likely doing something wrong. Thanks for the help

heavy totem
long blaze
heavy totem
long blaze
#

not sure. those tables are pretty heavily optimized.

heavy totem
#

Man that would be so nice

#

I've been doing some esphome development so I'm adding a lot of garbage to my HA 🙂

#

I feel like it used to be finding the entity_id in the states table back in the day but maybe things are different now.

long blaze
#

FYI that chart you're showing is from the statistics table, not the states table.

heavy totem
#

Or if I view it from the Entities list, that's the view I see.

astral vault
#

He’s telling you

heavy totem
#

So does that mean the data is not stored in the states table?

astral vault
#

Correct

long blaze
#

it's probably in both. but the chart you're trying to fix is drawing its data from statistics

astral vault
#

Well it’s in both

long blaze
#

the states table will eventually be purged, so I wouldn't worry about fixing it

heavy totem
#

Let me check stats table i guess?

#

Or does that get purged

long blaze
#

no it's forever

heavy totem
#

Ok so I should try to purge it from stats

#

Or I can outright delete this sensor and start over. It's from esphome

cursive sparrow
brittle fog
#

@cursive sparrow i had that set up a while back, worked ok, but went to trying out things in HA. If i still cant get the results i want then i think I may go back to that option.

modern owl
#

not sure what channel to ask this but is there a way to have a entity or some kind of trigger when daylight saving starts or ends on home assistant btw
edit got it with this as a template sensor
{{ now().timetuple().tm_isdst > 0 }}

cursive sparrow
#

It works perfect for me for years now, just have to make sure its set up correctly using the homekit bridge, or else it wont be reliable.

fervent loom
#

Any 1 who got live feed from ring who can help me with that ?

#

trying with the rstp but it doesnt respond

brittle fog
#

@cursive sparrow it wouldnt surprise me if i didnt set it up correctly, anything new im doing i try to set it up, google it and wing it and throw it up to the ceiling and hope it sticks lol. Which is possibly why i switched. but i should revisit it