Comments (7)
The latest Domoticz versions is using the SQLite externally instead of linking it statically
Is it possible you could try building Domoticz yourself (see https://www.domoticz.com/wiki/Build_Domoticz_from_source), but at the cmake step issue
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_BUILTIN_SQLITE=YES CMakeLists.txt
If that is working, just to be sure, try again with
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_BUILTIN_SQLITE=NO CMakeLists.txt
after compilation just copy the new domoticz executable to your domoticz install folder (you have to stop domoticz first of course)
from tasmoticz.
Additional Info:
I tried to catch the log entry in domoticz until it crashed and got lucky, this is the point when the switches tab (and all other tabs) get empty, interestingly this time domoticz did not fully crash (I named the Autodiscovery plugin Tasmota Devices)
2021-05-08 07:21:46.282 Error: Domoticz(pid:4604, tid:4644('Tasmota Devices')) received fatal signal 6 (Aborted)
2021-05-08 07:21:46.282 Error: siginfo address=0x11fc, address=(nil)
from tasmoticz.
regarding the request for not enabling new devices: I had thought about that feature and dismissed it for being against the philosophy of the plugin. But if the stability issue persists, I‘ll reconsider.
And if plugins need to change for working with new domoticz versions I‘m all ears for hints from the expert :)
from tasmoticz.
The latest Domoticz versions is using the SQLite externally instead of linking it statically
Is it possible you could try building Domoticz yourself (see https://www.domoticz.com/wiki/Build_Domoticz_from_source), but at the cmake step issuecmake -DCMAKE_BUILD_TYPE=Release -DUSE_BUILTIN_SQLITE=YES CMakeLists.txt
If that is working, just to be sure, try again with
cmake -DCMAKE_BUILD_TYPE=Release -DUSE_BUILTIN_SQLITE=NO CMakeLists.txt
after compilation just copy the new domoticz executable to your domoticz install folder (you have to stop domoticz first of course)
Wow thanks so much for this to the point tip, sounds much more goal oriented than the fiddling around I tried :) gonna try asap!
from tasmoticz.
regarding the request for not enabling new devices: I had thought about that feature and dismissed it for being against the philosophy of the plugin. But if the stability issue persists, I‘ll reconsider.
And if plugins need to change for working with new domoticz versions I‘m all ears for hints from the expert :)
Thanks for considering! I can't yet tell whether it would really make a difference, based on my gut feeling I'd just assume that without the constant scanning + autoadding the plugin would put a bit less strain in the system, hopefully leading to more stability
from tasmoticz.
@jenshenk thats something different: I auto-activate devices so that they are visible on the relevant domoticz pages. I could leave them „hidden“ on the devices page where the user would have to enable them manually. That wont save cpu.
If you want to avoid scanning, you could deactivate the plugin while you dont expect new devices to appear. That is a normal domoticz function on the hardware page.
from tasmoticz.
@jenshenk thats something different: I auto-activate devices so that they are visible on the relevant domoticz pages. I could leave them „hidden“ on the devices page where the user would have to enable them manually. If you want to avoid scanning, you could deactivate the plugin while you dont expect new devices to appear
Ohhh thanks for this! I never thought about that you can just disable it and the devices it created before would still be working, thought this would disable them, too. Maybe this solves my problem already!
I'm already compiling a custom domoticz in the background following up on @gizmocuz's tip... but if this already works I won't need to recompile with every update :)
Edit: Unfortunately the switches also disappear when I disable the plugin, too bad.
from tasmoticz.
Related Issues (20)
- bllind port HOT 9
- Support for "YTF IR Bridge Module"
- Power meter plug with RGB led not fully identified HOT 7
- Devices not added
- Capteur UV VEML6070 non reconnu HOT 8
- errors on new version of tasmota HOT 10
- Device naming in German? HOT 8
- Cant switch on/off a offline device HOT 2
- Athom device incorrectly handled HOT 1
- Better handling of humidity sensors HOT 7
- Domoticz Switch State not updated after switching HOT 8
- Error: Tazmoticz: AttributeError: type object 'Collection' has no attribute 'Mapping' with Python 3.10.4 HOT 5
- Deletion of some devices when used with a damaged Domoticz installation HOT 8
- Support for Tasmota 12.1 and Tasmota Discovery / hatasmota HOT 5
- Error message every 12hrs but everything works HOT 7
- Pb Maj Domoticz 2022.2/2023.1 HOT 14
- More than 255 devices error -> filtering ? HOT 10
- Create device for LWT messages. HOT 4
- Incorrect electricity data being sent to Domoticz. HOT 2
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 tasmoticz.