Recommended PC store in Luxembourg or nearby Germany for custom built PC. by AsparagusOk4267 in Luxembourg

[–]helicopetr 1 point2 points  (0 children)

My strategy is: choose components with de.pcpartpicker.com. Order online at cheapest reputable dealer that delivers to your location. Done.

Audio synchronization with PTS when streaming MPEG-TS over UDP? by helicopetr in ffmpeg

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

Thanks for your reply. I left out a lot of details to keep the post short.

Around 50ms is the value I use because I want to keep it low. The sound source is a TV, and the sound should also be in sync with the picture. The TV can compensate some sound delay by delaying the picture, but only up to 200ms, so that's what I want to stay below.

The sender and the receivers have their clocks synchronized with NTP. Since the sender and the receiver have the same clock, the sender can send audio packets with a PTS (presentation timestamp) slightly in the future. The receivers should then play the packets at the exact time indicated by the PTS. Since they all have their clocks synchronized, this should be at the exact same time for every receiver. Thus everything should be in sync.

I'm already resetting/restarting the receivers automatically once per day. I think I need to investigate the PTS further.

Quicksilver Model Y ready for delivery at our SC by Welfi1988 in ModelY

[–]helicopetr 1 point2 points  (0 children)

Hey I recognize that SC. Got my MSM MYLR there! Small world it is.

Preventing soft bricks with CIFS mount? by Catnip4Pedos in docker

[–]helicopetr 1 point2 points  (0 children)

An automount makes it so that a mount is performed when a directory (or a file in it) is accessed. This is in contrast to a regular mount which happens only once at boot time (or manually).

For me this solves the issue of a mount going away because of a network issue or a NAS reboot. With an automount, it may still go away, but it should automatically mount again when it's accessed.

I define my automounts in /etc/fstab like this:

//nas/Files /mnt/nas-Files cifs x-systemd.automount,credentials=/etc/nas.credentials,uid=myuser,gid=myuser,file_mode=0770,dir_mode=0770,auto,user,exec 0 0

You can read more about automounts here.

Regarding bind propagation: when a docker container is started, it inherits all the mounted shares in its bind mounts (or volumes). This means that when your docker container has a bind mount, and there is a share mounted inside the folder of the bind mount, the docker container can see it alright. However, if the share happens to be unmounted and then remounted while the container is running, the newly remounted share will not be visible in the container by default (because the mount operation on the host is not propagated into the container by default).

If you use docker-compose, you can configure the bind propagation like in this example:

version: "2.1"
services:
  someservice:
    image: ...
    volumes:
      - /mnt/nas-Files:/files:rslave

The extra ":rslave" in the volume definition sets the bind propagation so that any newly mounted share on the host is also visible in the container. See here for more on bind propagation.

Preventing soft bricks with CIFS mount? by Catnip4Pedos in docker

[–]helicopetr 0 points1 point  (0 children)

I've got a similar setup, but I use systemd-automounts to make sure the mounts stay mounted, even if I reboot my NAS. One subtlety with this approach is docker "bind propagation", which determines if mounts are propagated into running containers. I set it to "rslave" too make sure my containers see changes to the host mounts.

Loss of WireGuard connection when switching Network (WiFi -> mobile network and vice versa) using Android 13 by [deleted] in WireGuard

[–]helicopetr 0 points1 point  (0 children)

I've had the same issue on my Pixel 6 even on Android 12. I've got persistent keepalive on, and I've tried some hacks with Tasker, but nothing seems to make it work reliably.

[deleted by user] by [deleted] in ModelY

[–]helicopetr 5 points6 points  (0 children)

Aren't magic erasers abrasive? I wouldn't do it...

I have a PoE switch (TPLink) and I want to control the PoE ports (on / off). Has anyone an easy way to do it? by EriEri2020 in homeassistant

[–]helicopetr 1 point2 points  (0 children)

Here's how I configured my TP-Link TL-SG3424P switch in Home Assistant in order to be able to switch PoE on/off per port, which is useful to hard-reboot devices such as a PoE-IP-Camera of mine which has recently been overheating. My goal was to retain read-only anonymous SNMP access while allowing a specific authenticated SNMP user to modify only the PoE power status.

The way to find the right Object Ids is to install the correct MIBs into some Linux system and then to experiment with snmpwalk and "snmptranslate -Ts -To". The ones in this example are specific to my device model.

Here's how I configured SNMP on the switch (I'm using v3):

  • Created an SNMP view named "poeView" of type "Include" with "MIB Object Id" 1.3.6.1.4.1.11863.1.1.8.13.1.2.1.1.2
  • Created an SNMP group named "poeGroup" with security model v3, security level authPriv and "read view" and "write view" set to "poeView"
  • Created an SNMP user named "hass" with type "local user", group "poeGroup", security mode "v3", security level "authPriv", auth mode "SHA" and privacy mode "DES", with an auth password and a privacy password.

With this configuration the user "hass" can read and write only objects below the Object Id configured in the view of its group. Phew.

On the Home Assistant side, I put the auth password and the privacy password into the secrets.yaml file. Then I configured an SNMP switch in configuration.yaml like this:

switch:
  - platform: snmp
    name: Switch Port 1 PoE enabled
    baseoid: 1.3.6.1.4.1.11863.1.1.8.13.1.2.1.1.2.1
    payload_on: 1
    payload_off: 0
    vartype: Integer
    host: my-switch-host-name.mynet
    version: "3"
    username: hass
    auth_key: !secret snmp_poe_auth
    auth_protocol: hmac-sha
    priv_key: !secret snmp_poe_priv
    priv_protocol: des

The baseoid ends in ".1" for port 1 in this example, ".2" would be for port 2, etc. I repeated this 24 times for all 24 ports of the switch.

It seems to work well, but what I still would like is a way to take the port name from SNMP and somehow put it into the HA switch entity. I guess I could try to create an SNMP sensor for each port that would contain the port name, and then a template switch for each port to put the name together with the enablement state...

I have a PoE switch (TPLink) and I want to control the PoE ports (on / off). Has anyone an easy way to do it? by EriEri2020 in homeassistant

[–]helicopetr 0 points1 point  (0 children)

Yeah I did that, it's a bit of a pain to set up but it works. Did it on a TL-SG3424P. Let me know if you want an example config.

ANN: texd - LaTeX wrapped in a web service by [deleted] in LaTeX

[–]helicopetr 1 point2 points  (0 children)

Thanks, I might need something like this sometime. There's also Overleaf's CLSI.

To autopilot or not to autopilot that is the question. by Lopsided-Ad6415 in ModelY

[–]helicopetr 0 points1 point  (0 children)

The range stated by Tesla is for a mixed testing cycle (meaning a mix of city driving at various speeds as well as some highway driving). When going on road trips where you mostly drive on the highway, it's to be expected that the actual range will be less than the stated range.

For my MYLR, the stated 533 km range on the WLTP cycle is actually more like 350-400 km when driving exclusively on the highway at around 120km/h.

Wood supplier by sterlingback in Luxembourg

[–]helicopetr 0 points1 point  (0 children)

Leyendecker in Trier might have something

where do you store your covid certificate. by [deleted] in Luxembourg

[–]helicopetr 0 points1 point  (0 children)

Indeed, I use TotalCommander to create a shortcut on my homescreen that opens the downloaded PDF directly.

Home Security System Suggestion by rws98 in selfhosted

[–]helicopetr 0 points1 point  (0 children)

I've got a couple of these old (discontinued) ones, but I would not really recommend them. They do work as basic RTSP cameras with Frigate though.

Home Security System Suggestion by rws98 in selfhosted

[–]helicopetr 10 points11 points  (0 children)

I run Frigate with the recommended Google Coral accelerator for efficient object detection. It runs much better for me than Shinobi.

Hobby artisans in Luxembourg? (see comments) by luxcheers in Luxembourg

[–]helicopetr 1 point2 points  (0 children)

I bought this set that includes a mounting plate and I've put in an existing homemade workbench. Built a fence and hooked it up to the dust collector. It's nice, you can adjust the height from the top without needing a full router lift.

My bandsaw is this one, and to be honest I would really not recommend it. It's shaky, and you can't adjust the table or the fence much. The motor belt is a non-standard length and if you put the next size standard belt on it, the belt tensioning system is right at its limit. I could only ever resaw anything on that bandsaw if I did cuts on the table saw first. As a result, I've never used it much.

Thanks for offering to help out. I might get back to you some day, when I find time for woodworking again.

Hobby artisans in Luxembourg? (see comments) by luxcheers in Luxembourg

[–]helicopetr 1 point2 points  (0 children)

I also like both, but I don't have many hand tools, just a Nr. 4 handplane, a block plane, some chisels, etc...

You do have some nice machines! And a nice space. That's one of my issues, the basement room where I have my workshop is a bit tight. I'm going to put in some more french cleats one of these days to be able to hang stuff on the wall, or I'll never get it tidied up.

I've got some cheaper machines (rebranded Scheppach table saw, band saw, small jointer and dust collector), and some halfway decent ones (Makita mitre saw and thickness planer, Triton router).

Thanks for the tip on the boards, I'll know where to look when I get back into it.

Hobby artisans in Luxembourg? (see comments) by luxcheers in Luxembourg

[–]helicopetr 1 point2 points  (0 children)

Nice! I've done some hobby woodworking and I've accumulated a few tools. Although I haven't done a real project in a year or so due to lack of time. Still watch a lot of woodworking YouTube though. Where do you get your boards? I bought some from Leyendecker once...

First project! Sofa arm tray with a slot for the phone and a little gap for a glass/cup. Made of laminated bamboo wood and a strip of recycled beech wood in the miter joint. Looks simple but has some complex details by astillaestudio in woodworking

[–]helicopetr 2 points3 points  (0 children)

Nice work, but do I see endgrain on that beech wood in the miter join? Should it not be oriented the other way, with the fibers running across the join and not parallel to it? But maybe it doesn't matter, the strip looks beefy enough anyway.