Recently i have added two FGR221`s to ZwaveJS2MQTT but HomeAssistant does not detect them as covers, but gives me
nodeID_58_switch
nodeID_58_dimmer
I`m using
zwavejs2mqtt: 6.11.0
zwave-js: 9.3.0
Home Assistant Core 2022.5.5
In the past i have had this same issue with Fibaro FGRM222 Rollershutter 2 and Duwi Roller Shutter and i found this to be a solution MQTT Cover with Zwave2Mqtt - #14 by dooz127
After sometime the work arround was no longer needed because ZwaveJS2Mqtt/HomeAssistant detected the FGRM and Duwi as an actual cover.
I know tried to setup the same cover work-arround for the FGR221, but it is not working
- platform: template
covers:
douche_rolluik:
friendly_name: "Douche Rolluik"
position_template: "{{ ( ( states('sensor.cover_douche_rolluik') | float ) * 100 / 99 ) | round }}"
open_cover:
service: mqtt.publish
data_template:
topic: "homeassistant/nodeID_58/38/1/1/set"
payload: 'true'
close_cover:
service: mqtt.publish
data_template:
topic: "homeassistant/nodeID_58/38/1/2/set"
payload: 'true'
stop_cover:
service: mqtt.publish
data_template:
topic: "homeassistant/nodeID_58/38/1/2/set"
payload: 'false'
set_cover_position:
service: mqtt.publish
data_template:
topic: "homeassistant/nodeID_58/38/1/set"
payload: "{{ position }}"
What am i missing, the switch sends
Close = Transmitting message on homeassistant/nodeID_58/37/0/targetValue/set: 'False', mid: 751
Open = Transmitting message on homeassistant/nodeID_58/37/0/targetValue/set: 'True', mid: 752
The dimmer sends
Transmitting message on homeassistant/nodeID_58/38/0/targetValue/set: 'OFF', mid: 753
Transmitting message on homeassistant/nodeID_58/38/0/targetValue/set: '99', mid: 754
Transmitting message on homeassistant/nodeID_58/38/0/targetValue/set: '5', mid: 756
What am i missing to make this a normal cover entity which my wife accepts as workable