Thanks a lot. Apart from Unique ID, that’s what I have.
What settings do you have on the Shelly 2 with regard to Clean and Retain?
It’s driving me nuts that I get these random openings. If I remove the MQTT settings on the Shelly it’s fine so it’s being ‘told’ to open from somewhere.
If you have retain and you have a message sent when there is a connection failure, the message will be executed when the connection will come back.
And this can happen any time.
What is the QOS value you have?
Maybe the garage has a better wifi signal than the other shelly.
So, with Clean, it will alway wait for a new command, even on Power UP, is that correct?
Although, now that I think about it, I’ve now sent it any commands and it’s still randomly opened. I suspect that it’s something to do with the Position Slider as it doesn’t open fully.
with the following configuration everything works fine.
But in my log i found the following statement
cover:
platform: mqtt
name: “Jalousie Kueche”
state_topic: “shellies/shellyswitch-x/roller/0”
command_topic: “shellies/shellyswitch-x/roller/0/command”
position_topic: “shellies/shellyswitch-x/roller/0/pos”
set_position_topic: “shellies/shellyswitch-x/roller/0/command/pos”
payload_open: “open”
payload_close: “close”
payload_stop: “stop”
retain: false
optimistic: false
qos: 1
position_open: 100
position_closed: 0
value_template: ‘{{ value.x }}’
I got also the position and every time the status of the Shelly.
But i found something strange in my log.
Can anyone help me what is here the problem?
Payload is not integer within range: -1 13:43 components/mqtt/cover.py (WARNING)
Hi everybody,
I’m quite new with home-assistant. I was wondering if anybody could sum-up the configuration to get the shelly2 roller shutter with slider, I had a hard time following the conversation.
Thanks!
This is working I get the arrow for up and down right. When all up the up arrow gets grey. So far so good. But it seems like the position is backwards 100% = fully open. I would lika the oppistie.
When fully open I like it to be 0% and 100% when fully closes.
I tried o for close and 100 for open, but then the arrow up and down get mixed so i thinks its open when closed and vice verse.
And what about qos? I ve put 0 in the mqtt settings on the shelly device. I have no clue what is the right number,