Giter VIP home page Giter VIP logo

hass-cudy-router's Introduction

Cudy router integration for Home Assistant

This is an unofficial integration of Cudy routers for Home Assistant.

Unofficial means that this is not supported by Cudy, file issues here, not for them.

As the project is in a really early stage (and who knows if it will be ever more than that), breaking modifications, like configuration or entity ID changes may be introduced. Please keep that in mind when using it.

Features

This integration logs in to the standard administration UI and scrapes the information from HTML pages. Although Cudy routers has a JSON RPC interface, it is not open for the public.

  • Provides sensors about 4G/LTE connection (network, cell, signal)
  • Provides sensors about devices (count, top bandwidth users)
  • Detailed report about configured devices (IP, bandwidth usage)

Installing

Create cudy_router folder in config/custom_components folder and copy repository content there. Alternatively it can be cloned in that folder.

Note that the folder name is important to avoid import errors.

Contributing

It started as my personal project to satisfy my own requirements, therefore it is far from complete.

It is only tested with my own LT18 router and with my Home Assistant installation. There's no guarantee that it's working on other systems. Feedback and pull requests are welcome.

For major changes, please open an issue first to discuss what you would like to change.

The project uses the code style configuration from Home Assistant Core.

License

GNU GPLv3

hass-cudy-router's People

Contributors

corebonts avatar

Stargazers

 avatar  avatar

Watchers

Stefan Lange-Hegermann avatar  avatar

hass-cudy-router's Issues

Files missing in repository

There are files being loaded that are missing from this repository:

Logger: homeassistant.helpers.integration_platform
Source: loader.py:850
First occurred: 9:25:04 PM (5 occurrences)
Last logged: 9:25:04 PM

Unexpected error importing cudy_router/diagnostics.py
Unexpected error importing cudy_router/recorder.py
Unexpected error importing cudy_router/media_source.py
Unexpected error importing cudy_router/logbook.py
Unexpected error importing cudy_router/system_health.py
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component
    platform = integration.get_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.cudy-router.diagnostics'

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.