zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

IKEA E1757 Fyrtur position not reported

Open illivanillie opened this issue 5 years ago • 19 comments

What happened

Ikea Fyrtur cover position is often not reported, if controlled via open_cover or close_cover. The position is correctly published, if the position is set. The position will be reported, after the refresh button on the HA add-on is clicked. zigbee2mqtt/FRIENDLY_NAME/get with payload {"state": ""} will give me ‚Error No converter available for 'get' 'state' ()‘

and also in the add on: device: exposes: state: it says ‚CLOSE ? OPEN‘ for me. I don‘t know if the question mark between it is common or not

And last seen is always N/A. But now that’s it I think..

state is always null

What did you expect to happen

The position should be reported. The main problem here is that in HA the arrows are not functional because of the assumed/last reported state. So open cover cannot be closed and vice versa. There are workarounds, for sure, but it is inconvenient for other members of the house.

How to reproduce it (minimal and precise)

I have no idea. Just set up like documented via discovery. I have around 10 of them and its the same with all. Sometimes it works, sometimes not. The covers are not linked to the amplifier, but latter is in the network. I‘ve been waiting now for months but the June update did not change anything.

Debug info

Zigbee2MQTT version: no update available Adapter hardware: CC26X2R1 Adapter firmware version: 3.X.0 20210120

If log infos are any help for you, I can try to provide it.

Greetings!

illivanillie avatar Jun 13 '21 23:06 illivanillie

Did you update the Fyrtur firmware? - They have had trouble in the past. Keep them updated and make a re-configuration and try again.

Nornode avatar Jun 14 '21 06:06 Nornode

I am updating since yesterday. Takes hours and hours. Is it ok if I reconfigure via the button? Or do I need to factory reset and rejoin them to the network? Btw: what is the command send by the refresh button? Maybe I could implement this in scripts/automations.

illivanillie avatar Jun 14 '21 07:06 illivanillie

Is it ok if I reconfigure via the button? Or do I need to factory reset and rejoin them to the network?

Hitting reconfigure should be fine, if it spews timeouts, hit a button on the device and hit reconfigure again.

It's probably missing or forgot about Cover.currentPositionLiftPercentage reporting config

image

Btw: what is the command send by the refresh button? Maybe I could implement this in scripts/automations.

You can trigger it by sending '' to the zigbee2mqtt/0x0000000000/get/position e.g.

mosquitto_pub -t zibgee2mqtt/cover/livingroom/side1/get/position -m ''

sjorge avatar Jun 14 '21 08:06 sjorge

@sjorge The configuration for reporting is correct. For now it is working again and your payload message also gives me a response at the moment. I will have to wait until it is not working again and will update you guys on how the firmware update changed the issue.

illivanillie avatar Jun 14 '21 11:06 illivanillie

Update:

It is NOT working. Disappointing.. But! mqtt get position manually works perfectly fine for now. The workaround now will be sending the message in a loop whenever script.open/close_cover is started.

If you have any further suggestions for a native fix, I would appreciate it.

greetings!

illivanillie avatar Jun 14 '21 20:06 illivanillie

In case someone has the same issue, this is my automation from HA:

alias: Cover get postion
description: Asks for position of whichever cover was changed
trigger:
  - platform: event
    event_type: call_service
    event_data:
      domain: mqtt
      service: publish
      service_data:
        payload: OPEN
  - platform: event
    event_type: call_service
    event_data:
      domain: mqtt
      service: publish
      service_data:
        payload: CLOSE
  - platform: event
    event_type: call_service
    event_data:
      domain: mqtt
      service: publish
      service_data:
        payload_position: null
condition: []
action:
  - repeat:
      count: '12'
      sequence:
        - service: mqtt.publish
          data:
            topic: >-
              zigbee2mqtt/{{trigger.event.data.service_data.topic.split("/")[1]}}/get
            payload: '{"position": ""}'
        - delay:
            hours: 0
            minutes: 0
            seconds: 5
            milliseconds: 0
mode: parallel
max: 20 

triggers on open, close and set position. asks for position every 5 seconds for 1 minute. parallel for 20 covers (in case you ask a group to open)

illivanillie avatar Jun 16 '21 16:06 illivanillie

I had similar issues until today, but running an OTA update before reconfiguring the devices fixed it.

AshtonKem avatar Jul 04 '21 04:07 AshtonKem

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 04 '21 00:08 github-actions[bot]

@AshtonKem is your blinds still working OK after have updating them with the last OTA ??

Im curious if the OTA is helping with connection / reporting issues with the blinds.

MattWestb avatar Aug 04 '21 08:08 MattWestb

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 04 '21 00:09 github-actions[bot]

I’ve had some intermittent issues with one blind not responding to commands to open/close, which appear to have been resolved by explicitly calling the cover.set_position action in my automations rather than setting device state. Otherwise, no issues with it reporting state back.

On Aug 4, 2021, at 2:28 AM, MattWestb @.***> wrote:

@AshtonKem https://github.com/AshtonKem is your blinds still working OK after have updating them with the last OTA ??

Im curious if the OTA is helping with connection / reporting issues with the blinds.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/7783#issuecomment-892470077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQUIJJEKEWOM4DTSRVWUTT3D237ANCNFSM46UFOW4Q. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

AshtonKem avatar Sep 06 '21 19:09 AshtonKem

IKEA have one more new update for there blinds in the pipe its certificated but not released in the test feed. Its looks they is updating all "modern" controller devices but was having problem with the first try that was braking group binding of controllers.

Hopefully they is fixing some more bugs and not implanting to much new ones ;-))

MattWestb avatar Sep 06 '21 19:09 MattWestb

@MattWestb Could you please keep us updated on the firmware update?

illivanillie avatar Sep 14 '21 06:09 illivanillie

IKEA have certified the last "modern" controllers (no of the motion sensors and the old round dimmer) so all of them is done but they have not showing up in the test feed as the blinds. For the blinds its better waiting little then its being released in the test for not braking them like many users was doing with there remotes for some mounts ago then the blinds is little more problematic then one not working remote.

I thinking they is releasing the set very soon then the Android app was updated yesterday but no new firmware for the HUB but it can being its not needed.

I keep one eye on the firmware and reporting then they is being released in the test feed and also if user is getting problems or if its working OK then its released.

MattWestb avatar Sep 14 '21 07:09 MattWestb

I have the issue that the Tradfri Blind is not automatically updating its position since I updated the fw to: 2.3.088. I have to manually press the refresh button now.

Is there any way to fix this behaviour? I have already tried the reconfigure button without any succes.

Thanks in advance.

Xitro01 avatar Jan 30 '22 19:01 Xitro01

In case someone has the same issue, this is my automation from HA:

alias: Cover get postion
description: Asks for position of whichever cover was changed
trigger:
  - platform: event
    event_type: call_service
    event_data:
      domain: mqtt
      service: publish
      service_data:
        payload: OPEN
  - platform: event
    event_type: call_service
    event_data:
      domain: mqtt
      service: publish
      service_data:
        payload: CLOSE
  - platform: event
    event_type: call_service
    event_data:
      domain: mqtt
      service: publish
      service_data:
        payload_position: null
condition: []
action:
  - repeat:
      count: '12'
      sequence:
        - service: mqtt.publish
          data:
            topic: >-
              zigbee2mqtt/{{trigger.event.data.service_data.topic.split("/")[1]}}/get
            payload: '{"position": ""}'
        - delay:
            hours: 0
            minutes: 0
            seconds: 5
            milliseconds: 0
mode: parallel
max: 20 

triggers on open, close and set position. asks for position every 5 seconds for 1 minute. parallel for 20 covers (in case you ask a group to open)

Any idea why this is not working for me? It does not seem to trigger.

Xitro01 avatar Jan 31 '22 18:01 Xitro01

Ok, temporarily fixed this issue with the following automation:

- alias: Tradfri cover get position (FIX)
  description: Asks for position of whichever cover was changed
  trigger:
    - platform: event
      event_type: call_service
      event_data:
        domain: cover
  condition: []
  action:
    - repeat:
        count: "12"
        sequence:
          - service: mqtt.publish
            data:
              topic: >-
                zigbee2mqtt/Tradfri Blind/get
              payload: '{"position": ""}'
          - delay:
              hours: 0
              minutes: 0
              seconds: 5
              milliseconds: 0
  mode: parallel
  max:
    20

Improvements are welcome.

Xitro01 avatar Jan 31 '22 22:01 Xitro01

I don’t understand the zigbee protocol very well, but this sure seems like something you’d have to do if there isn’t a correct timeout or retry configured in the coordinator somewhere.

— Ashton Kemerling

Sent from my iPhone.

On Jan 31, 2022, at 3:25 PM, Christopher Simmelink @.***> wrote:

 Ok, temporarily fixed this issue with the following automation:

  • alias: Tradfri cover get position (FIX) description: Asks for position of whichever cover was changed trigger: - platform: event event_type: call_service event_data: domain: cover condition: [] action: - repeat: count: "12" sequence: - service: mqtt.publish data: topic: >- zigbee2mqtt/Tradfri Blind/get payload: '{"position": ""}' - delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0 mode: parallel max: 20

Improvements are welcome.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

AshtonKem avatar Feb 01 '22 02:02 AshtonKem

It was solved for me by hitting apply on Cover.currentPositionLiftPercentage on the reporting tab as mentioned here (https://github.com/Koenkk/zigbee2mqtt/issues/7783#issuecomment-860479828)

miguelangel-nubla avatar Sep 03 '22 11:09 miguelangel-nubla