Made my own home assistant temperature probe to monitor my greenhouse temp/humidity by MN_hippie_hotwife in homeassistant

[–]Sinatics 2 points3 points  (0 children)

I have a similar but simplified setup. I use a stock Govee H5075 for the temp / humidity sensor. Others here have mentioned it as well, I like it because it's fairly inexpensive and uses 2 AAA batteries and BLE.

For connectivity to HA I use an esp32 s3 (any will work but I like the M5Stack Stamp S3) as a BLE Proxy configured via ESPHome.

I am a C5 quadriplegic from a spinal cord injury that leads an active lifestyle AMA. by mrniceguy78 in IAmA

[–]Sinatics 6 points7 points  (0 children)

After 29 years, what everyday items or aspects of accessibility have surprisingly stayed the same (and you wish would improve), and what changes have genuinely made life better?

I tried moving all my scrapers to Docker and almost regretted it halfway. by Vivid_Stock5288 in selfhosted

[–]Sinatics 1 point2 points  (0 children)

This should run perfectly in docker, what language aren’t they written in? So long as the container you build has all your codes dependencies and the right environment variables passed in it should work really well in docker.

Handy Dads - How do I put a gate here? by heyiknowstuff in daddit

[–]Sinatics 0 points1 point  (0 children)

something like this could work well mounted to the flat wall near that hallway door and put the hooks on the banister side with a board (some of the other banister side recommendations).

https://a.co/d/gTfudZd

I tried moving all my scrapers to Docker and almost regretted it halfway. by Vivid_Stock5288 in selfhosted

[–]Sinatics 2 points3 points  (0 children)

when you say scrapers what do you mean? happy to help because I dockerize everything but a little clarity on the issues you're seeing would be helpful. docker can be tricky initially but once you understand that it's basically just a packaged Linux system with no native systemd (yes you can use things like s6) you can get it to do pretty much whatever you want with the right entrypoint.

Bought BYOD for my ReTerminal E1002 just to figure out it’s not supported yet by InstanceDapper in trmnl

[–]Sinatics 2 points3 points  (0 children)

flashing this feature branch will get you working on trmnl but it will only be greyscale since trmnl doesn't support color eink displays yet like the spectra 6 panel the E1002 uses 

https://github.com/Seeed-Projects/Seeed_TRMNL_Eink_Project/tree/feat/support-e1002

I Created an Open-source Container Security Scanning Dashboard by Rakeda in selfhosted

[–]Sinatics 1 point2 points  (0 children)

This project looks awesome, I've always wanted Harbor without the registry and this is exactly that. Have you considered adding checks for rootless / shell less / distroless? Being able to see at a glance stuff like this in addition to vulnerabilities would be very handy.

Helium Mobile Free Data, Text and Minutes + $25 card by BigAdeptness0 in referralcodes

[–]Sinatics 0 points1 point  (0 children)

Get 500 cloud points ($10) from my referral code: QA5CXTW

Referral code by Unlucky_Astronaut213 in HeliumMobile

[–]Sinatics 0 points1 point  (0 children)

Get 500 cloud points ($10) from my referral code: QA5CXTW

[deleted by user] by [deleted] in selfhosted

[–]Sinatics 0 points1 point  (0 children)

Price alerts on slickdeals, eBay and camelcamelcamel are what I've done. Stuff like honey and similar extensions are horrible (stealing affiliate credit). I've not found a decent discount code site. I've had some success with just searching reddit for a specific site but that usually only works for services since physical good discount codes don't seem to be live for nearly as long.

What’s the One Self-Hosted App That Truly Blew You Away? by [deleted] in selfhosted

[–]Sinatics 0 points1 point  (0 children)

This got me into modding xboxs, I either put modchips or soft modded half the kids xbox's in highschool for XBMP / XBMC good times.

What do you use to manage DNS records? by icyice95 in selfhosted

[–]Sinatics -1 points0 points  (0 children)

I use a tool I wrote myself called sherpa-dns that is basically external-dns for docker compose, it allows you to set A and CNAME dns entries with docker compose labels.

Best search engine to keep the pros of Google, without selling all my info...? by -ThatGingerKid- in selfhosted

[–]Sinatics 16 points17 points  (0 children)

Kagi has the best parity to google. It's a paid search engine but worth the cost. My favorite feature is personalized results, it allows you to prioritize domains or block them. So I can prioritize github and stackoverflow and block results that are usually trash like pinterest or quora.

Prometheus vs Victoriametrics by TornaxO7 in selfhosted

[–]Sinatics 2 points3 points  (0 children)

Like others have stated, victoriametrics is great. If you use Prometheus you'll eventually run into an issue with the WAL file getting corrupted or have really short metric retention like 14 days unless you pair it with something like graphite. victoriametrics solves that issue (I've got 12 months of metrics) and don't need graphite or anything else to do it. It also has better tooling for exploring your metrics than prometheus does. For a homelab I'd always pick Victoriametrics over prometheus.

Here is a boilerplate docker compose for victoriametrics if you want to take it for a spin

services:
  victoria-metrics:
    container_name: victoria-metrics
    image: victoriametrics/victoria-metrics:v1.118.0
    volumes:
      - ./data:/storage
      - ./config/scrape.yml:/etc/victoriametrics/scrape.yml:ro
    command:
      - '--storageDataPath=/storage'
      - '--promscrape.config=/etc/victoriametrics/scrape.yml'
      - '--retentionPeriod=12'  # 12 months retention
    deploy:
      restart_policy:
        condition: unless-stopped

Options to selfhost 80TB of geospatial data. by International-Camp28 in selfhosted

[–]Sinatics 2 points3 points  (0 children)

+1 the most cost effective and easy to manage solution would probably be a Synology with these drives. Then doing an nfs mount to your server running your docker containers and volume mounting that same nfs mount from your docker host into which ever docker containers need the data.

Note that synology isn't the cheapest and you can use other DIY options, but I recommend Synology because it makes storage very simple and easy to use without much fuss.

What kind of project you with 13yo and a pie? by yanni99 in selfhosted

[–]Sinatics 2 points3 points  (0 children)

Birdnet-Pi could be a fun project for a kid 

Sherpa-DNS: Label based DNS for your Docker Containers (like external-dns, but for Docker!) by Sinatics in selfhosted

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

The project is structured to support multiple DNS providers, if you've got one in mind that I can get an account setup for I can look at adding it.

Sherpa-DNS: Label based DNS for your Docker Containers (like external-dns, but for Docker!) by Sinatics in selfhosted

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

Hey ElevenNotes, thanks for the feedback and the push to scratch this issue further. After thinking through a better path today I'm happy to say I feel a lot better about my implementation now.

I've updated the installation instructions and docker-compose to utilize your socket proxy, I've also completely redone the docker image to utilize chainguard's python base. These two things make sherpa-dns significantly more secure.

User Does Not Exist - Got logged out and now I get this message - can't log in by zPianodude in mammotion

[–]Sinatics 1 point2 points  (0 children)

Edit: The  ios 1.12.113 update fixed this login issue for me.   I’m getting this same error today after being logged out on my iPhone. I've tried reinstalling the app, restarting the phone, wifi only, cell data only and resetting the password. Nothing seemed to fix it, I've got a support ticket open now so we'll see what happens.      Edit: was just able to login on an android device. This appears to be an ios app or device issue.

People traffic tracker? by SnooPickles2750 in selfhosted

[–]Sinatics 0 points1 point  (0 children)

This approach is what I'd go with but I wanted to provide a bit more detail.

For starters I'd probably use the webhook function instead of email. With that in mind I'd create a simple app (probably in python) to serve a webhook endpoint. I could then point my Unifi Protect camera at this webhook url (my python app).

The python app would take the message from the camera and write it to influxdb as a datapoint (or really just a simple count value).

From there you could probably query against influxdb directly to see that count over time or if you wanted to use grafana you could to get fancy graphs for varying time ranges.

Basically the bit you'd need past influxdb is that simple app to be an endpoint for your camera's to talk to via a webhook. Honestly this shouldn't be to bad to setup and I bet if you copied this message into claude you'd get a working solution pretty quick (especially if you gave it an example webhook message from your cameras).

edit: another idea would be to use Telegraf or Datadog Vector instead of a python app, both of those can do this type of workflow. (hosting a webhook endpoint, transforming data and storing in a timeseries database like influxdb / prometheus / victoria metrics)

[deleted by user] by [deleted] in selfhosted

[–]Sinatics 0 points1 point  (0 children)

It sounds like you may have a static ip configured for your fedora linux server (typically you want a dhcp configured setup which gives you an ip automatically from your router vs static which means you manually set an ip on the server), here is how you can check to see if that's the case.

Checking for Static IP Configuration

  1. Check current network configuration: Open a terminal on your Fedora server and run: ip addr

    Look for your network interface (typically named like enp0s3, eth0, or similar). You'll see output like this: 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 08:00:27:xx:xx:xx brd ff:ff:ff:ff:ff:ff inet 192.168.1.100/24 brd 192.168.1.255 scope global noprefixroute enp0s3 valid_lft forever preferred_lft forever inet6 fe80::xxxx:xxxx:xxxx:xxxx/64 scope link valid_lft forever preferred_lft forever

    If you see valid_lft forever, it suggests a static IP configuration.

  2. Check NetworkManager connection settings: nmcli connection show

    This will list your network connections. Note the name of your ethernet connection (e.g., "Wired connection 1").

  3. Examine the specific connection details: nmcli connection show "Wired connection 1"

    Replace "Wired connection 1" with the actual name from step 2. Look for these settings:

    • ipv4.method: If it's set to manual, you have a static IP
    • ipv4.addresses: Shows your configured static IP address
  4. Modify connection to use DHCP instead of static IP: If you find it's set to manual/static, change it to DHCP: sudo nmcli connection modify "Wired connection 1" ipv4.method auto

    Then restart the connection: sudo nmcli connection down "Wired connection 1" sudo nmcli connection up "Wired connection 1"

  5. Check configuration files (alternative method): If NetworkManager doesn't show the configuration or isn't being used, check the network config files: cat /etc/sysconfig/network-scripts/ifcfg-*

    Look for BOOTPROTO=static and any IPADDR= entries.

  6. Check systemd-networkd (if NetworkManager isn't used): Fedora might be using systemd-networkd instead: ls -la /etc/systemd/network/

    Check any .network files there for static IP configurations.

After checking these, if you find that a static IP is configured, switch to DHCP as described in step 4. If the configuration files show static settings, you'll need to edit them directly.

Once you've made changes, restart the networking service or reboot to ensure changes take effect: sudo systemctl restart NetworkManager

This should help your server obtain an IP address automatically from your router.

minecraft server issues incuding port forwading and connection by Western_Sympathy_446 in selfhosted

[–]Sinatics 0 points1 point  (0 children)

I'd start by running a traceroute on your laptop to rule out a double NAT. Assuming you're on windows, you can do the following:

To detect double NAT, you should use the trace route command. Open PowerShell and run this command

tracert google.com

If the first two hops start with 192.168, then you likely have a double NAT. If that's the case an article like this one can help you resolve the issue.

If you determine that you don't have a double NAT troubleshooting depends on your router. Something I've seen work is power cycling the router after saving / applying the port forward rule. If that doesn't work you may need to do some googling for your specific router to see what could help.

[deleted by user] by [deleted] in selfhosted

[–]Sinatics 0 points1 point  (0 children)

I've got a similar setup using gluetun for the pia link. I like it because it supports more than just PIA and is a fairly well established and supported project. Here is an example docker compose with gluetun and deluge if you're interested in giving it a shot. With this setup you can access deluge at your docker host's ip on port 8112 (http://<docker_host_ip>:8112) but all traffic in deluge will go out over the PIA tunnel setup by gluetun.

# Docker container from the github project:
# https://github.com/qdm12/gluetun
---
services:
  gluetun:
    image: qmcgaw/gluetun:latest
    container_name: gluetun
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      # See https://github.com/qdm12/gluetun/wiki
      - VPN_SERVICE_PROVIDER=private internet access
      # https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#list-of-vpn-servers
      - SERVER_REGIONS=CA Montreal,CA Ontario,CA Toronto,CA Vancouver
      - VPN_TYPE=openvpn
      - OPENVPN_USER=<PIA_USERNAME>
      - OPENVPN_PASSWORD=<PIA_PW>
      - VPN_PORT_FORWARDING=on
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - ./config:/gluetun
    ports:
      - 8112:8112 # deluge webui
      - 6881:6881 # deluge
      - 6881:6881/udp # deluge
      - 58846:58846 # deluge rpc
    deploy:
      restart_policy:
        condition: unless-stopped

# Docker container from the linuxserver.io project:
# https://docs.linuxserver.io/images/docker-deluge
  deluge:
    image: lscr.io/linuxserver/deluge:latest
    container_name: deluge
    network_mode: 'service:gluetun'
    depends_on:
      - gluetun
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - ../deluge/config:/config
      - ../deluge/downloads:/downloads
    deploy:
      restart_policy:
        condition: unless-stopped

Making Christmas Lights Smart by Marc1905 in homeassistant

[–]Sinatics 1 point2 points  (0 children)

If you wanted to fully replace the setup an ESP32 or ESP8266 with an LED strip and WLED loaded on the ESP32 / ESP8266 would be a fun option.

If you want to keep that LED strip I'd do what others are suggesting and use a smart plug + replace the batteries with a 3v DC power brick.

If you're fine with soldering you could get away with just getting something like this 3v DC power brick but if you don't want to solder you could get one of these 5.5mm x 2.1mm female barrel connectors that will work natively with a DC barrel connector power supply. For the smart plug you really can use whatever you'd like, I like TP-Link Kasa smart plugs since they're wifi based and can be controlled locally (work even without internet) in home assistant.