Git Product home page Git Product logo

Comments (13)

peros550 avatar peros550 commented on May 23, 2024 1

@RavenSystem Hi Jose, if you could implement such an enhancement it would be extremely useful. This function could have many use cases especially in areas where electricity has temporary disruptions, etc. Having the option to set the output to last state would overcome such issues and automations would not be disrupted

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024 1

@peros550 This will be available asap. I need enough free time for coding. ;)

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024 1

The bug with GPIO14 initial state for Device Type 1 has been fixed in v0.2.6, released just now.

Next step will be implementation of "Setup initial state".

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

A custom option will let you to setup initial state:

  1. Off (default)
  2. On
  3. Last state
  4. Oposite to last state

from esp-homekit-devices.

gooring avatar gooring commented on May 23, 2024

Thank for the Reply. Do I have to do this in the main.c file? I'm very new to all this. Thanks

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

You must modify main.c, and custom_characteristics.h to declare new HomeKit UUIDs to customize initial states.

from esp-homekit-devices.

gooring avatar gooring commented on May 23, 2024

I don’t really understand. I think I have a lot to learn before I get to do it. Anyway, thank you very much.

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

There is a little bug with GPIO14 and Basic Switch. Initial state must be OFF, but depending of position of wall-mount switch connected to GPIO14, some time initial state is ON.

This bug must be fixed before implementing saved states.

from esp-homekit-devices.

Argyropus avatar Argyropus commented on May 23, 2024

is there any news? I'm really looking foward to this.

from esp-homekit-devices.

aceyyoung avatar aceyyoung commented on May 23, 2024

I am really looking forward hearing the new about the initial setting too. Some light switchs should be set to be initially on, as we can control the light status with the wall switch and with homekit at the same time. Thank you very much for your hard work as always.

from esp-homekit-devices.

aceyyoung avatar aceyyoung commented on May 23, 2024

is it possible to put this function into setup menu then we can configure it according to the usage?

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

Added to TODO list: https://github.com/RavenSystem/esp-homekit-devices/wiki/TODO-List

from esp-homekit-devices.

RavenSystem avatar RavenSystem commented on May 23, 2024

Custom initial state has been added to version 0.5.0.

from esp-homekit-devices.

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.