GithubHelp home page GithubHelp logo

Comments (10)

ian-craig avatar ian-craig commented on June 25, 2024 1

I believe this is now fixed on master. Hopefully we'll have a new build pushed soon but we have made major changes recently for a separate issue so may move a little more carefully for that.

It sounds like from this discussion the issue was only with status reporting, not actually toggling the fan mode, but I noticed that when we set the preset mode we're using "Nature" or "Natural" as well. I tested "nature" on my device (which reports "Nature" as status) and it did not work, so I'm wondering whether any devices which report "nature" would still fail on the set.

from lovelace-fan-xiaomi.

jesryn avatar jesryn commented on June 25, 2024 1

@ian-craig Sorry for my late answer. Yes I use Xiaomi Mi Smart Pedestal Fan and use it in config with I use it with "platform: xiaomi_miio_fan". It looks like this under developers tools:

preset_modes: off, Level 1, Level 2, Level 3, Level 4
direction: null
oscillating: true
percentage: 100
percentage_step: 1
preset_mode: Level 4
model: dmaker.fan.p15
angle: 60
raw_speed: 100
delay_off_countdown: 0
ac_power: null
oscillate: true
direct_speed: null
natural_speed: null
child_lock: false
buzzer: false
led_brightness: null
use_time: null
temperature: null
humidity: null
battery: null
battery_charge: null
button_pressed: null
led: false
battery_state: null
mode: nature
friendly_name: Fläkt TV-rummet
supported_features: 15

from lovelace-fan-xiaomi.

garv3 avatar garv3 commented on June 25, 2024

Works with my Smartmi Standing Fan 3.

from lovelace-fan-xiaomi.

yeyeoke avatar yeyeoke commented on June 25, 2024

Yeah I'm having the exact same issue with my fan.

Only configuration that might impact this may be:

platform: xiaomi_miio_fan

from lovelace-fan-xiaomi.

jesryn avatar jesryn commented on June 25, 2024

SAme problem for me with a P15

from lovelace-fan-xiaomi.

djsnho avatar djsnho commented on June 25, 2024

Exactly the same problem with model: "dmaker.fan.p18" (Xiaomi standing fan 2)

edit: made a pull request with the solution

change line 1051 to if (preset_mode === 'Nature' || preset_mode = 'nature') {

from lovelace-fan-xiaomi.

jesryn avatar jesryn commented on June 25, 2024

For me, the Smart Standing Fan Pro/P15 show the same status for Direct/Natural all the time. Natural is deselected, which means direct breeze. And it is not possible to toggle by clicking it. Nothing changes, no matter if the fan is set to direct or natural mode.

from lovelace-fan-xiaomi.

ian-craig avatar ian-craig commented on June 25, 2024

Interesting. @jesryn would you mind sharing the full state and attributes for your fan from the Developer Tools > State page? Both with nature mode on and off would be helpful so we can see what attribues and values are available to watch.

And just to confirm you're using the Xiaomi Mi Smart Pedestal Fan integration not the default?

Also as a side note: It looks like P15 support through the native/default integration is coming soon so will hopefully also resolve this for you home-assistant/core#73496

from lovelace-fan-xiaomi.

ikaruswill avatar ikaruswill commented on June 25, 2024

Fixed in 2.2.0, thanks for waiting, please do reopen this if you still face this issue.

from lovelace-fan-xiaomi.

Lyr3x avatar Lyr3x commented on June 25, 2024

@ikaruswill still not working for me. The button is not reactive at all and also does not create a error message. I reinstalled the component. Anything else?

preset_modes:
  - 'off'
  - Level 1
  - Level 2
  - Level 3
  - Level 4
direction: null
oscillating: true
percentage: 25
percentage_step: 1
preset_mode: Level 1
model: zhimi.fan.za4
angle: 30
raw_speed: 310
delay_off_countdown: 0
ac_power: true
oscillate: true
direct_speed: 25
natural_speed: 25
child_lock: false
buzzer: false
led_brightness: 1
use_time: 72635
temperature: null
humidity: null
battery: null
battery_charge: null
button_pressed: null
led: null
battery_state: null
friendly_name: Xiaomi Smart Fan
supported_features: 15

from lovelace-fan-xiaomi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.