argh… you are right.
i use to read HA changelog, but not Shelly changelog.
let me see what changes are in v1.11…
argh… you are right.
i use to read HA changelog, but not Shelly changelog.
let me see what changes are in v1.11…
i can’t find shelly changelog page.
there is only since v1.9 but today it updates to v1.11
Please, do you know where i can found it?
I mean Shellies Discovery changelog, not Shelly firmware changelog.
You should be interested in this:
and this:
Shelly firmware changelog should be here API Reference
Changelog from Shelly support group:
external_power
to the announce
topic - Donemode
to the announce
topic - DoneWell,
after many changes and update i reboot my server, my mqtt container and HA too i got everything worked again… and, at the end of this troubles my configuration is the same then before…
I added the mode: ‘{{ trigger.payload_jason.mode | default }}’ but as for version 0.40 it was removed for shelly2.5, so i put again the mode option in shelly discver automation.
By the way… thank you for your support
Ciao
Thank you for your great work! I unknowingly had custom names for my shellies with spaces. At first it wouldn’t work. I realized i needed to remove the spaces and at that point all of the devices were created. However, some of them are not able to be controlled in HA…. It will always reflect the current state as in on/off for a switch… but if i try to turn it off in HA it doesn’t do anything… i looked in the log and apparently the messages are getting posted with the spaces even though in HA it shows no spaces…. Any idea how i can fix this? Let me know what additional info i can provide… thanks in advance!
—j
Debug log for python_script
component.
upon further investigation… I was able to determine that all ofmy shelly 2.5s work but none of my shelly 1s work…
> 2021-07-30 16:09:35 DEBUG (SyncWorker_6) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-Beta-firmware-update/config {"name": "Shelly 1 Beta Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "switch-beta-firmware-update", "qos": 0, "dev": {"ids": ["8caab55fe242"], "name": "Shelly 1 Beta", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-Beta/", "val_tpl": "{%if value_json['update'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "json_attr_t": "~info", "json_attr_tpl": "{{value_json['update']|tojson}}"}
>
> 2021-07-30 16:09:35 DEBUG (SyncWorker_6) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/Switch-Beta-ext_switch/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:35 DEBUG (SyncWorker_6) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-Beta-ext_switch/config
>
> 2021-07-30 16:09:35 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Running automation actions
>
> 2021-07-30 16:09:35 INFO (MainThread) [homeassistant.components.automation.shellies_discovery] Shellies Discovery: Executing step call service
>
> 2021-07-30 16:09:36 INFO (SyncWorker_1) [homeassistant.components.python_script] Executing shellies_discovery.py: {'id': 'Switch-KitchenIsland', 'mac': '8CAAB56E4264', 'fw_ver': '20210720-184522/v1.11.0-g6abd92e', 'model': 'SHSW-1'}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] id: Switch-KitchenIsland, mac: 8caab56e4264, fw_ver: 20210720-184522/v1.11.0-g6abd92e, model: SHSW-1
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/switch/Switch-KitchenIsland-relay-0/config', 'payload': '{"name": "Shelly 1 KitchenIsland Relay 0", "cmd_t": "~relay/0/command", "stat_t": "~relay/0", "pl_off": "off", "pl_on": "on", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-relay-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/switch/Switch-KitchenIsland-relay-0/config {"name": "Shelly 1 KitchenIsland Relay 0", "cmd_t": "~relay/0/command", "stat_t": "~relay/0", "pl_off": "off", "pl_on": "on", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-relay-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/light/Switch-KitchenIsland-relay-0/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/light/Switch-KitchenIsland-relay-0/config
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/fan/Switch-KitchenIsland-relay-0/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/fan/Switch-KitchenIsland-relay-0/config
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/Switch-KitchenIsland-input-0/config', 'payload': '{"name": "Shelly 1 KitchenIsland Input 0", "stat_t": "~input/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-input-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "pl_on": "1", "pl_off": "0"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-KitchenIsland-input-0/config {"name": "Shelly 1 KitchenIsland Input 0", "stat_t": "~input/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-input-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "pl_on": "1", "pl_off": "0"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/Switch-KitchenIsland-longpush-0/config', 'payload': '{"name": "Shelly 1 KitchenIsland Longpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-longpush-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'L\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-KitchenIsland-longpush-0/config {"name": "Shelly 1 KitchenIsland Longpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-longpush-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "off_dly": 2, "val_tpl": "{%if value_json.event=='L'%}ON{%else%}OFF{%endif%}"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/Switch-KitchenIsland-shortpush-0/config', 'payload': '{"name": "Shelly 1 KitchenIsland Shortpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-shortpush-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "off_dly": 2, "val_tpl": "{%if value_json.event==\'S\'%}ON{%else%}OFF{%endif%}"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-KitchenIsland-shortpush-0/config {"name": "Shelly 1 KitchenIsland Shortpush 0", "stat_t": "~input_event/0", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "uniq_id": "switch-kitchenisland-shortpush-0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "off_dly": 2, "val_tpl": "{%if value_json.event=='S'%}ON{%else%}OFF{%endif%}"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-rssi/config', 'payload': '{"name": "Shelly 1 KitchenIsland RSSI", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-rssi", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "unit_of_meas": "dBm", "dev_cla": "signal_strength", "val_tpl": "{{value_json[\'wifi_sta\'].rssi}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-rssi/config {"name": "Shelly 1 KitchenIsland RSSI", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-rssi", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "unit_of_meas": "dBm", "dev_cla": "signal_strength", "val_tpl": "{{value_json['wifi_sta'].rssi}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-ssid/config', 'payload': '{"name": "Shelly 1 KitchenIsland SSID", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-ssid", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "val_tpl": "{{value_json[\'wifi_sta\'].ssid}}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-ssid/config {"name": "Shelly 1 KitchenIsland SSID", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-ssid", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "val_tpl": "{{value_json['wifi_sta'].ssid}}", "icon": "mdi:wifi", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-uptime/config', 'payload': '{"name": "Shelly 1 KitchenIsland Uptime", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-uptime", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "icon": "mdi:timer-outline", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-uptime/config {"name": "Shelly 1 KitchenIsland Uptime", "stat_t": "~info", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-uptime", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "dev_cla": "timestamp", "val_tpl": "{{(as_timestamp(now())-value_json.uptime)|timestamp_local}}", "icon": "mdi:timer-outline", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-ip/config', 'payload': '{"name": "Shelly 1 KitchenIsland IP", "stat_t": "~announce", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-ip", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "val_tpl": "{{value_json.ip}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-ip/config {"name": "Shelly 1 KitchenIsland IP", "stat_t": "~announce", "frc_upd": "False", "en": "False", "uniq_id": "switch-kitchenisland-ip", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "val_tpl": "{{value_json.ip}}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/Switch-KitchenIsland-input-0/button_release/config', 'payload': '{"atype": "trigger", "t": "shellies/Switch-KitchenIsland/input/0", "pl": "0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_1"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/Switch-KitchenIsland-input-0/button_release/config {"atype": "trigger", "t": "shellies/Switch-KitchenIsland/input/0", "pl": "0", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "type": "button_short_release", "stype": "button_1"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/Switch-KitchenIsland-input-0/button_long_press/config', 'payload': '{"atype": "trigger", "t": "shellies/Switch-KitchenIsland/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/Switch-KitchenIsland-input-0/button_long_press/config {"atype": "trigger", "t": "shellies/Switch-KitchenIsland/input_event/0", "pl": "L", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "type": "button_long_press", "stype": "button_1"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/device_automation/Switch-KitchenIsland-input-0/button_short_press/config', 'payload': '{"atype": "trigger", "t": "shellies/Switch-KitchenIsland/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_1"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/device_automation/Switch-KitchenIsland-input-0/button_short_press/config {"atype": "trigger", "t": "shellies/Switch-KitchenIsland/input_event/0", "pl": "S", "val_tpl": "{{value_json.event}}", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "type": "button_short_press", "stype": "button_1"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-ext-temperature-0/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-ext-temperature-0/config
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-ext-temperature-1/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-ext-temperature-1/config
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-ext-temperature-2/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-ext-temperature-2/config
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/sensor/Switch-KitchenIsland-ext-humidity-0/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/sensor/Switch-KitchenIsland-ext-humidity-0/config
>
`2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/Switch-KitchenIsland-firmware-update/config', 'payload': '{"name": "Shelly 1 KitchenIsland Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "switch-kitchenisland-firmware-update", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "val_tpl": "{%if value_json[\'update\'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "json_attr_t": "~info", "json_attr_tpl": "{{value_json[\'update\']|tojson}}"}', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-KitchenIsland-firmware-update/config {"name": "Shelly 1 KitchenIsland Firmware Update", "stat_t": "~info", "en": "True", "uniq_id": "switch-kitchenisland-firmware-update", "qos": 0, "dev": {"ids": ["8caab56e4264"], "name": "Shelly 1 KitchenIsland", "mdl": "Shelly 1", "sw": "20210720-184522/v1.11.0-g6abd92e", "mf": "Allterco Robotics"}, "~": "shellies/Switch-KitchenIsland/", "val_tpl": "{%if value_json['update'].has_update==true%}ON{%else%}OFF{%endif%}", "avty_t": "~online", "pl_avail": "true", "pl_not_avail": "false", "json_attr_t": "~info", "json_attr_tpl": "{{value_json['update']|tojson}}"}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] {'topic': 'homeassistant/binary_sensor/Switch-KitchenIsland-ext_switch/config', 'payload': '', 'retain': True, 'qos': 0}
>
> 2021-07-30 16:09:36 DEBUG (SyncWorker_1) [homeassistant.components.python_script.shellies_discovery.py] Sending to MQTT broker: homeassistant/binary_sensor/Switch-KitchenIsland-ext_switch/config
What does it mean? Are they visible in HA integrations? Are their entities in an available state? Do switches react to on/off? Are there any errors in the log? What is the Shellies Discovery configuration?
The shelly 1s do show up in HA. The entities are there… The device show as being one or off correctly… in HA, if I try to turn it off (if its on) and vice versa… the switch will appear to go to the desired state but the device won’t actually change and a few seconds later it the switch goes back to representing the state it was in…I don’t see any errors.
- id: "shellies_discovery"
alias: "Shellies Discovery"
mode: queued
max: 999
trigger:
platform: mqtt
topic: shellies/announce
action:
service: python_script.shellies_discovery
data:
id: "{{ trigger.payload_json.id }}"
mac: "{{ trigger.payload_json.mac }}"
fw_ver: "{{ trigger.payload_json.fw_ver }}"
model: "{{ trigger.payload_json.model }}"
qos: 2
However, I can turn on and off the 2.5s
The script configuration is correct, the config topic in the log is also correct, so the communication between the device and the MQTT broker is probably a problem.
it works for the other devices, only doesn’t work for shelly 1, and it reflects the information of the shell1 correctly… what could it be?
I just rebooted one of the shelly 1s and it seems like that might have done the trick…
@Bieniu by any chance… will you be working on support for the new shelly pro 4 pm? if yes is there a beta version I can try ?
It’s not possible to configure Shelly Pro 4 PM via MQTT Discovery. At least I didn’t find a way to do it.
@Bieniu understood… I just installed it and noticed it’s very different from the other shellies in MQTT explorer
Will see how to do it manually … Thanks
I’m afraid, manually it also is very hard.
Just installed the script and it looks like my Shelly Vintage’ FW version is not supported. The Settings/Firmware Update sections states that my current version 20210429-100039/v1.10.4 is the latest version available. Almost all other device have received the update, but the Vintage has not. As the script is checking to the date 20210720 this returns the log message to update the FW. Any advice to proceed ?