mike_wooskey

joined 10 months ago
[–] [email protected] 1 points 14 hours ago

Thanks for the suggestions..

[–] [email protected] 1 points 20 hours ago

Thanks for the suggestion. How do you integrate it with HA?

Also, i can't find blinds on their website, just the motor. Does Somfy just sell the motor and the blinds themself are BYO?

 

I want to install smart blinds on 4 windows, from small (2'x3') to kind of large (4'x5').

I need them blinds to be local-only and integrate into Home Assistant.

I'm looking at SmartWings, but blinds with a z-wave motor for one of my large windows would cost Just under $400. That seems a bit expensive to me (especially considerin that I got my current non-motorized, non-smart blinds for those windows for like $50 each - and they're good blinds!). Is that just what smart blinds are going to cost? Or did I land on an expense option?

Do you have a preferred make or model of local-only smart blinds?

[–] [email protected] 3 points 3 days ago

I self-host baikal and use davX5 on android with whatever calendar app i want, and on desktop i use betterbird but you can use any calendar app you want.

[–] [email protected] 42 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I don't code so I can't possibly audit FOSS software. However, I also can't audit proprietary software. Lots of people can and do audit FOSS software, though, and can and do share their findings. But no matter how many people "audit" propietary software, it remains propietary - a black box. Untrustable, especially considering corporations' incentives and historical actions.

[–] [email protected] 31 points 1 month ago (9 children)

Why are you sharing a product/service that's in maintenance mode? From the README:

Trilium is in maintenance mode - see details in #4620

I recommend TriliumNext Notes, a current and active fork.

[–] [email protected] 1 points 1 month ago (1 children)

It is in my .bashrc, but any delay is not noticeable.

[–] [email protected] 2 points 1 month ago

Starships looks very interesting! I'm going to check it out. Thanks!

[–] [email protected] 4 points 1 month ago (4 children)

Well, yeah, but it's git: https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh

My thinking is that I trust git on my computer, so I trust downloading from their repo.

But you're right. I should revisit this and see if it's even necessary.

[–] [email protected] 6 points 1 month ago* (last edited 1 month ago) (6 children)

Mine shows the user and host, git commit and branch, docker context and directory, color coded based on status of git:

[root@server001|G:19e526e@(master)|D:myContext|currentDir] $

## PS1 adapted from https://gist.github.com/xenji/2292341
ps1_generator() {
    # docker context inspect --format '{{ .Name }}'
    Time12h="\T"; Time12a="\@"; ShortHost="\h"; Username="\u";
    PathShort="\W"; PathFull="\w"; NewLine="\n"; Jobs="\j";
    test -f ~/.config/git-prompt.sh || \
        curl -L https://raw.github.com/git/git/master/contrib/compl
etion/git-prompt.sh \
             > ~/.config/git-prompt.sh
    source ~/.config/git-prompt.sh
    Color_Off="\[\033[0m\]"; IBlack="\[\033[0;90m\]"; BWhite="\[\03
3[1;37m\]"; BGreen="\[\033[1;32m\]";
    BIRed="\[\033[1;91m\]"; BIWhite="\[\033[1;97m\]"; BIPurple="\[\
033[1;95m\]"; BIBlue="\[\033[1;94m\]";
    GIT_PS1='$(git branch &>/dev/null;\
if [ $? -eq 0 ]; then \
  echo "$(echo `git status` | \grep "nothing to commit" > /dev/null
 2>&1; \
  DIRTY="$?"; \
  HEADREV=`git log --pretty=%h -n 1`; \
  echo -n "|G:'${BWhite}'$HEADREV"; \
  if [ "$DIRTY" -eq "0" ]; then \
    # @4 - Clean repository - nothing to commit
    echo "@'${BGreen}'"$(__git_ps1 "(%s)"); \
  else \
    # @5 - Changes to working tree
    echo "'${BIBlue}'@'${BIRed}'"$(__git_ps1 "{%s}"); \
  fi)'${Color_Off}'"; \
else \
  # @2 - Prompt when not in GIT repo
  echo ""; \
fi)'
    if docker context inspect >/dev/null 2>&1; then
        DOCKER_PS1='|D:'${BIBlue}'$(docker context inspect --format
 "{{ .Name }}")'${Color_Off}
    fi
    USER_PS1=${BIPurple}${Username}'@'${ShortHost}${Color_Off}
    PATH_PS1='|'${BWhite}${PathShort}${Color_Off}
    export PS1='['${USER_PS1}${GIT_PS1}${DOCKER_PS1}${PATH_PS1}'] $
 '
}
ps1_generator && unset -f ps1_generator
[–] [email protected] 2 points 1 month ago

I'm sorry for your loss. 😢🐕

[–] [email protected] 1 points 1 month ago

Thanks for taking a look.

7
Question about gum (lemmy.thewooskeys.com)
 

Is anyone familiar with gum?

I have a simple:

while true; do
    CHOICE=$(gum choose "one" "two" "three")
    case "$CHOICE" in
        "one")
            <do something>
        "two")
            <do something>
        "three")
            <do something>
    esac
done

If the user hits ESC, gum displays "nothing selected" and exits.

Is there a way to disable the "nothing selected"? I tried redirecting 2>/dev/null but it suppresses the entire menu. I also tried adding $'\x1b' to the case, but it did nothing.

I also tried adding:

    if [ -z "$CHOICE" ]; then
        exit 0
    fi

directly after CHOICE=$(gum choose...).

No dice.

 

Within the past couple months, I saw someone's pet-project where they were cobbling together a self-hostable FOSS app/service to allow people to collaborate on travel planning. It included note taking, images, possibly some functionality around dates, and a map to drop pins and see a route (I'm not sure which backend but I would guess OSM).

Now I can't find it. :(

Does anyone use an app like this? Does anyone have any recommendations? My needs are loose - my only requirements are a FOSS license and to be self-hostable.

Thanks for ideas/suggestions.

 

Cross-posted from "finance management software suggestions" by @mike_[email protected] in [email protected]


I used to use Quicken long ago but have been using Moneydance for many years to manage my personal finances. But Moneydance is propietary software and I prefer FOSS now. What's your preferred finance management software?

Thing I need it to do:

  • manage different accounts (common types are banks, credit cards, loans, assets)
  • have basic reporting (e.g., categorized expenses per time period)
  • preferably uses tags
  • export or copy reports or data - could be excel or csv or something that can be pasted or imported into spreadsheets
  • self-hostable with a web app

I'm not a fan of software that's budget-focused. I don't mind it having some budgeting functionality, but I don't want opinionated software to force me to manage my money a certain way. I just want felxible software to help me manage my software how I want to manage it.

I'm wary of source-available/freemium/dual-licensed/open-core licenses. It can't hurt to suggest such apps if you like them and I'll take a look, but I think it's not likely that I'll buy into that philosophy.

So what software do you use and like?

 

I used to use Quicken long ago but have been using Moneydance for many years to manage my personal finances. But Moneydance is propietary software and I prefer FOSS now. What's your preferred finance management software?

Thing I need it to do:

  • manage different accounts (common types are banks, credit cards, loans, assets)
  • have basic reporting (e.g., categorized expenses per time period)
  • preferably uses tags
  • export or copy reports or data - could be excel or csv or something that can be pasted or imported into spreadsheets
  • self-hostable with a web app

I'm not a fan of software that's budget-focused. I don't mind it having some budgeting functionality, but I don't want opinionated software to force me to manage my money a certain way. I just want felxible software to help me manage my software how I want to manage it.

I'm wary of source-available/freemium/dual-licensed/open-core licenses. It can't hurt to suggest such apps if you like them and I'll take a look, but I think it's not likely that I'll buy into that philosophy.

So what software do you use and like?

 

I requested to schedule an annual wellness exam with my doctor, they said "She's booking out into 2026, would you still like to schedule?"

They're scheduling out a YEAR in advance!

I realize this is likely a regional issue to some degree, but I have a hunch that in the US (the country I'm in) it's very difficult to get a appointments for non-urgent issues. It's also incredibly difficult in my area to be able to find a doctor that's accepting new patients!

Why can't medical facilities afford to expand to support the demand? This isn't meant to open a discussion about healthcare - it's just a rant. Grrr!

32
Wake word vanished? (lemmy.thewooskeys.com)
 

After a recent update to ESPHome, my ATOM Echos no longer show a wake word in Home Assistant and the wake word field isn't even editable:

And indeed they aren't responding to me speaking the wake word.

Has anyone encountered this? Does anyone know of a fix or has a suggestion?

13
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

I've got this command in a bash script:

TEST=$(curl -o /dev/null -s -k -w "%{http_code}" -u "${USERNAME}:${PASSWORD}" "${URL}/dashboard/")
echo "${TEST}" #debug

When the script runs, the output is "000".

When I run the same curl command from the shell, the output is "200" (which is correct, since the URL is valid).

I verified that the USERNAME, PASSWORD, and URL vars are being passed to the subshell.

I'd appreciate it if you could point out what I'm doing wrong here. :)

UPDATE: This has been solved.

10
Assistance creating a sensor (lemmy.thewooskeys.com)
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

Hi.

This works fine in the template editor:

{% if states('sensor.apollo_mtr_1_cca750_presence_target_count') | int > 0 %}
  Detected
{% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_1_occupancy', 'on') %}
  Detected
{% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_2_occupancy', 'on') %}
  Detected
{% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_3_occupancy', 'on') %}
  Detected
{% else %}
  Not Detected
{% endif %}

But when I try to create a binary_sensory from it in configuration.yaml, I get "'binary_sensor' is undefined":

template:
  - binary_sensor:
    - name: "Lounge Presence"
      state: >-
        {% if states('sensor.apollo_mtr_1_cca750_presence_target_count') | int > 0 %}
          Detected
        {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_1_occupancy', 'on') %}
          Detected
        {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_2_occupancy', 'on') %}
          Detected
        {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_3_occupancy', 'on') %}
          Detected
        {% else %}
          Not Detected
        {% endif %}
      device_class: presence

I'm probably using incorrect syntax or something. Can anyone help me with this?

 

I host a website that uses mTLS for authentication. I created a client cert and installed it in Firefox on Linux, and when I visit the site for the first time, Firefox asks me to choose my cert and then I'm able to visit the site (and every subsequent visit to the site is successful without having to select the cert each time). This is all good.

But when I install that client cert into GrapheneOS (settings -> encryption & credentials -> install a certificate -> vpn & app user certificate), no browser app seems to recognize that it exists at all. Visiting the website from Vanadium, Fennec, or Mull browsers all return "ERR_BAD_SSL_CLIENT_AUTH_CERT" errors.

Does anyone have experience successfully using an mTLS cert in GrapheneOS?

[SOLVED] Thanks for the solution, @[email protected]

29
Layered encryption? (lemmy.thewooskeys.com)
 

If we consider information to be safe if we encrypt it (e.g., text in a file, encrypted with modern strong encryption), would it be safer (as in harder to crack) if we then encrypted the encrypted file, and encrypted the encrypted^2 file, etc.? Is this what strong encryption already does behind the scenes?

view more: next ›