diff --git a/README.md b/README.md index 719874c..a8aa594 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Before the Jackery integration can receive any data, **two things must be in pla - Use the vendor/Jackery mobile app to add the device/gateway and complete its initial setup. - **⚠️ APP Version Requirement**: Jackery APP version must be greater than **2.0.0** to support this integration. - Make sure the device has network access and is configured so that it can connect to your MQTT/cloud backend. - - In the Jackery app, long-press the app logo to open the configuration screen. + - Go to Device Details Page > Settings > MQTT in the Jackery app to open the configuration page. - In the Jackery app configuration, **replace the IP with the address of your own MQTT server**. ![jackery_config](./img/app_config_mqtt.png) @@ -55,21 +55,15 @@ Before the Jackery integration can receive any data, **two things must be in pla - Add repository URL: `https://github.com/ht-it-lab/jackery` - Category: `Integration` - Click **Add** -2. **Install the integration** - - - In HACS, search for **"Jackery"** - - Click **Install** - - Restart Home Assistant -3. **Configure the integration** - +2. **Configure the integration** - Go to **Settings → Devices & Services → Add Integration** - Search for **"Jackery"** - **Enter your Token** (Required for authentication) - You can find this token in your Jackery app settings or device documentation. - Enter an MQTT topic prefix if needed (default: `hb`) - Submit to finish configuration - ![config](./img/jackery_home_add.png) - ![config](./img/jackery_home_config.png) + ![config](./img/jackery_home_add.png) + ![config](./img/jackery_home_config.png) > **Requirement**: The built-in **MQTT integration** must be configured and connected to your MQTT broker **before** Jackery will work. ### Example: Energy Flow Card Plus diff --git a/custom_components/jackery/sensor.py b/custom_components/jackery/sensor.py index 406bddc..c6adeb7 100644 --- a/custom_components/jackery/sensor.py +++ b/custom_components/jackery/sensor.py @@ -288,22 +288,22 @@ SENSORS = { "device_class": None, "state_class": SensorStateClass.MEASUREMENT, }, - "is_auto_standby": { - "json_key": "isAutoStandby", - "name": "Auto Standby Allowed", - "unit": None, - "icon": "mdi:power-sleep", - "device_class": None, - "state_class": None, # 1-Allowed, 0-Not Allowed - }, - "auto_standby_status": { - "json_key": "autoStandby", - "name": "Auto Standby Mode", - "unit": None, - "icon": "mdi:power-sleep", - "device_class": None, - "state_class": None, # 0-Invalid, 1-Sleep/Off, 2-On - }, + # "is_auto_standby": { + # "json_key": "isAutoStandby", + # "name": "Auto Standby Allowed", + # "unit": None, + # "icon": "mdi:power-sleep", + # "device_class": None, + # "state_class": None, # 1-Allowed, 0-Not Allowed + # }, + # "auto_standby_status": { + # "json_key": "autoStandby", + # "name": "Auto Standby Mode", + # "unit": None, + # "icon": "mdi:power-sleep", + # "device_class": None, + # "state_class": None, # 0-Invalid, 1-Sleep/Off, 2-On + # }, # Calculated Sensors "home_power": { diff --git a/img/app_config_mqtt.png b/img/app_config_mqtt.png index d0745fb..48468f2 100644 Binary files a/img/app_config_mqtt.png and b/img/app_config_mqtt.png differ