Open madness0 opened 5 years ago
update I got here i tried to find the URLs but I don't understand them can someone help me and take a look at this
It is really hard to give you actual advice because I do not know your product. But I can outline you the general idea.
This plugin itself does not implement a proper, state driven security system, it is just a proxy between HomeKit (running on your phone) and a security system. What it does is that it listens for requests coming from your iPhone, translates them to web requests, sends them to a security system, interprets the response and sends it back to the iPhone.
So, in order to make anything work with your devices, you will need a security system which 1) listens to the events coming from your devices 2) stores the state of the system (armed / disarmed)
If Wolf-Guard Wireless gives you some sort of web based API for accessing the status of your network there is a slight chance that you can get it to work directly with this plugin of mine but I highly doubt this is the case. So you most probably have to implement the security system yourself. You can do it with any software / framework / platform you want, the only point is that it has to present itself as s website so that my plugin can connect to it over HTTP. You could use PHP or Java or whatever you want to code it. There is one I can recommend, it's a system called node-red, which lets you drag and drop boxes around and implement the logic and workflow of your system there. It can also expose URL endpoints so it is something this plugin can easily interact with.
Your main issue, however, is not writing some code to implement a security sytem, but getting input from your devices. Even if you manage to install node-red, create web endpoints, implement the state machine (disarmed => armed => triggered), you still have to somehow get data from your Wolf-Guard, and as far as I can tell this is not documented very well on the ebay page you linked. This is where you could try to reverse engineer its protocol using wireshark but it will be a LOT of work.
As far as I can tell, this Wolf-Guard comes with something acting as a hub for all other devices. In your place I would start digging the internet, maybe someone already figured out how to interact with it in a programmatic manner. Maybe someone already found an API you can somehow access to read and change the state of it. If you manage to find something like that, you can try hooking up my plugin with it (use URLs that access your hub), or if there is something my plugin doesn't support (multistep authentication, cookies, etc), then you could write some script which listens to the requests of my plugin and translates them to requests for your hub. But in order for this to work, you first have to figure out how you can interact with this whole Wolf-Guard system without using the mobile app.
Thank you so much for the reply, if I find something I’ll update
On Fri, Apr 19, 2019 at 12:00 AM codetwice notifications@github.com wrote:
It is really hard to give you actual advice because I do not know your product. But I can outline you the general idea.
This plugin itself does not implement a proper, state driven security system, it is just a proxy between HomeKit (running on your phone) and a security system. What it does is that it listens for requests coming from your iPhone, translates them to web requests, sends them to a security system, interprets the response and sends it back to the iPhone.
So, in order to make anything work with your devices, you will need a security system which
- listens to the events coming from your devices
- stores the state of the system (armed / disarmed)
If Wolf-Guard Wireless gives you some sort of web based API for accessing the status of your network there is a slight chance that you can get it to work directly with this plugin of mine but I highly doubt this is the case. So you most probably have to implement the security system yourself. You can do it with any software / framework / platform you want, the only point is that it has to present itself as s website so that my plugin can connect to it over HTTP. You could use PHP or Java or whatever you want to code it. There is one I can recommend, it's a system called node-red, which lets you drag and drop boxes around and implement the logic and workflow of your system there. It can also expose URL endpoints so it is something this plugin can easily interact with.
Your main issue, however, is not writing some code to implement a security sytem, but getting input from your devices. Even if you manage to install node-red, create web endpoints, implement the state machine (disarmed => armed => triggered), you still have to somehow get data from your Wolf-Guard, and as far as I can tell this is not documented very well on the ebay page you linked. This is where you could try to reverse engineer its protocol using wireshark but it will be a LOT of work.
As far as I can tell, this Wolf-Guard comes with something acting as a hub for all other devices. In your place I would start digging the internet, maybe someone already figured out how to interact with it in a programmatic manner. Maybe someone already found an API you can somehow access to read and change the state of it. If you manage to find something like that, you can try hooking up my plugin with it (use URLs that access your hub), or if there is something my plugin doesn't support (multistep authentication, cookies, etc), then you could write some script which listens to the requests of my plugin and translates them to requests for your hub. But in order for this to work, you first have to figure out how you can interact with this whole Wolf-Guard system without using the mobile app.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/codetwice/homebridge-http-securitysystem/issues/27#issuecomment-484688059, or mute the thread https://github.com/notifications/unsubscribe-auth/AL23NTVBAKWDMYCTOS3RXYTPRDON3ANCNFSM4HGMXWTQ .
hey everyone i have this security system with PIR sensors and a windows sensor I was wondering is there a way to home bridge it,( The arm and disarm function)?? im totally new to this, someone suggested using wireshark and i did that but i could not figure how to extract the URL https://www.ebay.com/itm/233196738000