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jw5xMnIWphfhecOTcAo/gQGu4NT+mu6quI/RYablhCZ3gqNwARAQABiQIfBBgB
CAAJBQJREt2TAhsMAAoJEL0iNgSYi5CZDQ4P/RMg32j+dsUjs7WIFuJrUIKKbVBY
1jLA5VXMytWCMmqBYj7b3G6xhCgnGZXEjYBVUvzLmf0ZuH6hVHEVvCY6BVA05WHj
HQy2qebu9462XLkEnfglKlFl8KQMTjzkhpoLFscUYYyJ/oeKENodc4i8M8ninPUw
SbOqlyEhnkHtkgcLTokWkZ4P5D0l0njxH+oMvPHS/SYD0/BWPrkfAqkUK/jHzpKF
mvuohlpMxwJ3s/3za29Cu33SAHklTtV4QMLIyf+Z4qTbIQ6Ae/E7qryWK6iovvO9
vj6NARjvkZLrWy4t8PQNkHpc0rRX0kc13EV/J3/SHU2MPq3Quiz8Qwmu6DiyENWg
Nn0ewEl0UCgXt9f4JVzRrNXxzz/kRo3kaOwMTfHJemiJZNaV9/hWnReZYt/qxqht
7JoNEg5dKgXtCOnKtmEbzWVgbu34oMvMjcltSmnuCTwi65uIZJ1FW0aJjwfGssuj
XaAsEFDr1vEYmytKwixH8F4pst+NFIL+qcJmgv5ly8IFSpjl9wa339dnm2m/4v6e
TsxhlQU9cdHSt9/NAzfqasn8FN3xRtukBRzM3vUVCljqic3TlzrmfUjfK0X6ysm6
GS2Pw4m8UDcHv0UkGvfCNxTmPe7UC9sv4znhM3oDecewInMRoWy6LyB97bvqQhRn
ohzRIlrk1LdGFiPy
=wOG4
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTNYlhAAoJEL0iNgSYi5CZCnMP/jNmaQLnB8DnP32X5XpuIvOj
oY6DzhecrUaUj9/+BY7A8HAkMEEyfOlQSkAPYsY2Zu0a/hjQb/HCI2gicD9JF6oz
7Z5iuSYQL2uj6wKfFqtGCypdHvizCEyyRdwAA/+SXty4sf9wivfDIj12hXkYFC7d
8Rsx+wBdzJCsDmEwUaMaHl5k7Uu1X4UcbYiRFJ++6pKLK/hadlUE4CjAf0cULk5P
vK5lHwnl4iBxL8ZC6C4L+7OG15nwkFZ7HXwhfUIyugUN+HvG1J2CbLpWDWmTO16X
XLcVg15MSdsFvKtaksBZkXTTe4X6yDfS2gq2uJJeTEGbZZylThxhmJeY/0O8mXDr
+sUXAO+88NttnnPgL7Oxwjfcn3VjX709znp7aulLJ62QOYhTKJbsX07vqx61baAn
v2HmszvW3CGH0jT/d8YmB5qtaAY3B2ij94ySpkaTLpphqwIPN2ZC0OXEMfUzLkhY
unNOEbIsgC95oY+2XRJCEIEH0RHeH6UtRj/G31u3SdGCc18rvfvF26Zw6RfluRqE
5SecKTPEJPnonvEA4Co4I40CRgiLAWhmdFJK3AxQv3U8P+6HxKVJmi6xIqqOpU/i
Af6PZl/fonVRVG620c5/afUSPTHNyCUhfV0Vzi5Ibn81DLQ0C0iuLqEhx0ldWilR
FGYMIsc5J0C8tOrBR17U
=NqX0
-----END PGP SIGNATURE-----
If you like Python, try pythonanywhere.com. Their free service should be
enough; you pay for your app to be allowed access non-whitelisted
websites, but there's no restriction on *incoming* data so you can
easily hack up a web-based logger, potentially also a web-based control
relay; hackubator polls the webapp periodically for new intructions and
to upload logging information, controllers can place commands in a queue
on the webapp for the hackubator to fetch next time it polls.

Consider security when putting the command-and-control channel for a
potentially hazardous item of equipment on the internet. There are
libraries in PyPI for authenticated JSON-RPC and so on, consider those.
Make sure they authenticate that it's a command from you or another
authorised person, and that they take measures to prevent replay attacks
(in case someone ever observed you instructing the oven to hit 220C and
copy/pasted it into the control input).

Don't roll your own. But if you do, make sure it uses hmac to
authenticate, using the hmac.compare_digest function to verify
authentication, and use once-only tokens for each command that are never
accepted by the application a second time, to prevent replays.

This is a cool effort; I'm tempted to knock one together, too, if
someone has a decent lead on a high-wattage solid-state relay? Could get
a cheap "cupcake" oven, set it to something not-insane, and then switch
on and off at the wall using the solid state relay; that looks like your
rig, Tom?

On 28/03/14 14:09, Tom Hodder wrote:
> On 28 March 2014 08:57, Avery louie <inactive.e@gmail.com> wrote:
>
>> Hey all,
>>
>> I am working on a web-enabled incubator/refrigerator. Right now, checking
>> on growing cells is tedious and sometimes you have to travel to the lab at
>> inconvenient times. Sometimes you show up and nothing has happened, or
>> even worse, the cells are overgrown.
>>
>
> I have a project to do something similar, I ended up using a solid state
> relay<http://www.amazon.co.uk/gp/product/B0087ZTHZE/ref=oh_details_o05_s00_i00?ie=UTF8&psc=1&tag=s6010000201-21>
> to
> control the heater and fan because the clicking of the relay was getting
> annoying... Also, port forwarding sucks donkey balls on cheap routers, so
> I decided to run a python IRC bot on a pi and query it from an IRC channel
> like so;
>
> 15:06:02 <@tolland> .incubator
> 15:06:02 < biobot> The temp of the incubator at 20:05:45 is 16.562 degrees C
>
> Though now I want to put the time series data from the temperature probe on
> the web, so I have to come up with a way to push the data out to a web
> service....
>
> https://www.flickr.com/photos/37617570@N06/sets/72157643057992484/
>
>
> [image: Inline images 2]
>

--
T: @onetruecathal, @IndieBBDNA
P: +353876363185
W: http://indiebiotech.com

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment