กลับไปหน้ารวมไฟล์
push-notifications-with-pushsafer-ios-android-win10-acd039.md

ชื่อโปรเจกต์: ส่งแจ้งเตือน Push Notification ด้วย Pushsafer (iOS, Android, WIN10)

ส่งการแจ้งเตือนจาก [Arduino](https://s.shopee.co.th/7fUgFAWSki) ของเราผ่าน Pushsafer ได้ง่ายๆ เลยน้อง

Pushsafer ช่วยให้การส่งและรับ Push Notification แบบ Real-time เป็นเรื่องง่ายและปลอดภัยสุดๆ บนเครื่องของพวกเรา ไม่ว่าจะเป็น:

  • อุปกรณ์ Android
  • อุปกรณ์ iOS (ทั้ง iPhone, iPad, iPod Touch จัดไปให้ครบ)
  • Windows Phone และ Desktop
  • Browser (Chrome และ Firefox)

จะเอาไปใช้กับ IP Camera, [Sensor](https://s.shopee.co.th/7VBG2rX65j) ต่างๆ, ปุ่มกด, ระบบ Alert หรือจะประยุกต์ทำอะไรต่อยอดก็จัดไปวัยรุ่น งานนี้หล่อเท่แน่นอน!

โค้ดตัวอย่าง:

เจาะลึกทางเทคนิคกันหน่อย (TECHNICAL DETAILS)

ระบบส่งการแจ้งเตือนผ่าน Cloud (Cloud Alerting Pipeline)

โปรเจกต์นี้จะทำให้ Sensor ที่ต่อกับ Arduino ของเราเทพขึ้น เพราะมันสามารถ "Ping" ไปสะกิดเจ้าของได้ทุกที่ทั่วโลกเลยนะเว้ย

  • การเชื่อมต่อ API: เราจะใช้ Pushsafer API โดยให้ Board ที่ต่อเน็ตได้ (อย่างพวก ESP8266, ESP32 หรือ MKR WiFi 1010) ส่ง HTTP POST Request ไปที่ Server ของ Pushsafer
  • การจัดการ Payload: ใน Request จะมี Private Key เฉพาะตัวของเรา, เนื้อหาข้อความ (เช่น "เห้ย! มีคนบุกรุก") และพวก Parameter เสริมอย่างเสียงแจ้งเตือนหรือ Icon เก๋ๆ ก็เลือกปรับได้ตามใจชอบ

ส่งได้ทุก Platform (Cross-Platform Delivery)

เนื่องจาก Pushsafer มันซัพพอร์ตทั้ง iOS, Android และ Windows 10 ดังนั้นแค่ Arduino ตัวเดียวสั่ง Trigger ครั้งเดียวเนี่ย มันเด้งเตือนพร้อมกันทุกเครื่องที่น้องมีเลยนะ เหมาะมากสำหรับเอาไปทำเป็นกระดูกสันหลังให้ระบบ DIY Home Security, ตรวจจับน้ำท่วม หรือระบบ Industrial Monitoring แบบทางไกล สู้งานนะน้อง ห้ามทำบอร์ดช็อตล่ะ!

ข้อมูล Frontmatter ดั้งเดิม

title: "Push-Notifications with Pushsafer (iOS, Android, WIN10)"
description: "Pushsafer makes it easy to send and receive push-notifications in real-time on Android, Windows 10 or iOS devices."
author: "pushsafer"
category: "Internet of Things, BT & Wireless"
tags:
  - "iphone"
  - "win10"
  - "ipad"
  - "push"
  - "pushnotification"
  - "push-notification"
  - "smartphone"
  - "android"
  - "ios"
  - "windows10"
views: 37729
likes: 12
price: 699
difficulty: "Easy"
components:
  - "1x Arduino UNO Wifi Rev.2"
  - "1x DHT22 Temperature Sensor"
  - "1x ESP8266 ESP-01"
  - "1x Temperature Sensor"
  - "1x PIR Motion Sensor (generic)"
tools: []
apps:
  - "1x Pushsafer.com Account"
  - "1x Pushsafer iOS APP"
  - "1x Pushsafer Windows 10 APP"
  - "1x Pushsafer Android APP"
downloadableFiles:
  - "https://github.com/appzer/pushsafer-arduino-library"
documentationLinks: []
passwordHash: "d7a4e020392feb18256514f79a921bfa5a8aa1273d01ef0b03444c7336cd36dd"
encryptedPayload: "U2FsdGVkX18/Wh1V/N4U/yEXpx0+bA+hASYIG35uR1XP3uF5lJrwiu33SnN4Hju5ZF5Mk6MDuY9+9zebLufkYJExIh+HxoZzXeRIrP+U0bnyeEnY4mU3drTdYdv9Hl6sblW0GIXDE5IKqx2ulC62xzvgZixLdcZHffcAQu8UInmdbGjhZYH9/4jzdsORQdBvdfdwTNJOzEumVppdHj17/w=="
seoDescription: "Send real-time Push-Notifications to iOS, Android, and Windows 10 devices using Pushsafer in your Arduino projects."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/push-notifications-with-pushsafer-ios-android-win10-acd039_cover.jpg"
lang: "th"