Closed zewelor closed 2 years ago
Describe the bug
Hi
thanks for great script !
I have Shelly TRV, which I've configured and everything works except Valve position entity. Its unavailbe.
Expected behavior
Valve position entity works
Versions:
Shellies Discovery automation:
Debug log:
Attaching mqtt messages. Tried to debug it but cannot see whats wrong.
shellies/shellytrv-XXXXXXXXXXX/info {"wifi_sta":{"connected":true,"ssid":"x2.wifi","ip":"10.0.7.196","rssi":-64},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":true},"time":"10:37","unixtime":1664959079,"serial":0,"has_update":false,"mac":"XXXXXXXXXXX","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"thermostats":[{"pos":0.0,"target_t":{"enabled":true,"value":20.0,"value_op":8.0,"units":"C"},"tmp":{"value":20.8,"units":"C","is_valid":true},"schedule":true,"schedule_profile":1,"boost_minutes":0,"window_open":false}],"calibrated":true,"bat":{"value":99,"voltage":4.093},"charger":false,"update":{"status":"unknown","has_update":false,"new_version":"20220811-152343/v2.1.8@5afc928c","old_version":"20220811-152343/v2.1.8@5afc928c","beta_version":null},"ram_total":97280,"ram_free":22568,"fs_size":65536,"fs_free":59452,"uptime":1206,"fw_info":{"device":"shellytrv-XXXXXXXXXXX","fw":"20220811-152343/v2.1.8@5afc928c"},"ps_mode":0,"dbg_flags":0} homeassistant/number/shellytrv-XXXXXXXXXXX-valve_position/config {"name": "Shelly Valve XXXXXXXXXXX Valve Position", "cmd_t": "~thermostat/0/command/valve_pos", "max": 100, "min": 0, "step": 1, "stat_t": "~info", "val_tpl": "{{value_json.thermostats.0.pos}}", "unit_of_meas": "%", "en": "false", "uniq_id": "shellytrv-60a423d3fc14-valve_position", "qos": 0, "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev": {"cns": [["mac", "XX:XX:XX:XX:XX:XX"]], "name": "Shelly Valve XXXXXXXXXXX", "mdl": "Shelly Valve", "sw": "20220811-152343/v2.1.8@5afc928c", "hw": "gen1 (SHTRV-01)", "mf": "Allterco Robotics", "cu": "http://10.0.7.196/"}, "~": "shellies/shellytrv-XXXXXXXXXXX/", "entity_category": "config", "icon": "mdi:pipe-valve"} homeassistant/number/shellytrv-XXXXXXXXXXX-minimal_valve_position/config {"name": "Shelly Valve XXXXXXXXXXX Minimal Valve Position", "cmd_t": "~thermostat/0/command/valve_min_percent", "max": 10, "min": 0, "step": 1, "stat_t": "~settings", "val_tpl": "{{value_json.thermostats.0.valve_min_percent}}", "unit_of_meas": "%", "en": "true", "uniq_id": "shellytrv-XXXXXXXXXXX-minimal_valve_position", "qos": 0, "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "dev": {"cns": [["mac", "XX:XX:XX:XX:XX:XX"]], "name": "Shelly Valve XXXXXXXXXXX", "mdl": "Shelly Valve", "sw": "20220811-152343/v2.1.8@5afc928c", "hw": "gen1 (SHTRV-01)", "mf": "Allterco Robotics", "cu": "http://10.0.7.196/"}, "~": "shellies/shellytrv-XXXXXXXXXXX/", "entity_category": "config", "icon": "mdi:filter-minus-outline"}
Looks like Valve position was disabled in advanced view. Not sure why. After enabling it all works fine.
Describe the bug
Hi
thanks for great script !
I have Shelly TRV, which I've configured and everything works except Valve position entity. Its unavailbe.
Expected behavior
Valve position entity works
Versions:
Shellies Discovery automation:
Debug log:
Attaching mqtt messages. Tried to debug it but cannot see whats wrong.