Skip to content

Commit

Permalink
first alpha version
Browse files Browse the repository at this point in the history
- new aio meshtastic interface implemenation to address shortcomings of upstream "library"
- support for tcp, serial & bluetooth interface
- support for home assistant auto discovery
  • Loading branch information
broglep committed Dec 1, 2024
1 parent 5609501 commit 482012c
Show file tree
Hide file tree
Showing 34 changed files with 3,046 additions and 835 deletions.
1 change: 1 addition & 0 deletions .github/funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
buy_me_a_coffe: broglep
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
zip homeassistant-meshtastic.zip -r ./
- name: "Upload the ZIP file to the release"
uses: "softprops/action-gh-release@v2.0.8"
uses: "softprops/action-gh-release@v2.1.0"
with:
files: ${{ github.workspace }}/custom_components/homeassistant-meshtastic/homeassistant-meshtastic.zip
8 changes: 7 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# The contents of this file is based on https://github.com/home-assistant/core/blob/dev/pyproject.toml

target-version = "py312"
line-length = 120

[lint]
select = [
"ALL",
]

ignore = [
"ANN101", # Missing type annotation for `self` in method
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"D203", # no-blank-line-before-class (incompatible with formatter)
"D212", # multi-line-summary-first-line (incompatible with formatter)
"COM812", # incompatible with formatter
"ISC001", # incompatible with formatter
"D100", # Missing docstring (currently no distributed library)
"D101", # Missing docstring (currently no distributed library)
"D102", # Missing docstring (currently no distributed library)
"D103", # Missing docstring (currently no distributed library)
"D105", # Missing docstring (currently no distributed library)
"D107", # Missing docstring (currently no distributed library)
]

[lint.flake8-pytest-style]
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ _Home Assistant Integration for [Meshtastic](https://www.meshtastic.org)._
**Work in Progress**

Supported Features:
* Add (multiple) meshtastic devices as "gateways" (via TCP interface)
* Add meshtastic devices as gateways to interact with the mesh
* Supports TCP, Serial & Bluetooth connection
* Home Assistant Zeroconf & Bluetooth Auto-Discovery (also works with [Bluetooth Proxy](https://esphome.io/components/bluetooth_proxy.html))
* Select which meshtastic nodes should be made available in home assistant
* Basic meshtastic node metrics as sensors
* Send and receive messages as device trigger and action
Expand Down
5 changes: 5 additions & 0 deletions config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#default_config:
history:
logbook:
zeroconf:
network:

# https://www.home-assistant.io/integrations/homeassistant/
homeassistant:
Expand All @@ -12,5 +14,8 @@ logger:
default: info
logs:
custom_components.meshtastic: debug
homeassistant.components.bluetooth: debug
homeassistant.components.zeroconf: debug
homeassistant.components.network: debug

automation: !include automations.yaml
Loading

0 comments on commit 482012c

Please sign in to comment.