Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jywarren/0b1688d04bed26f41d9a7ffe95942e16 to your computer and use it in GitHub Desktop.
Save jywarren/0b1688d04bed26f41d9a7ffe95942e16 to your computer and use it in GitHub Desktop.
I, [2019-04-30T22:59:40.734073 #1] INFO -- : Got new message from 'jeff@publiclab.org' with subject 'Re: New comment on Can someone clarify the colors on the simple air sensor? (turning white when plugged in) (#19173)'.
E, [2019-04-30T22:59:40.871795 #1] ERROR -- : Exception occurred while receiving message:
Return-Path: <jywarren@gmail.com>
Received: by 2002:a67:ef51:0:0:0:0:0 with SMTP id k17csp2958426vsr;=0D=0A
Tue, 30 Apr 2019 15:59:34 -0700 (PDT)
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g3sor1263364wmf.25.2019.04.30.15.59.33 for <notifications@publiclab.org> (Google Transport Security); Tue, 30 Apr 2019 15:59:34 -0700
Date: Tue, 30 Apr 2019 18:59:21 -0400
From: Jeffrey Warren <jeff@publiclab.org>
To: notifications@publiclab.org
Message-ID: <CAGqfm_D0UHi28M=uFZCnRiiLhdkJeqSNbRpzrWNL0_EQ=qFJGQ@mail.gmail.com>
In-Reply-To: <5cc7befa92ad9_c02ad1f5e83c3414387b@63373f99ffaf.mail>
References: <5cc7befa92ad9_c02ad1f5e83c3414387b@63373f99ffaf.mail>
Subject: Re: New comment on Can someone clarify the colors on the simple air
sensor? (turning white when plugged in) (#19173)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary=000000000000ae8ae40587c75ae0
Content-Transfer-Encoding: 7bit
Delivered-To: notifications@publiclab.org
X-Received: by 2002:adf:da51:: with SMTP id r17mr7351604wrl.118.1556665174354;
Tue, 30 Apr 2019 15:59:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1556665174; cv=none; d=google.com;
s=arc-20160816;
b=u/1FDk5QB3jm+UiLIjav+bjdB0htgecrk8MJPTbwwlh+0Z6Fd4v9KHUreA++zBA+aW
Kib16UMGX+8KGrLJeYCNRBGQdokllDa3twk3H6mHeoX5NZFZ98t/E6TPCSn6AXpDiryy
Qexrkwbplm3/lN16PKAB68wbW6mLF+4JorRmxdnwg8QTb8DxowsixJfll+xx24hwEbHU
lwoVNFulEkY3LIuJW4rliO4XlvOxDXV5Th0/eI2jhmUz2p6corTqKMzMvF5sCdXsTVTd
kYu1qNseo0dTVI4vkz4m3TEmA7VjZjDf7+Cw6IXgpyCeM9d2gS9Q/NILPd5IBUhvNziY
q93w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:dkim-signature; bh=EwVOh3UKd/VPMkELoJeWJaYicZ+gU/NTTN796BP3zxI=;
b=07805FnjiWN+2u1kNA+ta21xRqIvH14yMr7n2x/FbaxuZseDGIHJnpohQ2YYbNx0N1
nNWsd0BPEn8Ca+IH44U4I849g6vJ0hFr8JIoJlpjFQSr2XmNWTbpSGh1MjWkqftLcboK
Ivr9z3NXGrLgRFu70IuxFk70QvT0/Hgd5+wCRUCHUn1vKtHDaDL2n+/LpdD27CTXVxDD
/0+5z7wvIYi4KmcrcS59Ihowf9tDP/9vonwJN9la2OVDhekNv5M0OTejhNfoUDGHspPD
A3unz9dnRGHRd6Id5Hozzhw9a9CqqEfUVtY95ytXU8V+jYWY0TylA4oSm0sS81xW2VgH
eStA==
ARC-Authentication-Results: i=1; mx.google.com; dkim=pass
header.i=@publiclab-org.20150623.gappssmtp.com header.s=20150623
header.b=X1xiW8tD; spf=pass (google.com: domain of jywarren@gmail.com
designates 209.85.220.41 as permitted sender) smtp.mailfrom=jywarren@gmail.com
Received-SPF: pass (google.com: domain of jywarren@gmail.com designates
209.85.220.41 as permitted sender) client-ip=209.85.220.41;
Authentication-Results: mx.google.com; dkim=pass
header.i=@publiclab-org.20150623.gappssmtp.com header.s=20150623
header.b=X1xiW8tD; spf=pass (google.com: domain of jywarren@gmail.com
designates 209.85.220.41 as permitted sender) smtp.mailfrom=jywarren@gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=publiclab-org.20150623.gappssmtp.com; s=20150623;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=EwVOh3UKd/VPMkELoJeWJaYicZ+gU/NTTN796BP3zxI=;
b=X1xiW8tD9QHyyNlicvvBYWz8ZknXifFvgMfHZaC/SNxM2rFAbN1ma5MEEwnLRE0Ur/
KyWGY08y6cIvdbKwjVSb7z7uAAs7nO8LQsqLByUsDYHhyhberkSYQav6BfL7JOV/8jh9
IjwC/6oSZirbCzPI0gwGnhq80Ls49G0iyWTcUt1vL1zz9RPssUuOAMuoI9jDsMLFyS0V
bsvpT1nHug//UImblcRo3BAdi2zBfoKrGe2uAQNbNiLvUOuWbkUqSiMtr6y9bCS0i4x5
8dCvcaUk09A84+iSQuegovt5xaejd1r5+mwAmT7kfdDBJZ2mM0TbgUuV4qQrbljdJvnD
AXhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=EwVOh3UKd/VPMkELoJeWJaYicZ+gU/NTTN796BP3zxI=;
b=GJ44JMBvDUujSNQmLMeXimybrsNAB/Dgtgw4FtdEPCzc6xTWSTxWQh94WVfoZ+XM19
G0figYxjy7lD1QIv+7eZZsscg3IuaAdosw7Dsy/E8uSmNS3JmWwbl9ZCcNZl3H861stS
fPwB0MmZOgwrKMDvk8thZoDOCxWs3nuX5pNNZ62MXD78Wv7HrOWC07N2lI9sm9gXPY3e
aGy3IJi8+psgedUd60X1q7GdZr7mUQngCo2gYLSCZJQ38i4ub2lE3Ar7obV0/0Dg6vg1
ke54cxGhHxfvI89xmsZs4d0K1h3rUQgDw6TKk5r2Owd0NSgwVamZWAyFG+7xNUVMlQml
/WgQ==
X-Gm-Message-State: APjAAAXcW+nsIMGxdejwtIviKbYIuTB3Vl6gcUeZXM7ozfT87oIRvsSH
R5Z8fU/x/Ly8G33S25RiewVfROLLvwTlrcDwdWHpzNO6
X-Google-Smtp-Source: APXvYqzKAKGtm4sMFV99w3USAEAAQd7x0JcTNkamA8wEonXvJBUsJZO5nivy5lAUT47tNAEIw9NcJFiuWJiPmmo/PY4=
X-Received: by 2002:a1c:c917:: with SMTP id f23mr4665435wmb.11.1556665173181;
Tue, 30 Apr 2019 15:59:33 -0700 (PDT)
--000000000000ae8ae40587c75ae0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
thanks, Chris, i haven't seen any LEDs burn out yet, and we've been running
them for weeks in some cases. If they do, i'll definitely add in a
resistor.
On Mon, Apr 29, 2019 at 11:20 PM <notifications@publiclab.org> wrote:
> Hi! There's been a response to a discussion you're involved in. You can
> reply to this email or visit this link:
>
>
> https://publiclab.org/questions/stevie/04-26-2019/can-someone-clarify-the-colors-on-the-simple-air-sensor#answer-0-comment-24002
>
> *cfastie <https://publiclab.org/profile/cfastie> wrote:*
> ------------------------------
>
> According to the link at your wiki the RGB LEDs are rated for 2 to 3.2
> volts. Your instructions for connecting the LED indicate connecting the LED
> to 5 volts on the Arduino Nano. I'm not sure why the LEDs don't burn out
> rather quickly when powered with 5 volts. Maybe you are doing something in
> the sketch to limit the current. The LEDs apparently come with resistors
> which could be used to limit the current so the LEDs do not burn out, but
> these resistors are apparently not included in your kits. The Arduino Nano
> has a 3.3 volt pin which could be used instead of the 5 volt pin. Using
> that pin might protect the LEDs, but using one of the resistors on the
> ground pin of the LED might also be a good idea. Chris
> ------------------------------
>
> Look like spam? Mark this as Spam
> <https://publiclab.org/admin/mark_comment_spam/24002>
>
> Reply at:
> https://publiclab.org/questions/stevie/04-26-2019/can-someone-clarify-the-colors-on-the-simple-air-sensor#answer-0-comment
>
> Report abuse to: moderators@publiclab.org
> Check out the blog at https://publiclab.org/blog | Love our work? Become
> a Public Lab Sustaining Member today at https://publiclab.org/donate If
> this email title has an ID in the format #0000, you can reply with the
> email you use at PublicLab.org and your response will be posted as a
> comment on the website.
>
--000000000000ae8ae40587c75ae0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">thanks, Chris, i haven&#39;t seen any LEDs burn out yet,=
and we&#39;ve been running them for weeks in some cases. If they do, i&#=
39;ll definitely add in a resistor.=C2=A0</div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Apr 29, 2019 at 11:20 =
PM &lt;<a href=3D"mailto:notifications@publiclab.org">notifications@publi=
clab.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-=
left:1ex">Hi! There&#39;s been a response to a discussion you&#39;re invo=
lved in. You can reply to this email or visit this link:=0D
=0D
<p><a href=3D"https://publiclab.org/questions/stevie/04-26-2019/can-someo=
ne-clarify-the-colors-on-the-simple-air-sensor#answer-0-comment-24002" ta=
rget=3D"_blank">https://publiclab.org/questions/stevie/04-26-2019/can-som=
eone-clarify-the-colors-on-the-simple-air-sensor#answer-0-comment-24002</=
a></p>=0D
=0D
<p><b><a href=3D"https://publiclab.org/profile/cfastie" target=3D"_blank"=
>cfastie</a> wrote:</b></p>=0D
=0D
<hr> =0D
=0D
<p>According to the link at your wiki the RGB LEDs are rated for 2 to 3.2=
volts. Your instructions for connecting the LED indicate connecting the =
LED to 5 volts on the Arduino Nano. I&#39;m not sure why the LEDs don&#39=
;t burn out rather quickly when powered with 5 volts. Maybe you are doing=
something in the sketch to limit the current. The LEDs apparently come w=
ith resistors which could be used to limit the current so the LEDs do not=
burn out, but these resistors are apparently not included in your kits.=0D=
=0D
The Arduino Nano has a 3.3 volt pin which could be used instead of the 5 =
volt pin. Using that pin might protect the LEDs, but using one of the res=
istors on the ground pin of the LED might also be a good idea.=0D
=0D
Chris=0D
</p>=0D
=0D
<hr>=0D
=0D
<p>Look like spam?=0D
Mark this as <a href=3D"https://publiclab.org/admin/mark_comment_spam=
/24002" target=3D"_blank">Spam</a>=0D
</p>=0D
<div style=3D"color:rgb(170,170,170)">=0D
=0D
<p>Reply at: <a href=3D"https://publiclab.org/questions/stevie/04-26-2019=
/can-someone-clarify-the-colors-on-the-simple-air-sensor#answer-0-comment=
" target=3D"_blank">https://publiclab.org/questions/stevie/04-26-2019/can=
-someone-clarify-the-colors-on-the-simple-air-sensor#answer-0-comment</a>=
</p>=0D
=0D
<p>Report abuse to: <a href=3D"mailto:moderators@publiclab.org" target=3D=
"_blank">moderators@publiclab.org</a></p>=0D
=0D
Check out the blog at <a href=3D"https://publiclab.org/blog" target=3D"_b=
lank">https://publiclab.org/blog</a> | Love our work? Become a Public Lab=
Sustaining Member today at <a href=3D"https://publiclab.org/donate" targ=
et=3D"_blank">https://publiclab.org/donate</a>=0D
=0D
=0D
=0D
If this email title has an ID in the format #0000, you can reply with the=
email you use at PublicLab.org and your response will be posted as a com=
ment on the website.=0D
=0D
</div>=0D
</blockquote></div>=0D
--000000000000ae8ae40587c75ae0--
E, [2019-04-30T22:59:40.881920 #1] ERROR -- : MySQL client is not connected
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:82:in `escape'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:82:in `quote_string'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:167:in `_quote'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:18:in `quote'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/collectors/substitute_binds.rb:16:in `add_bind'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:741:in `visit_Arel_Nodes_BindParam'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:670:in `visit_Arel_Nodes_Equality'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:822:in `block in inject_join'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `each'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `each_with_index'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `each'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `inject'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `inject_join'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:639:in `visit_Arel_Nodes_And'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:270:in `block in collect_nodes_for'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:269:in `each'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:269:in `each_with_index'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:269:in `collect_nodes_for'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:254:in `visit_Arel_Nodes_SelectCore'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/mysql.rb:51:in `visit_Arel_Nodes_SelectCore'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:217:in `block in visit_Arel_Nodes_SelectStatement'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:216:in `each'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:216:in `inject'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:216:in `visit_Arel_Nodes_SelectStatement'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/mysql.rb:46:in `visit_Arel_Nodes_SelectStatement'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/usr/local/bundle/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:8:in `accept'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb:10:in `accept'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:23:in `to_sql_and_binds'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:48:in `select_all'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:101:in `select_all'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/connection_adapters/mysql/database_statements.rb:12:in `select_all'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/querying.rb:41:in `find_by_sql'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation.rb:560:in `block in exec_queries'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation.rb:584:in `skip_query_cache_if_necessary'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation.rb:547:in `exec_queries'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation.rb:422:in `load'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation.rb:200:in `records'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation.rb:195:in `to_ary'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation/finder_methods.rb:528:in `find_nth_with_limit'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation/finder_methods.rb:513:in `find_nth'
/usr/local/bundle/gems/activerecord-5.2.2.1/lib/active_record/relation/finder_methods.rb:125:in `first'
/app/app/models/comment.rb:209:in `receive_mail'
script/mailman_server:27:in `block (2 levels) in <main>'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/router.rb:66:in `instance_exec'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/router.rb:66:in `route'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/message_processor.rb:23:in `block in process'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/middleware.rb:33:in `block in run'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/middleware.rb:38:in `run'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/message_processor.rb:22:in `process'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/receiver/pop3.rb:43:in `block in get_messages'
/usr/local/lib/ruby/2.4.0/net/pop.rb:666:in `each'
/usr/local/lib/ruby/2.4.0/net/pop.rb:666:in `each_mail'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/receiver/pop3.rb:42:in `get_messages'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:133:in `block in polling_loop'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:130:in `loop'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:130:in `polling_loop'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:83:in `run'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:11:in `run'
script/mailman_server:22:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment