Skip to content

Commit

Permalink
Merge pull request #57 from texnic/svensa-readme
Browse files Browse the repository at this point in the history
Instructions for Svensa fan
  • Loading branch information
eriknn authored Dec 22, 2024
2 parents 2e3537b + 09887a8 commit 1c30dd7
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This integration was originally meant to just support Pax Calima, but as other f
integration now supports:
* Pax Calima
* Vent-Axia Svara (Same as the Calima)
* Vent-Axia Svensa
* Vent-Axia Svensa (same as PureAir Sense)

If you've got other fans of the same'ish type, just give it a go and let me know how it works out :)

Expand All @@ -20,11 +20,13 @@ The integration supports discovery of devices, but only for Calima (until someon
If discovery doesn't work you may try to add it manually through the integration configuration.
If you have issues connecting, try cycling power on the device. It seems that the Bluetooth interface easily hangs if it's messed around with a bit.

## Pin code
For Svensa-specific instructions, see [here](svensa.md).

## PIN code

A valid PIN code is required to be able to control the fan. You can add the fan without PIN, but then you'll only be able to read values.
* For Calima/Svara you just enter the decimal value printed on the fan motor (remove from base)
* For Svensa the pin is written in HEX. You must reverse the bytes and convert to integer.
* For Svensa, the PIN is not written on the device, but should be requested from it. See [instructions for Svensa](svensa.md).

## Sensor data

Expand Down
36 changes: 36 additions & 0 deletions svensa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# How to connect Vent-Axia Svensa (PureAire Sense) fan

This integration requires two fan-specific parameters to connect and be able to control Svensa: MAC address and PIN code.
Unlike some other models, Svensa is not automatically connectable (as of Dec 2024).

Below is one of the ways to make it work.

### MAC address
Use a Bluetooth scanner app to list all nearby BLE devices.
These instructions were tested with "BLE Scanner". Probably other apps offer similar functionality.

NOTE: Apple devices (tested with iPhone and Macbook Pro) do not support listing MAC address.
You'll have to use an Android tablet/smartphone or a Linux/Windows computer.

The fan will be listed with the name "Svensa", and you'll be able to see the MAC address.
It looks similar to AA:BB:CC:DD:EE:FF. Use it in the integration connection screen.

### PIN code
* Once the device is found, connect to it with BLE Scanner.
The app should show a directory-like structure of data items, each with a unique ID.
Look for the one with ID 4cad343a-209a-40b7-b911-4d9b3df569b2.
This item can be read and written.

* Read it (press R in the app). It should obtain the hex value 00000000.

* Put the fan in pairing mode:
1. Remove the front magnetic cover.
2. Make sure the fan is switched on (spins).
3. Press the "power" touch-button on the front right. The other buttons should illuminate.
4. Press the lowest button (looks like a WiFi symbol) for a few seconds, until it starts flashing.

* Perform write operation on that data item 4cad...69b2.
It will send the previously obtained zero value to the fan, and the fan will respond with the value of the PIN, in hex format (similar to aa:bb:cc:dd).
* Finally, flip the bytes of the PIN (dd:cc:bb:aa), convert this value to decimal, and use the result in the integration PIN field.

If the above doesn't work, power cycle the fan. It looses Bluetooth connection now and then (also with the official app).

0 comments on commit 1c30dd7

Please sign in to comment.