کتاب 📘 خانه‌ات را با Go خودکار کن: ساخت مرکز داده شخصی با استفاده از Raspberry Pi، Docker، Prometheus و Grafana اثرRicardo Gerardi; Mike Riley

عنوان:

Automate Your Home Using Go

نویسنده:

Ricardo Gerardi; Mike Riley

انتشارات:

Pragmatic Bookshelf

نسخه:

pdf

حجم:

4.6MB

دانلود

معرفی کتاب: " خانه‌ات را با Go خودکار کن: ساخت مرکز داده شخصی با استفاده از Raspberry Pi، Docker، Prometheus و Grafana"

نویسندگان: Ricardo Gerardi و Mike Riley

کنترل خانه و داده‌هایتان را با قدرت زبان برنامه‌نویسی Go به دست بگیرید. با استفاده از Raspberry Pi و ابزارهای متن‌باز مانند Prometheus و Grafana، راهکارهایی قدرتمند و قابل اطمینان برای هوشمندسازی خانه بسازید که از سیستم‌های تجاری گران‌قیمت چیزی کم ندارند.

در این کتاب با مثال‌های گام‌به‌گام، پروژه‌های عملی می‌سازید که می‌توانند به‌عنوان الگو برای پروژه‌های شخصی‌تان استفاده شوند. تنها با یک Raspberry Pi و زبان Go، مرکز داده‌ای شخصی بسازید که هوشمندسازی خانه‌تان را مدیریت کند.

پروژه‌های کتاب شامل:

  • مانیتور دمایی که در صورت عبور از حد مجاز هشدار ارسال کرده و نمودارهای زمانی ایجاد می‌کند
  • تغییر رنگ چراغ‌ها بر اساس وضعیت آب‌و‌هوا
  • تشخیص حرکت و ارسال هشدار هنگام ورود افراد یا حیوانات
  • ساخت دوربینی درون فیدر پرنده که عکس‌های نزدیک از پرندگان گرفته و به دیسکورد ارسال می‌کند

برای انجام پروژه‌ها به چه چیزهایی نیاز دارید؟

  • آشنایی با زبان Go و لینوکس
  • Raspberry Pi 3 یا بالاتر، و Pi Pico W
  • قطعات الکترونیکی ارزان مانند حسگر لمسی و حسگر حرکت
  • سیستم روشنایی Philips Hue برای پروژه آب‌وهوا

اگر به دنبال ساخت پروژه‌های واقعی هوشمندسازی خانه هستید و می‌خواهید از تجربه و تخصص برنامه‌نویسی خود استفاده کنید، این کتاب دقیقاً برای شماست.

فهرست مطالب

  • Acknowledgments
  • Introduction
  • Part I. Setup
  • 1. Getting Started
  • Your Personal Data Center
  • Selecting a Raspberry Pi
  • Adding Other Hardware Components
  • Configuring the Software
  • Picking a Code Editor
  • Next Steps
  • 2. Building a REST API Server
  • Writing the Code
  • Containing the Server
  • Next Steps
  • 3. Deploying Your Personal Data Center
  • Deploying Applications with Linux Containers
  • Managing Source Code with Gitea
  • Monitoring and Alerting with Prometheus
  • Visualizing Data with Grafana
  • Next Steps
  • Part II. Projects
  • 4. Networking a Temperature Monitor
  • Understanding the Pico W Device
  • Polling the Temperature
  • Connecting the Pico W to Wi-Fi
  • Creating the Pico W REST Server
  • Creating the Prometheus Exporter
  • Containing and Deploying the Exporter
  • Creating the Grafana Dashboard
  • Next Steps
  • 5. Checking the (Garage) Door
  • Understanding the GPIO
  • Wiring the Magnetic Switch to the GPIO
  • Coding the Magnetic Switch
  • Sending Notifications
  • Writing the Software
  • Configuring and Testing the Application
  • Containerizing the Deployment
  • Next Steps
  • 6. Lighting the Weather
  • Polling the Weather
  • Changing the Color
  • Putting It All Together
  • Configuring the Application Settings
  • Containerizing and Deploying the App
  • Next Steps
  • 7. Watching the Birds
  • Setting Up the Camera and InfraRed Sensor
  • Writing the Software
  • Sending Motion Notifications
  • Containing the Application
  • Configuring the Bird Feeder
  • Next Steps
  • 8. Go Build
  • Designing Additional Projects
  • Expanding the Technologies
  • Improving Security
  • Advancing Electronics
  • Having Fun

مشخصات

نام کتاب

Automate Your Home Using Go

نویسنده

Ricardo Gerardi; Mike Riley

انتشارات

Pragmatic Bookshelf

تاریخ انتشار

2024

ISBN

9798888650509

تعداد صفحات

300

زبان

انگلیسی

فرمت

pdf

حجم

4.6MB

موضوع

Raspberry Pi