Coder Social home page Coder Social logo

Support more fan command about smartir HOT 10 CLOSED

smarthomehub avatar smarthomehub commented on September 17, 2024
Support more fan command

from smartir.

Comments (10)

 avatar commented on September 17, 2024

The light part is out of this component functionality. You must set it as a broadlink switch.
In order to make a device file that supports both directions, please see this example:
https://github.com/smartHomeHub/SmartIR/blob/master/smartir/codes/fan/1000.json

from smartir.

dzungpv avatar dzungpv commented on September 17, 2024

@smartHomeHub But on my RF remove, 6 speed fix code, 1 button for
reverse. From the 1000.json, each direction has it own code and about natural win, i guest mus add to the code

from smartir.

 avatar commented on September 17, 2024

Do the code of speed 1 is different if you press the reverse button and then set the speed to 1?

from smartir.

dzungpv avatar dzungpv commented on September 17, 2024

@smartHomeHub no it is the same code

from smartir.

 avatar commented on September 17, 2024

This is not good. Is at least the direction command different each time you press the button?

from smartir.

dzungpv avatar dzungpv commented on September 17, 2024

It is the same everytime. Like on/off button of the TV. It toggle and handle by fan itself. All Chinese ceiling fan have this ability

from smartir.

 avatar commented on September 17, 2024

I'm afraid you have to handle the direction from a script in Home Assistant. Use the component to turn on / off and adjust the speed of your fan.

from smartir.

Avatar1976 avatar Avatar1976 commented on September 17, 2024

+1 here, reverse and "Ocean Breeze" (random changing fan speeds function built in to fan) are separate dedicated buttons, for now I have created my own json file and associated the reverse base64 codes to "oscillate". Which works well enough for my use case if a little clunky UI wise. If you could see your way clear to accomodate for a dedicated standalone-reverse function within the JSON (that works in conjunction with the default speeds) config it would sure help matters. Ocean Breeze or natural a bit tougher and understandably so.

from smartir.

Avatar1976 avatar Avatar1976 commented on September 17, 2024

Just in case someone comes across this, oscillate will not work either, SmartIR platform will transmit the forward reverse code with each speed change, hence I will need to create as suggested above a switch tied to transmitting the RF code for the forward reverse toggle. Ocean Breeze/natural wind as described above would be difficult but I think it best at speed 7 (my fan has 6 normal speeds).

from smartir.

Avatar1976 avatar Avatar1976 commented on September 17, 2024

Confirmed Ocean Breeze/natural wind as speed 7 works, have it labelled as such in my Json file.

from smartir.

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.