Hi Robin,

I’ve been using this “home automation for the lab” strategy for a few years
now. What I’ve found is there’s no silver bullet. Lab equipment
manufacturers often make up their own protocols or half-implement something
before going their own way, which means that you usually need to get your
hands dirty with custom communication interfaces.

Our solution is to 1. write a python driver for each brand of (serial)
equipment, 2. use raspberry pis to expose async HTTP APIs, and 3. tie
ipywidgets to HTTP requests. Accomplishing 1 required some up-front work,
but 2+3 are easy and I’ve found we don’t bring in many new brands of
equipment.

You can see sample drivers here <https://github.com/numat>, a blog post here
<https://patrickfuller.github.io/talking-to-equipment/>, and I’d be happy
to talk further. We’re constantly talking through how to make this process
simpler, and I could share much more detail on how we do it today.

Hope this helps,
Pat

On Thu, Aug 9, 2018 at 4:25 AM Robin Cole <[email protected]> wrote:

> Hi all
> I am creating a strategy for automation our laboratory equipment where we
> build small satellites. I have come across interesting projects using
> Jupyter such as https://github.com/NSLS-II/bluesky but am seeking
> examples of people using ipywidgets to control equipment. Something similar
> to https://www.dashdaq.io/ GUI but using Jupyter. Also a nice-to-have is
> exposing equipment functionality over the lab network via a RESTful API (or
> perhaps MQTT). I do similar at home with https://www.home-assistant.io/
> but want something purpose built for the lab requirements.
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/c73db86b-ddc7-40a2-a78c-71aba2608d93%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/c73db86b-ddc7-40a2-a78c-71aba2608d93%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CA%2BLJwts0d8HgLM%3DnbiXO6Gq4qX5ntJ4PF8bX6pUE6CyYrg8YNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to