Compare commits
6 Commits
polyfill
...
2eb4f3c376
| Author | SHA1 | Date | |
|---|---|---|---|
|
2eb4f3c376
|
|||
|
b57ddb1589
|
|||
|
a49d56df60
|
|||
|
5a7b16f7aa
|
|||
|
e69822719a
|
|||
|
25a6b98d41
|
41
DEVICES_BY_ROOM.md
Normal file
41
DEVICES_BY_ROOM.md
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
Schlafzimmer:
|
||||||
|
- Bettlicht Patty | 0x0017880108158b32
|
||||||
|
- Bettlicht Wolfgang | 0x00178801081570bf
|
||||||
|
- Deckenlampe Schlafzimmer | 0x0017880108a406a7
|
||||||
|
- Medusa-Lampe Schlafzimmer | 0xf0d1b80000154c7c
|
||||||
|
|
||||||
|
Esszimmer:
|
||||||
|
- Deckenlampe Esszimmer | 0x0017880108a03e45
|
||||||
|
- Leselampe Esszimmer | 0xec1bbdfffe7b84f2
|
||||||
|
- Standlampe Esszimmer | 0xbc33acfffe21f547
|
||||||
|
- kleine Lampe links Esszimmer | 0xf0d1b80000153099
|
||||||
|
- kleine Lampe rechts Esszimmer | 0xf0d1b80000156645
|
||||||
|
|
||||||
|
Wohnzimmer:
|
||||||
|
- Lampe Naehtischchen Wohnzimmer | 0x842e14fffee560ee
|
||||||
|
- Lampe Semeniere Wohnzimmer | 0xf0d1b8000015480b
|
||||||
|
- Sterne Wohnzimmer | 0xf0d1b80000155fc2
|
||||||
|
- grosse Lampe Wohnzimmer | 0xf0d1b80000151aca
|
||||||
|
|
||||||
|
Küche:
|
||||||
|
- Küche Deckenlampe | 0x001788010d2c40c4
|
||||||
|
- Kueche | 0x94deb8fffe2e5c06
|
||||||
|
|
||||||
|
Arbeitszimmer Patty:
|
||||||
|
- Leselampe Patty | 0x001788010600ec9d
|
||||||
|
- Schranklicht hinten Patty | 0x0017880106e29571
|
||||||
|
- Schranklicht vorne Patty | 0xf0d1b80000154cf5
|
||||||
|
|
||||||
|
Arbeitszimmer Wolfgang:
|
||||||
|
- Wolfgang | 0x540f57fffe7e3cfe
|
||||||
|
- ExperimentLabTest | 0xf0d1b80000195038
|
||||||
|
|
||||||
|
Flur:
|
||||||
|
- Deckenlampe Flur oben | 0x001788010d2123a7
|
||||||
|
- Haustür | 0xec1bbdfffea6a3da
|
||||||
|
- Licht Flur oben am Spiegel | 0x842e14fffefe4ba4
|
||||||
|
|
||||||
|
Sportzimmer:
|
||||||
|
- Sportlicht Regal | 0xf0d1b8be2409f569
|
||||||
|
- Sportlicht Tisch | 0xf0d1b8be2409f31b
|
||||||
|
- Sportlicht am Fernseher, Studierzimmer | 0x842e14fffe76a23a
|
||||||
223
MAX_INTEGRATION.md
Normal file
223
MAX_INTEGRATION.md
Normal file
@@ -0,0 +1,223 @@
|
|||||||
|
# MAX! (eQ-3) Thermostat Integration
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
This document describes the integration of MAX! (eQ-3) thermostats via Homegear into the home automation system.
|
||||||
|
|
||||||
|
## Protocol Characteristics
|
||||||
|
|
||||||
|
MAX! thermostats use a **simple integer-based protocol** (not JSON):
|
||||||
|
|
||||||
|
- **SET messages**: Plain integer temperature value (e.g., `22`)
|
||||||
|
- **STATE messages**: Plain integer temperature value (e.g., `22`)
|
||||||
|
- **Topics**: Homegear MQTT format
|
||||||
|
|
||||||
|
### MQTT Topics
|
||||||
|
|
||||||
|
**SET Command:**
|
||||||
|
```
|
||||||
|
homegear/instance1/set/<peerId>/<channel>/SET_TEMPERATURE
|
||||||
|
Payload: "22" (plain integer as string)
|
||||||
|
```
|
||||||
|
|
||||||
|
**STATE Update:**
|
||||||
|
```
|
||||||
|
homegear/instance1/plain/<peerId>/<channel>/SET_TEMPERATURE
|
||||||
|
Payload: "22" (plain integer as string)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Transformation Layer
|
||||||
|
|
||||||
|
The abstraction layer provides automatic transformation between the abstract home protocol and MAX! format.
|
||||||
|
|
||||||
|
### Abstract → MAX! (SET)
|
||||||
|
|
||||||
|
**Input (Abstract):**
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mode": "heat",
|
||||||
|
"target": 22.5
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Output (MAX!):**
|
||||||
|
```
|
||||||
|
22
|
||||||
|
```
|
||||||
|
|
||||||
|
**Transformation Rules:**
|
||||||
|
- Extract `target` temperature
|
||||||
|
- Convert float → integer (round to nearest)
|
||||||
|
- Return as plain string (no JSON)
|
||||||
|
- Ignore `mode` field (MAX! always in heating mode)
|
||||||
|
|
||||||
|
### MAX! → Abstract (STATE)
|
||||||
|
|
||||||
|
**Input (MAX!):**
|
||||||
|
```
|
||||||
|
22
|
||||||
|
```
|
||||||
|
|
||||||
|
**Output (Abstract):**
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"target": 22.0,
|
||||||
|
"mode": "heat"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Transformation Rules:**
|
||||||
|
- Parse plain string/integer value
|
||||||
|
- Convert to float
|
||||||
|
- Add default `mode: "heat"` (MAX! always heating)
|
||||||
|
- Wrap in abstract payload structure
|
||||||
|
|
||||||
|
## Device Configuration
|
||||||
|
|
||||||
|
### Example devices.yaml Entry
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- device_id: "thermostat_wolfgang"
|
||||||
|
type: "thermostat"
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: "max"
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false # SET_TEMPERATURE doesn't report current temp
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/39/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/39/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Wolfgang"
|
||||||
|
location: "Arbeitszimmer Wolfgang"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "39"
|
||||||
|
channel: "1"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Configuration Notes
|
||||||
|
|
||||||
|
1. **technology**: Must be set to `"max"` to activate MAX! transformations
|
||||||
|
2. **topics.set**: Use Homegear's `/set/` path with `/SET_TEMPERATURE` parameter
|
||||||
|
3. **topics.state**: Use Homegear's `/plain/` path with `/SET_TEMPERATURE` parameter
|
||||||
|
4. **features.current**: Set to `false` - SET_TEMPERATURE topic doesn't provide current temperature
|
||||||
|
5. **metadata**: Include `peer_id` and `channel` for reference
|
||||||
|
|
||||||
|
## Temperature Rounding
|
||||||
|
|
||||||
|
MAX! only supports **integer temperatures**. The system uses standard rounding:
|
||||||
|
|
||||||
|
| Abstract Input | MAX! Output |
|
||||||
|
|----------------|-------------|
|
||||||
|
| 20.4°C | 20 |
|
||||||
|
| 20.5°C | 20 |
|
||||||
|
| 20.6°C | 21 |
|
||||||
|
| 21.5°C | 22 |
|
||||||
|
| 22.5°C | 22 |
|
||||||
|
|
||||||
|
Python's `round()` function uses "banker's rounding" (round half to even).
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
1. **No current temperature**: SET_TEMPERATURE topic only reports target, not actual temperature
|
||||||
|
2. **No mode control**: MAX! thermostats are always in heating mode
|
||||||
|
3. **Integer only**: Temperature precision limited to 1°C steps
|
||||||
|
4. **No battery status**: Not available via SET_TEMPERATURE topic
|
||||||
|
5. **No window detection**: Not available via SET_TEMPERATURE topic
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Test the transformation functions:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
poetry run python /tmp/test_max_transform.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Expected output:
|
||||||
|
```
|
||||||
|
✅ PASS: Float 22.5 -> Integer string
|
||||||
|
✅ PASS: Integer string -> Abstract dict
|
||||||
|
✅ PASS: Integer -> Abstract dict
|
||||||
|
✅ PASS: Rounding works correctly
|
||||||
|
🎉 All MAX! transformation tests passed!
|
||||||
|
```
|
||||||
|
|
||||||
|
## Implementation Details
|
||||||
|
|
||||||
|
### Files Modified
|
||||||
|
|
||||||
|
1. **apps/abstraction/transformation.py**
|
||||||
|
- Added `_transform_thermostat_max_to_vendor()` - converts abstract → plain integer
|
||||||
|
- Added `_transform_thermostat_max_to_abstract()` - converts plain integer → abstract
|
||||||
|
- Registered handlers in `TRANSFORM_HANDLERS` registry
|
||||||
|
|
||||||
|
2. **apps/abstraction/main.py**
|
||||||
|
- Modified `handle_abstract_set()` to send plain string for MAX! devices (not JSON)
|
||||||
|
- Modified message processing to handle plain text payloads from MAX! STATE topics
|
||||||
|
|
||||||
|
### Transformation Functions
|
||||||
|
|
||||||
|
```python
|
||||||
|
def _transform_thermostat_max_to_vendor(payload: dict[str, Any]) -> str:
|
||||||
|
"""Convert {"target": 22.5} → "22" """
|
||||||
|
target_temp = payload.get("target", 21.0)
|
||||||
|
return str(int(round(target_temp)))
|
||||||
|
|
||||||
|
def _transform_thermostat_max_to_abstract(payload: str | int | float) -> dict[str, Any]:
|
||||||
|
"""Convert "22" → {"target": 22.0, "mode": "heat"} """
|
||||||
|
target_temp = float(payload)
|
||||||
|
return {"target": target_temp, "mode": "heat"}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage Example
|
||||||
|
|
||||||
|
### Setting Temperature via API
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -X POST http://localhost:8001/devices/thermostat_wolfgang/set \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
|
"type": "thermostat",
|
||||||
|
"payload": {
|
||||||
|
"mode": "heat",
|
||||||
|
"target": 22.5
|
||||||
|
}
|
||||||
|
}'
|
||||||
|
```
|
||||||
|
|
||||||
|
**Flow:**
|
||||||
|
1. API receives abstract payload: `{"mode": "heat", "target": 22.5}`
|
||||||
|
2. Abstraction transforms to MAX!: `"22"`
|
||||||
|
3. Publishes to: `homegear/instance1/set/39/1/SET_TEMPERATURE` with payload `22`
|
||||||
|
|
||||||
|
### Receiving State Updates
|
||||||
|
|
||||||
|
**Homegear publishes:**
|
||||||
|
```
|
||||||
|
Topic: homegear/instance1/plain/39/1/SET_TEMPERATURE
|
||||||
|
Payload: 22
|
||||||
|
```
|
||||||
|
|
||||||
|
**Flow:**
|
||||||
|
1. Abstraction receives plain text: `"22"`
|
||||||
|
2. Transforms to abstract: `{"target": 22.0, "mode": "heat"}`
|
||||||
|
3. Publishes to: `home/thermostat/thermostat_wolfgang/state`
|
||||||
|
4. Publishes to Redis: `ui:updates` channel for real-time UI updates
|
||||||
|
|
||||||
|
## Future Enhancements
|
||||||
|
|
||||||
|
Potential improvements for better MAX! integration:
|
||||||
|
|
||||||
|
1. **Current Temperature**: Subscribe to separate Homegear topic for actual temperature
|
||||||
|
2. **Battery Status**: Subscribe to LOWBAT or battery level topics
|
||||||
|
3. **Valve Position**: Monitor actual valve opening percentage
|
||||||
|
4. **Window Detection**: Subscribe to window open detection status
|
||||||
|
5. **Mode Control**: Support comfort/eco temperature presets
|
||||||
|
|
||||||
|
## Related Documentation
|
||||||
|
|
||||||
|
- [Homegear MAX! Documentation](https://doc.homegear.eu/data/homegear-max/)
|
||||||
|
- [Abstract Protocol Specification](docs/PROTOCOL.md)
|
||||||
|
- [Transformation Layer Design](apps/abstraction/README.md)
|
||||||
54
ZIGBEE_DEVICES_UNSUPPORTED.md
Normal file
54
ZIGBEE_DEVICES_UNSUPPORTED.md
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# Nicht berücksichtigte Zigbee-Geräte
|
||||||
|
|
||||||
|
## Switches (0)
|
||||||
|
~~Gerät "Sterne Wohnzimmer" wurde als Light zu devices.yaml hinzugefügt~~
|
||||||
|
|
||||||
|
## Sensoren und andere Geräte (22)
|
||||||
|
|
||||||
|
### Tür-/Fenstersensoren (7)
|
||||||
|
- Wolfgang (MCCGQ11LM) - 0x00158d008b3328da
|
||||||
|
- Terassentür (MCCGQ11LM) - 0x00158d008b332788
|
||||||
|
- Garten Kueche (MCCGQ11LM) - 0x00158d008b332785
|
||||||
|
- Strasse rechts Kueche (MCCGQ11LM) - 0x00158d008b151803
|
||||||
|
- Strasse links Kueche (MCCGQ11LM) - 0x00158d008b331d0b
|
||||||
|
- Fenster Bad oben (MCCGQ11LM) - 0x00158d008b333aec
|
||||||
|
- Fenster Patty Strasse (MCCGQ11LM) - 0x00158d000af457cf
|
||||||
|
|
||||||
|
### Temperatur-/Feuchtigkeitssensoren (11)
|
||||||
|
- Kueche (WSDCGQ11LM) - 0x00158d00083299bb
|
||||||
|
- Wolfgang (WSDCGQ11LM) - 0x00158d000543fb99
|
||||||
|
- Patty (WSDCGQ11LM) - 0x00158d0003f052b7
|
||||||
|
- Schlafzimmer (WSDCGQ01LM) - 0x00158d00043292dc
|
||||||
|
- Bad oben (WSDCGQ11LM) - 0x00158d00093e8987
|
||||||
|
- Flur (WSDCGQ11LM) - 0x00158d000836ccc6
|
||||||
|
- Wohnzimmer (WSDCGQ11LM) - 0x00158d0008975707
|
||||||
|
- Bad unten (WSDCGQ11LM) - 0x00158d00093e662a
|
||||||
|
- Waschkueche (WSDCGQ11LM) - 0x00158d000449f3bc
|
||||||
|
- Studierzimmer (WSDCGQ11LM) - 0x00158d0009421422
|
||||||
|
- Wolfgang (SONOFF SNZB-02D) - 0x0ceff6fffe39a196
|
||||||
|
|
||||||
|
### Schalter (2)
|
||||||
|
- Schalter Schlafzimmer (Philips 929003017102) - 0x001788010cc490d4
|
||||||
|
- Schalter Bettlicht Patty (WXKG11LM) - 0x00158d000805d165
|
||||||
|
|
||||||
|
### Bewegungsmelder (1)
|
||||||
|
- Bewegungsmelder 8 (Philips 9290012607) - 0x001788010867d420
|
||||||
|
|
||||||
|
### Wasserleck-Sensor (1)
|
||||||
|
- unter Therme (SJCGQ11LM) - 0x00158d008b3a83a9
|
||||||
|
|
||||||
|
## Zusammenfassung
|
||||||
|
|
||||||
|
**Unterstützt in devices.yaml:**
|
||||||
|
- 24 Lampen (lights)
|
||||||
|
- 2 Thermostate
|
||||||
|
|
||||||
|
**Nicht unterstützt:**
|
||||||
|
- 0 Switches
|
||||||
|
- 7 Tür-/Fenstersensoren
|
||||||
|
- 11 Temperatur-/Feuchtigkeitssensoren
|
||||||
|
- 2 Schalter (Button-Devices)
|
||||||
|
- 1 Bewegungsmelder
|
||||||
|
- 1 Wasserleck-Sensor
|
||||||
|
|
||||||
|
Die nicht unterstützten Geräte könnten in Zukunft durch Erweiterung des Systems integriert werden.
|
||||||
@@ -173,6 +173,11 @@ async def handle_abstract_set(
|
|||||||
# Transform abstract payload to vendor-specific format
|
# Transform abstract payload to vendor-specific format
|
||||||
vendor_payload = transform_abstract_to_vendor(device_type, device_technology, abstract_payload)
|
vendor_payload = transform_abstract_to_vendor(device_type, device_technology, abstract_payload)
|
||||||
|
|
||||||
|
# For MAX! thermostats, vendor_payload is a plain string (integer temperature)
|
||||||
|
# For other devices, it's a dict that needs JSON encoding
|
||||||
|
if device_technology == "max" and device_type == "thermostat":
|
||||||
|
vendor_message = vendor_payload # Already a string
|
||||||
|
else:
|
||||||
vendor_message = json.dumps(vendor_payload)
|
vendor_message = json.dumps(vendor_payload)
|
||||||
|
|
||||||
logger.info(f"→ vendor SET {device_id}: {vendor_topic} ← {vendor_message}")
|
logger.info(f"→ vendor SET {device_id}: {vendor_topic} ← {vendor_message}")
|
||||||
@@ -294,6 +299,25 @@ async def mqtt_worker(config: dict[str, Any], redis_client: aioredis.Redis) -> N
|
|||||||
topic = str(message.topic)
|
topic = str(message.topic)
|
||||||
payload_str = message.payload.decode()
|
payload_str = message.payload.decode()
|
||||||
|
|
||||||
|
# Determine if message is from a MAX! device (requires plain text handling)
|
||||||
|
is_max_device = False
|
||||||
|
max_device_id = None
|
||||||
|
max_device_type = None
|
||||||
|
|
||||||
|
# Check if topic matches any MAX! device state topic
|
||||||
|
for device_id, device in devices.items():
|
||||||
|
if device.get("technology") == "max" and topic == device["topics"]["state"]:
|
||||||
|
is_max_device = True
|
||||||
|
max_device_id = device_id
|
||||||
|
max_device_type = device["type"]
|
||||||
|
break
|
||||||
|
|
||||||
|
# Parse payload based on device technology
|
||||||
|
if is_max_device:
|
||||||
|
# MAX! sends plain integer/string, not JSON
|
||||||
|
payload = payload_str.strip()
|
||||||
|
else:
|
||||||
|
# All other technologies use JSON
|
||||||
try:
|
try:
|
||||||
payload = json.loads(payload_str)
|
payload = json.loads(payload_str)
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
@@ -318,7 +342,16 @@ async def mqtt_worker(config: dict[str, Any], redis_client: aioredis.Redis) -> N
|
|||||||
|
|
||||||
# Check if this is a vendor STATE message
|
# Check if this is a vendor STATE message
|
||||||
else:
|
else:
|
||||||
# Find device by vendor state topic
|
# For MAX! devices, we already identified them above
|
||||||
|
if is_max_device:
|
||||||
|
device = devices[max_device_id]
|
||||||
|
device_technology = device.get("technology", "unknown")
|
||||||
|
await handle_vendor_state(
|
||||||
|
client, redis_client, max_device_id, max_device_type,
|
||||||
|
device_technology, payload, redis_channel
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
# Find device by vendor state topic for other technologies
|
||||||
for device_id, device in devices.items():
|
for device_id, device in devices.items():
|
||||||
if topic == device["topics"]["state"]:
|
if topic == device["topics"]["state"]:
|
||||||
device_technology = device.get("technology", "unknown")
|
device_technology = device.get("technology", "unknown")
|
||||||
|
|||||||
@@ -124,6 +124,79 @@ def _transform_thermostat_zigbee2mqtt_to_abstract(payload: dict[str, Any]) -> di
|
|||||||
return payload
|
return payload
|
||||||
|
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# HANDLER FUNCTIONS: max technology (Homegear MAX!)
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
|
def _transform_thermostat_max_to_vendor(payload: dict[str, Any]) -> str:
|
||||||
|
"""Transform abstract thermostat payload to MAX! (Homegear) format.
|
||||||
|
|
||||||
|
MAX! expects only the integer temperature value (no JSON).
|
||||||
|
|
||||||
|
Transformations:
|
||||||
|
- Extract 'target' temperature from payload
|
||||||
|
- Convert float to integer (MAX! only accepts integers)
|
||||||
|
- Return as plain string value
|
||||||
|
|
||||||
|
Example:
|
||||||
|
- Abstract: {'mode': 'heat', 'target': 22.5}
|
||||||
|
- MAX!: "22"
|
||||||
|
|
||||||
|
Note: MAX! ignores mode - it's always in heating mode
|
||||||
|
"""
|
||||||
|
if "target" not in payload:
|
||||||
|
logger.warning(f"MAX! thermostat payload missing 'target': {payload}")
|
||||||
|
return "21" # Default fallback
|
||||||
|
|
||||||
|
target_temp = payload["target"]
|
||||||
|
|
||||||
|
# Convert to integer (MAX! protocol requirement)
|
||||||
|
if isinstance(target_temp, (int, float)):
|
||||||
|
int_temp = int(round(target_temp))
|
||||||
|
return str(int_temp)
|
||||||
|
|
||||||
|
logger.warning(f"MAX! invalid target temperature type: {type(target_temp)}, value: {target_temp}")
|
||||||
|
return "21"
|
||||||
|
|
||||||
|
|
||||||
|
def _transform_thermostat_max_to_abstract(payload: str | int | float) -> dict[str, Any]:
|
||||||
|
"""Transform MAX! (Homegear) thermostat payload to abstract format.
|
||||||
|
|
||||||
|
MAX! sends only the integer temperature value (no JSON).
|
||||||
|
|
||||||
|
Transformations:
|
||||||
|
- Parse plain string/int value
|
||||||
|
- Convert to float for abstract protocol
|
||||||
|
- Wrap in abstract payload structure with mode='heat'
|
||||||
|
|
||||||
|
Example:
|
||||||
|
- MAX!: "22" or 22
|
||||||
|
- Abstract: {'target': 22.0, 'mode': 'heat'}
|
||||||
|
|
||||||
|
Note: MAX! doesn't send current temperature via SET_TEMPERATURE topic
|
||||||
|
"""
|
||||||
|
try:
|
||||||
|
# Handle both string and numeric input
|
||||||
|
if isinstance(payload, str):
|
||||||
|
target_temp = float(payload.strip())
|
||||||
|
elif isinstance(payload, (int, float)):
|
||||||
|
target_temp = float(payload)
|
||||||
|
else:
|
||||||
|
logger.warning(f"MAX! unexpected payload type: {type(payload)}, value: {payload}")
|
||||||
|
target_temp = 21.0
|
||||||
|
|
||||||
|
return {
|
||||||
|
"target": target_temp,
|
||||||
|
"mode": "heat" # MAX! is always in heating mode
|
||||||
|
}
|
||||||
|
except (ValueError, TypeError) as e:
|
||||||
|
logger.error(f"MAX! failed to parse temperature: {payload}, error: {e}")
|
||||||
|
return {
|
||||||
|
"target": 21.0,
|
||||||
|
"mode": "heat"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# REGISTRY: Maps (device_type, technology, direction) -> handler function
|
# REGISTRY: Maps (device_type, technology, direction) -> handler function
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
@@ -142,6 +215,8 @@ TRANSFORM_HANDLERS: dict[tuple[str, str, str], TransformHandler] = {
|
|||||||
("thermostat", "simulator", "to_abstract"): _transform_thermostat_simulator_to_abstract,
|
("thermostat", "simulator", "to_abstract"): _transform_thermostat_simulator_to_abstract,
|
||||||
("thermostat", "zigbee2mqtt", "to_vendor"): _transform_thermostat_zigbee2mqtt_to_vendor,
|
("thermostat", "zigbee2mqtt", "to_vendor"): _transform_thermostat_zigbee2mqtt_to_vendor,
|
||||||
("thermostat", "zigbee2mqtt", "to_abstract"): _transform_thermostat_zigbee2mqtt_to_abstract,
|
("thermostat", "zigbee2mqtt", "to_abstract"): _transform_thermostat_zigbee2mqtt_to_abstract,
|
||||||
|
("thermostat", "max", "to_vendor"): _transform_thermostat_max_to_vendor,
|
||||||
|
("thermostat", "max", "to_abstract"): _transform_thermostat_max_to_abstract,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -407,40 +407,7 @@
|
|||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mode-controls {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
gap: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mode-button {
|
|
||||||
padding: 0.75rem;
|
|
||||||
border: 2px solid #ddd;
|
|
||||||
border-radius: 8px;
|
|
||||||
font-size: 0.875rem;
|
|
||||||
font-weight: 600;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: all 0.2s;
|
|
||||||
background: white;
|
|
||||||
color: #666;
|
|
||||||
min-height: 44px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mode-button:hover {
|
|
||||||
border-color: #667eea;
|
|
||||||
color: #667eea;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mode-button.active {
|
|
||||||
background: #667eea;
|
|
||||||
border-color: #667eea;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mode-button:active {
|
|
||||||
transform: scale(0.95);
|
|
||||||
}
|
|
||||||
|
|
||||||
.events {
|
.events {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
@@ -607,32 +574,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="temp-controls">
|
<div class="temp-controls">
|
||||||
<button class="temp-button" onclick="adjustTarget('{{ device.device_id }}', -0.5)">
|
<button class="temp-button" onclick="adjustTarget('{{ device.device_id }}', -1.0)">
|
||||||
-0.5
|
-1.0
|
||||||
</button>
|
</button>
|
||||||
<button class="temp-button" onclick="adjustTarget('{{ device.device_id }}', 0.5)">
|
<button class="temp-button" onclick="adjustTarget('{{ device.device_id }}', 1.0)">
|
||||||
+0.5
|
+1.0
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mode-controls">
|
|
||||||
<button
|
|
||||||
class="mode-button"
|
|
||||||
id="mode-{{ device.device_id }}-off"
|
|
||||||
onclick="setMode('{{ device.device_id }}', 'off')">
|
|
||||||
Off
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
class="mode-button"
|
|
||||||
id="mode-{{ device.device_id }}-heat"
|
|
||||||
onclick="setMode('{{ device.device_id }}', 'heat')">
|
|
||||||
Heat
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
class="mode-button"
|
|
||||||
id="mode-{{ device.device_id }}-auto"
|
|
||||||
onclick="setMode('{{ device.device_id }}', 'auto')">
|
|
||||||
Auto
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -877,38 +823,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set thermostat mode
|
|
||||||
async function setMode(deviceId, mode) {
|
|
||||||
const currentTarget = thermostatTargets[deviceId] || 21.0;
|
|
||||||
|
|
||||||
try {
|
|
||||||
const response = await fetch(api(`/devices/${deviceId}/set`), {
|
|
||||||
method: 'POST',
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
},
|
|
||||||
body: JSON.stringify({
|
|
||||||
type: 'thermostat',
|
|
||||||
payload: {
|
|
||||||
mode: mode,
|
|
||||||
target: currentTarget
|
|
||||||
}
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
if (response.ok) {
|
|
||||||
console.log(`Sent mode ${mode} to ${deviceId}`);
|
|
||||||
addEvent({
|
|
||||||
action: 'mode_set',
|
|
||||||
device_id: deviceId,
|
|
||||||
mode: mode
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Failed to set mode:', error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update device UI
|
// Update device UI
|
||||||
function updateDeviceUI(deviceId, power, brightness) {
|
function updateDeviceUI(deviceId, power, brightness) {
|
||||||
currentState[deviceId] = power;
|
currentState[deviceId] = power;
|
||||||
@@ -973,18 +887,6 @@
|
|||||||
modeSpan.textContent = mode.toUpperCase();
|
modeSpan.textContent = mode.toUpperCase();
|
||||||
}
|
}
|
||||||
thermostatModes[deviceId] = mode;
|
thermostatModes[deviceId] = mode;
|
||||||
|
|
||||||
// Update mode button states
|
|
||||||
['off', 'heat', 'auto'].forEach(m => {
|
|
||||||
const btn = document.getElementById(`mode-${deviceId}-${m}`);
|
|
||||||
if (btn) {
|
|
||||||
if (m === mode.toLowerCase()) {
|
|
||||||
btn.classList.add('active');
|
|
||||||
} else {
|
|
||||||
btn.classList.remove('active');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
broker: "172.16.2.16"
|
broker: "172.16.2.16"
|
||||||
port: 1883
|
port: 1883
|
||||||
@@ -7,54 +6,345 @@ mqtt:
|
|||||||
username: null
|
username: null
|
||||||
password: null
|
password: null
|
||||||
keepalive: 60
|
keepalive: 60
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
url: "redis://172.23.1.116:6379/8"
|
url: "redis://172.23.1.116:6379/8"
|
||||||
channel: "ui:updates"
|
channel: "ui:updates"
|
||||||
|
|
||||||
devices:
|
devices:
|
||||||
- device_id: test_lampe_1
|
- device_id: lampe_semeniere_wohnzimmer
|
||||||
type: light
|
type: light
|
||||||
cap_version: "light@1.2.0"
|
cap_version: "light@1.2.0"
|
||||||
technology: simulator
|
technology: zigbee2mqtt
|
||||||
features:
|
features:
|
||||||
power: true
|
power: true
|
||||||
brightness: true
|
brightness: false
|
||||||
topics:
|
topics:
|
||||||
set: "vendor/test_lampe_1/set"
|
state: "zigbee2mqtt/0xf0d1b8000015480b"
|
||||||
state: "vendor/test_lampe_1/state"
|
set: "zigbee2mqtt/0xf0d1b8000015480b/set"
|
||||||
- device_id: test_lampe_2
|
metadata:
|
||||||
|
friendly_name: "Lampe Semeniere Wohnzimmer"
|
||||||
|
ieee_address: "0xf0d1b8000015480b"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
- device_id: grosse_lampe_wohnzimmer
|
||||||
type: light
|
type: light
|
||||||
cap_version: "light@1.2.0"
|
cap_version: "light@1.2.0"
|
||||||
technology: simulator
|
technology: zigbee2mqtt
|
||||||
features:
|
features:
|
||||||
power: true
|
power: true
|
||||||
|
brightness: false
|
||||||
topics:
|
topics:
|
||||||
set: "vendor/test_lampe_2/set"
|
state: "zigbee2mqtt/0xf0d1b80000151aca"
|
||||||
state: "vendor/test_lampe_2/state"
|
set: "zigbee2mqtt/0xf0d1b80000151aca/set"
|
||||||
- device_id: test_lampe_3
|
metadata:
|
||||||
|
friendly_name: "grosse Lampe Wohnzimmer"
|
||||||
|
ieee_address: "0xf0d1b80000151aca"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
- device_id: lampe_naehtischchen_wohnzimmer
|
||||||
type: light
|
type: light
|
||||||
cap_version: "light@1.2.0"
|
cap_version: "light@1.2.0"
|
||||||
technology: simulator
|
technology: zigbee2mqtt
|
||||||
features:
|
features:
|
||||||
power: true
|
power: true
|
||||||
brightness: true
|
brightness: false
|
||||||
topics:
|
topics:
|
||||||
set: "vendor/test_lampe_3/set"
|
state: "zigbee2mqtt/0x842e14fffee560ee"
|
||||||
state: "vendor/test_lampe_3/state"
|
set: "zigbee2mqtt/0x842e14fffee560ee/set"
|
||||||
- device_id: test_thermo_1
|
metadata:
|
||||||
type: thermostat
|
friendly_name: "Lampe Naehtischchen Wohnzimmer"
|
||||||
cap_version: "thermostat@2.0.0"
|
ieee_address: "0x842e14fffee560ee"
|
||||||
technology: simulator
|
model: "HG06337"
|
||||||
|
vendor: "Lidl"
|
||||||
|
- device_id: kleine_lampe_rechts_esszimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
features:
|
features:
|
||||||
mode: false
|
power: true
|
||||||
target: true
|
brightness: false
|
||||||
current: true
|
|
||||||
battery: true
|
|
||||||
topics:
|
topics:
|
||||||
set: "vendor/test_thermo_1/set"
|
state: "zigbee2mqtt/0xf0d1b80000156645"
|
||||||
state: "vendor/test_thermo_1/state"
|
set: "zigbee2mqtt/0xf0d1b80000156645/set"
|
||||||
- device_id: experiment_light_1
|
metadata:
|
||||||
|
friendly_name: "kleine Lampe rechts Esszimmer"
|
||||||
|
ieee_address: "0xf0d1b80000156645"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
- device_id: kleine_lampe_links_esszimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: false
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xf0d1b80000153099"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000153099/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "kleine Lampe links Esszimmer"
|
||||||
|
ieee_address: "0xf0d1b80000153099"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
- device_id: leselampe_esszimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xec1bbdfffe7b84f2"
|
||||||
|
set: "zigbee2mqtt/0xec1bbdfffe7b84f2/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Leselampe Esszimmer"
|
||||||
|
ieee_address: "0xec1bbdfffe7b84f2"
|
||||||
|
model: "LED1842G3"
|
||||||
|
vendor: "IKEA"
|
||||||
|
- device_id: medusalampe_schlafzimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: false
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xf0d1b80000154c7c"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000154c7c/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Medusa-Lampe Schlafzimmer"
|
||||||
|
ieee_address: "0xf0d1b80000154c7c"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
- device_id: sportlicht_am_fernseher_studierzimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
color_temperature: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x842e14fffe76a23a"
|
||||||
|
set: "zigbee2mqtt/0x842e14fffe76a23a/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Sportlicht am Fernseher, Studierzimmer"
|
||||||
|
ieee_address: "0x842e14fffe76a23a"
|
||||||
|
model: "LED1733G7"
|
||||||
|
vendor: "IKEA"
|
||||||
|
- device_id: deckenlampe_schlafzimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x0017880108a406a7"
|
||||||
|
set: "zigbee2mqtt/0x0017880108a406a7/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Deckenlampe Schlafzimmer"
|
||||||
|
ieee_address: "0x0017880108a406a7"
|
||||||
|
model: "8718699688882"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: bettlicht_wolfgang
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x00178801081570bf"
|
||||||
|
set: "zigbee2mqtt/0x00178801081570bf/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Bettlicht Wolfgang"
|
||||||
|
ieee_address: "0x00178801081570bf"
|
||||||
|
model: "9290020399"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: bettlicht_patty
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x0017880108158b32"
|
||||||
|
set: "zigbee2mqtt/0x0017880108158b32/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Bettlicht Patty"
|
||||||
|
ieee_address: "0x0017880108158b32"
|
||||||
|
model: "9290020399"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: schranklicht_hinten_patty
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x0017880106e29571"
|
||||||
|
set: "zigbee2mqtt/0x0017880106e29571/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Schranklicht hinten Patty"
|
||||||
|
ieee_address: "0x0017880106e29571"
|
||||||
|
model: "8718699673147"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: schranklicht_vorne_patty
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: false
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xf0d1b80000154cf5"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000154cf5/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Schranklicht vorne Patty"
|
||||||
|
ieee_address: "0xf0d1b80000154cf5"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
- device_id: leselampe_patty
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x001788010600ec9d"
|
||||||
|
set: "zigbee2mqtt/0x001788010600ec9d/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Leselampe Patty"
|
||||||
|
ieee_address: "0x001788010600ec9d"
|
||||||
|
model: "8718699673147"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: deckenlampe_esszimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x0017880108a03e45"
|
||||||
|
set: "zigbee2mqtt/0x0017880108a03e45/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Deckenlampe Esszimmer"
|
||||||
|
ieee_address: "0x0017880108a03e45"
|
||||||
|
model: "929002241201"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: standlampe_esszimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
color_temperature: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xbc33acfffe21f547"
|
||||||
|
set: "zigbee2mqtt/0xbc33acfffe21f547/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Standlampe Esszimmer"
|
||||||
|
ieee_address: "0xbc33acfffe21f547"
|
||||||
|
model: "LED1732G11"
|
||||||
|
vendor: "IKEA"
|
||||||
|
- device_id: haustuer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xec1bbdfffea6a3da"
|
||||||
|
set: "zigbee2mqtt/0xec1bbdfffea6a3da/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Haustür"
|
||||||
|
ieee_address: "0xec1bbdfffea6a3da"
|
||||||
|
model: "LED1842G3"
|
||||||
|
vendor: "IKEA"
|
||||||
|
- device_id: deckenlampe_flur_oben
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
color_temperature: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x001788010d2123a7"
|
||||||
|
set: "zigbee2mqtt/0x001788010d2123a7/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Deckenlampe Flur oben"
|
||||||
|
ieee_address: "0x001788010d2123a7"
|
||||||
|
model: "929003099001"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: kueche_deckenlampe
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x001788010d2c40c4"
|
||||||
|
set: "zigbee2mqtt/0x001788010d2c40c4/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Küche Deckenlampe"
|
||||||
|
ieee_address: "0x001788010d2c40c4"
|
||||||
|
model: "929002469202"
|
||||||
|
vendor: "Philips"
|
||||||
|
- device_id: sportlicht_tisch
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xf0d1b8be2409f31b"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b8be2409f31b/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Sportlicht Tisch"
|
||||||
|
ieee_address: "0xf0d1b8be2409f31b"
|
||||||
|
model: "4058075729063"
|
||||||
|
vendor: "LEDVANCE"
|
||||||
|
- device_id: sportlicht_regal
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xf0d1b8be2409f569"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b8be2409f569/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Sportlicht Regal"
|
||||||
|
ieee_address: "0xf0d1b8be2409f569"
|
||||||
|
model: "4058075729063"
|
||||||
|
vendor: "LEDVANCE"
|
||||||
|
- device_id: licht_flur_oben_am_spiegel
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
color_temperature: true
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x842e14fffefe4ba4"
|
||||||
|
set: "zigbee2mqtt/0x842e14fffefe4ba4/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Licht Flur oben am Spiegel"
|
||||||
|
ieee_address: "0x842e14fffefe4ba4"
|
||||||
|
model: "LED1732G11"
|
||||||
|
vendor: "IKEA"
|
||||||
|
- device_id: experimentlabtest
|
||||||
type: light
|
type: light
|
||||||
cap_version: "light@1.2.0"
|
cap_version: "light@1.2.0"
|
||||||
technology: zigbee2mqtt
|
technology: zigbee2mqtt
|
||||||
@@ -62,5 +352,169 @@ devices:
|
|||||||
power: true
|
power: true
|
||||||
brightness: true
|
brightness: true
|
||||||
topics:
|
topics:
|
||||||
set: "zigbee2mqtt/0xf0d1b80000195038/set"
|
|
||||||
state: "zigbee2mqtt/0xf0d1b80000195038"
|
state: "zigbee2mqtt/0xf0d1b80000195038"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000195038/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "ExperimentLabTest"
|
||||||
|
ieee_address: "0xf0d1b80000195038"
|
||||||
|
model: "4058075208421"
|
||||||
|
vendor: "LEDVANCE"
|
||||||
|
- device_id: thermostat_wolfgang
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
heating: true
|
||||||
|
temperature_range:
|
||||||
|
- 5
|
||||||
|
- 30
|
||||||
|
temperature_step: 0.5
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x540f57fffe7e3cfe"
|
||||||
|
set: "zigbee2mqtt/0x540f57fffe7e3cfe/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Wolfgang"
|
||||||
|
ieee_address: "0x540f57fffe7e3cfe"
|
||||||
|
model: "GS361A-H04"
|
||||||
|
vendor: "Siterwell"
|
||||||
|
- device_id: thermostat_kueche
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
heating: true
|
||||||
|
temperature_range:
|
||||||
|
- 5
|
||||||
|
- 30
|
||||||
|
temperature_step: 0.5
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0x94deb8fffe2e5c06"
|
||||||
|
set: "zigbee2mqtt/0x94deb8fffe2e5c06/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Kueche"
|
||||||
|
ieee_address: "0x94deb8fffe2e5c06"
|
||||||
|
model: "GS361A-H04"
|
||||||
|
vendor: "Siterwell"
|
||||||
|
- device_id: thermostat_schlafzimmer
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: max
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/42/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/42/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Schlafzimmer"
|
||||||
|
location: "Schlafzimmer"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "42"
|
||||||
|
channel: "1"
|
||||||
|
- device_id: thermostat_esszimmer
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: max
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/45/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/45/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Esszimmer"
|
||||||
|
location: "Esszimmer"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "45"
|
||||||
|
channel: "1"
|
||||||
|
- device_id: thermostat_wohnzimmer
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: max
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/46/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/46/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Wohnzimmer"
|
||||||
|
location: "Wohnzimmer"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "46"
|
||||||
|
channel: "1"
|
||||||
|
- device_id: thermostat_patty
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: max
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/39/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/39/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Patty"
|
||||||
|
location: "Arbeitszimmer Patty"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "39"
|
||||||
|
channel: "1"
|
||||||
|
- device_id: thermostat_bad_oben
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: max
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/41/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/41/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Bad Oben"
|
||||||
|
location: "Bad Oben"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "41"
|
||||||
|
channel: "1"
|
||||||
|
- device_id: thermostat_bad_unten
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@1.0.0"
|
||||||
|
technology: max
|
||||||
|
features:
|
||||||
|
mode: true
|
||||||
|
target: true
|
||||||
|
current: false
|
||||||
|
topics:
|
||||||
|
set: "homegear/instance1/set/48/1/SET_TEMPERATURE"
|
||||||
|
state: "homegear/instance1/plain/48/1/SET_TEMPERATURE"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Thermostat Bad Unten"
|
||||||
|
location: "Bad Unten"
|
||||||
|
vendor: "eQ-3"
|
||||||
|
model: "MAX! Thermostat"
|
||||||
|
peer_id: "48"
|
||||||
|
channel: "1"
|
||||||
|
- device_id: sterne_wohnzimmer
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: false
|
||||||
|
topics:
|
||||||
|
state: "zigbee2mqtt/0xf0d1b80000155fc2"
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000155fc2/set"
|
||||||
|
metadata:
|
||||||
|
friendly_name: "Sterne Wohnzimmer"
|
||||||
|
ieee_address: "0xf0d1b80000155fc2"
|
||||||
|
model: "AC10691"
|
||||||
|
vendor: "OSRAM"
|
||||||
|
|||||||
66
config/devices.yaml-20251110
Normal file
66
config/devices.yaml-20251110
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
version: 1
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
broker: "172.16.2.16"
|
||||||
|
port: 1883
|
||||||
|
client_id: "home-automation-abstraction"
|
||||||
|
username: null
|
||||||
|
password: null
|
||||||
|
keepalive: 60
|
||||||
|
|
||||||
|
redis:
|
||||||
|
url: "redis://172.23.1.116:6379/8"
|
||||||
|
channel: "ui:updates"
|
||||||
|
|
||||||
|
devices:
|
||||||
|
- device_id: test_lampe_1
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_lampe_1/set"
|
||||||
|
state: "vendor/test_lampe_1/state"
|
||||||
|
- device_id: test_lampe_2
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_lampe_2/set"
|
||||||
|
state: "vendor/test_lampe_2/state"
|
||||||
|
- device_id: test_lampe_3
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_lampe_3/set"
|
||||||
|
state: "vendor/test_lampe_3/state"
|
||||||
|
- device_id: test_thermo_1
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@2.0.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
mode: false
|
||||||
|
target: true
|
||||||
|
current: true
|
||||||
|
battery: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_thermo_1/set"
|
||||||
|
state: "vendor/test_thermo_1/state"
|
||||||
|
- device_id: experiment_light_1
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000195038/set"
|
||||||
|
state: "zigbee2mqtt/0xf0d1b80000195038"
|
||||||
66
config/devices.yaml.backup-20251110-110730
Normal file
66
config/devices.yaml.backup-20251110-110730
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
version: 1
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
broker: "172.16.2.16"
|
||||||
|
port: 1883
|
||||||
|
client_id: "home-automation-abstraction"
|
||||||
|
username: null
|
||||||
|
password: null
|
||||||
|
keepalive: 60
|
||||||
|
|
||||||
|
redis:
|
||||||
|
url: "redis://172.23.1.116:6379/8"
|
||||||
|
channel: "ui:updates"
|
||||||
|
|
||||||
|
devices:
|
||||||
|
- device_id: test_lampe_1
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_lampe_1/set"
|
||||||
|
state: "vendor/test_lampe_1/state"
|
||||||
|
- device_id: test_lampe_2
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_lampe_2/set"
|
||||||
|
state: "vendor/test_lampe_2/state"
|
||||||
|
- device_id: test_lampe_3
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_lampe_3/set"
|
||||||
|
state: "vendor/test_lampe_3/state"
|
||||||
|
- device_id: test_thermo_1
|
||||||
|
type: thermostat
|
||||||
|
cap_version: "thermostat@2.0.0"
|
||||||
|
technology: simulator
|
||||||
|
features:
|
||||||
|
mode: false
|
||||||
|
target: true
|
||||||
|
current: true
|
||||||
|
battery: true
|
||||||
|
topics:
|
||||||
|
set: "vendor/test_thermo_1/set"
|
||||||
|
state: "vendor/test_thermo_1/state"
|
||||||
|
- device_id: experiment_light_1
|
||||||
|
type: light
|
||||||
|
cap_version: "light@1.2.0"
|
||||||
|
technology: zigbee2mqtt
|
||||||
|
features:
|
||||||
|
power: true
|
||||||
|
brightness: true
|
||||||
|
topics:
|
||||||
|
set: "zigbee2mqtt/0xf0d1b80000195038/set"
|
||||||
|
state: "zigbee2mqtt/0xf0d1b80000195038"
|
||||||
@@ -1,35 +1,149 @@
|
|||||||
# UI Layout Configuration
|
|
||||||
# Defines rooms and device tiles for the home automation UI
|
|
||||||
|
|
||||||
rooms:
|
rooms:
|
||||||
- name: Wohnzimmer
|
|
||||||
devices:
|
|
||||||
- device_id: test_lampe_2
|
|
||||||
title: Deckenlampe
|
|
||||||
icon: "💡"
|
|
||||||
rank: 5
|
|
||||||
- device_id: test_lampe_1
|
|
||||||
title: Stehlampe
|
|
||||||
icon: "🔆"
|
|
||||||
rank: 10
|
|
||||||
- device_id: test_thermo_1
|
|
||||||
title: Thermostat
|
|
||||||
icon: "🌡️"
|
|
||||||
rank: 15
|
|
||||||
|
|
||||||
- name: Schlafzimmer
|
- name: Schlafzimmer
|
||||||
devices:
|
devices:
|
||||||
- device_id: test_lampe_3
|
- device_id: bettlicht_patty
|
||||||
title: Nachttischlampe
|
title: Bettlicht Patty
|
||||||
icon: "🛏️"
|
icon: 🛏️
|
||||||
rank: 10
|
rank: 10
|
||||||
|
- device_id: bettlicht_wolfgang
|
||||||
- name: Lab
|
title: Bettlicht Wolfgang
|
||||||
|
icon: 🛏️
|
||||||
|
rank: 20
|
||||||
|
- device_id: deckenlampe_schlafzimmer
|
||||||
|
title: Deckenlampe Schlafzimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 30
|
||||||
|
- device_id: medusalampe_schlafzimmer
|
||||||
|
title: Medusa-Lampe Schlafzimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 40
|
||||||
|
- device_id: thermostat_schlafzimmer
|
||||||
|
title: Thermostat Schlafzimmer
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 45
|
||||||
|
- name: Esszimmer
|
||||||
devices:
|
devices:
|
||||||
- device_id: experiment_light_1
|
- device_id: deckenlampe_esszimmer
|
||||||
title: Experimentierlampe
|
title: Deckenlampe Esszimmer
|
||||||
icon: "💡"
|
icon: 💡
|
||||||
rank: 10
|
rank: 50
|
||||||
|
- device_id: leselampe_esszimmer
|
||||||
|
title: Leselampe Esszimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 60
|
||||||
|
- device_id: standlampe_esszimmer
|
||||||
|
title: Standlampe Esszimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 70
|
||||||
|
- device_id: kleine_lampe_links_esszimmer
|
||||||
|
title: kleine Lampe links Esszimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 80
|
||||||
|
- device_id: kleine_lampe_rechts_esszimmer
|
||||||
|
title: kleine Lampe rechts Esszimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 90
|
||||||
|
- device_id: thermostat_esszimmer
|
||||||
|
title: Thermostat Esszimmer
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 95
|
||||||
|
- name: Wohnzimmer
|
||||||
|
devices:
|
||||||
|
- device_id: lampe_naehtischchen_wohnzimmer
|
||||||
|
title: Lampe Naehtischchen Wohnzimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 100
|
||||||
|
- device_id: lampe_semeniere_wohnzimmer
|
||||||
|
title: Lampe Semeniere Wohnzimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 110
|
||||||
|
- device_id: sterne_wohnzimmer
|
||||||
|
title: Sterne Wohnzimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 120
|
||||||
|
- device_id: grosse_lampe_wohnzimmer
|
||||||
|
title: grosse Lampe Wohnzimmer
|
||||||
|
icon: 💡
|
||||||
|
rank: 130
|
||||||
|
- device_id: thermostat_wohnzimmer
|
||||||
|
title: Thermostat Wohnzimmer
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 135
|
||||||
|
- name: Küche
|
||||||
|
devices:
|
||||||
|
- device_id: kueche_deckenlampe
|
||||||
|
title: Küche Deckenlampe
|
||||||
|
icon: 💡
|
||||||
|
rank: 140
|
||||||
|
- device_id: thermostat_kueche
|
||||||
|
title: Kueche
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 150
|
||||||
|
- name: Arbeitszimmer Patty
|
||||||
|
devices:
|
||||||
|
- device_id: leselampe_patty
|
||||||
|
title: Leselampe Patty
|
||||||
|
icon: 💡
|
||||||
|
rank: 160
|
||||||
|
- device_id: schranklicht_hinten_patty
|
||||||
|
title: Schranklicht hinten Patty
|
||||||
|
icon: 💡
|
||||||
|
rank: 170
|
||||||
|
- device_id: schranklicht_vorne_patty
|
||||||
|
title: Schranklicht vorne Patty
|
||||||
|
icon: 💡
|
||||||
|
rank: 180
|
||||||
|
- device_id: thermostat_patty
|
||||||
|
title: Thermostat Patty
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 185
|
||||||
|
- name: Arbeitszimmer Wolfgang
|
||||||
|
devices:
|
||||||
|
- device_id: thermostat_wolfgang
|
||||||
|
title: Wolfgang
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 190
|
||||||
|
- device_id: experimentlabtest
|
||||||
|
title: ExperimentLabTest
|
||||||
|
icon: 💡
|
||||||
|
rank: 200
|
||||||
|
- name: Flur
|
||||||
|
devices:
|
||||||
|
- device_id: deckenlampe_flur_oben
|
||||||
|
title: Deckenlampe Flur oben
|
||||||
|
icon: 💡
|
||||||
|
rank: 210
|
||||||
|
- device_id: haustuer
|
||||||
|
title: Haustür
|
||||||
|
icon: 💡
|
||||||
|
rank: 220
|
||||||
|
- device_id: licht_flur_oben_am_spiegel
|
||||||
|
title: Licht Flur oben am Spiegel
|
||||||
|
icon: 💡
|
||||||
|
rank: 230
|
||||||
|
- name: Sportzimmer
|
||||||
|
devices:
|
||||||
|
- device_id: sportlicht_regal
|
||||||
|
title: Sportlicht Regal
|
||||||
|
icon: 🏃
|
||||||
|
rank: 240
|
||||||
|
- device_id: sportlicht_tisch
|
||||||
|
title: Sportlicht Tisch
|
||||||
|
icon: 🏃
|
||||||
|
rank: 250
|
||||||
|
- device_id: sportlicht_am_fernseher_studierzimmer
|
||||||
|
title: Sportlicht am Fernseher, Studierzimmer
|
||||||
|
icon: 🏃
|
||||||
|
rank: 260
|
||||||
|
- name: Bad Oben
|
||||||
|
devices:
|
||||||
|
- device_id: thermostat_bad_oben
|
||||||
|
title: Thermostat Bad Oben
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 270
|
||||||
|
- name: Bad Unten
|
||||||
|
devices:
|
||||||
|
- device_id: thermostat_bad_unten
|
||||||
|
title: Thermostat Bad Unten
|
||||||
|
icon: 🌡️
|
||||||
|
rank: 280
|
||||||
|
|||||||
35
config/layout.yaml.backup-20251110-122723
Normal file
35
config/layout.yaml.backup-20251110-122723
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# UI Layout Configuration
|
||||||
|
# Defines rooms and device tiles for the home automation UI
|
||||||
|
|
||||||
|
rooms:
|
||||||
|
- name: Wohnzimmer
|
||||||
|
devices:
|
||||||
|
- device_id: test_lampe_2
|
||||||
|
title: Deckenlampe
|
||||||
|
icon: "💡"
|
||||||
|
rank: 5
|
||||||
|
- device_id: test_lampe_1
|
||||||
|
title: Stehlampe
|
||||||
|
icon: "🔆"
|
||||||
|
rank: 10
|
||||||
|
- device_id: test_thermo_1
|
||||||
|
title: Thermostat
|
||||||
|
icon: "🌡️"
|
||||||
|
rank: 15
|
||||||
|
|
||||||
|
- name: Schlafzimmer
|
||||||
|
devices:
|
||||||
|
- device_id: test_lampe_3
|
||||||
|
title: Nachttischlampe
|
||||||
|
icon: "🛏️"
|
||||||
|
rank: 10
|
||||||
|
|
||||||
|
- name: Lab
|
||||||
|
devices:
|
||||||
|
- device_id: experiment_light_1
|
||||||
|
title: Experimentierlampe
|
||||||
|
icon: "💡"
|
||||||
|
rank: 10
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
23
config/max-thermostats.txt
Normal file
23
config/max-thermostats.txt
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# MAX! Thermostats - Room Assignment
|
||||||
|
#
|
||||||
|
# Extracted from layout.yaml
|
||||||
|
# Format: Room Name | Device ID (if thermostat exists)
|
||||||
|
#
|
||||||
|
|
||||||
|
Schlafzimmer
|
||||||
|
42
|
||||||
|
|
||||||
|
Esszimmer
|
||||||
|
45
|
||||||
|
|
||||||
|
Wohnzimmer
|
||||||
|
46
|
||||||
|
|
||||||
|
Arbeitszimmer Patty
|
||||||
|
39
|
||||||
|
|
||||||
|
Bad Oben
|
||||||
|
41
|
||||||
|
|
||||||
|
Bad Unten
|
||||||
|
48
|
||||||
Reference in New Issue
Block a user