Giter VIP home page Giter VIP logo

Comments (5)

vsidlu avatar vsidlu commented on May 29, 2024 2

can you try without 1024 -

currentAmbientLightLevel.value.float_value = (light_value);
homekit_characteristic_notify(&currentAmbientLightLevel, HOMEKIT_FLOAT((light_value)));

from esp-homekit-multiple-sensors.

knobby888 avatar knobby888 commented on May 29, 2024 2

This has fixed the issue thanks for your time and help much appreciated.

from esp-homekit-multiple-sensors.

vsidlu avatar vsidlu commented on May 29, 2024

I had the same thing. Before compiling I made changes in file - multiple_sensors.c
Search for Light measurement section and switch light_value and 1024 places.

currentAmbientLightLevel.value.float_value = (light_value - 1024);
homekit_characteristic_notify(&currentAmbientLightLevel, HOMEKIT_FLOAT((light_value - 1024)));

hope it helps!

from esp-homekit-multiple-sensors.

knobby888 avatar knobby888 commented on May 29, 2024

from esp-homekit-multiple-sensors.

knobby888 avatar knobby888 commented on May 29, 2024

I have just tried the above it compiles and loads onto the esp but it will no longer pair to my HomeKit it fails to add accessories if i swap them back it pairs first time.

from esp-homekit-multiple-sensors.

Related Issues (8)

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.