Comments (8)
@johny-mnemonic I released a new version where you can define the delay for the scene generation.:
For the big log. The Loxone sends every device and all information once a client (here pyloxone or the android/ios app) connects. You can disable the log but it will sent it anyways.
from pyloxone.
Can you edit the source code for testing?
If so can you increase the delay of the scene generation in the scene.py:
Increase it from 0.5 to maybe 2.0 or 3.0 or even more!
from pyloxone.
I could reproduce it on a very slow raspberry pi. I increased the value to 10 and I could restart without problems. Maybe this fixes this issue. I try to put this value in the config menu so that each user can edit this value if similar problems occur.
from pyloxone.
I tested it, and it works for me (with a value of 3).
I dont think, thats a problem with the power of the HA-Installation - my installation is on VM in an powerfull ESXi-Server. Maybe the Miniserver itself is to slow.
from pyloxone.
Hmmm I do not had any problems on my Dev machine and it is an old pc :-)
It is hard to debug for me. I try to make the value configurable until I have a better solution.
from pyloxone.
Fo me its fine - itr worked and you can close the issue.
Thanks!
from pyloxone.
@JoDehli
I seem to have the same issue and I would bet it is not your plugin, but my slow Miniserver.
I have pretty big program, that would deserve some clean-up ;-), and my Miniserver is pretty slow thanks to that. Raising the time for scene generation to 5.0 fixed it for me.
I fist enabled debug, but the only interesting thing I found was, that your plugin is downloading all the event logs from Loxone, which in my case is pretty big part of the debug log output and feels superfluous...
Regardless, it seems like making this timeout configurable or trying the scene generation again after some time, when it fails during startup, would be great.
from pyloxone.
Thanks a lot @JoDehli !
I didn't know that it sends everything all the time. That at least partly explains, why the app start is so slow I guess...
from pyloxone.
Related Issues (20)
- [Request]: Intercom HOT 5
- [Bug]: Inteligent Room Controller not working after update HOT 3
- Error doing job: Task exception was never retrieved HOT 24
- SSL certificate Error when configuring HOT 20
- Error while configuring HOT 1
- phisical button, presence sensor etc... HOT 1
- [Request]: Add a new sensor type for device_class water HOT 1
- [Bug]: cover do not react after Homeassistant update to 2024.05 HOT 4
- [Bug]: Pushbutton does not work after upgrade to Core 2024.5.0 HOT 1
- [Bug]: Error while setting up loxone platform for sensor HOT 7
- [Bug]: switch/turn_on not possible HOT 5
- [Request]: Support IntercomV2 HOT 1
- [Bug]: HOT 3
- [Bug]: Switch error - Failed to call service switch/turn_on. Detected that custom integration 'loxone - 240515' calls async_fire ... HOT 5
- [Bug]: Can no longer set color temperature on RGBW lights HOT 12
- No Real Data HOT 3
- API using a blocking function - Warning HOT 9
- [Bug]: Opening and closing roller shutters no longer works HOT 2
- On initial setup all button show as on/off switches HOT 9
- Scene in combination with light contoller does not work anymore - use subcontrols of the light controller. HOT 6
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 pyloxone.