Code Monkey home page Code Monkey logo

Comments (5)

scottofstrand avatar scottofstrand commented on August 10, 2024 1

Thank you so much for checking. I believe I may have tried sending a string or payload instead of a boolean or number. Sorry, I should have caught that. Let me try it again tomorrow and let you know. Really appreciate you looking into this.

from node-red-contrib-relaycontrol.

dirkjanfaber avatar dirkjanfaber commented on August 10, 2024

I am sure I've tested it, but fairly sure I did have a username / password configured. Is there any logging in the debug tab?

I'll be able to do my own testing this weekend.

from node-red-contrib-relaycontrol.

scottofstrand avatar scottofstrand commented on August 10, 2024

Appreciate your reply. I've tested with both username/password and with no authentication in the device's config. There's probably something I'm mis-configuring on my end, but I can't seem to figure out what it may be. I'll check the debug tab this afternoon when I'm back in the lab and post any more info here.

from node-red-contrib-relaycontrol.

dirkjanfaber avatar dirkjanfaber commented on August 10, 2024

I am sorry to report that I've forgotten to take the device home to test this weekend. I've put a reminder in my agenda not to forget about it on Monday.

from node-red-contrib-relaycontrol.

dirkjanfaber avatar dirkjanfaber commented on August 10, 2024

So, got a test setup running. What kind of input are you injecting into the node? It is supposed to be either a boolean true or false or a number 0 or 1. Injecting something else will give that invalid input.

The following script is set to the ip address from your screenshot. It should trigger port 5 from the devantech every 25 seconds and stay on for 10.

[{"id":"eadc2cf4607e2e74","type":"relay board","z":"49e8ede986b186b5","name":"","board":"319b58ddf7255cbb","port":"5","x":860,"y":540,"wires":[]},{"id":"da97403b8092aec8","type":"trigger","z":"49e8ede986b186b5","name":"","op1":"1","op2":"0","op1type":"num","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":610,"y":540,"wires":[["eadc2cf4607e2e74"]]},{"id":"4a6cdd03f50bea9b","type":"inject","z":"49e8ede986b186b5","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"25","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":370,"y":540,"wires":[["da97403b8092aec8"]]},{"id":"319b58ddf7255cbb","type":"config-relay-board","name":"","manufacturer":"devantech","host":"192.168.5.103","port":"17494","user":"","password":""}]

from node-red-contrib-relaycontrol.

Related Issues (1)

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.