Comments (6)
It should be fairly trivial to add an exclude_scenes configuration option to the vera component in HA. That would get around the ID overlap issue. I might have time this week to get an HA pull request in for that...
from pyvera.
@alanfischer got there before I did. If you take a look at the logic for excluding devices (eg https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/vera.py#L88) then it should be fairly easy to add an extra config variable to do the same for scenes.
from pyvera.
Upon further investigation, it appears that the connection errors I highlighted above were present before the upgrade to HA 0.83+ (I just didn't notice the errors earlier in the log files). The connection errors seem to start in most cases EXACTLY (to the second) 60min after homeassistant is started. I suspect that they might be related to the large number of scenes I have in my setup and the need to subscribe to all of these scenes in the updater.
Other than the log files spitting out errors on the connections, the only symptom I get on Home Assistant is that the state of Vera variables in HA no longer update (temperature of thermostats, dimmer settings, etc), but clicking on lights and changing things within Home Assistant and via Homekit still work via Vera.
The connection errors appear to be related to the large number of scenes that I have in Vera, but the broader issue may be related to how pyvera tracks and subscribes to state changes between Vera and HA as highlighted in this issue.
Apologies for not being more helpful as I haven't coded in a long, long time and I'm only now starting to get back into things and don't know python at all.... I will take a look at how to exclude the Vera scenes as mentioned above as that does look like something even I can do with my limited knowledge...
from pyvera.
UPDATE - The error above occurs when Vera does a LUUP engine reload (duh). I continue to have strange issues post-reload updating state changes and keeping Vera in sync with HA that I'm investigating, but these are related to my other thread on thermostats. I'll keep this open as a feature request for scene exclusion.
from pyvera.
I replaced get_complex_value
with refresh_complex_value
with my thermostat setpoints (see other thread) and that solved the post-reload state change update issues and it appears to keep Vera in sync with HA now. Set up has been running very reliably now and haven't needed to exclude my vera scenes... yet.
from pyvera.
Stale - so closing.
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.