Comments (39)
Ok, pamėginsiu, duosiu žinoti.
from hass-secolink.
You need to enable PSTN/GPRS reporting to your HASS IP address & port, don't forget to port forward in your router and add firewall rules. Let me know if you need more guidance.
from hass-secolink.
Hi,
I enabled LAN repoting to HA IP address on port 8125. Could you be more specific about port forward. Do I need make forward from Secolink IP to HA IP or samethng else?
from hass-secolink.
You need to port forward 8125 port on your router to HA IP address.
from hass-secolink.
sorry for mine obsession, but how to forward port on the same network. With my configutation HA and secolink is on the same network (192.168.1.160 for HA nd 192.168.1.110 for seco panel). Maybe I miss something on hardware configuration?
from hass-secolink.
Hi in HA log I geting error. Maybe it will help
2021-03-17 18:25:04 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up secolink platform for alarm_control_panel
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 200, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/secolink/alarm_control_panel.py", line 24, in setup_platform
add_devices([SecolinkAlarm(
File "/config/custom_components/secolink/alarm_control_panel.py", line 48, in init
server = ThreadedTCPServer((self._listen_ip, self._listen_port), ThreadedTCPRequestHandler)
File "/usr/local/lib/python3.8/socketserver.py", line 452, in init
self.server_bind()
File "/usr/local/lib/python3.8/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
from hass-secolink.
Is this full error? I cannot see exception message.
from hass-secolink.
Hi,
I have 4 isues with integration
Logger: homeassistant.loader
Source: loader.py:799
First occurred: 26 March 2021, 16:07:04 (2 occurrences)
Last logged: 26 March 2021, 16:07:05
You are using a custom integration secolink which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
You are using a custom integration platerecognizer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Logger: homeassistant.components.alarm_control_panel
Source: custom_components/secolink/alarm_control_panel.py:48
Integration: Alarm Control Panel (documentation, issues)
First occurred: 26 March 2021, 16:07:05 (1 occurrences)
Last logged: 26 March 2021, 16:07:05
Error while setting up secolink platform for alarm_control_panel
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 200, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/secolink/alarm_control_panel.py", line 24, in setup_platform
add_devices([SecolinkAlarm(
File "/config/custom_components/secolink/alarm_control_panel.py", line 48, in init
server = ThreadedTCPServer((self._listen_ip, self._listen_port), ThreadedTCPRequestHandler)
File "/usr/local/lib/python3.8/socketserver.py", line 452, in init
self.server_bind()
File "/usr/local/lib/python3.8/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 99] Address not available
Logger: homeassistant.components.alarm_control_panel
Source: components/alarm_control_panel/init.py:191
Integration: Alarm Control Panel (documentation, issues)
First occurred: 26 March 2021, 16:07:04 (1 occurrences)
Last logged: 26 March 2021, 16:07:04
AlarmControlPanel is deprecated, modify SecolinkAlarm to extend AlarmControlPanelEntity
Logger: homeassistant.loader
Source: loader.py:802
First occurred: 26 March 2021, 16:07:04 (1 occurrences)
Last logged: 26 March 2021, 16:07:04
No 'version' key in the manifest file for custom integration 'secolink'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'secolink'
from hass-secolink.
You can safely ignore first one. Third and Fourth will be fixed in next commit.
Second one is the reason why you having problems. Could you also paste what configuration are you using for secolink panel?
from hass-secolink.
from hass-secolink.
Hm, kodel mes lietuviškai nekalbam? Anyways, dar būtų gerai pamatyti kaip HA sukonfiguruotas secolink komponentas. Panašu, kad kažkas primaišyta ir pabandysim atsekti galus.
from hass-secolink.
Galim ir lietuviškai :)
alarm_control_panel:
- platform: secolink
name: Home
listen_ip: 192.168.1.109
listen_port: 8125
clientid: 0000
from hass-secolink.
O kodel tu listen_ip
nurodai 192.168.1.109
, kai tavo HA IP'as yra 192.168.1.160
?
from hass-secolink.
192.168.1.109 secolink panelės adresas.
from hass-secolink.
pas mane raportavimas per LAN, gal čia kabliukas?
from hass-secolink.
HA turi nurodyti IP, ant kurio bus "klausomasi" susijungimo. Paprastai, tai pačio HA IP adresas, tavo atveju 192.168.1.160
. Secolink panelėje turi nurodyti IP adresą, į kurį bus raportuojama, t.y. vel HA IP adresas - 192.168.8.1.160
.
from hass-secolink.
panelę sukūrė :) Ačiū. Dar reikia vietoje ryšį pasitikrint vakar atjungiau kabelį ir matyti neįkišau :) duosiu žinoti
beje ar nebuvo bandymų zonas "išsitraukti"?
from hass-secolink.
Nebandžiau, kadangi raportavimo protokolas šitos informacijos, kiek žinau, neraportuoja. Man užteko, kad tik signalizacijos statusą raportuotų (pagal tai valdau šildymą / apšvietimą namuose).
from hass-secolink.
Turiu dar klausymą. Man kažkodėl ryšys su centrale dingsta po keleto minučių (routeris rodo kad offline) tačiau pingas į centralės IP eina. Ištraukus fizikai laida ir vėl įkišus centralė prisijungia. iš/ į HA nenusiskaito. Gal teko susidurti? Gal reikia "versto" lan kabelio?
from hass-secolink.
HA nuskaito tik ijungus / isjungus apsauga. Panasu, kad centrale "uzmiega". Pas mane raportuoja per GPRS, tai negaliu tiksliai pakomentuoti. Gal pamegink ijungti "heartbeat" ir centrale neuzmigs?
from hass-secolink.
Dar keletas klaidų išmetė
Logger: custom_components.secolink.alarm_control_panel
Source: custom_components/secolink/alarm_control_panel.py:205
Integration: secolink (documentation, issues)
First occurred: 31 March 2021, 18:53:28 (190 occurrences)
Last logged: 18:06:36
Error parsing CSV IP message from 192.168.1.109
Logger: custom_components.secolink.alarm_control_panel
Source: custom_components/secolink/alarm_control_panel.py:206
Integration: secolink (documentation, issues)
First occurred: 31 March 2021, 18:53:28 (190 occurrences)
Last logged: 18:06:36
Error: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte
Logger: custom_components.secolink.alarm_control_panel
Source: custom_components/secolink/alarm_control_panel.py:206
Integration: secolink (documentation, issues)
First occurred: 31 March 2021, 18:53:28 (190 occurrences)
Last logged: 18:06:36
Error: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte
Logger: custom_components.secolink.alarm_control_panel
Source: custom_components/secolink/alarm_control_panel.py:207
Integration: secolink (documentation, issues)
First occurred: 31 March 2021, 18:53:28 (190 occurrences)
Last logged: 18:06:36
Line: 130
from hass-secolink.
Sveiki,
@algirdasc - ar visa ši aprašyta integracija veikia per Secolink modulį GSV6U?
from hass-secolink.
Sveiki,
@algirdasc - ar visa ši aprašyta integracija veikia per Secolink modulį GSV6U?
Taip. Aš asmeniškai į HA per GPRS raportavimą gaunu signalizacijos būseną.
from hass-secolink.
labas. Gal išėjo pasidomėti dėl klaidų per LAN modulį?
from hass-secolink.
Labas, ne, nepasidomejau. Siek tiek uzleidau sita moduli. Bet jei aktualu, galima bandyti paziureti kokius raw duomenis gauni, ir bandyti kazka pritaikyti. Jei https://github.com/algirdasc/hass-secolink/blob/master/custom_components/secolink/alarm_control_panel.py faile, 129 eiluteje pridetum:
_LOGGER.debug("data: {0}".format(data))
ir ijungtum hass-secolink modulio debug'a, galima paziureti ka ten siuncia/gauna tavo LAN modulis.
from hass-secolink.
Sveikas,
Kaip įjungti debug'ą?
from hass-secolink.
Home Assistant config'e, prie log'o turi nurodyti:
logger:
default: warn
logs:
custom_components.secolink.alarm_control_panel: debug
Svarbiausia yra:
logs:
custom_components.secolink.alarm_control_panel: debug
Visa kita, jei nusistates kazkaip custom - gali palikti.
from hass-secolink.
data: b'\xc4\xd71\x001234181628A1AA17C05E6F0019C0'
from hass-secolink.
gal pagelbės
from hass-secolink.
O daugiau jokios info neprasiuncia? Atrodo, kad visai kitas protokolas naudojamas.
from hass-secolink.
Ne, tik viena šita eilute
from hass-secolink.
Ir jis ta pati siuncia pastoviai? Ar kazkas keiciasi? Kokie dar galimi pasirinkti protokolai centraleje? Dabar matau pasirinktas E2 is auksciau pateiktu foto.
from hass-secolink.
Taip, visa laika ta pati. Protokolas pagal tavo integracija. Rytojbpaziuresiu kas dar yra
from hass-secolink.
Na as dabar tiksliau nepamenu, koks pas mane protokolas nustatytas, bet nepamenu, kad butu E2.
from hass-secolink.
Yra tokie protokolai E2, CSV IP, Fibro, SIA
from hass-secolink.
Pasirink CSV IP ir turetu vaziuoti.
from hass-secolink.
Ar suveike?
from hass-secolink.
Labas, dabar kitoks eroras
2022-01-13 10:54:03 DEBUG (Thread-579) [custom_components.secolink.alarm_control_panel] data: b',,1234,18340101001\x00'
2022-01-13 10:54:03 WARNING (Thread-579) [custom_components.secolink.alarm_control_panel] Received unknown message from 192.168.1.109: ,,1234,18340101001
from hass-secolink.
gal pavyko pažiūrėti dėl klaidos?
from hass-secolink.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-secolink.