An open API service indexing awesome lists of open source software.

https://github.com/gentslava/elektronny-gorod

Интеграция Электронный город (Новотелеком) и Дом.ру для Home Assistant
https://github.com/gentslava/elektronny-gorod

app automation cloud elektronny-gorod hacs home-assistant homeassistant integration myhome novotelecom

Last synced: about 1 month ago
JSON representation

Интеграция Электронный город (Новотелеком) и Дом.ру для Home Assistant

Awesome Lists containing this project

README

          

[English](/README.md) | [Русский](/README.ru_RU.md)


Home Assistant
Custom Integration
Elektronny Gorod API
Dom.ru API
Devices
English language

# Home Assistant Elektronny Gorod & Dom.ru Integration



Elektronny Gorod (Novotelecom) logo


My Home app logo




Dom.ru logo


Umnyy Dom.ru app logo

This is a custom integration for Home Assistant that allows you to integrate with the Elektronny Gorod (Novotelecom) and Dom.ru services. It implements the APIs of the My Home – Elektronny Gorod and Umnyy Dom.ru applications.

Add your intercoms, cameras and locks to Home Assistant.

## Installation

### Manually

Copy the `custom_components/electronic_city` directory to your Home Assistant `config/custom_components` directory.

```bash
git clone https://github.com/gentslava/elektronny-gorod.git
cp -r elektronny-gorod YOUR_HASS_CONFIG_DIR/custom_components/
```

Restart Home Assistant.

### Via [HACS](https://hacs.xyz/)
Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

## Configuration
Open your Home Assistant instance and start setting up a new integration.

or manually:

1. Go to the Home Assistant UI.
2. Navigate to Configuration -> Integrations.
3. Click the "+" button to add a new integration.
4. Search for "Elektronny Gorod" and select it.
5. Follow the on-screen instructions to complete the integration setup.

## Features

- Integration with Elektronny Gorod and Dom.ru services (works with My Home and Umnyy Dom.ru apps).
- View available contracts and add as much as you need.
- Request and enter an SMS code or password for authentication.
- Add available intercoms, cameras and locks.
- Get previews and streams from intercoms and cameras.
- Manage the opening of locks in real time.
- View your account balance.

> **New:** Now you can connect cameras via [go2rtc](https://github.com/AlexxIT/go2rtc) — this method allows you to get audio from cameras and provides faster and more stable video streaming.

## Camera connection via go2rtc

Integration with [go2rtc](https://github.com/AlexxIT/go2rtc) is supported for Elektronny Gorod and Dom.ru cameras. This method allows you to:
- Get audio stream from cameras.
- Get faster and more stable video stream (low latency, fewer disconnects).

### How to connect

1. Install and configure [go2rtc](https://github.com/AlexxIT/go2rtc) in Home Assistant (via HACS or manually).
2. In the Elektronny Gorod/Dom.ru integration settings, select the stream method via go2rtc (or specify the go2rtc link in the camera settings).
3. After that, cameras will automatically appear in Home Assistant with audio support and improved video.

#### Using with already configured integrations

If you already have cameras set up via the standard integration, just enable go2rtc support in the integration or camera settings — you do not need to re-add devices.

**Note:** For audio and low latency to work, make sure your go2rtc and Home Assistant versions are up to date.

## Automation example
Here is an example of automation for low balance notification:

```yaml
automation:
- alias: "Low balance notification"
trigger:
- platform: numeric_state
entity_id: sensor.elektronny_gorod_balance
below: 100
action:
- service: notify.notify
data:
message: "Your account balance in Elektronny Gorod is below 100 rubles."
```

## Issues and Contributions

If you encounter any issues or have suggestions for improvements, please [open an issue](https://github.com/gentslava/elektronny-gorod/issues) on GitHub.

Feel free to contribute to the project by forking the repository and creating pull requests.

## Credits

Apple device types https://gist.github.com/adamawolf/3048717

[go2rtc](https://github.com/AlexxIT/go2rtc) — project for streaming video and audio

## License

This integration is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.