---
title: "SunLogin integration"
description: "SunLogin integration is a Marketplace integration for Home Assistant. It has 93 installs sharing analytics, needs the vendor's cloud and was last updated September 14, 2025."
canonical: "https://vulpo.app/integrations/marketplace/cx3y-sunlogin"
url: "https://vulpo.app/integrations/marketplace/cx3y-sunlogin.md"
last-updated: "2026-10-23"
version: "1.4"
---

# SunLogin integration

> SunLogin integration is a Marketplace integration for Home Assistant. It has 93 installs sharing analytics, needs the vendor's cloud and was last updated September 14, 2025.

SunLogin integration connects SunLogin smart plug devices to Home Assistant through the vendor's cloud. It adds sensors for power, current, voltage and electricity use over several periods, plus power readings by time slot. It also adds switches for the relays, the LED, a default switch and a remote switch. Setup runs in the UI and asks for a local IP address, plus either a username with a password or a username with a verification code. Options cover adding, editing and deleting devices, and several update intervals. Further options include a DNS injector with its own server and interval, and a proxy.

Automatic summary of the README and code of cx3Y/sunlogin. Something wrong, or are you the maintainer and want your own text here? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/hacs_repository/?owner=cx3Y&repository=sunlogin&category=integration)

On Home Assistant 2026.11 or newer? [Open it in the Marketplace](https://my.home-assistant.io/redirect/marketplace_repository/?owner=cx3Y&repository=sunlogin&category=integration)

## Supports

- **Uses the vendor's cloud**: Needs an internet connection and an account with the vendor.
- **From the Marketplace**: Installed through the Marketplace, formerly HACS.

## Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

### SunLogin Configuration

- **Username**
- **Password**

### Local Configuration

- **IP address**

### SunLogin Configuration

- **Username**
- **Verification Code**

### Add subswitch

- **ID**
- **Name**
- **Friendly name**
- **Current**
- **Current Consumption**
- **Voltage**
- **Add another switch**

### After setup

- **Add a new device**
- **Edit a device**
- **Delete a device**
- **Reconfigure Cloud API account**
- **Set remote update interval**
- **Set local update interval**
- **Set power consumption update interval**
- **Set configuration update interval**
- **Set token update interval**
- **Enable devices update**
- **Set devices update interval**
- **Enable DNS injector**
- **Set DNS server**
- **Set DNS update interval**
- **Enable proxy**

Texts from the code of [cx3Y/sunlogin](https://github.com/cx3Y/sunlogin).

## Entities

- **Sensors**: Power, Current, Voltage, Electricity(hour), Electricity(day), Electricity(week), Electricity(mounth), Electricity(last month), Power(slot0), Power(slot1), Power(slot2), Power(slot3), and 52 more
- **Switches**: Led, Default, Relay0, Relay1, Relay2, Relay3, Relay4, Relay5, Relay6, Relay7, Remote

## At a glance

- Kind: Marketplace integration
- Number: 93 installs sharing analytics; 88 GitHub stars
- Connection: Needs the vendor's cloud
- Upkeep: No update in 6 to 18 months
- Needs: Needs the Marketplace (HACS on 2026.10 and older)
- Latest version: v3.0.8, last updated September 14, 2025
- Domain: `sunlogin`
- Source: <https://github.com/cx3Y/sunlogin>
- Issues: <https://github.com/cx3Y/sunlogin/issues>

In Vulpo: Quick Toggle card, Chart card, Apple Watch, Control Center

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-23. Source: https://vulpo.app/integrations/marketplace/cx3y-sunlogin

---

- HTML version of this page: https://vulpo.app/integrations/marketplace/cx3y-sunlogin
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
