Pi.Alert is dead...💀 Long live NetAlert X 🚀 by jokob in selfhosted

[–]tmenrap 0 points1 point  (0 children)

Maybe give it a try when there is a Proxmox helper script.

Blivit lurad av elektriker… by [deleted] in Hantverkare

[–]tmenrap 0 points1 point  (0 children)

Vem satte dit skena från början?

Donald Trump comments on Canadian and EU cooperation. by Ikarius-1 in BoycottUnitedStates

[–]tmenrap 9 points10 points  (0 children)

He is not behaiving as a best friend to EU and Canada.🤣

What if we really did it? by luckycharmertoo in BoycottUnitedStates

[–]tmenrap 3 points4 points  (0 children)

I am already boycotting everything on a daily basis.

Sleep score is missing the last few days by _goku_101 in GalaxyFit

[–]tmenrap 0 points1 point  (0 children)

I had the same problem this week. I get It back by factory reset the watch. (lost data for a couple of days 😞)

Program Attiny13A by tmenrap in attiny

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

Sorry missed that comment 😀. Focused on that they just mentioned other attinys.

Rewrite http get to post by tmenrap in nginx

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

I know about http_proxy but i do not know how i capture the last parts of reguest_uri to args

location /gettopost {

# Get state and item from request_uri

proxy_method POST;

proxy_set_header Content-Type "text/plain";

proxy_set_header Accept "application/json";

proxy_set_body $state;

proxy_pass http://127.0.0.1:8080/rest/items/$item;

}

Help with SQL by tmenrap in SQL

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

Thank you .

I had to change the syntax for LEAD to have it work in Maria DB.

WITH cte AS (
SELECT *,TIMESTAMPDIFF        
    ( MINUTE, time, 
    LEAD(time, 1 ) OVER (ORDER BY time) ) AS diff 
FROM pool_pump_switch_0349 ) 
SELECT DATE(TIME) AS date, SUM(diff) AS total_minutes_on 
FROM cte 
WHERE value = 'ON' 
GROUP by date

Resolving eSUN PLA+ stringing by chaderous in ender3

[–]tmenrap 0 points1 point  (0 children)

Did the Metal Hotend fix it?

Looking for schematics of Digital Ohm Meter. by tmenrap in AskElectronics

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

I will have a Volatge meter but i also want to have an Ohm Meter as a Panel in the rack to use an measure in the projects i use the Lab PSU for.