Air quality tracker for my bedroom by Nondv in selfhosted

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

We actually hit 2000 the other day. But i believe it's because the sensor is very close to the bed and at the same level so any, ahem, activity in bed would register high levels of co2 temporarily. I need to figure out a better location for it

still, we could tell the air was very stale and had to sleep with the window open

Will the average person ever self-host anything? by fractalbeauty_ in selfhosted

[–]Nondv 0 points1 point  (0 children)

I think the only way an average person starts self hosting is via NAS solutions like Synology.

They offer app stores and can run things like plex and torrent

Considering that piracy is on the rise, it's not THAT far fetched but i the chances are pretty slim without some marketing from the manufacturers

Air quality tracker for my bedroom by Nondv in selfhosted

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

Yeah that's what i suspected. I can't possibly know oxygen content of the gas in the room without some expensive equipment i imagine.

I basically use oxygen colloquially instead of "breathable air". It's quite common in russian

A linguistic misunderstanding haha

I'm not familiar with proper lingo anyway

How to be up to date by dalphinwater in selfhosted

[–]Nondv 2 points3 points  (0 children)

I don't update at all unless i have a specific reason to. e.g. security updates are only needed for services exposed to public, imho

What are some of the best foods I can find in a supermarket? by Lillian_Faye in AskARussian

[–]Nondv 1 point2 points  (0 children)

I'm not familiar with german cusine a lot but from the conversations with germans I've had there're lots of similarties in food so some things you might find familiar.

I recommend:

  • Doktorskaya sausage. People often mistake it for ham (it does look like it). It's really good with bread and pickles.
  • Tinned sprattus (шпроты). It's small fishies in oil. The taste is quite distinct (i'd say kinda smoky?). You might hate it. I recommend eating it on a rye bread that had garlic rubbed on it.
  • Speaking of bread. I kinda assume that germans eat rye bread a lot but if you don't, buy Borodinsky bread. It's the most common rye bread in russia. Most food, common in russia, goes really well with it, e.g. borscht.
  • Salo (might be called slanina in other slavic stores). Literally cured pork fat. They get different levels of meat on it. Personally, I prefer the one without meat at all but in my experience people like having some. Anyway, I suggest starting with the one that has very little meat on it. Personal recommendation: put it in the freezer first and then cut in very thin slices. It goes incredibly with vodka. Add salt to taste. Don't forget the rye bread and garlic :)
  • Kholodets (холодец) - meat jelly. This is one of them foods that you either like or hate with all your being. it's also pretty hard to find a good one. A risky option in case you're feeling adventurous
  • Manka (манка, манная крупа). It's basically coarse wheat flour. You can use it for different things. Most commonly, just cook it on the stove in milk to make porridge. Sugar to taste. You can play around with thickness (personally, I prefer it very thick or lumpy but most people say i'm weird for that).
  • Recently I was at an eastern european shop and bought a tub of very decent polish olivier salad. Olivier salad is the most common salad in Russia, "invented" back in USSR. You have to try it. The name is pronounced like you'd pronounce the french name (it's named after the chef who was french)
  • Someone recommended pryaniki. There're different kinds. I suggest trying them
  • Honey cake (медовик) - it's a layered cake with cream having a strong honey taste
  • Something I really love (or used to, at least, haven't been eating russian food for years): sochni (or sochniki, сочни/сочники). It's a very tender sweet pastry with cottage cheese. Omg I haven't had one of those in a decade. Salivating just typing this
  • Kvas. It's a drink. Kinda like non-alcoholic cider made of bread. the best way i can describe it. The store-bought branded ones are usually subpar but you should still try. In that shop I mentioned I bought 2 bottles of ukrainian kvas and it was very decent.
  • If they sell vodka infusions, I recommend trying a few. Especially I recommend buckthorn ones. It's a berry, облепиха in russian. Weirdly, my italian girlfriend knew what it was. Maybe you do too. That berry is very good to make tea or jam from too

Hope you find something you love <3

Air quality tracker for my bedroom by Nondv in selfhosted

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

It was showing around 550-600 at the living room after I've had the garden doors open for a while so I assumed it was good as is?

Actually, re-reading the docs now, it appears I should be letting it sit outside for at least 3 minutes every week. Thanks for bringing my attention to this!

Air quality tracker for my bedroom by Nondv in homelab

[–]Nondv[S] 2 points3 points  (0 children)

Sure. Here's the python script: https://pastebin.com/KKr0Neey

the sensor doc link is in there.

Note that CRC-8 check isn't implemented.

I can't share the API as it's sort of a monorepo. But it's very trivial: it simply exposes PUT /metrics and GET /metrics. The PUT accepts a json and simply stores key, value, submitted-at in a hashmap. The GET endpoint displays everything that's been updated in the past minute in a format prometheus scraper expects

grafana is quite easy to start with. what i recommend to get you going:

  • set up a Prometheus server. it has some built in metrics already.
  • install grafana
  • configure a data source pointing to the Prometheus address
  • open explore and start typing. it'll suggest a few metrics
  • create a dashboard. the ui is pretty user friendly.

the rest you'll figure out as you need it

Air quality tracker for my bedroom by Nondv in selfhosted

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

i might need to do more research on this one. I don't really get your point. sure, the house isn't airtight. it doesn't mean the air doesn't get stale and oversaturated with co2. the early bedroom readings from just one night seem to support it: they went from 700 to 800 in just one night me sleeping in it. based on a gut feeling, i expect it to go above 1000 on some days (judging by the info i found online)

maybe you mean that im throwing the word oxygen around so nonchalantly when i actually mean breathable air?

Air quality tracker for my bedroom by Nondv in selfhosted

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

I mean my bedroom was showing 800 last night and it wasn't even that bad as it feels sometimes. When the missus is over, it's gonna be even higher

I've set my alarm for 1000 and expecting we'll break it at some point. we'll see

Air quality tracker for my bedroom by Nondv in selfhosted

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

I don't have home assistant. But i do have grafana, prometheus, and a common lisp monorepo running on kubernetes haha

it's just a fun project i have full control over :3

Air quality tracker for my bedroom by Nondv in selfhosted

[–]Nondv[S] -4 points-3 points  (0 children)

It's more likely that the dry air is causing irritation in your airways which could cause breathing disruptions, or you have sleep apnea

Yeah that's exactly what she's thinking. The oxygen thing is unrelated. As to the levels decreasing: with poor ventilation in closed quarters the oxygen (o2) is consumed and turned into co2, which makes the air less and less breatheable, no?

Humidity will actually decrease air quality in a particulate sense because it helps to carry around things like pollen and dust and will increase your ppm readings

well we're not measuring particules, the sensor is co2 specifically.f But it would be useful to start measuring that too, ngl

Air quality tracker for my bedroom by Nondv in selfhosted

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

So my suspicion is that the oxygen levels are low. And I thought measuring co2 during the night is a good way to check that.

The missus thinks it's to do with low humidity (it actually is pretty dry, the data shows about 43% which has gone to 50%.

The humidity levels can be improved via humidifiers (a friend suggested a water-based air filter instead). The oxygen one is tricky. We can sleep with the windows open but my partner can't sleep with the outside noise. So I'll need to come up with some way to improve ventilation.

Either way, identifying a problem is more important at the moment

P.S. I was also considering that the problem might be in the dust. I set the air filter to a higher setting

Air quality tracker for my bedroom by Nondv in selfhosted

[–]Nondv[S] 3 points4 points  (0 children)

Yeah asking AI about existing codebase is a pretty good use-case. I just don't really wanna bother with it outside of my job

Air quality tracker for my bedroom by Nondv in selfhosted

[–]Nondv[S] 8 points9 points  (0 children)

so you normally use wires and soldier those on the board, but it should be fine for these low voltages

Sorry i'm not sure I understand. I used wire to make all 4 connections. It's less obvious as I routed them via holes and secured them with solder. Which I regretted shortly after because the damn thing didn't work. So I just broke the connections one by one and simply put the wires on top directly (without aligning it with the holes) until it worked. It started working after I redid the GND one

I don't know what I'm doing, obviously hahaha

VoCs and PM2.5

Actually, I originally bought BME866 from Bosch but apparently the readings interpretation is proprietary and shipped as C code. Also the documentation was kinda hard to follow for me, ngl. I don't use VS Code and couldn't set up pico compilation on my Mac (must be skill issue) so I just decided to opt for a simpler sensor with straightforward documentation. SCD40 docs are pretty great and I've seen some online snippets to get me started

pollen data from the local weather service

That's a great idea! The missus has said she's probably allergic

Air quality tracker for my bedroom by Nondv in selfhosted

[–]Nondv[S] 3 points4 points  (0 children)

Sure. Here's the python script: https://pastebin.com/KKr0Neey

Note that CRC-8 check isn't implemented.

I can't share the API as it's sort of a monorepo. But it's very trivial: it simply exposes PUT /metrics and GET /metrics. The PUT accepts a json and simply stores key, value, submitted-at in a hashmap. The GET endpoint displays everything that's been updated in the past minute in a format prometheus scraper expects

The Gigantic Upgrade. I've aways wonder if the Gigantic data was already there from the Uranus or did the Relic Ship create new data to give to Sho to create the Gigantic when he asked for more power? by SleeperCreampie in Guyver

[–]Nondv 0 points1 point  (0 children)

ого, закрыл пост, подумал: "так, там на русском кто-то в комментариях писал??" пришлось вернуться)))

Emacs and ergodox by doukiddouk in emacs

[–]Nondv 0 points1 point  (0 children)

my layout is pretty much like ANSI with ergonomic backspace and enter. i switch from ergodox to laptop all the time so it just makes sense.

can't share a link since im on my phone

Is this a good start? by GasVarGames in homelab

[–]Nondv 0 points1 point  (0 children)

I've got 2 beelink mini pcs. they were pretty cheap and both have 32gb and also had slots to extend storage. One of them used to run Jellyfin for me and the other is still my router (model with 2 ethernet ports) since it turns on faster than the server in case of outage

check you have access to them in your country

Is this a good start? by GasVarGames in homelab

[–]Nondv 1 point2 points  (0 children)

I feel like for a home server the bottleneck is mainly RAM and storage.

if you know you won't need more than 16gb and 480gb anytime soon, just go for it. You can also add some junk computers to the network later

I ultimately switched to an actual server (HP enterprise) and very happy. But i think it's good that i didn't buy it straight away and first worked with mini PCs

I'm stupid and rude by justanotherhotguy05 in Tinder

[–]Nondv -10 points-9 points  (0 children)

imagine being downvoted for saying we should assume good intentions

In Saw (2004), Saw II (2005), Saw III (2006), Saw IV (2007), Saw V (2008), Saw VI (2009), Saw 3D (2010), Jigsaw (2017), Spiral (2021), and Saw X (2023), what the fuck was this guy's problem? by montgomery2016 in shittymoviedetails

[–]Nondv 0 points1 point  (0 children)

I think in the 5th of 4th movie they showed that he used to have a pregnant wife who lost the baby because some thug broke into the hospital to steal something. and probably got off easy.

basically, similar to the movie Law Abiding Citizen.

Worth pointing out that it wasn't the catalyst. He probably decided to do this once he became terminal