Skip to content

Commit

Permalink
Merge pull request #83 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 1.0.9
  • Loading branch information
Luligu authored Nov 11, 2024
2 parents 3afaf74 + 9561ea8 commit 5c49259
Show file tree
Hide file tree
Showing 92 changed files with 85,351 additions and 1,677 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build-debian-cockpit-matterbridge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build Debian Cockpit Matterbridge Package

on:
push:
branches:
- dev

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Debian package structure
run: |
# Create the directory structure
mkdir -p package/usr/share/cockpit/matterbridge
mkdir -p package/DEBIAN
# Copy plugin files from rock-s0/cockpit to the correct directory
cp -r rock-s0/cockpit/* package/usr/share/cockpit/matterbridge
# Set up the control file with package metadata
echo 'Package: cockpit-matterbridge' > package/DEBIAN/control
echo 'Version: 1.0.3' >> package/DEBIAN/control
echo 'Section: admin' >> package/DEBIAN/control
echo 'Priority: optional' >> package/DEBIAN/control
echo 'Architecture: all' >> package/DEBIAN/control
echo 'Maintainer: Luligu target.epithet-0h@icloud.com' >> package/DEBIAN/control
echo 'Description: Matterbridge Cockpit Dashboard' >> package/DEBIAN/control
- name: Build Debian package
run: dpkg-deb --build package cockpit-matterbridge.deb

- name: Upload Debian package
uses: actions/upload-artifact@v4
with:
name: cockpit-matterbridge.deb
path: cockpit-matterbridge.deb
if-no-files-found: error
retention-days: 1
compression-level: 0
overwrite: true
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.

If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-shelly and sponsoring it.

## [1.0.9] - 2024-11-11

### Added

- [shelly1]: Added support (with 1 temperature and 1 humidity) for external temperature and humidity addon (thanks IvoGruber).
- [ShellyPlusAddon]: Verified support with sensor temperature DS18B20.
- [ShellyPlusAddon]: Verified support with sensor temperature and humidity DHT22.
- [shelly]: Added change of device IP address without restart when mDns detect new IP.
- [CoIoT]: Added cfgChanged event.

### Changed

- [log]: Changed level for CoIoT configuration messages from notice to warn.
- [package]: Requires matterbridge 1.6.0.
- [package]: Updated dependencies.

### Fixed

- [BTHome]: Fixed log level for BLU devices.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [1.0.8] - 2024-10-23

### Fixed
Expand Down
25 changes: 20 additions & 5 deletions matterbridge-shelly.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
"exposeSwitch": {
"description": "Choose how to expose the shelly switches: as a switch (don't use it for Alexa), light or outlet",
"type": "string",
"enum": ["switch", "light", "outlet"],
"enum": [
"switch",
"light",
"outlet"
],
"default": "outlet"
},
"switchList": {
Expand All @@ -51,7 +55,12 @@
"exposeInput": {
"description": "Choose how to expose the shelly inputs: disabled, contact, momentary or latching switch (you may need to pair again the controller when changed)",
"type": "string",
"enum": ["disabled", "contact", "momentary", "latching"],
"enum": [
"disabled",
"contact",
"momentary",
"latching"
],
"default": "disabled"
},
"inputContactList": {
Expand All @@ -78,7 +87,10 @@
"exposeInputEvent": {
"description": "Choose weather to expose the shelly input events: momentary or disabled (you may need to pair again the controller when changed)",
"type": "string",
"enum": ["momentary", "disabled"],
"enum": [
"momentary",
"disabled"
],
"default": "disabled"
},
"inputEventList": {
Expand All @@ -91,7 +103,10 @@
"exposePowerMeter": {
"description": "Choose how to expose the shelly power meters: disabled, matter13 (will use Matter 1.3 electricalSensor)",
"type": "string",
"enum": ["disabled", "matter13"],
"enum": [
"disabled",
"matter13"
],
"default": "disabled"
},
"blackList": {
Expand Down Expand Up @@ -187,4 +202,4 @@
"default": false
}
}
}
}
Loading

0 comments on commit 5c49259

Please sign in to comment.