Skip to content

shelly: add attribute for shelly TRV #967

@decebu

Description

@decebu

Danke für das neue Shelly Plugin.

Ich nutze das TRV Device. Die Attribute werden als unbehandelter Gen1 status empfangen:

2024-10-28 07:59:35 CET INFO     __init__          modules.mqtt.paho_client Unbehandelter Gen1 Status für shellytrv-XXX:
 - Model='SHTRV-01'
 - API: Gen1
 - App=shellytrv
 - Client_ID=shellytrv-XXX
 - Parameter: 'status'={'tmp': {'value': 20.3, 'units': 'C', 'is_valid': True}, 'target_t': {'enabled': True, 'value': 20.0, 'units': 'C'}, 'temperature_offset': 0.0, 'bat': 99}
 - Group=''
 - Topic=shellies/shellytrv-XXX/status
 - Payload={'tmp': {'value': 20.3, 'units': 'C', 'is_valid': True}, 'target_t': {'enabled': True, 'value': 20.0, 'units': 'C'}, 'temperature_offset': 0.0, 'bat': 99}
 - Calling method=handle_gen1_status (pos='*1.1')  --  (__init__.py:log_unhandled_status:496)
2024-10-28 07:59:38 CET INFO     __init__          modules.mqtt.paho_client Unbehandelter Gen1 Status für shellytrv-XXX:
 - Model='SHTRV-01'
 - API: Gen1
 - App=shellytrv
 - Client_ID=shellytrv-XXX
 - Parameter: 'thermostats'=[{'pos': 0.0, 'target_t': {'enabled': True, 'value': 20.0, 'value_op': 8.0, 'units': 'C'}, 'tmp': {'value': 20.3, 'units': 'C', 'is_valid': True}, 'schedule': True, 'schedule_profile': 3, 'boost_minutes': 0, 'window_open': False}]
 - Group=''
 - Topic=shellies/shellytrv-XXX/info
 - Payload={'wifi_sta': {'connected': True, 'ssid': 'SECRET_SSID', 'ip': '192.168.2.17', 'rssi': -47}, 'cloud': {'enabled': True, 'connected': True}, 'mqtt': {'connected': True}, 'time': '07:59', 'unixtime': 1730098774, 'serial': 22, 'has_update': False, 'mac': 'XXX', 'cfg_changed_cnt': 5, 'actions_stats': {'skipped': 0}, 'thermostats': [{'pos': 0.0, 'target_t': {'enabled': True, 'value': 20.0, 'value_op': 8.0, 'units': 'C'}, 'tmp': {'value': 20.3, 'units': 'C', 'is_valid': True}, 'schedule': True, 'schedule_profile': 3, 'boost_minutes': 0, 'window_open': False}], 'calibrated': True, 'bat': {'value': 99, 'voltage': 4.085}, 'charger': False, 'update': {'status': 'unknown', 'has_update': False, 'new_version': '20240619-130912/v2.2.4@ee290818', 'old_version': '20240619-130912/v2.2.4@ee290818', 'beta_version': None}, 'ram_total': 97280, 'ram_free': 30584, 'fs_size': 65536, 'fs_free': 59324, 'uptime': 55124, 'fw_info': {'device': 'shellytrv-XXX', 'fw': '20240619-130912/v2.2.4@ee290818'}, 'ps_mode': 0, 'dbg_flags': 0}
 - Calling method=handle_gen1_info (pos='*1')  --  (__init__.py:log_unhandled_status:496)

Danke und Gruß

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions