#general-archived
1 messages · Page 159 of 1
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
neither homeassistant.local nor local ip worked
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".
@void maple adding my duckdns domain to the ALLOWED_IFRAME_SOURCES and SESSION_SECURE_COOKIE in envvars solved my issue https://www.bookstackapp.com/docs/admin/security/
That's pretty standard fyi, certs are per domain
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 ?
No. Take a backup and restore it
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 ?
Depends what runs on the server (I recommend proxmox VE). It's possible to export the VM but I recommend a restore as well
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?
If you set it like this it should stick: https://github.com/home-assistant/operating-system/blob/dev/Documentation/network.md#enabling-wi-fi
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 ?
Here seems fine. Can you share the log and some details about your setup and hardware?
hi thanks, let me a second to type it ^^
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
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.
that sounds like a hardware issue with your tablet, nothing homeassistant can do about it 
tips?
core install is not a container,
the core container is also not a container install,
raspberrypi3-64-homeassistant:2023.4.6 says you run
-> HAOS <-
no, ask in a discord for your tablet. charging and turning off/on psu is a basic thing which apparently fails
ok so updating core while haos is stopped is useless.
does the core update happen at haos startup ? Could it be the update that take all the ram ?
(ha os info => version 11.1)
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
yeah, it's what I come to see.
Would be nice if the install page stated it 😕
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?
You might be able to figure out why it uses so much: https://www.home-assistant.io/integrations/profiler/
Do you have addons installed? You can check memory usage with docker stats and free -h.
I recommend looking into (U)SFF/Mini PCs
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
you do realize there is a whole bunch of other containers running besides what you already describe here? that poor little pi3
Yeah i'm watching them right now 😄
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?
Aside the supervisor à 7.7% (and gdrive backup at 2.4%), everything else take less than 1.3% or RAM though
homeassistant uses >600mb alone, and you have a whole fleet of other containers besides that
1gb is not enough, no. not even close
Can I disable all other containers and start haos ? Or there is required containers ?
supervisor will start them again
Since everything was fine before, I suspect that the startup is trying to update something and it may go back to lower ram.
With watchdog=false ?
I can't recommend SBCs like that. There doesn't seem to be an option to disable an addon via ha addons but you can stop them via docker stop or ha addons stop
Adguard home can use a surprising amount of memory (and CPU), btw. Maybe it's because I have a butt load of lists but it can easily use 2G+ while udating them.
Configurator is the File Editor.
I suspect they want to disable the audio-container etc...
(SBC ?)
Single Board Computer.
You're not a fan of ha green/yellow?
No
Can you show the output of the commands I mentioned and the log with the OOM information?
I'll get them
why that ? Same for Rpi then I suppose ?
(here the screen shots : https://photos.app.goo.gl/63b7RnKPWBtExkpR7 , just after restart. I'll get the error after lunch)
thanks ! my brain had to go back into my unix days but i worked it out again, now my network is networking
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.
like a NUC?
They are usually a bit more pricey but yeah, something like that
Seems like you ran free -h while it wasn't fully booted yet. Please run this again after a few minutes
so you know your way around HA?
Only parts of it and its eco system. I wouldn't consider myself a HA expert
how do i get the power to show on the front screen, is that a template question?
what power and what screen
Depends what you mean with power and front screen
Good to see I'm not alone in questioning what this means
power meaning energy
what energy ?
that little graphic thing
which little graphic thing?
if you mean the ENERGY DASHBOARD you have to configure sensors in settings - dashboards - energy
Energy distribution
there's dozens of ways to display that in ha
what would number 7 be?
omg that looks amazing maybe 7 is too poweful for me
Do you mean this? https://www.home-assistant.io/dashboards/energy/#energy-distribution
You can add this via Manual at the bottom of the card list
yep
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?
If the website is publicly accessible there's likely some way but that's too vague to really answer. What data?
i see what i did there, can i get all the solar data thru the HA?
yes
sorry 90% of my interests is solar, 1% chicken eggs 1%weather 1%pavolvas 1%gardening 1%networking 5%cats
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
you will need to integrate mqtt in ha, people in #integrations-archived know more about that
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...
Can you run df -h?
/ 100%
Check the second code block here and please share the complete output of commands: <#general-archived message>
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
im using a rpi3 so far not having any problems
hmmm why is sensor.inverter_active_power not appering on my energy page?
if I try to restore a backup: Error: 'BackupManager.do_restore_full' blocked from execution, no supervisor internet connection 🤔
Did you run this via SSH or keyboard & monitor?
keyboard & monitor, I can't have network connection because 'No left space on device'
Can you also show the full df -h output? It's docker system prune -a btw
Take a picture if you must but I want the full thing
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.
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
ok thx so to completely migrate to ssd i have to reinstall HAOS on the SSD with Backup from Old storage`?
That looks okay. Try to reboot and see if the issue still occurs
@void maple , @junior summit Thanks for your help, apparently the core successfully made the update between the restarts, and is now stable at ~600Mo total RAM usage. I'll lok into upgrading to something more capable.
no changes after reboot !
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?
Hmm. Can you show me that no space left message? 100% usage for that particular entry is normal it seems
my ethernet cable is plugged in and was working before the update 😄
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>
Why can't we create threads here to get help?
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.
@tight fog I converted your message into a file since it's above 15 lines :+1:
Very usable bot
Huh. There's no code in there? It usually only does that if it detects backticks
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
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
Yeah I'm just frustrated with Home Assistant overall
nothing else disconnects except tasmota devices and rpi4 with HA on it
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?
Is there any way to switch audio output using the android tv remote integration ?
I just found out the home assistant android phone intent message. You can directly control your android device with that.
I got it as far i can run a tasker task. So can do anything from there
guys, if i have a WD my cloud at home can i use home assistant to access my files in it?
Yes and probably also no
what does that mean
What do you want
like for example in the media tab in the home assistnat i would like to access my files from it
what do you mean? how do i do that
Depends on how you installed ha
I don't want to be this guy who is expecting help but I really need help because, I want to do more things with HA and it just doesn't work for me. You don't need to like tell me step by step, but like what's the issue, do I need to disable the Access Point mode? or what do i need to do?
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
No idea about haos, I just bind mount them in my docker compose
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)
Yes
But wireless aps often come with router functionality and a Internet port which by default isn‘t bridged but NATs everything
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
You will be asked for the same file
when you are using a fresh install you will be asked?
Except on container or core installs, where you replace the contents of /config manually
or how do i feed the new home assistant?
oks
so feed it using the shell okis
ty
Right, I am quite new to HA, can you explain abit more ?
You guys probably want #android-archived
sorry i am kinda confused on what are you talking about, can you explain it better, i am not good with this stuff
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
If you are using HAOS you need a SMB (CIFS) or NFS share in your network and add that to HA.
Settings - System - Storage - Add Network storage
ok
its asking for server and protocol, what should i do?
Enter the storage server's IP and the kind of protocol it is providing
yes, i am not really sure how i get those informations
From the storage server
so from their website?
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
nas meaning in personal network-attached storage ? if so yes
Yes
do i need to search for the mac address?
No
No
this is what i see
How are you accessing your NAS?

Are you using it with the Windows Explorer?
anyone could revommend best zigbee wall switch with fan dimmer
got the ip address
#zigbee-archived might be able to
not a valid value for dictionary value @ data['type']. Got 'nfs' required key not provided @ data['share']. Got None
i just got this
Use that and SMB as protocol. And your local credentials, as well as the folder on the NAS you want to mount
oh wait i need the path of the remote share
wait what
theres no SMB option as protocol
CIFS
Test it a bit before using it for real stuff. Just to be safe the settings were correct
yeah i got the whole music from it
use the shortcut tile if you are able to automate the rest. Automate it in a script and add the script to the shortcut tile to execute
why?
sorry one more question, when i add a network i have the option for "usage:"
Backup, media and share
what do they do?
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)
share i could send a file through home assistant and then have it on my NSA?
In theory, yes
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
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?
Don't know if it is possible (easily). I'm not using it as a musicbox. 
Depending on the media player used, there might be enqueuing options for service calls.
is there a way to find my MQTT user password? is it clear text burried somewhere?
Maybe in .storage
i don't see a .storage in code server explorer
Interesting, apparently the default template switch in esphome is a momentary on switch. Or I did something wrong and it's not reporting state.
Yes thats correct, easiest way is to download a backup and find it in there
also i have one other thing ahha, i have a cocktail audio X10 and when i try to start a song from home assistant this device tells me Fail connect network stream
i do see the devices as a entity

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?
Neither do I know the device, nor how you connected it to your network, nor how you integrated it in HA
i know it might be annoying but can you see it with me for one sec?
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).
because with the IP address i can go and see all the songs in it and also remotely controll it
shocking
where would i talk about dashboards?
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
I'm not in front of my computer but I did it last week if you have specific questions.
Let me find the guide I used, it helped a ton!
Thank you. I'll try this
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 ?
via a Jinja template, sure
{{ now().date() }}
the third example here shows how to put such a thing in the URL: https://www.home-assistant.io/integrations/sensor.rest/
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 ?
by reading the response into the attributes of the sensor and then displaying those attributes in the markdown card
that wasn't exactly what I needed. I'm having issues discovering what the ID's are for certain things and how to impliment them.
IDs for the devices themselves? The easiest way I've found to do that is to create the API key with the Tuya IoT service online, connect it to my Tuya Cloud account (on my phone), and then run that Tuya CLI to get the IDs.
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.
thats what I need help with. I cant seem to find or figure this out
Its for an RGB strip. I got the basic on/off but my Id's arent making any sense to me
Is it the Feit Electric strip from Costco? Because I found a guide for that one, but if not, you just have to experiment.
No, its an offbrand from amazon that is older.
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.
I haven't been able to control RGB on my Feit one either. Luckily only really use it for white/on/off. :/
do you have a list of dp's reported?
not sure what you mean by that if you're talking to me
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.
hm so I tried what you said @merry sage and I’m not sure what I’m doing wrong.
rest:
- resource: "https://voip.ms/api/v1/rest.php?api_username=My_Username&api_password=My_Password&method=getCDR&date_from={{ (now() - timedelta(days = 30)).strftime('%Y-%m-%d') }}&date_to={{ now().strftime('%Y-%m-%d') }}&answered=1&noanswer=1&busy=1&failed=1&timezone=-5"
scan_interval: 3600
verify_ssl: true
ssl_cipher_list: intermediate
sensor:
������- name: "voip.ms CallRecords"
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…
As that's a template, you need resource_template: https://www.home-assistant.io/integrations/rest/#resource_template
Oh! I’ll try that… thanks for the hint.
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"
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 ?
The state value of a sensor cannot exceed that, that limitation isn't true for attributes
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
@ivory hare @jaunty shard Which Pi are you running it on? 3, 4?
rpi3
@ivory hare What's the amperage on your power supply?
Had to unplug it to see, 2500mA
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?
That doesn't mean that it can sustain that during peaks. Some simply don't have the "buffer"/capacitance for it. There's also a difference between charger and PSU.
The official PSU is recommended by the foundation due to such issues afaik: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#power-supply-warnings
Note that I do not know if your issue is even power related. Just providing some information.
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
I would start by replacing the power supply, for sure.
I believe HAOS ships with the vcgencmd utility to check if under-voltage occurred
Another good thing to check!
would I run the vcgencmd from the terminal window
Sounds about right! @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
Trying it!
command not found
Same! It might not be available depending on your flavor of Home Assistant though?
I saw it mentioned in some build script but I think that was the old rpi specific docker image.
According to this it's not available: https://github.com/home-assistant/core/pull/42710/files
dmesg|grep -i voltage may work
@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.
I recommend this: https://www.home-assistant.io/integrations/rpi_power/
Or check it like this from the CLI: https://github.com/shenxn/rpi-bad-power/blob/master/rpi_bad_power/__init__.py#L14-L16
I'm not sure if it dmesg shows it on HAOS but you now have a few options to check.
Too small for what I wanted to do. I wanted to get the call records for few days and display it with a markdown card… But even the record of only a day is bigger than 255… I’ll think about a solution… I could jq some data out of the results…
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…
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)
Seems like you want: https://www.home-assistant.io/integrations/command_line/
oh sweet thanks. Not sure how I missed that
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
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?
Anybody notice a large increase in delay if the frontpage with the newest updates?
Make everything use Home Assistant and only use HomeKit as control
But yes home assistant is perfect for centralizing things
Sweet 🙂 So i can add new devices (e.g IKEA Bulbs) without the need of the IKEA hub?
You need a ZigBee coordinator of some sort, but then you can pair IKEA and hue on the same coordinator
And any other #zigbee-archived based device
Is this a separate device? Can I connect this coordinator to the USB Port of the Raspi?
Yes, looks like a thumb drive. (I hate telling people to google but I don’t personally use one, but just google home assistant zigbee stick and most everything that comes up works. I think a common one is a Conbee 2, but that might be zwave)
Thank you very much 🙂
Conbee is not recommended
@vale kindle check out the pins in #zigbee-archived for advice on that
Oh. Well. Don’t listen to what I said then
hi all i wanna change ',' by '.' in 1,966Wh of entity value. How to do it?
Is that the actual value shown in States, or just what the frontend shows?
Open your Home Assistant instance and show your state developer tools
in frontend shows to change 1,966Wh by 1.966Wh
That's handled by your user profile settings
Open your Home Assistant instance and show your Home Assistant user's profile
thank you.
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?
#frontend-archived can help there
thank you @cosmic thunder , wasn't sure where to go 🙂
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?
The #installation-archived channel can probably best help you, if you tell them whether you're using Home Assistant OS, Container, or something else
TY
Am i right in thinking the "Overview" tab automatically adds devices when they get added? Mine doesn't seem to do that anymore 🤔
That's a topic for #frontend-archived - but only if you haven't taken control of it
Ahhhh - if i edited it before does it stop the auto-populate?
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
Thanks - i'll ask, just want to reset it back
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
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
You may be able to automate that... worth searching the forum
You may want to look into this and the progress with it. https://www.home-assistant.io/blog/2019/11/20/privacy-focused-voice-assistant/
Would be neat to have it be able to 'ignore' those when functions all together / automatically when the next request works
(probably something to make a feature request for?)
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.
👍
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.
if it's neither of those platforms, then the answer is "there will be no extra sensors"
Sorry Yeah android all the way. Changed my initial question
Still something that should be asked in #android-archived
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:
- it would be good if the device worked in the supported tuya integration. What data should I send and where?
- 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.
- 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.
- 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:
Thanks!
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).
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.
is there a guide that covers this?
There is documentation
thank you
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.
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 ?
yep, should work fine
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.
just to be sure is this what you ment? ```# mqtt
mqtt:
- sensor:
state_topic: "homeassistant /dsmr/reading/electricity_delivered_1"
name: "dsmr_meter"```
Share the YAML of what you did
Without the space in the topic 😉
your yaml is incorrectly formatted
on your service call
ony way for us to help fix is to do what tinkerer said
alr thank you
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 😉
purge entities doesn't support repack
you can't just add things to service calls, you have to follow the docs
Hm. I didn’t understand it like that… How can I repack the after a purge ?
because the purge service supports repack
purge entities does not
not really rocket science
just how they function
I saw a forum post where it was included 😁 but I probably mixed up some stuff
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
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 ?
repack only happens on the second sunday of every month
Hm. So if I clean so much data more often than that maybe I should repack it with vacuum manually or with cron…
or you could not bother with any of this
waste of time IMO
I just store 90 days or 60 days, can't remember
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.
just only keep a recorder for the entities you need
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.
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
Long term data should go into a time series database so you can actually do something useful with it
right
and it does, it's a separate table that's optimized for numerical information
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 ?
repack is resource intensive
so, as long as you understand that, do whatever you want to do
You could roughly calculate how much the storage grows per day with some simple division. What issue are you trying to fix? Are you space limited?
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 😁
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.
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…
You can run a query that shows you the number of entries per entity. Use that to know what to exclude:
<#general-archived message>
Yeah that what I used. 😁
Why would you need wc then?
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
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
I use ping sensors for vpn connected sites / endpoints
So i can track their states
right, but do you need a history?
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
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
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…
I don‘t filter 😅 my db is huge
Yah, I get that, but that doesn't explain why you need the history
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.
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…
Not sure what you mean by that ?
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…
{{ states('sensor.ping') | float > 40 }}
you'll only have an on or off
and it will only be in the database when it changes from < 40 to > 40
Oh that’s even better than what I understood. Nice.
and if your stuff always works, it will basically always be false and never have more than 1 db entry
Yeah most of them are always up… Just a few of them are down sometimes… Thanks for that trick!
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?
@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.
new to dashboards any tips guys?
#frontend-archived has them
(as do the docs, and the forum has a whole section for them)
thanks tinkerer
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.
Try one of the many other weather integrations?
There's a whole host built in, and many more custom options
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.
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.
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?
Using the light.turn_on service call, documented there
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.
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
should i disable ipv6 in the homeassistant network settings?
reading a few posts where people had to disable that due to disconnects?
can you just go to settings > system > network and disable wifi there?
under configure network interfaces
… 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
I think my Tuya integration only allows the preset scenes saved on the smartlife app. If I want an effect that changes lights in a particular fashion do I need to fork the Tuya integration and implement that myself?
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)
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?
strange, if i go to settings > system > network, there's a section that says configure network interfaces and i can drop the ipv4/ipv6 sections down with options to disable/etc
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
is there also one for wifi? my machine running proxmox doesn't use wifi, so i just have the ipv4/ipv6
may have to restart home assistant afterwards? i'm not entirely sure, but that's where i'd have looked first
Ok I see, thanks will give it a try
Did you ever figure out a way? I too have many of the Amazon smart plugs
Nope! I’ve just put this too the side
I have like 10 smart plugs and that would be way too many routines
Contemplating just replacing them with meross or tapo plugs
Dang! I also have 10 or more...that's too bad. Thanks
What are you using for location tracking?
my phone
So, the Android or iOS app?
Did you set up remote access so it can reach HA when you're away from home?
i believe so @cosmic thunder
Well... either you did or you didn't...
i have got it tracking my pixel phone
where would i check if i set up remote access
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
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?
@cosmic thunder i have subscribed to the Nabu Casa Cloud service
@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.
Then make sure you've set up the #android-archived app - and that channel can help you
ok thanks
Looks like whatever URL the app is using is using the old hostname
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.
#android-archived can probably also help you with that, assuming you have purged all use of the old certs
I've never configured the Internal connection URL in the past. I wonder what that field is for. 🤔
For those that use a proxy for SSL
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.
I do that, so I have the internal and external URLs set separately
Ah, no proxy here. Thanks for spoon feeding me tho.
does "All yaml configuration" reload the frontend: bits too?
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)?
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
@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))
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 )
Dose anyone know how to have a Teckin smart plug to home assistant.
Randomly tagging people isn't too appreciated here. Better way is to choose the appropriate channel and post the question there.
That way more people with a solution for your problem might answer and people don't get annoyed by getting tagged all the time.
sorry, it was ment more because i saw his post on a fourm about that sensor, i shall refrain from doing such things going forward
You are having problems with a BME280 in ESPHome?
not in esphome, but the values for humidity are so off im trying to get it to output the correct value.
So a problem with a template sensor, right?
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
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.
Hi,
I am reading this article: https://community.home-assistant.io/t/how-to-control-amazon-smart-plugs-from-home-assistant-via-emulated-hue-and-alexa-media-player/464254
and I would need someone to help me and walk me though how to implement it
If it is allowed, we can DM to get stuff done more easily or even call with screen sharing
Hi, I had this same setup. I would recommend doing something else for the setup, it's not the most reliable. This is what I use, modified to work with the plug: https://community.home-assistant.io/t/home-assistant-controlled-window-fan-vornado-transom-alexa-enabled/566256
If you would still like to go the emulated hue route, feel free to DM me questions.
anybody know a good way to do rem sleep detection with a galaxy watch in HA?
Does that mean it will rely on the cloud twice ?
I don’t get what you mean
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
can i delete preinstalled integrations like google translate and radio browser if i dont need them ? or does my whole system collapse then ? 😄
Probably not. Here's a list of default integrations if you're curious: https://www.home-assistant.io/integrations/default_config/
probably not collapsing my system or i should probably not delete them ? 😄 thanks for the list tho
It will probably be fine and your HA won't collapse. Having backups is always a good idea though
gotcha
can i have one dashboard layout for pc and another for iphone ? with the same user ?
The new conditional card improvements coming in 2023.11 will allow you to show different cards based on screen size.
great thanks
anyone have any recommendations on what device to use for measuring power on a 14-50 circuit?
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?
Are these entities mqtt related?
My logbook easily shows 60+ messages per minute when I‘m moving but these are usually correct
@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.
anything weird in the logs?
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?
A (U)SFF/Mini PC
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.
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?
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
#zigbee-archived can help there - but that's usually low battery or RF interference (eg WiFi)
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
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 ?
Cards are a topic for #frontend-archived - but you need to solve that in the integration for the sensor
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.
There are thousands of guys and ladies who made their own sensors with temperature and so on.
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.
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.
Or add a unique id (if the integration supports it). Then it is editable and can be assigned to a room in the UI.
i look that 😄
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?
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
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) ?
interact how?
install OS package, etc ?
Because it's not a normal general purpose OS
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"
there is but then you reboot or upgrade and pooof, it's gone
No, there is no package manager in the OS itself. Open the VNC console, enter login, then try systemctl status qemu-guest. Also try a cold boot
If you want to install stuff on the host then you need to ditch HAOS and add-ons and go with Debian and Docker
VNC doesn't appear to be running/accessible on the default port ?
VNC isn't installed on the host
so .. login .. what user/pass do I need to use ?
➜ ~ login
a0d7b954-ssh login:
You need to set that up in the #add-ons-archived settings
yes, login via the proxmox console did give me a way to check
HAOS is not a full blown Linux experience
HAOS is not a full blown Linux experience
good, but it's supposedly able to run in a VM .. why isn't qemu-guest-agent part of it ..
Yeah that's normal
# findmnt /
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda3 squashfs ro,relatime,errors=continue
What does ha os info say?
board: generic-x86-64; boot:b; data_disk: QEMU-QEMU-HARDDISK-drive-scsi0; update_available: false; version & version_latest: 11.1
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
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")
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
which results in qcow2 needing a "dir" storage which I don't have
No. Just try it
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.
@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?
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
That's also not the VNC console, btw
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?
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.
is it possible to change the radius of the home zone
Yes
Explained in the docs
thanks
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?
It said the yaml would override the UI one but it didn't
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)
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?
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
whats a reasonable size for home-assistant_v2.db
12 GB here
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?
Not sure what you mean
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. 😕
it says you can exclude "entity globs" in the recorder documentation
That'd be entities, not attributes
No, that's not how HA works
Your desire to have history, while not writing to the database, is also contradictory
The database is your history
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
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)
I mean that's just part of the db query at that point I suppose
Yes, you get it from the database
Every state change goes there
Correct, you get it using the SQL sensor
no, it's not easy.
and yes, the answer is 100% get it from the database
That's how HA gets it for any card, history tab, etc
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
@slate slate I converted your message into a file since it's above 15 lines :+1:
@slate slate if you include it in recorder, yes.
If you don't exclude it then every entity is written to the database (aka recorder)
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
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?
The sensors are a list under template: Try this:
- platform: template
sensor:
- id: garage_west_brightness:
value_template: {{ states.light.garage_west.attributes.brightness | int }}
Make a script that has that information, and call the script. No need for globals
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.
I have a script for executing the single room already. But there is also the use case of sending a command to the robot to vacuum several rooms in a row. How would you do that in a single script?
I get "mapping values are not allowed here" for that
Oh, sorry, I had a typo here:
- platform: template
sensor:
- id: garage_west_brightness
value_template: {{ states.light.garage_west.attributes.brightness | int }}
I get invalid key: "{'states.light.garage_west.attributes.brightness | int': None}" which is the same thing i get with my original one
states.light.garage_west.attributes.brightness should be state_attr('light.garage_west','brightness')
But #templates-archived can help you with templates
thanks, sorry i didnt even see that channel
I think with value_template you use deprecated syntax. Did you try state instead? Also, you did not quote your template string, which might be an issue.
See here: https://www.home-assistant.io/integrations/template/#state-based-template-binary-sensors-buttons-images-numbers-selects-and-sensors
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?
Share your script and all the rooms & values and I’ll show you
If you set up both, your devices and home assistant will be using both as separate entities
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.
Thanks for the explaination Petro
I noticed they aren't all appearing under MQTT integration, this makes sense now
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?
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....
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
Ah OK. I guess that's alright, I mean to be honest.....all I care about is it working one way or another, haha
I did just find this, don't know if it's still working in 2023: https://community.home-assistant.io/t/shellies-discovery-script/94048
yeah, that will still work
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
if you're using the mosquitto addon, it set up a user and is using that
is there a way to use an old ipad 2 just as a browser to connect to HA
Yes but it may not work well
it just depends on the OS version, IIRC HA used to work on my ipad2
Does anyone know how to recreate the gas price map that was shown in the 2023.10 realse notes? If so I would love this
https://www.home-assistant.io/blog/2023/10/04/release-202310/
using 9.3.5
yeah, that won't work anymore
ok thanks
So I made that image just to demo what the map card feature could do as an example, but I don't know any actual integrations that provide that gas station prices.
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.
There's definitely rest endpoints out there w/ gas info but you'll have to find one in your area
Shoot. I only found a way to see the lowest in the area with Gasbuddy but nothing on a individual station basis. could I make a request for this type of integration?
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.
I just googled open source gas api and found like 8
hmm that looks like import prices
"alternative fuel stations" ?
🤷♂️
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
Is there a log that records when or if HA crashes?
Yes, homeassistant.log
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
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!
I used to use a whole house humidifer like you're describing with my Ecobee3s. You can set a desired humidify level and it respected that for me
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
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
I expect them to fight each other
what logs do you wan to see?
Core, always core 😉
Does it mean that your printer is turned off?
Is there a livestream?
it respects it, it just doesn't show on the IQ Charts or whatever they're called. Like ecobee doesnt track when its actually running
doesn't it show it on the home screen?
I haven't paid attention to the IQ charts in years
No i haven’t seen it anywhere
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
Change the filter in the top right of the list?
Usually that means that you have a broken script somewhere and it stops loading them
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
Fml - the Scripts list didn’t shore it but the full Entities list did when I checked the z a show Disabled
You can disable a script.
Automations can be disabled or single actions in a script
Or have you disabled the script entity?
Yeah. But in that case it wouldn't be a setting in the script, but in the entity registry
This is the toggle I used
And what filters are you using on the entity list?
I was in a rush and needed to prevent that from running as part of multiple automations
I already found it - Entities (checked “Show Disabled”)
Thanks
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?
#frontend-archived can help with cards and #zwave-archived with the thermostat
I recently moved haos into proxmox and just setup my skyconnect. its been rock solid! very pleased
Is the notification rate limit from the cloud or just some setting I can change
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
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?
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 ?
Pretty sure I linked this before: https://github.com/home-assistant/operating-system/blob/dev/Documentation/network.md
I'm setting up a proxy using CF, (
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? 😄
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.
What else is plugged into the USB ports?
That might well benefit from an externally powered USB hub then
for both devices or just the Zigbee receiver?
is it possible to check if the power supply is the problem?
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
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.
It may be that things have been borderline
It may be that the Pi is using more power itself now
ok, sounds logical. thanks. I think I have an old powered usb2 hub somewhere. will try that with the zigbee stick first.
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.
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?
You shouldn't be getting that error. If you are, there's a bug in whatever integration is using PyBluez
That's the built in Bluetooth presence detection integration 😉
It's been throwing that error since HA switched to Python 3.11
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
right, my point is that he can't fix it, it's a bug
Those are the older Atmel based bulbs, they should be fine. Only old TI ones are somewhat bad.
(All newer ones are Silicon Labs since some years)
Yeah, weird. Does it look like it could also be a hardware issue (is the "transition" abrupt)?
Hi, when create light group, and on it try turn on effect then only one bulp take effect, is it normal?
do all lights in the group support that effect?
if they are all on, then it should work. Otherwise look in your logs for errors
Philips*
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
you could also just use the modbus integration
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
Yeah there's no transition which is making me think one set of LEDs is going bad
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?
#zigbee-archived can help you there
You probably don't need a quirk if it's showing the expected things in your log, you probably need to use event triggers. https://www.home-assistant.io/docs/automation/trigger/#event-trigger and/or ask in #automations-archived
Sadly not entirely the switch has 2 buttons and it just says button on has pressed but sadly not which on has pressed and how much the dimmer has moved :/ so reading logs as an event trigger, is something i do not know but that would only solve it partially. But thanks for your input! appreciate it!
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?
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
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.
i'm referring to the input_x integrations
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!
Disk full - What to do?
Anyone know why I cant see profile links in Discord? I hate this app...lol
you blocked by them
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
nope
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
I dont think so, because the person can see my text and I have had nothing but good interactions with them?
if any...lol
if you block someone, you can still view what they say
I can't remember the differences between them but they both still have control of many things. I have alexa connected to my system via a non-admin user. That's about the best you'll get.
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?
I always name the entity_id w/ the area and keep them up to date.
the name name is just handled by my UI
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.. 🤔
I typically name it the way I'd want it named in HA
e.g. Kitchen Island Lights
or just Kitchen Island if the light is implied
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?
No, I'd just rename things
in all places
it's a PITA but it's rare so it's not a huge deal
Is 172.21.0.2 a common docker IP?
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.
172.16.0.0 to 172.31.255.255 is a non routable range so its kinda common to use it for things like docker, yes..
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,
I'd spend more time making permanent arrangements that you can update on the fly
"Permanent arrangements"..? Not sure what this would be. For example, the "journey" of that TP-Link bulb shows how things can evolve over time (e.g. start at bedside table, move to walkway, then move to front porch)
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
heh so the answer to "Doctor it hurts when I do this" is "Don't do that"..? 😁😂🤣
Christmas is the only caveat because I add additional lights.
pretty much
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
I also have alarmo but I have yet to trust the auto-arm away thing. 😦 I would love to but there are issues like - sometimes, my wife will leave her apple watch at home so it shows her phone is away from the geofenced zone, but her watch is not.. 🤔
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.
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 ¯_(ツ)/¯
SO if the roomate has a phone and has the HA app on it, isn't there an ability on the app itself to control how often it updates its location to HA..?
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)
I always try devices in a new spot or throw them out if replacing
i'm not going to keep something if I don't like it
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.
I mean, I get that. in the case of the leviton devices, when I found that they are NON functional without a cloud connect that was a "nope!" from me. I pulled them all out and replaced them with KASA switches
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.
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?
From the isp, I’ll have to look at the brand
Has anyone install the sqlite-web addon in a docker hosted environment? Or in some manual method other then HACS?
iOS and andriod have systems in place where the number of things requesting location make the location better and more precise
The setting are at their max.
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.
Many of our apps use location, just never really focus on them cus I just let them do their thing.
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.
Yeah, at random times when we are home, ping says we are away
I stopped using uptime kuma to watch the AppleTV for example
Router is gigahub. I’d have to go and dig in the closet for model numbers and anything else
Totally normal - phones put their WiFi into pause when the phone is in deep sleep and on battery
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
Bluetooth, and for Android the WiFi sensor, are much more reliable than ping
Unfortunately we don’t own androids
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.
If AutoHotKey can call a webhook, then you can use that to trigger automations
hotkeys as in CTRL+O to turn on office?
I cant remember the name of it, but I use something to do that
tinkerer, help me remember
I think System Bridge can do hotkeys
might prefer just using hass.agent
or Hass.Agent
that's it
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
I’ll keep looking anyhow for solutions. I was thinking other apps or alternate integrations or cheap devices to put on key rings, anything really. But it’s looking like it’s either we set the alarm manually when we leave or let it decide to set itself once it realizes we are gone.
Just looking at my home/away history, it's basically spot on when I leave and arrive
and it just uses iOS location
have you assigned multiple device trackers to a person entity? if so then they wont change your home status until all of them are true
i use the iOS home assistant app device tracker ONLY
same
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
@late tartan yeah, I have iCloud, icloud3, the HA app, and ping all linked in our person card thing
Yep
So maybe I’m over crowding it?
# 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
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
my radius is HUGE i tell ya
I don't see how that's possible w/ the iOS app
yea...
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.
Yet both of yours work as they should, so user error on my part again?
what does your tracking of your device tracker look like when you put it on a map with hours_to_show set to 24?
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
You need to check out the datapoint directly after you leave the house
That will trigger zone triggers as leaving
sorry im dumb, like check the logs?
Oke. My serious snapcast setup and my asterisk integration are both reaching final stages. I wonder wich one reaches documentation 1st.
logbook
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
Anyone know the best way to delete this erroneous value? Was doing some development on the sensor.
The value in history will fall off eventually, the value in statistics you'll need to do a manual SQL query to change it.
in the states table, how come I"m seeing empty entity_id's? I tried to use a local sqlite3 cmdline to view data.. I'm on a docker install so no sqlite-web addon for me.
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.
FYI that chart you're showing is from the statistics table, not the states table.
shrug no clue. it's just my sensor on a dashboard ?
Or if I view it from the Entities list, that's the view I see.
He’s telling you
So does that mean the data is not stored in the states table?
Correct
it's probably in both. but the chart you're trying to fix is drawing its data from statistics
Well it’s in both
the states table will eventually be purged, so I wouldn't worry about fixing it
no it's forever
Ok so I should try to purge it from stats
Or I can outright delete this sensor and start over. It's from esphome
If you have an Iphone you have to use the apple presence sensor in homekit as its very reliable, use an automation to change a boolean input from homekit that goes into Home assistant. Much more accurate and reliable than pinging stuff.
@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.
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 }}
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.
Any 1 who got live feed from ring who can help me with that ?
trying with the rstp but it doesnt respond
@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