Comments (7)
On MQTT,
pos=-1
, always
So what data should the script be based on to determine the cover position?
from ha-shellies-discovery.
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.
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.
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.
@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.
optimistic
flag is not supported by the script.
from ha-shellies-discovery.
Aight, let's make it a feature request then.
from ha-shellies-discovery.
Related Issues (20)
- Improve sensor templates
- Remove Wh -> kWh conversion
- Devices naming similar to Native Shelly Addon HOT 1
- Feature request: add long- and shortpush sensors again please HOT 5
- Support for SHCB-1 (Shelly Bulb RGBW GU10) HOT 12
- Shelly Door/Window 2 always show up as unavaliable after a restart of home assistant HOT 1
- Please add support for Shelly 3EM sensors when using the optional neutral current transformer
- Info: "mqtt":disabled? HOT 4
- SystemError: AST constructor recursion depth mismatch (before=33, after=60) HOT 10
- discovering shelly devices HOT 3
- Shelly UNI second binary input is not mapped
- Invalid event type error in logs HOT 1
- Invalid event type with latest version HOT 4
- TRV - Mapping valve_min_report and calculation of Idle/Heating mode HOT 10
- error: The device name prefix will be stripped... HOT 2
- Shelly Gen1 is not discovered correctly HOT 3
- Entities become unavailable when the battery-powered device goes to sleep with firmware 1.1.0
- Shelly UNI "ext_" parameters implementation to sensor HA block (entity) HOT 2
- Problem with Shelly Dimmer and MQTT connection flag. HOT 4
- Shelly Plus2PM announces with changed attributes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-shellies-discovery.