Skip to content

niruse/cuboai

Repository files navigation

🍼 CuboAI Home Assistant Integration

CI codecov HACS

Bring your CuboAI baby monitor into Home Assistant!
Monitor alerts, camera status, subscription, and more—directly in your smart home dashboard.


☕ Support

If you found this project helpful, you can buy me a coffee!


🚨 Disclaimer

Warning:
This is an unofficial integration.
You are fully responsible for the use of your credentials and your data.
The author and contributors take no responsibility for any issues, account restrictions, or data loss that may occur.

Use at your own risk.


✨ Features

  • Sensor for baby info (name, gender, birth date)
  • Sensor for last CuboAI alerts (with image thumbnails)
  • Optionally download alert images locally for fast, private display
  • Sensor for subscription status (Premium, trial, grace period, etc.)
  • Sensor for camera online/offline state
  • Support for multiple CuboAI cameras (multi-instance integration)
  • Easy authentication with CuboAI (uses pycognito for SRP/AWS Cognito)
  • All data stays local—no cloud polling from Home Assistant servers

🛠️ Installation

📦 Installation via HACS

  1. Go to HACS in Home Assistant.
  2. Click the three dots menu (⋮) > Custom repositories.
  3. Add this repository URL:
    https://github.com/niruse/cuboai
  4. In the Category dropdown, select Integration.
  5. Click Add.
    HACS Custom Repository
  6. Search for CuboAI in HACS and click Install.
  7. Restart Home Assistant to complete the installation.

📁 Manual Installation

  1. Download the cuboai folder from this repository
  2. Place it in /config/custom_components/ on your Home Assistant instance
  3. Restart Home Assistant

Sample Images of Sensors

Here are example screenshots from the CuboAI integration:

Last 5 Alerts Sensor Card

CuboAI Alerts Example

Camera State & Subscription Status

CuboAI Camera and Status Example

CuboAI Camera and Subscription Example

Baby Info

CuboAI Camera and Subscription Example

🖥️ Example Lovelace Dashboard

Below is a sample of how you might present the alerts in a Markdown card, including event images: CuboAI Dashboard sample

💡 Replace {{Your Baby Name}} with the actual entity suffix (e.g., nir).

type: markdown
title: 🍼 CuboAI Last 5 Alerts
content: >
  {% set alerts = state_attr('sensor.cuboai_last_alert_{{Your Baby Name}}', 'alerts') %}

  {% if alerts %}

  | Type | Time | Image |

  |------|------|-------|

  {% for alert in alerts %}

  | **{{ alert['type'].replace('CUBO_ALERT_','').replace('_',' ').title() }}**
  | 
    {{ as_timestamp(alert['created']) | timestamp_custom('%Y-%m-%d %H:%M', true) }} | 
    {% if alert['image'] %}![img]({{ alert['image'] }}){% else %}-{% endif %} |
  {% endfor %}

  {% else %}

  _No recent alerts_

  {% endif %}

🤝 Contributing

We welcome:

  • 🔧 Bug fixes
  • 🌟 Features
  • 🧠 Suggestions

Submit a PR or open an issue

About

Home Assistant integration for Cubo AI baby monitor.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages