Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sniffed all the Lares XML commands with wireshark #18

Open
IAmVespa opened this issue Sep 15, 2023 · 3 comments
Open

Sniffed all the Lares XML commands with wireshark #18

IAmVespa opened this issue Sep 15, 2023 · 3 comments

Comments

@IAmVespa
Copy link

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
Copy link
Owner

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
Copy link
Author

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:

  • /xml/state/laresStatus.xml : Internal and external temp sensors + GSM signal and credit (regarding this last point, not clear how it works because I don't have the GSM module)
  • /xml/faults/faults.xml : a lot of info regarding possible faults, battery status etc. (battery values need to be converted)
  • /xml/log/log60.xml : latest 60 log entries (could be included in HA logs). Also available in 30 and 10 version for quicker loading.

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
Copy link
Owner

Splitted off #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants