• 6 Posts
  • 21 Comments
Joined 4 months ago
cake
Cake day: June 3rd, 2024

help-circle


  • Thanks for your research and the suggestion, @Evkob@lemmy.ca.

    I wasn’t able to make that work, but I don’t think it was trying to solve the problem I’m having, anyway. That procedure was to add self signed SSL certificate to Android, but my certificate is neither self-signed nor an SSL cert. At least I think not - I find certs very confusing. The cert I’m trying to work with is an mTLS cert, a client cert. It’s not used to establish a secure SSL connections, it’s used to verify that I (the person with the cert) and authorized to use the app.

    Additionally, I’m able to successfully install the cert into Android, but the problem is that it seems to be ignored. The mTLS cert is installed in GrapheneOS’s “VPN & App User Certificate” section, and my CA cert is installed in the “CA Certificate” section. Vanadium, Fennec, and Mull browsers just aren’t using them. :(


















  • I’m trying to deGoogle/deFAANG/deBigData so I try to host FOSS alternatives to every service I use on the internet, though some services won’t be possible or practical (e.g., email).

    I host:

    • audiobookshelf (to stream and sync podcasts between my devices)
    • baikal (to host contacts and calendars)
    • cryptpad (for collaborative spreadsheets and kanban, though it does more than this)
    • drawio (flowchart-like diagrams
    • forgejo (my git repos and oauth2)
    • homepage (personal dashboard of services and links)
    • invidious (youtube frontend)
    • lemmy (duh :) )
    • minio (S3 object storage)
    • mosquitto (mqtt server)
    • nextcloud (can do a lot, but I’m only using it to look at Memories for photo storage and management - I currently selfhost Photostructure, but it’s not FOSS)
    • peertube (youtube alternative)
    • prometheus (metrics monitoring)
    • qbittorrent (torrents)
    • syncthing (currently only used to sync photos from my pixel to my server, but might be replaced if I switch to a photo management app that has an android app that can sync images)
    • tiddlywiki-nodejs (pretty powerful wiki, but I use it just to sync text-based info between devices)
    • traefik (reverse proxy in front of everything I host)
    • tt-rss (RSS feeds)
    • vaultwarden (password management - this is a fork of bitwarden)
    • wordpress (for my personal websites)
    • xbrowsersync (bookmark syncing between browsers/devices)

    I use the d.rymcg.tech framework. It’s a little over my head, but the framework makes it pretty easy to use all the apps. It’s a bit tricky to add new apps to the framework, but it’s fun and all the source is there to learn from and the developer is really nice and really helpful.



  • I use Solokeys. Didn’t know they were defunct. I just bought another from then a month or so ago. I use it for MFA, ssh, and sudo, and I’m trying to config Kubuntu login screen to require solokey but no luck yet.

    I like solokeys, but the one I recently bought has NFC and, technically, my pixel7 running GraphenreOS can detect the device, but it doesn’t work. Many people reported this issue. In my experience, NFC is non-functional.



  • Thanks for the help, @JustEnoughDucks@feddit.nl.

    I copied the yaml you suggested and made 2 changes:

    I changed the i2s_dout_pin from GPIO22 to GPIO21:

    speaker:
      - platform: i2s_audio
        id: echo_speaker
        i2s_dout_pin: GPIO21
        dac_type: external
        mode: mono
    

    …and added my on_tts_end with the media_player:

      on_tts_end:
        - homeassistant.service:
            service: media_player.play_media
            data:
              entity_id: media_player.${media_player}
              media_content_id: !lambda 'return x;'
              media_content_type: music
              announce: "false"
    

    This did compile and the audio output from the echo is played on the media_player, but the audio is also played on the Echo itself. Previously, changing the i2s_dout_pin from GPIO22 to GPIO21 prevented the Echo from playing the audio (I think by directing audio data to pin 21, which is not used).

    I’m not sure what you meant here:

    Media player is also a speaker using an arduino library (not compatible with esp_adf as that uses the esp-idf framework and not arduino). If you want to use the media player, you have to get rid of vad_threshold and the esp_adf.
    

    I tried removing “vad_threshold: 3” and the “esp_adf” component:

    external_components:
      - source: github://pr#5230
        components:
        refresh: 0s
      - source: github://jesserockz/esphome-components
        components: [file]
        refresh: 0s
    

    …but with the same result: audio plays on both the media_player and the Echo’s speaker.

    Instead of trying to prevent the audio from getting to the Echo’s speaker, is there a way to just turn the Echo’s speaker volume to zero?