johnnybegood / ha-ksenia-lares

Kaenia Lares (pre 4.0) integration for home assistant
MIT License
10 stars 10 forks source link

Sniffed all the Lares XML commands with wireshark #18

Open IAmVespa opened 1 year ago

IAmVespa commented 1 year ago

Hello,

I have a BTICINO 4200 alarm (same as Ksenia Lares) and I sniffed all the available pages (information) through wireshark. I am not so good in writing python code, so not yet able to implement additional functions in Home Assistant. If any of you is interested in having all the available pages in order to improve the integration, please let me know and I will send it to you via PM.

As an example, is possible to add temperature sensors, or battery voltage, or the fault status, bypass single zones, enable/disable partitions (instead of scenarios) and a few more.

johnnybegood commented 1 year ago

Can you share the generalInformation.xml?

The features mentioned are available also on my Ksenia, but not yet added as I wanted to focus on the core alarm features. If you interested in a specific feature, could you please log a separate issue (per feature). This makes it a bit more easier to track.

IAmVespa commented 1 year ago

Sure, this is the path: /xml/info/generalInfo.xml

While this is the available info on the response:

<generalInfo>
  <productName>BT-4200 16IP</productName>
  <productHighRevision>1</productHighRevision>
  <productLowRevision>6</productLowRevision>
  <productBuildRevision>1265</productBuildRevision>
  <webServerFW>1.0.0.15</webServerFW>
  <webServerHTML>1.1.34</webServerHTML>
  <info1>CASA LAST NAME</info1>
  <info2>Benvenuti!</info2>
  <timestamp>1694954448</timestamp>
</generalInfo>

Other interesting pages are:

The pages above are not related to the core (alarm interaction). As you suggested, I will create new issue in order to better track the new features implementation.

So far, thanks for the great job.

johnnybegood commented 11 months ago

Splitted off #24