• 5 Posts
  • 9 Comments
Joined 2 months ago
cake
Cake day: June 22nd, 2026

help-circle
  • Very cool. 25 years ago I had also a lot of aquarium at home. I have started recently to start again with that, but this time with the help of of home-assistant. My main goal is to keep an eye on the water values, because this is the most complicated thing here.

    Is there some cheap and simple way to watch water values with home-assistant? Specially nitrate, nitrite pH and so on. I don’t want to deal with this useless color stripes again where I never can distinguish between the colors.


  • Many thx. As a workaround, i have now created 2 systemd units:

    Service Unit: nc_scanfolder.service

    [Unit]
    Description=Starts scanning the folder
    After=network.target
    
    [Service]
    Type=oneshot
    User=www-data
    ExecStartPre=/usr/bin/sleep 10
    ExecStart=/usr/bin/php /var/www/nextcloud/occ files:scan --path="/username/files/folder"
    

    and Path Unit: nc_scanfolder.path

    [Unit]
    Description=Checks for changes
    
    [Path]
    PathChanged=/mnt/external/storage/folder
    Unit=nc_scanfolder.service
    TriggerLimitIntervalSec=30
    TriggerLimitBurst=1
    
    [Install]
    WantedBy=multi-user.target
    

    This works fine so far. If a file changes in this folder, the scan will be initialized. To prevent running the scan to often for to much changes, i have added a delay of 10 seconds in the service unit and a burst limit in the path unit. With this, multiple changes are bundled in 1 scan. At least, its a workaround. I dont know if there are better ways to do this.


  • For me, WebDAV is just a workaround, since it’s the only way I can sync files even without Wi-Fi and while on the go. But here’s an idea: Is there a way to send some kind of webhook to Nextcloud that would trigger the scan? Then, after editing in Roundcube or running an rsync, I could send a REST request that would initiate the scan. Since I developed the Roundcube plugin myself, I can integrate that whenever I want and, if necessary, delay it to capture multiple changes. Of course, this only works if there’s a corresponding feature in Nextcloud.







  • 13MB is the download size in GP. This is different from fDroid, because you download only a device or architecture specific installer, which is different on fdroid. After installing this extracts to maybe 75mb, which should be identical to fdroid. After first start the app, this can download additional packages, if needed and the wasted space grows. It grows more with the cache and other temporary content. A app can also reserve some space. For some apps, this could be up to 5gb and more.




  • Many thx for the hint with these both log files. I have checked them, but i couldn’t found other processes installing the mentioned packages. There are only 2 manually invoked apt commands, to manually downgrade and later update wget, but that was a test from my own. I personally think that unattended-upgrades has complained about the kept packages, but lastly installed them.

    Im using a 52unattended-upgrades-local file to overwrite the standard file with the following settings:

    Unattended-Upgrade::Origins-Pattern {
            "origin=Debian,codename=${distro_codename}-updates";
    //      "origin=Debian,codename=${distro_codename}-proposed-updates";
            "origin=Debian,codename=${distro_codename},label=Debian";
            "origin=Debian,codename=${distro_codename},label=Debian-Security";
            "origin=Debian,codename=${distro_codename}-security,label=Debian-Security";
            "origin=Raspbian,codename=${distro_codename},label=Raspbian";
            "origin=Raspberry Pi Foundation,codename=${distro_codename},label=Raspberry Pi Foundation";
            "site=archive.ntfy.sh";
            "site=download.docker.com,a=trixie";
    };
    
    Unattended-Upgrade::Package-Blacklist {
    };
    
    Unattended-Upgrade::AutoFixInterruptedDpkg "true";
    
    Unattended-Upgrade::MinimalSteps "false";
    
    Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
    
    Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
    
    Unattended-Upgrade::Remove-Unused-Dependencies "true";
    
    Unattended-Upgrade::Automatic-Reboot "true";
    
    Unattended-Upgrade::Automatic-Reboot-WithUsers "true";
    
    Unattended-Upgrade::SyslogEnable "false";
    

    Maybe i have something missconfigured…


  • MoLoPoLY@feddit.orgOPtoBoost for LemmyMilky/hazed image previews?
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 months ago

    No. Unfortunately not. But it seems to disappear, when i uncheck Settings > Appearance > Cards > Full height images. For some reason, i can now enable the same setting again, without that the milky images comes back. On the other hand, it doesn’t change the height of the images.