<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Tmegane</author_name>
  <author_url>https://blog.hatena.ne.jp/Tmegane/</author_url>
  <blog_title>めがねの部品箱。</blog_title>
  <blog_url>https://tmegane.hatenablog.com/</blog_url>
  <categories>
    <anon>RaspberryPi</anon>
    <anon>Python</anon>
  </categories>
  <description>RaspberryPiを複数台使用していると、ssh接続したいRasPiのIPアドレスがわからないことがたまにあります。 研究所では数十台（は言い過ぎだけど、それなりの）のRasPiが運用されているので、本体とIPと関連付けが少し面倒くさいです。 なので、RasPiの電源をいれた時に、slackへ対応するIPアドレスを通知するプログラムを組んでみました。 準備 python3のモジュールnetifacesとslackwebを使います。これらをまだ導入してない場合は、ターミナルからそれぞれ $ python3 pip -m install netifaces $ python3 pip -m i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmegane.hatenablog.com%2Fentry%2F2018%2F10%2F19%2F104708&quot; title=&quot;RaspberryPiの起動時にslackにIPアドレスを投稿する - めがねの部品箱。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/T/Tmegane/20181019/20181019010938.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-19 10:47:08</published>
  <title>RaspberryPiの起動時にslackにIPアドレスを投稿する</title>
  <type>rich</type>
  <url>https://tmegane.hatenablog.com/entry/2018/10/19/104708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
