Code Monkey home page Code Monkey logo

Comments (7)

gizmocuz avatar gizmocuz commented on May 29, 2024 3

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.

jenshenk avatar jenshenk commented on May 29, 2024

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.

joba-1 avatar joba-1 commented on May 29, 2024

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.

jenshenk avatar jenshenk commented on May 29, 2024

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)

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.

jenshenk avatar jenshenk commented on May 29, 2024

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.

joba-1 avatar joba-1 commented on May 29, 2024

@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 avatar jenshenk commented on May 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.