Skip to content

Commit

Permalink
include customized HA_enoceanmqtt incl. web-based config-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
madejackson committed Sep 16, 2024
1 parent 4a9da41 commit 0550926
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 0 deletions.
108 changes: 108 additions & 0 deletions servapps/HA_enoceanmqtt/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"cosmos-installer": {
"form": [
{
"name": "adminOnly",
"label": "Do you want to make this service admin only?",
"initialValue": false,
"type": "checkbox"
}
],
"translation": {
"de": {
"form.adminOnly.label": "Möchten Sie diesen Dienst nur für Administratoren zugänglich machen?"
}
}
},
"minVersion": "0.8.0",
"services": {
"{ServiceName}": {
"container_name": "{ServiceName}",
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true"
},
"image": "ghcr.io/aseracorp/ha_enoceanmqtt",
"restart": "unless-stopped",
"volumes": [
{
"source": "{ServiceName}-config",
"target": "/config",
"type": "volume"
}
],
"devices": [
"/dev/ttyUSB0:/dev/enocean:rwm"
],
"UID": 1000,
"GID": 1000,
"environment": [
"PUID=1000",
"PGID=1000",
"TZ=Europe/Zurich"
],
"links": [
"Home-Assistant"
]
},
"{ServiceName}-Filebrowser": {
"image": "filebrowser/filebrowser:s6",
"container_name": "{ServiceName}-Filebrowser",
"restart": "unless-stopped",
"tty": true,
"stdin_open": true,
"UID": 1000,
"GID": 1000,
"environment": [
"PUID=1000",
"PGID=1000",
"TZ=auto",
"FB_NOAUTH=true"
],
"post_install": [
"filebrowser config init",
"filebrowser users add admin admin"
],
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true"
},
"volumes": [
{
"source": "{ServiceName}-config",
"target": "/srv",
"type": "volume"
},
{
"source": "Filebrowser-database",
"target": "/database",
"type": "volume"
},
{
"source": "Filebrowser-config",
"target": "/config",
"type": "volume"
}
],
"routes": [
{
"name": "{ServiceName}-Filebrowser",
"description": "Expose {ServiceName}-Filebrowser to the web (WARNING: has to be free / different than the above)",
"useHost": true,
"target": "http://{ServiceName}-Filebrowser:80",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
},
"AuthEnabled": true
{if Context.codeServerAdminOnly}
, "AuthAdmin": true
{/if}
}
]
}
}
}
15 changes: 15 additions & 0 deletions servapps/HA_enoceanmqtt/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "HA_enoceanmqtt",
"description": "This is a Home Assistant overlay for enoceanmqtt.",
"longDescription": "<p>It allows to easily have access to EnOcean devices in Home Assistant through MQTT.<br/>It is based on MQTT discovery from the Home Assistant MQTT integration.</p>",
"translation": {
"de": {
"description": "Dies ist ein Home Assistant Overlay für enoceanmqtt.",
"longDescription": "<p>Es ermöglicht den einfachen Zugriff auf EnOcean-Geräte im Home Assistant über MQTT.<br/>Es basiert auf der MQTT-Erkennung der Home Assistant MQTT-Integration.</p>"
}
},
"tags": ["smart home", "home automation", "IoT", "Raspberry Pi", "local server", "privacy", "control", "automation", "devices", "services", "home assistant"],
"repository": "https://github.com/aseracorp/HA_enoceanmqtt/",
"image": "https://ghcr.io/aseracorp/ha_enoceanmqtt",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/HA_enoceanmqtt/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/HA_enoceanmqtt/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0550926

Please sign in to comment.