Git Product home page Git Product logo

Comments (5)

BrianDurward avatar BrianDurward commented on May 26, 2024 1

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

Please post a flow with inject nodes that reproduces your issue,

from node-red-contrib-smartnora.

BrianDurward avatar BrianDurward commented on May 26, 2024

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

@BrianDurward I think the problem is you configured a numeric payload, but didn't set the values properly:

image

You should set them as 1 and 0 as you have them defined in the inject nodes.

[{"id":"8fa522ee.e22958","type":"inject","z":"15d66f47.1c0181","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"annesblanket/cmnd/POWER","payload":"1","payloadType":"num","x":680,"y":220,"wires":[["24d116f2.cccdf2","d38e2b8a.ddd9b8"]]},{"id":"39a32949.41bece","type":"inject","z":"15d66f47.1c0181","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"annesblanket/cmnd/POWER","payload":"0","payloadType":"num","x":680,"y":280,"wires":[["24d116f2.cccdf2","d38e2b8a.ddd9b8"]]},{"id":"24d116f2.cccdf2","type":"mqtt out","z":"15d66f47.1c0181","name":"","topic":"annesblanket/cmnd/POWER","qos":"","retain":"","broker":"9002693a.f32cf","x":1160,"y":240,"wires":[]},{"id":"d38e2b8a.ddd9b8","type":"noraf-switch","z":"15d66f47.1c0181","devicename":"Anne's Blanket","roomhint":"Bedroom 1","name":"Anne's Blanket","passthru":true,"nora":"c38ae3d9.b9765","topic":"annesblanket/cmnd/POWER","onvalue":"1","onvalueType":"num","offvalue":"0","offvalueType":"num","twofactorpin":"","x":950,"y":160,"wires":[["24d116f2.cccdf2"]]},{"id":"9002693a.f32cf","type":"mqtt-broker","name":"","broker":"IOTserver","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"c38ae3d9.b9765","type":"noraf-config","name":"Firebase [test group]","group":"test","twofactor":"off","twofactorpin":"","localexecution":true,"structure":""}]

image

from node-red-contrib-smartnora.

BrianDurward avatar BrianDurward commented on May 26, 2024

from node-red-contrib-smartnora.

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.