niceboygithub/AqaraSmartSwitchS1E

Theme service didn't work

froggyfly opened this issue · 4 comments

send a MQTT: Publish to the S1E telneted,

topic: "homeassistant/select/0x0054ef4441dfa8/theme/settheme"
payload: "http://homeassistant.local:8123/local/theme_6_9.zip"
qos: 0
retain: false

the theme wont change, please help

大佬,你好!
S1E的主题可以直接进入ftp替换相关文件来更改,但是使用mqtt命令无法进行更改,不知道是为什么
已经将zip包放入/config/www/目录下,http://homeassistant.local:8123/local/theme_6_9.zip链接可以在浏览器直接下载
call service后没有任何变化

Topic: homeassistant/select/0x0054ef4441dfa8/theme/config
Payload
name: '妙控开关 S1E 1 '
unique_id: 0x0054ef4441dfa8_theme
icon: ''
options:

  • ''
    availability_topic: homeassistant/select/0x0054ef4441dfa8/theme/status
    state_topic: homeassistant/select/0x0054ef4441dfa8/theme/state
    command_topic: homeassistant/select/0x0054ef4441dfa8/theme/set
    device:
    name: 妙控开关 S1E 1
    identifiers: A00173/SN1BRU04518
    manufacturer: Aqara
    sw_version: 2.0.7_0010
    model: CJPKG01LM
    platform: mqtt

no such "send_command_topic" anymore at the MQTT info now...

Can you try S1E2HA 1.0.4?

yzlnew commented

Same here, only command_topic, value like homeassistant/select/{device}/theme/set.

Custom firmware: 2.0.9_0006
S1E2HA: 1.0.5

I have the same problem. The themes don't change. I've tried it:
homeassistant/select/{device}/theme/set
homeassistant/select/{device}/theme/settheme

"s1e2ha_version": "1.0.5"