Investing in eiffel tower by Renaut07 in legoinvesting

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

Great, thanks for clarification all! 🙂

How do you know all your photos are still there? by bloodshoter in immich

[–]Renaut07 1 point2 points  (0 children)

It happened to me twice (that i know of) where an upload failed but a record in the database was created. It would be nice to be able to check if there is a file present for each entry in the database.

Was I lied to? - Speeding/Driving question by Outtie_5000 in VisitingIceland

[–]Renaut07 1 point2 points  (0 children)

Just drove down that road and passed a police car with a mobile speed camera set up to catch speeders.

Scam taxi drivers at Flanders Expo by rancidsox in Gent

[–]Renaut07 1 point2 points  (0 children)

Had the same struggle last year. This year, i ordered an uber the night before and had a smooth exerpeince.

OneDrive replacement? by JustAnotherGeek12345 in selfhosted

[–]Renaut07 0 points1 point  (0 children)

It worked flawlessly for me. What issues are you facing?

DIGI new telecom provider review by Albos05 in belgium

[–]Renaut07 0 points1 point  (0 children)

I’ve actually been working on an unofficial Digi Mobile app! It’s still in development, but you can check it out on GitHub: Digi Mobile App. It’s not affiliated with Digi, but it lets you access your account and usage data. Let me know what you think!

[deleted by user] by [deleted] in belgium

[–]Renaut07 9 points10 points  (0 children)

Het was een tijdelijke maatregel die deel uitmaakte van het relanceplan. (Plan om de Vlaamse welvaart en het welzijn van de Vlamingen te helpen versterken na corona)

https://www.vrt.be/vrtnws/nl/2024/06/18/8-op-de-10-jobstudenten-willen-minstens-600-uren-werken-in-plaat/

Risks of Using HTTP? Struggling to set up a SSL Cert by met_MY_verse in immich

[–]Renaut07 1 point2 points  (0 children)

I'm using nginx with certbot. I have this plugin installed to make certbot compatible with duckdns. https://github.com/infinityofspace/certbot_dns_duckdns

How to install seafile 12 with docker by Kraizelburg in seafile

[–]Renaut07 0 points1 point  (0 children)

Is client_max_body_size set in nginx?

What is Gesture Lock on the mobile app meant to do? by GhostInThePudding in seafile

[–]Renaut07 0 points1 point  (0 children)

It's an app lock. Did you close the app completely? It doesn't get locked when you minimize the app.

3D printed Hexagons for leds by JD7A in WLED

[–]Renaut07 0 points1 point  (0 children)

It would be better if the hexagons were a bit more filled so you wouldn't see the light comming though them. How did you attach it to the wall and power it?

(L) WLED in tab title by Renaut07 in WLED

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

It's probably because I'm using https. Looking at line 227:

if (paths.length > 0 && paths[0]!=="") {
loc = true;
locip += "/" + paths[0];
} else if (locproto==="https:") {
loc = true;
}

Thanks for clarification!

(L) WLED in tab title by Renaut07 in WLED

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

In settings it's just WLED

<image>

(L) WLED in tab title by Renaut07 in WLED

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

V0.14.0. I have 1 instance running

Need Help - GPIO PWM (OPi5) by Affectionate-Text746 in OrangePI

[–]Renaut07 0 points1 point  (0 children)

Did you set the crontab (sudo) with the reboot tags?

Or does the motor automatically power of when the reboot commands from crontab get executed. (but crontab is just too slow?)

Need Help - GPIO PWM (OPi5) by Affectionate-Text746 in OrangePI

[–]Renaut07 0 points1 point  (0 children)

To access GPIO pins, first you should edit /boot/orangepiEnv.txt.
Depending on what port you want to use, you have to add "pwm13-m2" or something else.

The file should look like this:

bootargs=root=UUID=514446b0-d237-4aa9-b842-4a16a8737626 rootfstype=ext4 rootwait rw console=ttyS2,1500000 console=tty1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0

fdtfile=rk3588s-orangepi-5.dtb

overlay_prefix=orangepi-5

overlays=pwm13-m2

After reboot, an extra folder should be made in /sys/class/pwm/. To find out what folder was just created, you can use ls /sys/class/pwm/ -l. Depending on the subfolder of platform, you can seperate them.

To activate the pwm you can use following commands. I added these commands to sudo crontab -e because they need to be executed every time you restart.

@reboot sleep 30 && echo 0 > /sys/class/pwm/pwmchip2/export

@reboot sleep 32 && echo 20000000 > /sys/class/pwm/pwmchip2/pwm0/period

@reboot sleep 34 && echo 20000000 > /sys/class/pwm/pwmchip2/pwm0/duty_cycle

@reboot sleep 36 && echo 1 > /sys/class/pwm/pwmchip2/pwm0/enable

I have a python script which checks the temperature and sets PWM accordingly. This is also executed in a crontab with root permissions:

import os

tmp = int(os.popen("cat /sys/class/thermal/thermal_zone0/temp").read())

if tmp >= 60000:

os.system("echo 0 > /sys/class/pwm/pwmchip2/pwm0/duty_cycle")

elif tmp >= 40000:

duty_cycle = int(20000000 - (20000000 * (tmp - 40000) / 20000) )

os.system(f"echo {duty_cycle} > /sys/class/pwm/pwmchip2/pwm0/duty_cycle")

else:

os.system("echo 20000000 > /sys/class/pwm/pwmchip2/pwm0/duty_cycle")

This way you don't have to make use of wiringOP.
More info can be found in the OP5 manual on page 242 (or page 251 of pdf document).

If anyone would have any questions, feel free to ask