fdegier / homebridge-jablotron-alarm

Homebridge plugin for connecting Jablotron JA-100 alarm systems to Homekit.
The Unlicense
26 stars 5 forks source link

Q: Local communication only. #48

Closed itskemo closed 4 years ago

itskemo commented 4 years ago

Hi, I have been looking at the implementation and my understanding is that all the actions are done over the internet via jablonet.net server where the owner has to have an account and active SIM CARD in the JA-101KR LAN w/ GSM and radio unit in order to allow jablonet to communicate with the central unit in your house.

Currently I have Jablotron JA-101KR GSM and radio central unit without LAN so I can't verify myself if the central unit makes it possible accept read/write requests (API Calls) (read status, arm, disarm) over the LAN.

I'm planning a new house however, so I was wondering if what I'm describing below would be possible.

I understand that it is possible to log-in into the central unit via F-Link (over USB cable) and manage users/passwords and PIN codes.

My question is if you don't have any info regarding the LAN communication with the Central Unit instead of doing it all over internet via www.jablonet.net ?

My plan was like this: Having the central unit with LAN, I could possibly extend or write a new homebridge plugin similar to yours with one difference - it won't require Jablotron's SIM card in the unit and all the communication would be done over LAN while exposing the functionality via HomeBridge to iOS devices.

Something like this: Outside Request -------> HomePod ----> HomeBridge Server ----> Jablotron Central Unit (LAN)

Instead of the current state: Outside Request ------> HomePod -----> HomeBridge Server ---> www.jablonet.net ----> Jablotron Central Unit (over GSM - Internet).

Thanks for any insights!

fdegier commented 4 years ago

Hi,

Yes it talks with Jablonet. If you can control your alarm via the app, you can control it with this plugin.

To control the alarm locally you could look at using JA-118 and have it activate some PG's which in turn control the segments. I have a spare JA-118 but never bothered to implement it. Its doable but requires a lot of manual setup, even with F-link.

Cheers.

itskemo commented 4 years ago

Hi, thanks for the reply.

Quick search found only a JA-118M BUS, are you sure it is what you meant?

So you are saying that the Central Unit with a LAN does ACCEPT some sort of requests locally to actually read and update the state of alarm?

Thanks!

fdegier commented 4 years ago

You could use JA-118 to connect a Raspberry Pi and then via the GPIO control the bus input which (de)activates a PG that controls a segment.

If you have LAN, why not go for the API?

Martasdx commented 4 years ago

Hi guys,

I did some research here and you are both correct. You have to activate gpio module for jablotron device and configure it to change status of some zone.

po 20. 4. 2020 v 21:37 odesílatel Fred de Gier notifications@github.com napsal:

You could use JA-118 to connect a Raspberry Pi and then via the GPIO control the bus input which (de)activates a PG that controls a segment.

If you have LAN, why not go for the API?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/F4stFr3ddy/homebridge-jablotron-alarm/issues/48#issuecomment-616765702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARPHHNDSUJWHWD5VU74UADRNSP6RANCNFSM4MMVFUTQ .

--


Martin Polívka

rikkta31 commented 4 years ago

hy

hello I do not think that you can armed or disarm with this module you need a special module JA-111H-AD the module JA-118 only allows SMS call notifications .. or activation of pg

rikkta

Le lun. 20 avr. 2020 à 21:41, Martasdx notifications@github.com a écrit :

Hi guys,

I did some research here and you are both correct. You have to activate gpio module for jablotron device and configure it to change status of some zone.

po 20. 4. 2020 v 21:37 odesílatel Fred de Gier notifications@github.com napsal:

You could use JA-118 to connect a Raspberry Pi and then via the GPIO control the bus input which (de)activates a PG that controls a segment.

If you have LAN, why not go for the API?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/F4stFr3ddy/homebridge-jablotron-alarm/issues/48#issuecomment-616765702 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AARPHHNDSUJWHWD5VU74UADRNSP6RANCNFSM4MMVFUTQ

.

--


Martin Polívka

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/F4stFr3ddy/homebridge-jablotron-alarm/issues/48#issuecomment-616767680, or unsubscribe https://github.com/notifications/unsubscribe-auth/APARSI5ARREQRLS6JUUOYJLRNSQNNANCNFSM4MMVFUTQ .

itskemo commented 4 years ago

Thank you both for the answers. I was kinda hoping the Central Unit could expose some API which would accept requests from local network in order to avoid communication over jablonet.net which then talks to the central unit itself. Now I see it is not that simple :)

fdegier commented 4 years ago

Cool, lots of knowledge here 😄 thanks and have a great day.