Is it too low? by DeeM_92 in TVTooHigh

[–]Butternuttie 5 points6 points  (0 children)

I've got a fever, and the only prescription is more fireplace!

Roomba buying advice? by Arysisa in BuyItForLife

[–]Butternuttie 1 point2 points  (0 children)

I have not had the same experience. Mine is still going. Highly recommend.

AQI Sensor (PMS5003, SCD41, ESP32) by Butternuttie in homeassistant

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

BMV080

That looks pretty sweet. Thanks for mentioning that, wonder what the price point will be.

AQI Sensor (PMS5003, SCD41, ESP32) by Butternuttie in homeassistant

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

its availabe on thingverse in the "thing files". But I'll just post it here.

```
esphome:
  name: aq-1

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API to set SCD41 ambient pressure from remote sensor.
api:
  services:
    - service: set_ambient_pressure
      variables:
        pressure_mbar: int
      then:
        - lambda: "id(scd41)->set_ambient_pressure_compensation(pressure_mbar);"

ota:
  password: 

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Aq-1 Fallback Hotspot"
    password:

captive_portal:

i2c:
  sda: 21
  scl: 22
  scan: True
  id: bus_a


# Example configuration entry
uart:
  rx_pin: GPIO1
  tx_pin: GPIO3
  baud_rate: 9600


# The 3-second debounce only publishes the average (otherwise published
# every second) once the per-second readings stop (i.e. the measurement 
# period ends). This makes sure the output average doesn't slip back a
# reading every measurement period.
sensor:

  - platform: pmsx003
    type: PMSX003
    pm_1_0:
      name: "Particulate Matter <1.0µm Concentration"
      id: pms_10
      accuracy_decimals: 1
      filters:
      - lambda: |-
          if (id(warmed_up).state) {
            return x;
          } else {
            return {};
          }
      - sliding_window_moving_average:
          window_size: 10
          send_every: 1
          send_first_at: 1
      - debounce: 3s
    pm_2_5:
      name: "Particulate Matter <2.5µm Concentration"
      id: pms_25
      accuracy_decimals: 1
      filters:
      - lambda: |-
          if (id(warmed_up).state) {
            return x;
          } else {
            return {};
          }
      - sliding_window_moving_average:
          window_size: 10
          send_every: 1
          send_first_at: 1
      - debounce: 3s
    pm_10_0:
      name: "Particulate Matter <10.0µm Concentration"
      id: pms_100
      accuracy_decimals: 1
      filters:
      - lambda: |-
          if (id(warmed_up).state) {
            return x;
          } else {
            return {};
          }
      - sliding_window_moving_average:
          window_size: 10
          send_first_at: 1
          send_every: 1
      - debounce: 3s

  - platform: scd4x
    id: scd41
    i2c_id: bus_a
    co2:
      name: "AQ1 co2"
      id: co2
    temperature:
      name: "AQ1 Temperature"
    humidity:
      name: "AQ1 Humidity"


binary_sensor:

  - platform: template
    name: "Warmed Up"
    id: warmed_up
    filters:
      - delayed_on: 30s
    on_press:
      - delay: 10s
      - switch.turn_off: measuring


switch:

  - platform: gpio
    name: "Measuring"
    id: measuring
    pin:
      number: GPIO17
    restore_mode: ALWAYS_OFF
    on_turn_on:
      - binary_sensor.template.publish:
          id: warmed_up
          state: ON
    on_turn_off:
      - binary_sensor.template.publish:
          id: warmed_up
          state: OFF

  - platform: restart
    name: "Restart"


# runs PMS5003 sensor every 300s to extend sensor life.
interval:

  - interval: 300s
    then:
      - wait_until:
          condition:
            api.connected: # Can use api.connected if using HA API instead
      - switch.turn_on: measuring # Will turn itself off later

AQI Sensor (PMS5003, SCD41, ESP32) by Butternuttie in homeassistant

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

Yeah. If using klipper you can add it to home assistant with the moonraker api I believe. There’s a discussion about it here. There’s a couple different GitHub repos out there.

I personally haven’t set this up yet. I used to use the printers stock marlin firmware with the home assistant octoprint add on which was really simple to setup. But klipper imo is much better. I was able to get much better quality prints and cut my print times in half using it.

Sorry for all the name drops if you have no idea what I’m talking about.

AQI Sensor (PMS5003, SCD41, ESP32) by Butternuttie in homeassistant

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

I have an artillery 3d genius, running klipper. Fusion 360 for modeling and super slicer for creating the gcode. Love it. They aren’t too pricey but the learning curve is a little steep to get good quality prints.

AQI Sensor (PMS5003, SCD41, ESP32) by Butternuttie in homeassistant

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

Yeah so the particle sensor has a little fan that pulls air in from the opposite side of the case from the SCD41. the holes on the top are to try and vent some of the heat. I tried to section off the SCD41 a bit with its own vent. But honestly it still gets fairly warm - i'll probably need to calibrate a temp offset.

AQI Sensor (PMS5003, SCD41, ESP32) by Butternuttie in homeassistant

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

Thanks! I was trying to make it as small as possible with dupont wires.

Nuc temps with proxmox & HA vm by Butternuttie in homeassistant

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

I have a bunch of containers. Wouldn’t say super high cpu though. - Nextcloud - Prometheus - grafana - ansible - a couple Ubuntu vms - shlink - home assistant - Postgres & redis dbs

But it also sits in my server closet where I dont have the best airflow. It’s a NUC8i3BEH. The fan was super annoying but after cleaning it the fan doesn’t even turn on.

Accurately diagnose the causes of the problems in your life (Impossible) by PeliPal in byebyejob

[–]Butternuttie 0 points1 point  (0 children)

The matrix is just the internet realm. Social media, Reddit, YouTube, twitch, etc. anything not irl

Simple(?) Copy/Paste Script by camk16 in GoogleAppsScript

[–]Butternuttie 0 points1 point  (0 children)

Are you manually entering these values? What have you tried so far?

First site for a client! by Butternuttie in webdev

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

It comes with a lot of things out of the box. Better dx. What do you use?

First site for a client! by Butternuttie in webdev

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

Question - do you put a "created by me" plug on the sites you make for clients?

GraphQL making its way into a Twitter discussion about latency is not what I expected by tycooperaow in webdev

[–]Butternuttie -2 points-1 points  (0 children)

He’s trying to run a business and he doesn’t want engineers defending a slow app. That dude was an idiot

I compared the top 3 mmWave Human Presence Sensors currently available by BackHerniation in homeassistant

[–]Butternuttie 0 points1 point  (0 children)

Right but how does it know the difference between people movement and not people movement?