Giter Club home page Giter Club logo

Comments (6)

codmpm avatar codmpm commented on July 18, 2024

Hey Jens,

thank you. Sadly I can not reproduce the problem here. My control-in-node is hooked to a simple switch and I've full-deployed like 15-20 times without any hassle.

Bildschirmfoto 2020-01-27 um 11 11 25

[{"id":"f5537e07.fb3d98","type":"loxone-control-in","z":"74df0efa.a9c5b8","name":"","miniserver":"640a19c6.12bc7","control":"10965a26-0124-4b65-ffff403fb0c34b9e","state":"10965a26-0124-4b62-ffff90eb033172c2","x":160,"y":920,"wires":[["6527b07e.c391a"]]},{"id":"6527b07e.c391a","type":"debug","z":"74df0efa.a9c5b8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":350,"y":920,"wires":[]},{"id":"640a19c6.12bc7","type":"loxone-miniserver","z":"","host":"nodelox.codm.de","port":"80","enctype":"0","active":true}]

Does this only happen on a full-deploy or also when deploying only changes? I personally don't worked with RedMatic. Which nodeJS version do you run?

Just saw that I'm using node-red 0.20.5 and nodeJS v8.15.1. Will update and try again.
nodeJS v12.14.1, node-red 1.0.3, node-red-contrib-loxone 0.10.4... still can not reproduce this :-|

from node-red-contrib-loxone.

yenzor avatar yenzor commented on July 18, 2024

Hey Patrik,
thank you for your fast response! Currently nodeJS v10.18.1 is installed with RedMatic.
I have the issue with all Control-In nodes, no matter if it is connected to a switch, virtual input or virtual output. However, I now realize it appears only if I do a full deploy. If I just deploy changed nodes or flows it seems to be working fine.
Another effect that happens in parallel is that all room, category etc. information in all (Loxone) nodes gets lost (after full deploy). Though its only the Control-In nodes not working afterwards.
If I do an "Update" in the miniserver config nodes properties then all information is back. If I then do a flow or node only deploy everything is actually working again without a restart. But if I do a full deploy the information gets lost again and the Control-In nodes are not working.

Maybe some weird timing behaviour during initialization of the nodes? Some very few times it was actually working also with a full deploy and contrary to what I wrote yesterday I also had this issue now once with RedMatic in debug log mode. (However there was no further information in those logs).

With the workaround of doing a restart or just a flow deploy to have the system running it is not that urgent an issue.

from node-red-contrib-loxone.

codmpm avatar codmpm commented on July 18, 2024

Hey @yenzor,

could you spare some time for a short teamviewer session to tackle this behavior? Just get in touch with me either via the LoxForum of the node-red Slack channel.

Cheers

from node-red-contrib-loxone.

mapchen avatar mapchen commented on July 18, 2024

Hi, how can I help with debugging?

from node-red-contrib-loxone.

codmpm avatar codmpm commented on July 18, 2024

What you posted in #45 helped a lot. The propblem lies on a little change that I made in 0.10.5 about when the connection is set connected. Thus active is not properly initialised.

As a workaround do not use full-deploy but only deploy changed flows.

from node-red-contrib-loxone.

codmpm avatar codmpm commented on July 18, 2024

Please check with 0.10.6, should be fixed.

from node-red-contrib-loxone.

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.