Giter Site home page Giter Site logo

loxberry-plugin-knxd's People

Contributors

woersty avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

loxberry-plugin-knxd's Issues

Oberfäche nicht mehr erreichbar

Software error:

Cannot open logfile /opt/loxberry/log/plugins/knxd/knxd.log at /opt/loxberry/webfrontend/htmlauth/plugins/knxd/index.cgi line 62.

WARNING: Config variable: xxx missing or empty.

Logfile:

WARNING: Config variable: KNXD_GAD_DAT missing or empty.
WARNING: Config variable: KNXD_GAD_TIM missing or empty.
WARNING: Config variable: KNXD_GAD_QUERY missing or empty.
WARNING: Config variable: KNXD_GAD_QUERY_USE missing or empty.

cannot create socket Address already in use

Thanks for your great Plugin - I am just beginning to use Loxberry together with Loxone Mini Server.
I can connect to Loxone Server without any problem and can also use the Busmonitor in Loxone Config which accurately shows me what's going on. It is also possible to start KNXd and it seems to work fine (green light). But I cannot read any bus messages or change date/time.

I used the standard config for the plugin -b ipt:192.*** and also tried iptn and setting the -e option.
I get the error message "cannot create socket Address already in use".

This is the whole log. Thanks for helping!

Init CGI and import names in namespace R::
KNXd status request
Open socket to KNXd Control Server...
INFO: Socket to KNXd Control Server opened...
OK: Response: KNXD_STATUS_768
INFO: Socket to KNXd Control Server closed.
INFO: Uncommenting the KNXd section in rpimonitor if installed
INFO: Uncommenting the KNXd section in rpimonitor if installed
INFO: Restart rpimonitor if installed
INFO: Restart rpimonitor if installed

INFO: Plugin modification already done.
INFO: Plugin modification already done.
INFO: KNXD_OPTS are KNXD_OPTS="-b ipt:192."
INFO: KNXD_OPTS are KNXD_OPTS="-b ipt:192.
"
INFO: Replace KNXD_OPTS KNXD_OPTS="-b ipt:192."
INFO: Replace KNXD_OPTS KNXD_OPTS="-b ipt:192.
"
INFO: Check, if KNXd Control Daemon is running
INFO: Check, if KNXd Control Daemon is running
INFO: Process not found, try to start KNXd Control Daemon
INFO: Process not found, try to start KNXd Control Daemon
INFO: KNXd Control Daemon restart successfully completed.
INFO: KNXd Control Daemon restart successfully completed.
INFO: Try to restart KNXd
INFO: Try to restart KNXd
Warning: Stopping knxd.service, but it can still be activated by:
knxd.socket
Warning: Stopping knxd.service, but it can still be activated by:
knxd.socket
INFO: Restart successfully completed.
INFO: Restart successfully completed.
INFO: Create Time/Date cron job.
INFO: Create Time/Date cron job.
INFO: Time/Date Cron job already exist.
INFO: Time/Date Cron job already exist.
cannot create socket Address already in use
cannot create socket Address already in use

Debug Log
10.08.2018 22:47:41 TASK STARTED
New admin call.
Init CGI and import names in namespace R::
KNXd status request
Open socket to KNXd Control Server...
INFO: Socket to KNXd Control Server opened...
OK: Response: KNXD_STATUS_0
INFO: Socket to KNXd Control Server closed.

gad_query function no longer supported

KNXd used to support a function, where a preconfigured list of group addresses was queried sequentially after a generic http request. This was extremely helpful to synchronize the miniserver KNX function blocks to the current state of the home, e.g. after a reboot or power outage.

even on the documentation page https://www.loxwiki.eu/display/LOXBERRY/KNXd
the feature is mentioned:

Eine weitere Funktion ist die sequentielle Abfrage von einer KNX-Gruppenadressen-Liste,
gestartet durch einen beliebigen Trigger über einen Virtuellen Ausgang

http://KNXd:loxberry@<loxberry-hostname-oder-IP-Adresse:Port>/plugins/knxd/?mode=gad_query
Der LoxBerry fragt dann alle 250 ms eine Gruppenadresse ab. Der Miniserver erhält dann ggf. die Antwort auf dem Bus, falls ein Gerät antwortet..
Die Gruppen-Adressen müssen das 3-stellige Format haben: xx/x/xxx.

in the V2 version of the plugin, the UI to configure the list of group addresses is missing.
when trying to place the request, the following result is returned after some seconds:

Feature disabled. Exiting.

would be great if that feature could be reenabled.

thanks for all the work!

KNX Gruppenadressen

die Gruppenadressen sind derzeit nur bis [0-15]/[0-7]/[0-255] eintragbar.
Allerdings ist der mögliche Bereich [0-31]/[0-7]/[0-255] (zumindest mit ETS5)

lg,

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.