Giter Site home page Giter Site logo

esphome-ikea-uppatvind's People

Contributors

jonathonlui avatar nicopasla avatar quantenprojects avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

esphome-ikea-uppatvind's Issues

Proposal: Power OFF button

I realized than by long-pressing the button, it powers off. No need to cycle through the speeds...

A Power Off can be added to the button section:

button:
  - platform: output
    name: "Increase speed"
    output: output1
    duration: 100ms
    id: button_press
    icon: mdi:fan-chevron-up
  - platform: output
    name: "Power Off"
    output: output1
    duration: 2s
    id: power_off
    icon: mdi:fan-off

1s wasn't enough, so I went straight to 2s.

I also renamed the normal button to Increase Speed, which is mostly its funciton (although it also turns off after speed 3...) and added icons:

image

the code doesn't work

i tried this code with esp home in home assistant and it gaves me an error compiling, can anyone help me ?

Making the uppavind show as a fan

Hi, I have been trying to build on this code to make the purifier show as a fan type entity, I have got it so if you change with the manual button on the device or via the button exposed by the code in this repo it updates a fan entity correctly but getting the feedback from when you alter the fan in the home assistant ui is getting a bit tricky , I think I also may to implement the pwm fix in one of the other issues which may be tripping me up too.

Little thinking of the fan speed detection.

I dont know if the fan is working the same was as Förnuftig that use frequency changing and feed back for controlling the fan speed.
Is the Uppatvid doing the same or is it using Puls Wide Modulation (PMW) ?
If its using frequency ESPHome can measuring the feed back from the fan and getting the real speed of it. That shall also being possible with PWM and i think its one better way then reading the LED. Only need one or 2 resistors for getting 24V down to around 3.3V for working OK with the ESP but it can also being that the feed back is not 24 V but 5V so being easier handling for the ESP.

PS: Custom board with Förnufting have not implanting power of off the fan that IKEA have on there PCB. Then IKEA is putting the fan off they is also taking the 24V away for the fan connection with one transistor so the fan is not having 24V then its not running and i think that is good for the fan not having constant power then not running.
And looking on this PCB i think Q2 is doing the same but as long using the original PCB is shall being no problems then IKEA MCU is doing all right :-))

I thinking doing the same hardware as i was making with Vindrikting and using one buck converter and one ESP-01S but need looking little more if its one good road to going.

Great work done !!

Documentation update

noticed a typo in the sample code

current code:

filters:
      # The values after multiplied by 1000000 are 0, 20, 100, 320
      # and correspond to LED being off, low, med, high intensity.
      # The "pulse_width" sensor sometimes reads non-0 (e.g 221) when
      # the LED is off which is why 0 (off state) is returned in the
      default case.
      - multiply: 1000000

corrected code

filters:
      # The values after multiplied by 1000000 are 0, 20, 100, 320
      # and correspond to LED being off, low, med, high intensity.
      # The "pulse_width" sensor sometimes reads non-0 (e.g 221) when
      # the LED is off which is why 0 (off state) is returned in the
      # default case.
      - multiply: 1000000

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.