I can’t really compare it to the Aranet4 because I don’t own one. But from what I can see, it offers similar functionality. In terms of hardware, though, the Aranet4 is more expensive than my setup. Of course, I also had to do some programming, which should probably be factored into the overall “cost” as well.

The accuracy of the Aranet4 is likely a bit better, at least based on the specifications I found (Aranet4: https://www.galaxus.ch/Files/6/6/1/0/2/6/6/2/Aranet4_datashe... , SCD40: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/d... ).

With my setup, I can also check the readings using my phone — currently only when I’m at home, since I host the stats website locally — but that’s enough for my needs.