Public HTTPS access to Home Assistant with Dataplicity service

Related tags

NetworkingDataplicity
Overview

Dataplicity integration for Home Assistant

hacs_badge Donate Donate

Custom component for public HTTPS access to Home Assistant with Dataplicity service.

Should work on any Linux PC or ARM, not only Raspberry as Dataplicity service said. Don't work on Windows.

With free Dataplicity subscription - limited to only one server.

But if you have an extra $5 per month - it's better to use Nabu Casa service for public HTTPS access to Home Assistant. In this way you can support the core developers of Home Assistant.

Install

You can install component with HACS custom repo (example): AlexxIT/Dataplicity.

Or manually copy dataplicity folder from latest release to custom_components folder in your config folder.

Config

With GUI: Configuration > Integrations > Plus > Dataplicity > Follow instructions.

If the integration is not in the list, you need to clear the browser cache.

Comments
  • 504 Gateway

    504 Gateway

    Hello. Do not work Dataplicity. When i try to coonect with https://unushered-snowshoe-3154.dataplicity.io/ i get 504 error.

    Dataplisity can connect to ssh of HA

    core-2021.5.4 supervisor-2021.06.6

    opened by wisesokol 20
  • V1.0.4

    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'

    bug 
    opened by Gferretta 6
  • listening to a different port in the wormhole rather than 80

    listening to a different port in the wormhole rather than 80

    The title speaks for itself but let me ask it anyway. Is there a way to listen to a different port in the wormhole setup rather than the default port 80?

    question 
    opened by anu43 3
  • [agent] unable to associate m2m identity

    [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]>")
    
    wontfix 
    opened by meliborn 3
  • The various Hass menus don't open

    The various Hass menus don't open

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

    wontfix 
    opened by F0min-ivan 2
  • Странное подключение к dataplicity

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

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

    opened by dangerdanik 1
  • unable to associate m2m identity

    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]>")

    question 
    opened by akonstster 1
  • States of Light Bulbs with Tuya v2 integration lose connection and not updated with Dataplicity

    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?

    duplicate 
    opened by Gferretta 1
  • unable to connect to remote device

    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 Как продиагностировать проблему?

    opened by gumileeev 1
  • "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'

    opened by Gferretta 0
  • Location Updates are Failing

    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".

    opened by cihanulusoy 0
  • Очень долгая загрузка интеграции

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

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

    enhancement 
    opened by M0DDer 1
  • IP address changed

    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?

    opened by swiergot 1
  • Проблемы подключение к dataplicity

    Проблемы подключение к 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 . Подскажите где найти лог? Или может есть решение о котором мне не известно. Заранее спасибо!

    opened by dangerdanik 4
Releases(v1.0.5)
Owner
Alex X
Lok’tar Ogar
Alex X
Simple Port Scanner script written in Python, plans is to expand upon this script to turn it into a GUI based pen testing suite

PortScanner Simple Port Scanner script written in Python, plans is to expand upon this script to turn it into a GUI based pen testing suite. #IMPORTAN

1 Oct 23, 2021
Python tutorial for implementing Oxylabs' Residential Proxies with AIOHTTP

Integrating Oxylabs' Residential Proxies with AIOHTTP Requirements for the Integration For the integration to work you'll need to install aiohttp libr

Oxylabs.io 6 Sep 14, 2022
pyWhisker is a Python equivalent of the original Whisker made by Elad Shamir and written in C#.

PyWhisker pyWhisker is a Python equivalent of the original Whisker made by Elad Shamir and written in C#. This tool allows users to manipulate the msD

Shutdown 325 Jan 08, 2023
A lightweight python script that can monitor the T-Mobile Home Internet Nokia 5G Gateway for band and connectivity and reboot as needed.

tmo-monitor A lightweight Python 3 script that can monitor the T-Mobile Home Internet Nokia 5G Gateway for band and connectivity and reboot as needed.

61 Dec 17, 2022
The module that allows the collection of data sampling, which is transmitted with WebSocket via WIFI or serial port for CSV file.

The module that allows the collection of data sampling, which is transmitted with WebSocket via WIFI or serial port for CSV file.

Nelson Wenner 2 Apr 01, 2022
订阅转换,添加免流host

普通订阅转免流订阅 原理 将原来的订阅解析后添加免流host 使用方法 服务器域名/&&订阅链接&&免流host&&转换后服务器前缀 我这里已经在服务器上搭建好了

163 Apr 01, 2022
a decompilation of NAP36 the widevine removal software for amz and nf used by p2p groups until it stoped working due to it using expired cdm keys

NAP36 a decompilation of NAP36 the widevine removal software for amz and nf used by p2p groups until it stoped working due to it useing expired cdm ke

9 Aug 29, 2021
A Simplest TCP client and echo server

Простейшие TCP-клиент и эхо-сервер Цель работы Познакомиться с приемами работы с сетевыми сокетами в языке программирования Python. Задания для самост

Юля Нагубнева 1 Oct 25, 2021
Utility for converting IP Fabric webhooks into a Teams format.

IP Fabric Webhook Integration for Microsoft Teams Setup IP Fabric Setup Go to Settings Webhooks Add webhook Provide a name URL will be: 'http://Y

Community Fabric 1 Jan 26, 2022
ARTEMIS: Real-Time Detection and Automatic Mitigation for BGP Prefix Hijacking.

ARTEMIS: Real-Time Detection and Automatic Mitigation for BGP Prefix Hijacking. This is the main ARTEMIS repository that composes artemis-frontend, artemis-backend, artemis-monitor and other needed c

INSPIRE Group @FORTH-ICS 273 Jan 01, 2023
Automated network configuration backups using Github actions and git-scraping

Network Config Scraper This repository demonstrates the use of Github Actions and git-scraping to build an automated backup solution for network confi

WWT 19 Dec 14, 2022
mitm6 is a pentesting tool that exploits the default configuration of Windows to take over the default DNS server.

mitm6 is a pentesting tool that exploits the default configuration of Windows to take over the default DNS server.

Fox-IT 1.3k Jan 05, 2023
Usbkill - an anti-forensic kill-switch that waits for a change on your USB ports and then immediately shuts down your computer.

Usbkill - an anti-forensic kill-switch that waits for a change on your USB ports and then immediately shuts down your computer.

Hephaestos 4.1k Dec 30, 2022
A Python3 discord trojan, utilizing discord webhooks for sending information.

Vape-Lite-RAT A Python3 discord trojan, utilizing discord webhooks for sending information. What you do with this code / project / idea is non of my b

NightTab 12 Oct 15, 2022
GhostVPN - Simple and lightweight TUI application for CyberGhostVPN

GhostVPN Simple and lightweight TUI application for CyberGhostVPN. Screenshot Us

Mehmet Ali KERİMOĞLU 5 Jul 27, 2022
Minimal, self-hosted, 0-config alternative to ngrok. Caddy+OpenSSH+50 lines of Python.

If you have a webserver running on one computer (say your development laptop), and you want to expose it securely (ie HTTPS) via a public URL, SirTunnel allows you to easily do that.

Anders Pitman 423 Jan 02, 2023
IPV4 network calculation project in Python

Curso de Python 3 do Básico ao Avançado Desafio: Calculando redes IPV4 Criar um programa que obtem um numero de IP com o prefixo da mascara de rede. O

Diego Guedes 3 Jan 21, 2022
PetrickScanner is a simple Python OOP TCP Port Scanner

PetrickScanner PetrickScanner is a simple Python OOP TCP Port Scanner Functions Python TCP Port Scanner DNS Resolver Random Scanner PLEASE ANY PROBLEM

11 Nov 30, 2021
Public HTTPS access to Home Assistant with Dataplicity service

Custom component for public HTTPS access to Home Assistant with Dataplicity service. Should work on any Linux PC or ARM, not only Raspberry as Dataplicity service said. Don't work on Windows.

Alex X 70 Oct 03, 2022
Automatic Proxy scraper and Proxy-rotating Nitro Generator.

Automatic Proxy scraper and Proxy-rotating Nitro Generator.

Tawren007 2 Nov 08, 2021