Giter VIP home page Giter VIP logo

honor_x3's Introduction

Honor Router 3/X3 Integration in Home Assistant

Component to integrate the Huawei Honor X3 and Honor Router 3 (tested on model Honor X3 Pro and Honor Router 3).

Features

  • Publish the honor_x3.reboot service to reboot the router.
  • Provides a device_tracker to monitor the connection status of devices.

Example usage

# Setup the platform honor_x3
honor_x3:
  host: 192.168.0.1
  username: admin
  password: !secret router_password

# Enable and customize the tracker's parameters
device_tracker:
- platform: honor_x3
  interval_seconds: 60
  consider_home: 180
  new_device_defaults:
    track_new_devices: false

honor_x3's People

Contributors

juacas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

honor_x3's Issues

It also support huawei ax3 pro router,but still have some errors.

Hi,

Thanks for your works, I have a huawei ax3 pro router, and i try ur integrtion, fortunately, it also work.
device tracker can fetch the device info immediately,and all the device have a right state.

Issue:

But sometimes, all the devices state will change to "not home", actually the device never leave home. After a few minutes, the device state change to "home", I also login to the router to check that the device have never lost from the router.

And the homeassistant log is :

Logger: custom_components.honor_x3.device_tracker
Source: custom_components/honor_x3/device_tracker.py:50
Integration: Honor 3/X3 Router (documentation, issues)
First occurred: 2022年3月2日 24:45:26 (5128 occurrences)
Last logged: 24:34:03

Can't update device list

Logger: custom_components.honor_x3.device_tracker
Source: custom_components/honor_x3/device_tracker.py:99
Integration: Honor 3/X3 Router (documentation, issues)
First occurred: 2022年3月2日 24:45:26 (5128 occurrences)
Last logged: 24:34:03

Login failed: admin:[email protected]

Logger: custom_components.honor_x3.honorx3client.honor_x3_client
Source: custom_components/honor_x3/honorx3client/honor_x3_client.py:101
Integration: Honor 3/X3 Router (documentation, issues)
First occurred: 2022年3月2日 24:45:26 (5128 occurrences)
Last logged: 24:34:03

Failed to login: 'salt'
Failed to login: 'err'
Failed to login: HTTPSConnectionPool(host='192.168.3.1', port=443): Pool is closed.

Thanks again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.