Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
25ebc80
FCM: web-style registration on the app's Firebase project
deddroid Oct 20, 2026
df9c963
WebRTC live view and call answering with trickle ICE; TURN credentials
deddroid Oct 21, 2026
442719f
Live video works: allow legacy RSA DTLS cert, force SRTP AES_CM profile
deddroid Oct 21, 2026
58fbb38
test-session: guided on-site test (ring, answer/record, confirmed unl…
deddroid Oct 21, 2026
b257cc3
test-session: --answers-dir for remote confirmations
deddroid Oct 21, 2026
258fdb3
examples: dump module configs
deddroid Oct 21, 2026
30a71ee
docs: on-site results (both locks open, ring on WS, no FCM delivery t…
deddroid Oct 21, 2026
dd65870
addpushcontext: send the app versionCode, otherwise nothing is stored
deddroid Oct 21, 2026
2b35110
push: set the FCM identity on a freshly registered client
deddroid Oct 21, 2026
9662d4a
GUI (egui): Home/Live/Calls/Settings, live H264 decoding, tray, autos…
deddroid Oct 21, 2026
2d1ab5b
examples: headless worker live-view decode check
deddroid Oct 21, 2026
5d426c9
Two-way audio: Opus (pure Rust) to speakers, push-to-talk microphone;…
deddroid Oct 21, 2026
1ae56e7
Packaging: README (EN/IT), CHANGELOG, MIT license draft, CI and relea…
deddroid Oct 21, 2026
27dac40
Answer incoming calls from the GUI (FCM offer), push router with ring…
deddroid Oct 21, 2026
4a5ef06
Packaging: keep cargo registry paths out of the binaries
deddroid Oct 21, 2026
d3ab671
docs: audio and call answering flow
deddroid Oct 21, 2026
d621287
Legal review: nominative app name, honest User-Agent, legal notes, th…
deddroid Oct 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/device-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Device report / compatibility
about: Report a kit that works, partly works or does not work
labels: compatibility
---

**Kit**: (e.g. BTicino 310913, Legrand 360910)

**Output of `bticino-easykit list`** (module ids and types are not secret):

```
paste here
```

**What works / what does not** (live view, ring notification, door release, staircase light, audio):

**Operating system**: (Arch Linux, Windows 11, …)

**Debug log** (optional, tokens are redacted): run the failing command with `BTICINO_EASYKIT_DEBUG=1`.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [main]
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
check:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Linux build dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libasound2-dev libssl-dev pkg-config
- name: Build
run: cargo build --locked --all-targets
- name: Clippy
run: cargo clippy --locked --all-targets -- -D warnings
- name: Test
run: cargo test --locked
- name: CLI only (no GUI)
run: cargo clippy --locked --all-targets --no-default-features -- -D warnings
81 changes: 81 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Release

on:
push:
tags: ["v*.*.*"]

permissions:
contents: write

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Linux build dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libasound2-dev libssl-dev pkg-config
- name: Build
shell: bash
# Hide the checkout and the cargo registry paths from the binaries.
run: |
export RUSTFLAGS="--remap-path-prefix=${GITHUB_WORKSPACE}=/build --remap-path-prefix=${CARGO_HOME:-$HOME/.cargo}=/cargo"
cargo build --locked --release --target ${{ matrix.target }}
- name: Package (Linux)
if: runner.os == 'Linux'
run: |
name=bticino-easykit-${GITHUB_REF_NAME}-linux-x86_64
mkdir -p "$name/packaging/linux" "$name/assets"
cp target/${{ matrix.target }}/release/bticino-easykit target/${{ matrix.target }}/release/bticino-easykit-gui "$name/"
cp LICENSE THIRD-PARTY-LICENSES.md README.md README.it.md CHANGELOG.md install.sh "$name/"
cp packaging/linux/bticino-easykit.desktop "$name/packaging/linux/"
cp -r assets/icons "$name/assets/"
tar czf "$name.tar.gz" "$name"
sha256sum "$name.tar.gz" > "$name.tar.gz.sha256"
- name: Package (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
$name = "bticino-easykit-$env:GITHUB_REF_NAME-windows-x86_64"
New-Item -ItemType Directory $name | Out-Null
Copy-Item target/${{ matrix.target }}/release/bticino-easykit.exe, target/${{ matrix.target }}/release/bticino-easykit-gui.exe, LICENSE, THIRD-PARTY-LICENSES.md, README.md, README.it.md, CHANGELOG.md $name
Compress-Archive -Path $name -DestinationPath "$name.zip"
(Get-FileHash "$name.zip" -Algorithm SHA256).Hash.ToLower() + " $name.zip" | Out-File -Encoding ascii "$name.zip.sha256"
- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.target }}
path: |
*.tar.gz
*.zip
*.sha256

release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: dist
merge-multiple: true
- name: Release notes from CHANGELOG
run: |
v="${GITHUB_REF_NAME#v}"
awk -v v="$v" '$0 ~ "^## \\[?"v"\\]?" {f=1; next} /^## / && f {exit} f' CHANGELOG.md > notes.md
[ -s notes.md ] || echo "See CHANGELOG.md" > notes.md
- name: Publish
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "$GITHUB_REF_NAME" dist/* --title "$GITHUB_REF_NAME" --notes-file notes.md
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
/captures
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog

All notable changes to this project are documented here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
[Semantic Versioning](https://semver.org/).

## [0.1.0] - unreleased

### Added
- Library for the Netatmo cloud API used by the BTicino EASYKIT WiFi kit:
sign-in, topology, status, call history, door release, staircase light.
- WebRTC live view (H264 + Opus) with two-way audio, working with the kit's
legacy DTLS certificate and `AES_CM` SRTP profile.
- Ring notifications from the push WebSocket; FCM client registration.
- Desktop app (egui): Home, Live, Calls and Settings tabs, tray icon,
start with the system, single instance, English and Italian.
- CLI: `login`, `list`, `status`, `events`, `open`, `light`, `live`,
`listen`, `test-session`.
- Protocol notes in `docs/PROTOCOL.md`.
Loading
Loading