Lobotomie

joined 1 year ago
[–] Lobotomie 2 points 3 weeks ago

Yeah obviously Google hosts this as a Services because it want your location data. But if I'm the only one who sees that data, I think it'd fine if it stays on my phone.

And I am especially not looking for a tracker like you showed (usually because I dont care "exactly exactly" how I went to places but rather at which time I have been at which place)

[–] Lobotomie 2 points 3 weeks ago

No I am just thinking of an App. The Apps which exist (as far as I have found them, if there are better apps I would be glad for recommendations) are either:

  • "fitness/running" trackers
  • unmaintained
  • still use the Google location service
  • use a self hosted server to store your data
  • don't have a built in map viewer to see your history
[–] Lobotomie 15 points 3 weeks ago* (last edited 3 weeks ago) (5 children)

Right now im looking for an alternative to the Google Maps Timeline. I know there is OwnTracks but I dont think that everything has to be hosted on a server somewhere (especially when all its saving is a timestamp and a coordinate, its not like that takes up alot of space)

Basically just your own location tracker and then the option to see your own history displayed in a map e.g. where you have been on the 02.july.2019 at 11:50.

[–] Lobotomie 2 points 4 months ago (1 children)

Wie realistisch ist es dennoch dass das Gesetz scheitert? Also angenommen alle CSU und AFD Bundesrat Mitglieder stellen sich quer (und mehr?) Was passiert dann?

[–] Lobotomie 42 points 4 months ago

I have to say that I absolutely love the title this man chose to share his anger.

[–] Lobotomie 1 points 4 months ago (1 children)

Sorry hast du die Änderungen eventuell nicht gesehen? Hast du zufällig eine Empfehlung für ein Gerät abgesehen vom yubikey? Sonst würde ich mir den yubikey kaufen:)

[–] Lobotomie 1 points 4 months ago* (last edited 4 months ago)

Ah okay, glaub ich kauf mir mal einen und probiere das aus vielen dank :)

Hast du da Empfehlungen außerhalb von yubikey? Sonst würd ich den nehmen

[–] Lobotomie 1 points 4 months ago* (last edited 4 months ago) (4 children)

Okay aber dann könnte ich doch über remote auf den PC oder und das Thema wäre erledigt oder?

Sorry das hatte ich glaube ich nicht genau genug geschrieben. Also wie läuft dass wenn Nutzer sich nur bei Windows anmelden müssen und dann direkt Zugriff auf alles haben (dms, mail, netzwerklaufwerk, etc.)?

Dann könnte ich ja trotzdem mich per remote verbinden (ist natürlich in der ad Richtlinie verboten) und mich anmelden mit dem einfachen passwort?

Die Benutzer laufen dann auch über die AD.

[–] Lobotomie 1 points 4 months ago (6 children)

Wie funktioniert das mit 2 Faktor in einer Firma mit AD? Yubikey oder wie?

Wie verhinder ich dass die Leute den Stick im PC stecken lassen?

[–] Lobotomie 9 points 4 months ago

Can someone share some information on the actual steel they use? This linkedin thread says they use 301, someone in this thread says they use a proprietary steel? (Can someone share the chemical analysis in this case?)

https://www.linkedin.com/pulse/why-tesla-cybertruck-uses-301-stainless-steel-zhong-chen-ph-d-

[–] Lobotomie 1 points 6 months ago* (last edited 6 months ago)

I have set it but it wont change anything. You can access the docker inspect here https://pastebin.com/t1T98RCw I can imagine that this problem is before homeassistant as even if I ignore the certificate error , it will not forward me to homeassistant but to my router / a warning page from my router saying it has blocked me.

If I test the server reachability inside nginx manager it will ask me if npm is configured correctly, so you might be onto something with NPM configuration ..

I have now set up duckdns over docker instead of over my router, but it hasnt helped anything. My Duckdns IP is the same (and its correct, if I just open this IPV4 Address it will redirect to my nginx landing page).

Okay I think here is the error. AFter doing the Test Server Reachability the following will come up in the nginx-db logs: 2023-12-29 21:06:25 3 [Warning] Aborted connection 3 to db: 'npm' user: 'npm' host: '172.22.0.8' (Got an error reading communication packets)

Now I have no clue why this is ( I think this is the end for today as my head is about to explode). Docker inspect nginx reveals that this request for sure came from nginx (as it has the .0.8 ip).

[–] Lobotomie 0 points 6 months ago

using a vpn or similar is not really an option as I have famiy members accessing it and I dont want to always connect using a vpn just for example to open my garage or accessing my shopping list. Security wise I just use 2FA so I dont think thats the issue.

 

Hey Guys,

so I still have no clue about most of the stuff im doing hence why I am doing it :)

I have a ubuntu system running all kinds of docker containers and I want to expose homeassistant and vaultwarden to the internet.

Now I have set up a Duckdns account, I have setup my Router (fritzbox) to update the dyndns settings, I have set up my homeassistant the following:

homeassistant:
  internal_url: http://192.168.178.214:8123
  external_url: https://ha.xxxxx.duckdns.org

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.22.0.0/24

Following is my Homeassistant Configuration:

  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /homeassistant/:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    network_mode: host
    privileged: true
    ports:
      - 8123:8123
      - 5683:5683

  nginx-proxy-manager:
    container_name: nginx
    privileged: true
    image: 'jc21/nginx-proxy-manager:latest'
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    environment:
      DB_MYSQL_HOST: "nginx-db"
      DB_MYSQL_PORT: 3306
    volumes:
      - /nginx/data:/data
      - /nginx/letsencrypt:/etc/letsencrypt

  nginx-db:
    container_name: nginx-db
    image: 'jc21/mariadb-aria:latest'
    environment:
    volumes:
      - /nginx/mysql:/var/lib/mysql

  vaultwarden:
    container_name: vaultwarden
    image: vaultwarden/server:latest
    restart: unless-stopped
    volumes:
      - /vaultwarden:/data/
    ports:
      - 8125:3012
      - 8124:80
    environment:
      - DOMAIN=https://vw.xxxxx.duckdns.org
      - LOGIN_RATELIMIT_MAX_BURST=10
      - LOGIN_RATELIMIT_SECONDS=60
      - ADMIN_RATELIMIT_MAX_BURST=10
      - ADMIN_RATELIMIT_SECONDS=60
      - ADMIN_TOKEN=
      - SENDS_ALLOWED=true
      - EMERGENCY_ACCESS_ALLOWED=true
      - WEB_VAULT_ENABLED=true
      - SIGNUPS_ALLOWED=true

I have forwarded the ports in the router.

I have set up nginx the following:

Issue is when I open the website, it will give me the error that hsts is enabled, even though I definitely did not check this option ( and I never did (today!).

What is the reason for this?

Do I have to set some sort of header?

Same thing with vaultwarden, basically I set this up 1:1 except for the url whichi is vw.xxxxx.duckdns .org.

18
Hardware to run 30 Cameras ? (self.homeassistant)
submitted 8 months ago by Lobotomie to c/homeassistant
 

So I have about 30 Cameras I want to run on my instance. Step by step all of them will record their videos on a local sd card and I will only watch the stream over HA (no hardware nvr). How can I set this up so my phone/laptop will not struggle at all loading these streams?

Right now I am playing them using onvif and or fmpeg and all of my hardware starts to lag heavily when I open the camera sites.

The streams are split up over 3 pages so it's 13/10/7 Streams each.

 

Hallo Freunde,

ich habe eine alte Sicherung von allen Emails welche ich nun aus unserem proprietären Mailclient exportieren möchte. Was erfolgreich geklappt hat ist der rückimport auf den IMAP Server, allerdings habe ich jetzt einen Ordner mit hunderten Unterordnern (also immer Archiv/Benutzer1/Eingang, Ausgang usw. dann Archiv/Benutzer2/Eingang, Ausgang usw.).

Wie bekomme ich diese Emails am besten von meinem IMAP Server runtergeladen als .eml datei dass dann alle Emails in einem einzelnen Ordner liegen (also nur in z.b. C:\Archiv).

Versucht habe ich es schon mit Python über imaplib aber der verhaspelt sich da und mit ChatGPT Code komm ich nicht wirklich weiter.

Außerdem habe ich Thunderbird mit Import Export Tools NG probiert aber wenn ich den Ordner auswähle und sage alles als eml exportieren lädt er für 5 sekunden und bricht dann ab. Beim MBOX Export mit abgeflachten Ordnern exportiert er wieso auch immer nur ~14.000 anstelle dem gesamten Inhalt.

Kennt da sonst jemand Software? Oder irgendein funktionierendes Skript. Sonst kann ich auch mal den Code von GPT teilen vielleicht kann den jemand überarbeiten dass er funktioniert.

24
submitted 10 months ago* (last edited 10 months ago) by Lobotomie to c/selfhosted
 

Hello Friends,

I have a small ubuntu Server and I finally also want to transfer my Vaultwarden Instance to it. On this Server I have several services running (homeassistant, ...) and Certbot via Dehydrated (right now I get a certificate for my duckdns address). In some directory I have the privkey and fullchain files.

Now my Problem is that when I start vaultwarden it wont load as https.

I believe, my Problem is telling Vaultwarden, where my certificate files are located so it can use them accordingly.

This is my Compose File right now:

  vaultwarden:
    container_name: vaultwarden
    image: vaultwarden/server:latest
    restart: unless-stopped
    volumes:
      - /home/vaultwarden:/data/
      - /home/(directory to my certificates):/usr/share/ca-certificates/
    ports:
      - 8129:80
    environment:
      - DOMAIN=https://hurrdurr.duckdns.org
      - LOGIN_RATELIMIT_MAX_BURST=10
      - LOGIN_RATELIMIT_SECONDS=60
      - ADMIN_RATELIMIT_MAX_BURST=10
      - ADMIN_RATELIMIT_SECONDS=60
      - ADMIN_TOKEN=token
      - SENDS_ALLOWED=true
      - EMERGENCY_ACCESS_ALLOWED=true
      - WEB_VAULT_ENABLED=true
      - SIGNUPS_ALLOWED=true

The Volume Mapping to the certificates was just me trying it out so maybe its working if I map it like that.

If I open the 8129 in my Browser it will just time out. I also managed it to start but it wouldnt let me register as theres not https certificate.

 

Hallo Freunde,

also ich habe einen kleinen Ubuntu Server und möchte nun endlich auch Vaultwarden auf diesen Umziehen. Auf dem Server läuft schon ein Certbot über Dehydrated wo ich dann für meine duckdns addresse ein https Zertifikat bekomme (da habe ich das fullchain und privkey .pem zertifikat in einem Ordner und laut uptime Kuma von einem externen Server aus passt alles). Auf Homeassistant komme ich auch mit https.

Wenn ich jetzt mein Vaultwarden starte lädt aber https nicht. Ich denke, dass das Problem daran liegt, dass ich dem Vaultwarden nicht "sagen" kann wo meine https Zertifikate liegen (die liegen halt in irgendeinem unterordner).

folgende Docker Compose datei aktuell:

  vaultwarden:
    container_name: vaultwarden
    image: vaultwarden/server:latest
    restart: unless-stopped
    volumes:
      - /home/vaultwarden:/data/
      - /home/(verzeichnis zu den Zertifikaten):/usr/share/ca-certificates/
    ports:
      - 8129:80
    environment:
      - DOMAIN=https://olafscholzprivat.duckdns.org
      - LOGIN_RATELIMIT_MAX_BURST=10
      - LOGIN_RATELIMIT_SECONDS=60
      - ADMIN_RATELIMIT_MAX_BURST=10
      - ADMIN_RATELIMIT_SECONDS=60
      - ADMIN_TOKEN=token
      - SENDS_ALLOWED=true
      - EMERGENCY_ACCESS_ALLOWED=true
      - WEB_VAULT_ENABLED=true
      - SIGNUPS_ALLOWED=true

könnt ihr mir sagen was ich falsch mache? Wenn ich jetzt den Port im Browser lade kommt nur Fehler: Netzwerk-Zeitüberschreitung

 

Hallo Freunde, Ich habe ein älteres messinstrument (kein Radio oder gps) mit einem seriellen USB Port. Nun möchte ich mit 2 Programmen auf den Port zugreifen können (gleichzeitig). Also z.b. com7 ist das Gerät und com8+com9 für die 2 Programme dann

Geht das mit com0com oder brauche ich da kostenpflichtige Software?

Mit com0com hat es zumindest nicht auf Anhieb geklappt und ich finde wenig Infos was machen

Danke :)

 

Hallo Freunde,

Angenommen ich habe Domain Pizzasebastian.de und mehrere Dienste auf meinem Server (192.168.178.69) auf Port 2000 - 2010 laufen. Kann ich das irgendwie so verknüpfen dass Ich z.b. folgendes habe: Dienst1.pizzasebastian.de -> 192.168.178.69:2002 Dienst2.pizzasebastian.de -> 192.168.178.69:2005

(Ohne das nur stumpf weitergeleitet wird, im Browser sollte schon die Domain stehen)

Die Addresse sollte aber auch nur aus dem Netz erreichbar sein, also ich möchte kein Port dafür öffnen (oder ähnliches)

 

Hallo Freunde,

Ich möchte in irgendeiner UI (Web basiert) eine PDF aus einer PostgreSQL Datenbank erstellen. Ich will im Browser eine bestimmte Zeile einer tabelle auswählen können (also z.b. 12) und dann auf einen Knopf drücken "pdf erstellen" und in einem neuen Tab geht dann eine PDF auf mit den Infos aus der Tabelle. Die PDF besteht nicht nur aus Inhalten aus der Datenbank sondern auch aus fixen Informationen (also z.b. Text, Bildern).

Habt ihr da Ideen? Ich habe es schon über nodered versucht aber ich habe nicht genug Ahnung von JS/HTML um sowas zu machen. (Obwohl ich schon viel anderes in nodered realisiert habe aber mit dem Thema hab ich einfach garkeine ahnung)

view more: next ›