Giter VIP home page Giter VIP logo

Comments (7)

bieniu avatar bieniu commented on September 26, 2024

On MQTT, pos=-1, always

So what data should the script be based on to determine the cover position?

from ha-shellies-discovery.

mignz avatar mignz commented on September 26, 2024

I'm not the expert. Positioning controls are disabled in the Shelly. Is this a problem with the shelly? With the discovery script? I'm trying to figure it out... It was working without MQTT.

I can tell you this: previously, whenever I restarted HASS, the state of the shutters defaulted to "closed" independently of the actual position. I had to manually close the shutters and open them again if I wanted to change the state to "open". I believe that tells me HASS handles the position state?

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 26, 2024

position is the basis for determining the status of the cover, I don't know how your device works or why it works differently than others. If you provide me data on how to detect cover state via MQTT, maybe I can help. I can't do anything without it.

It seems to me that the lack of position is most often caused by incorrect calibration. Try to calibrate the device.

from ha-shellies-discovery.

mignz avatar mignz commented on September 26, 2024

Ok, I'll try and figure it out with Shelly and get back to you if I get anything worthy. I agree with you that pos shouldn't always be -1 if I have positioning disabled and Shelly should be "guessing" the actual position based on the operation of the switches.

from ha-shellies-discovery.

mignz avatar mignz commented on September 26, 2024

@bieniu so what I need is to have the optimistic flag on MQTT set to true. How do I do this when using this script for discovery?

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 26, 2024

optimistic flag is not supported by the script.

from ha-shellies-discovery.

mignz avatar mignz commented on September 26, 2024

Aight, let's make it a feature request then.

from ha-shellies-discovery.

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.