Code Monkey home page Code Monkey logo

Comments (4)

dceejay avatar dceejay commented on June 12, 2024 2

OK - have caved :-).... and added the option to disable pass-through of messages if you so wish - on both this and the toggle switch widgets.
Now in the github master branch.

from node-red-dashboard.

dceejay avatar dceejay commented on June 12, 2024 1

Hi, yes I can see the problem. It occurs when the widget outputs more than one value within the time it takes for the feedback to occur...
Yes - optionally disconnecting the input from passing through may be the simple fix... but need to think through if there are any other consequences, and indeed if other nodes are affected.

from node-red-dashboard.

openSoftMan avatar openSoftMan commented on June 12, 2024

I had this issue early on too and figured out how to just update the switch with no payload output(or race condition).
In between the subscribe and switch, I set msg.topic = null in a function node and just pass the msg.payload to the switch. ...haven't tried with a slider though.

from node-red-dashboard.

codmpm avatar codmpm commented on June 12, 2024

This is a marvelous idea. Never thought of that... I will test it.

But I think it would be great to optionally disconnect the input from the output. As @dceejay said, it should the thought through.

Thanks @openSoftMan!

from node-red-dashboard.

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.