Comments (7)
https://community.home-assistant.io/t/vera-lights-not-reporting-status-correctly/16342/25
from pyvera.
Hi @pavoni
I have this same issue with one of my light switches only - A Fibaro FG223.
I'm running HA v0.45 with the Pyvera debug level logging turned on.
I'm using a Fibaro FGS-223 - Double Switch 2 - which has two circuits/channels. The primary/master works happily. The secondary doesn't if you use the switch itself and not Vera/HA or one of the apps/software switches.
Behaviour when using different methods for turning on the light:
If I use HA to turn it on/off, I get several lines of HA logs relating to the switch and the state is correct.
If I use the AppDaemon dashboard, I get several lines in the HA logs and the state is correct.
If I use Vera to turn it on, I get several lines in the HA logs and the state is correct.
If I use the switch on the wall, I get nothing in the logs at all and the state doesn't change but the physical light state changes.
I don't think this is a problem with HA at all (for me at least).
I think it's an issue with the way Vera is communicating with this specific switch model.
As the Fibaro FGS223 is not officially supported by Vera at this point and I had to tweak it to get it to work, I believe the issue is that the tweaking is clearly not 100% right....
Switch configured using the info from this forum: http://forum.micasaverde.com/index.php/topic,38961.0.html
from pyvera.
Might be worth adding some debug logging to your HA set-up
logger:
logs:
pyvera: debug
This shows the messages we get from vera - pyvera ignores some of them - so it's possible there is some info we're missing.
This logs everything -so can be a lot of data.
from pyvera.
That was with the Pyvera debugging on.
Nothing in the logs at all as the secondary switch state change doesn't appear in Vera so will never appear in HA. Vera state is wrong and HA state just mirrors Vera state.
So I think it's definitely a Vera issue for me.
Going to see what debugging I can get on the Vera side of things to see what's going on.
Alternatively, if Vera get around to officially supporting the Fibaro module, the issue may go away.
from pyvera.
Thanks for digging. As you say - if it's not correct in Vera there's not we can do until they fix it!
Will leave this open, since the other case sounds like some sort of race condition with older switches.
from pyvera.
I'll close this since there haven't been any other cases (and the one above looks like a vera/device problem). Happy to re-open if we get more to work on.
from pyvera.
I am facing this issue with one door sensor and now one motion sensor. The motion sensor was working but for various reasons i wanted to exclude it then reinclude, but now the state doesnt update in home assistant anymore. The logs indicate nothing when the device is tripped
from pyvera.
Related Issues (20)
- VeraDimmer.turn_on() overwrites previous brightness HOT 1
- More metadata about battery and communication status HOT 1
- The "complex" variable functions do not consider service Id HOT 8
- call_service() function does not accept action arguments HOT 4
- variableset request--set the value of a state variable HOT 1
- Use of Fibaro Zwave Key Fob Remote HOT 2
- pyvera not updating HA; device_list is always empty HOT 21
- Vera 7.3 firmware Beta & pyvera HOT 2
- Support for Power meter (pulse counter)
- Frequently fails on Home Assistant restart with "Entity already exists" HOT 6
- Vera 7.31 breaks thermostat? HOT 5
- Possible async issues in pyvera exposed by home assistant HOT 10
- Support for control of RGBWW devices such as Aeontec ZW098. HOT 7
- Unhandled exceptions in pyvera (HA AssertionError) HOT 3
- Sole owner on pypi? HOT 1
- pyvera install HOT 23
- comm_failure method incorrectly returns True when CommFailure variable not present in Vera response HOT 4
- Do a better job at handling Comms Failure (esp in Home Assistant) HOT 21
- Problem parsing pin code string HOT 1
- Update to Python 3.9, upgrade pylint mypi etc
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 pyvera.