Skip to main content

Notifications

Get instant alerts when device status changes.

Notification typesโ€‹

TypeMeaningExample
๐Ÿ”ด OfflineDevice disconnected"Living room fan went offline"
๐ŸŸข OnlineDevice reconnected"Bedroom LED is back online"
๐Ÿ”” State ChangedState update"Living room light turned on"

Delivery channelsโ€‹

Push (FCM)โ€‹

Mobile push via Firebase โ€” works when the app is closed.

In-appโ€‹

Dashboard bell icon and full notifications page in web + Flutter.

Developer setupโ€‹

Add FIREBASE_PROJECT_ID and place the service account JSON at storage/app/firebase-service-account.json (see FIREBASE_CREDENTIALS in .env). Run php artisan tenants:migrate, and configure Firebase files in the Flutter app.

Pusher channel: tenant.{subdomain}.notifications
Event: device.notification.sent