Git Product home page Git Product logo

dataplicity's Introduction

Main projects

  1. go2rtc - Ultimate camera streaming application

    Golang, RTP, SRTP, RTSP, SDP, RTMP, WebRTC, HomeKit, fMP4, MSE, MJPEG, HLS, H264, ONVIF backchannel, REST, WebSocket, STUN, TURN, mDNS, Docker, FFmpeg, Ngrok
  2. SonoffLAN - Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant

    Python, REST, WebSocket, mDNS, RF433, eWeLink API
  3. XiaomiGateway3 - Control Zigbee, BLE and Mesh devices from Home Assistant with Xiaomi Gateway 3 on original firmware

    Python, bash, Telnet, REST, MQTT, miIO, MIoT, Bluetooth Mesh, Bluetooth BLE, MiBeacon, Silicon Labs EFR32, Zigbee EZSP, ZHA, zigbee2mqtt
  4. WebRTC Camera - View an camera RTSP-stream in real time (without any delay) using WebRTC technology

    Python, golang, RTSP, WebRTC, MSE, STUN, TURN, Chromecast
  5. HassWP - Portable version of Home Assistant for Windows (no need to install)

    Windows batch scripts, Python Virtual Environments

Other projects

  1. DashCast - Cast any site from Home Assistant to Chromecast
  2. Dataplicity - Public HTTPS access to Home Assistant with Dataplicity service
  3. StreamAssist - Turn almost any camera and almost any speaker into a local voice assistant
  4. PythonScriptsPro - Advanced version of python scripts for Home Assistant without limits
  5. Ergomotion Smart Beds - Control Ergomotion Smart Beds via Bluetooth module from Home Assistant
  6. Jura Coffee Machines - Control Jura Coffee Machines via Bluetooth module from Home Assistant
  7. Hass Diagnostics - Diagnostics entities for Home Assistant
  8. SSHCommand - Run SSH commands on remote host from Home Assistant
  9. OpenmiIO - Daemon app for Xiaomi Gateways
    Golang, MIPS, ARM, MQTT, miIO, serial, Silicon Labs EFR32, Lua, JSON-RPC

Russian projects

  1. YandexStation - Управление Яндекс.Станцией и другими колонками с Алисой из Home Assistant

    Python, REST, WebSocket, mDNS, TTS, NLU, Audio streaming, DLNA
  2. YandexDialogs - Управление Home Assistant через Яндекс.Диалоги
  3. MorphNumbers - Компонент Home Assistant для работы с числительными в Jinja2
  4. GyverLamp - Home Assistant компонент для интеграции лампы Гайвера на оригинальной прошивке

Contacts

Links

Hardware

Task Device Arch
for live MacBook Pro M1 mac arm64 + amd64
for dev Parallels Desktop win arm64 + amd64
home server Intel Nuc 10 i3 linux amd64
test server Raspberry Pi 3 linux arm

My personal thanks to JetBrains for great software and license for open source.

Donation

ЮMoney (если вы в России)

BTC: bc1qd826y7z7t3k5rfk2vvuzsprmep4uncq0ux2dya
ETH: 0xC1b61c51a66bAD79C71137D47F3e1789d9fB5985
TON: UQAT3xw0_edgJeEvv3HwEcs8I61TcqaKzOtADeR1ksdAUgl9
TRC20: TVnuJ5g5qz9F2UncCWV3wLch7ZkJL6Hj95

AlexxIT

dataplicity's People

Contributors

alexxit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dataplicity's Issues

"unable to retrieve interface" in v1.0.4

Logger: agent
Source: /usr/local/lib/python3.9/site-packages/dataplicity/device_meta.py:52
First occurred: 8:22:12 (1 occurrences)
Last logged: 8:22:12

unable to retrieve interface information

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/dataplicity/device_meta.py", line 50, in get_ip_address_list
interfaces = get_all_interfaces()
File "/usr/local/lib/python3.9/site-packages/dataplicity/iptool.py", line 45, in get_all_interfaces
ifaces = if_buffer.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'

Проблемы подключение к dataplicity

Доброго времени! Опять проблема подключения к dataplicity. На сайте устройство мигает, затем зеленое. Но зайти в консоль не получается, ошибка - *** connection closed ***, ссылка на HA конечно не работает - Server Unavailable
The Dataplicity server is unavailable. Please try again later . Судя по всему проблема плавающая. Не могу понять это у меня или нет. Написал в dataplicity. Они ответили - Sorry about these issues . We'll be investigating them as soon as possible . I haven't gotten any reports today with regards to this issue and all my test devices are running fine too . Any chance you could check the logs on your device to see if it's something more local ? The logs can be found at /var/log/dataplicity.log . Подскажите где найти лог? Или может есть решение о котором мне не известно. Заранее спасибо!

[agent] unable to associate m2m identity

Today I started to receive this kind of errors:

2021-12-11 16:10:54 ERROR (m2m) [agent] unable to associate m2m identity ("m2m.associate"=-32603, "Internal error. put m2m/devices/5905db75-746c-4f05-8eb0-208e2ddb0aee/ <Response [500]>")

Logger: agent
Source: /srv/homeassistant/lib/python3.8/site-packages/dataplicity/client.py:308 
First occurred: 11 декабря 2021 г., 16:10:46 (13 occurrences) 
Last logged: 11 декабря 2021 г., 16:12:00

unable to associate m2m identity ("m2m.associate"=-32603, "Internal error. put m2m/devices/5905db75-746c-4f05-8eb0-208e2ddb0aee/ <Response [500]>")

Location Updates are Failing

I have installed and running this custom component and almost everything is working very well. Thanks for your efforts. The only issue I'm experiencing so far is that although I can see that the location services are updating in the companion app for iOS, these updates aren't reflecting on HA. I'm running HA 2022.11.4 and Companion App 2022.10.1 (2022.424) on iOS 16.1.1. The event log is full of messages like "current location delivery triggered via background fetch" and "didn't update: location update from the past".

Home Assistant can no longer connect to backend

I've been using the add-on for a couple of years now, however after a recent update to HA, I can no longer connect to the backend when accessing over dataplicity.

After the Login pages I constantly get messages along the lines of

`Unable to connect to Home Assistant.

Retrying in 44 seconds...

`

V1.0.4 "unable to retrieve interface information"

Logger: agent
Source: /usr/local/lib/python3.9/site-packages/dataplicity/device_meta.py:52
First occurred: 8:22:12 (1 occurrences)
Last logged: 8:22:12

unable to retrieve interface information

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/dataplicity/device_meta.py", line 50, in get_ip_address_list
interfaces = get_all_interfaces()
File "/usr/local/lib/python3.9/site-packages/dataplicity/iptool.py", line 45, in get_all_interfaces
ifaces = if_buffer.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'

The various Hass menus don't open

Source: components/system_log/init.py:190
Повторяется огромное количество раз. Сам сайт работает глючно. Часто не открываются различные меню и тд
Home assistant 2021.7.3

unable to connect to remote device

Установил на HA который установлен образом на rasspberry pi 3 b+
После установке в интерфейсе РФ в интеграциях появляется созданная закладка.
На сайте вижу, что устройство оффлайн: https://prnt.sc/1ccrtjj
Как диагностировать не понимаю. Пробовал проделывать операцию заного - не помогает.
Устанавливал через добавление репозитория в hacs.
В HA выглядит так: https://prnt.sc/1ccsima
HA версия 2021.7.3
Как продиагностировать проблему?

States of Light Bulbs with Tuya v2 integration lose connection and not updated with Dataplicity

Hi
I have noticed that the lights that I have with the Tuya v2 integration lose connectivity and do not update after the first interaction when I log in from Dataplicity.
That is, if the light was off I can turn it on, it shows the change but then the light is inaccessible and I can no longer operate or turn it off.
When exiting and re-entering HA it does the same again, it allows me to control the action only the 1st time and then I have no more access.
Could it be some open / closed ports issue?

Home Assistant & Dataplicity

Hi All,

I´m using Home Assistant (HA) 2023.1.1 & Dataplicity (DP), but with the latest HA upgrades I run into an dependency issue:

  • to work properly HA needs six==1.16.0, otherwise e.g. USB ports not working
  • the DP custom component (based on DP 0.40.x) version for HA needs six==1.10.0, otherwise it will not be loaded in HA Core environment

Rasbian Bullseye, Python 3.10.9, HA Core Version in an VENV environment...

Any hints, any chance to get this fixed?

Kind regards!
Jo

Error HA 2024.3.1

Источник: /usr/local/lib/python3.12/site-packages/dataplicity/client.py:196
Первое сообщение: 16:41:38 (16 сообщений)
Последнее сообщение: 16:56:34

sync failed unable to contact JSONRPC server 'https://api.dataplicity.com' (urlopen error _ssl.c:983: The handshake operation timed out)

Home Assistant
Core
2024.3.1
Supervisor
2024.03.0
Operating System
12.1
Пользовательский интерфейс
20240307.0

crashes on app launch

Home Assistant 2023.1.5
Supervisor 2022.12.1
Frontend 20230110.0-latest

The Dataplicity add-on is installed. Worked for over a year with no problems. Since yesterday, when launching an application on android, not from the home network, but at the address https://ххххх-ххххх.dataplicity.io throws out. Sometimes you get this message. see screenshot

Screenshot_20230117_202921_Home Assistant
Установлено дополнение Dataplicity. Работало больше года без проблемм. Со вчерашнего дня при запуске приложения на android не из домашней сети, а по адрессу https://ххххх-ххххх.dataplicity.io выкидывает. Иногда выскакивае вот такое сообщение. смотрите скрин

Не работает

00000

Обновил НА до
Home Assistant 2023.6.1
Supervisor 2023.06.2
на всякий случай в ручную переустановил Dataplicity заново.
сервис Dataplicity машину видит но пишет что НА offline
в логе все время сыпется ошибка :

023-06-15 00:12:12.648 ERROR (m2m) [m2m] error handling websocket event
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 265, in run
self.on_event(event)
File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 281, in on_event
self.on_binary(event.data)
File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 327, in on_binary
self.on_packet(packet)
File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 347, in on_packet
self.dispatcher.dispatch(packet_type, packet_body)
File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/dispatcher.py", line 80, in dispatch
return self.dispatch_packet(packet)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/dispatcher.py", line 92, in dispatch_packet
arg_spec = inspect.getargspec(method)
^^^^^^^^^^^^^^^^^^

Странное подключение к dataplicity

Добрый день! Подскажите, пожалуйста. Я ребутнул роутер, после этого я подключиться не могу к dataplicity. Точнее в консоль. Не говоря уже о возможности зайти в HA из вне. В сам dataplicity устройство добавляется мигает, затем становится зеленым. Но в консоль зайти не могу. Точнее могу если обновлю страницу 10 раз по F5 и один какой то раз консоль будет доступна. Проверя пинг от HA до dataplicity, он как бы нормальный. Удалял интеграцию из HA и снова ее ставил. Но пока ничего не помогло( Может есть идеи с чем связано? И как мне логи посмотреть?

Очень долгая загрузка интеграции

Уже несколько десятков обновлений НА имею проблемы с ингергацией. Очень очень долго грузит.
Допустим, пришло обновление core, обновляю, перезагружается НА и всё, долгая загрузка, записи в лог что интеграция грузит больше 10 минут. И интеграция так и не загружается. Доступа нет.
Захожу в перезагрузить хост(типа комп перезагрузить полностью), опять долго грузит, но после этого работает без сбоев. И так до следующего обновления. Проблема примерно уже пол года, вспоминаю конечно только при обновлении в основном или при перезагрузках. Вот решил написать. Интеграцию помню пробовал переустанавливать с заменой имени хоста ещё с пол года назад

unable to associate m2m identity

Home Assistant 2021.12.9

Версия | core-2021.12.9

Тип установки | Home Assistant on OpenWrt
Среда разработки | false
Supervisor | false
Docker | false
Пользователь | root
Виртуальное окружение | false
Версия Python | 3.9.9
Семейство операционных систем | Linux
Версия операционной системы | 5.4.154
Архитектура ЦП | armv7l

Logger: agent
Source: deps/lib/python3.9/site-packages/dataplicity/client.py:308
First occurred: 15:51:45 (2 occurrences)
Last logged: 15:51:51

unable to associate m2m identity ("m2m.associate"=-32603, "Internal error. put m2m/devices/6def9172-7311-4c85-9982-0b58a8997be3/ <Response [500]>")

IP address changed

It appears that each request to the wormhole may come from a different proxy IP address (looks like an internal Dataplicity network 10.20/16). This is a problem when logging into HA because of the following check (components/auth/login_flow.py:270):

if flow["context"]["ip_address"] != ip_address(request.remote):
    return self.json_message("IP address changed", HTTPStatus.BAD_REQUEST)

So when the login page is opened, HA stores the remote IP address. Then when credentials are submitted, the IP address is compared with the stored one. Sometimes I get lucky and credentials are accepted, but then the second factor is requested which means yet another IP address check. I've never been able to get past that second check. I had to comment out the code in order to log in successfully.

Have you experienced it as well?

inspect.getargspec removed in Python 3.11

Logger: m2m
Source: /usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py:268
First occurred: 16:49:52 (1 occurrences)
Last logged: 16:49:52
error handling websocket event

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 266, in run
    self.on_event(event)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 282, in on_event
    self.on_binary(event.data)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 328, in on_binary
    self.on_packet(packet)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/wsclient.py", line 348, in on_packet
    self.dispatcher.dispatch(packet_type, packet_body)
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/dispatcher.py", line 80, in dispatch
    return self.dispatch_packet(packet)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dataplicity/m2m/dispatcher.py", line 92, in dispatch_packet
    arg_spec = inspect.getargspec(method)
               ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'

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.