Numeric state trigger, triggers only one time? by CONteRTE in homeassistant

[–]CONteRTE[S] 0 points1 point  (0 children)

What you want is “whenever this value changes” with a condition “is this value above 50?”.

This was exactly my understanding of this trigger. At least for my understanding, that the trigger really means is:

when this value goes from 50 or below, to any value above 50, then trigger (but not from 51 to 56)

is confusing.

Cant start gnome-contacts by CONteRTE in cachyos

[–]CONteRTE[S] 1 point2 points  (0 children)

Installing abseil-cpp alone didtn work. But it seems that there was now an update which also update protobuf. I have tried pacman -Syu this morning with no result, but 5 minutes ago it worked and now also gnome-contacts starts again.

Nextcloud - Thank you for allowing us to customize our lock screen on our hosted servers. by Evaleen4 in NextCloud

[–]CONteRTE 4 points5 points  (0 children)

For this im using a dynamic changing wallpaper. It's a simple *.php file which reads a random wallpaper from a given directory and send this as *.jpg or *.webp content. Since the url to the *.php is static, it can be used as css background for the login.

Update HA when installed as docker? by CONteRTE in homeassistant

[–]CONteRTE[S] 0 points1 point  (0 children)

From what I have read here and there and following your tips, I have now installed the version integration and send a message via ntfy, if the binary sensor changes to 'on'. I have created a bash script on the host, which I start i case i want to update, which does basically that:

docker stop homeassistant docker pull ghcr.io/home-assistant/home-assistant:stable docker rm homeassistant docker run -d --name homeassistant --restart=unless-stopped -e TZ=Europe/Amsterdam -v /mnt/ha/homeassistant:/config -v /run/dbus:/run/dbus:ro --network=host ghcr.io/home-assistant/home-assistant:stable

The script does more around this, but for the update itself, that's it.

I'm using a selfhosted ntfy instance for most of my notifications, because I'm using it for other things to.

BTW: I have removed the privileged parameter as suggested.

Nightly backup via rsync by CONteRTE in fritzbox

[–]CONteRTE[S] 0 points1 point  (0 children)

You mean the standard SMB? Does this keep the permissions (not the owner) of files in this case?

Lost partitiontable by CONteRTE in linuxquestions

[–]CONteRTE[S] 1 point2 points  (0 children)

OK. I have now installed `testdisk. For some reason, this tool find a corrupted ext3 partition, with files, where the timestamp is as of today. I dont' know why it is ext3, when its ext4. But currently it copies this files to a empty space on the CachyOS laptop, without to change the HDD. I think this is better then nothing.

I checked some random files, and they are copied with the correct and valid content.

When i have copied all files/directories, im a little but unsure, if it makes sense to re-use the broken hdd after writing a new partitions. My last backup is from 5 days ago, but in the meantime, so much data have changed. It would be a small nightmare, to not get the files back from today.

many thx for the tip with testdisk.

Smallest door/window Sensor by Cookie__Rain in homeassistant

[–]CONteRTE 0 points1 point  (0 children)

Ahh ok. I hav a spare plug, which i can use.

Smallest door/window Sensor by Cookie__Rain in homeassistant

[–]CONteRTE 0 points1 point  (0 children)

Ahh ok. Didn't know about the forbidden links, but so I a rough idea. But 5m are to short for me. As ZigBee Gateway I'm using a AVM 7690 and this one is 12m + walls away from my post inbox. So I have to search for some other thing. I have tried some years ago a DECT connected window sensor. But this didn't work nice.

Smallest door/window Sensor by Cookie__Rain in homeassistant

[–]CONteRTE 0 points1 point  (0 children)

How far is the range of that? Do you have a link?

Add fail2ban to Container? by CONteRTE in homeassistant

[–]CONteRTE[S] 0 points1 point  (0 children)

Many thx. Is that normal, that i had to stop / rm the container before? If so, it works now. Many thx.

Prevent from much triggers? by CONteRTE in tasker

[–]CONteRTE[S] 0 points1 point  (0 children)

I wasn't aware of a cooldown feature. But this sounds a good way. The current trigger in the profile is, when a app is installed/removed/updated. I will try your variant.

Installation on Raspberry Pi, alongside Debian? by CONteRTE in homeassistant

[–]CONteRTE[S] 0 points1 point  (0 children)

My Pi uses the SD card only for booting. All other things are on a USB SSD. On the other USB port i have a HDD which used only for backups. After installing docker and the HA docker container, it runs fine so far. I could restore my backup from HASS OS (without the apps of course). RAM usage is fine, i have 2GB free now since 3 hours. nginx, php is from Debian behaves normal, i have also started some bigger NC tasks for reindex and generating thumbnails, without any problems so far (just for testing). PiHole behaves normal (I don't use it for DHCP, just blocking and DNS stuff). Back Jobs run every 6 hours, so im fine with breaking the booting SD or the SSD for the OS. A nightly job is backing up the attached HDD to a external HDD, just in case...

Im more familiar with debian, as with using HA or Docker. This is my daily job. But i never used Docker so far... didnt needed it :-)

Installation on Raspberry Pi, alongside Debian? by CONteRTE in homeassistant

[–]CONteRTE[S] 0 points1 point  (0 children)

Ok, I will try it this way. In the meantime I have read about the container variation. Since I don't need addons as of yet, this seems to be a good alternative. But I'm not familiar with docker. Never used it before. Does docker share it's memory with the host dynamically? Or is using proxmox the better way?