Comments (7)
Hi,
yes, CMD is the tasmota command and is the tasmota param...
so just send the string "BlinkCount 12" or "BlinkTime 3" with the topic "command"
or a list to send both at once: ["BlinkCount 12", "BlinkTime 3"]
I'm a bit busy with other stuff right now, it should be great if you could contribute to docs improvement with a pull request ;)
Let me know if you need more help
Note that you need the git version to send raw commands, as stated in the CHANGELOG file
from node-red-contrib-tasmota.
Btw, I just released v0.9.4, that include raw tasmota commands, so you just need to update the node from node-red
from node-red-contrib-tasmota.
Hi DaveMS,
I upgraded to v0.9.4. So I am now actually trying the command list out.
But still have not been able to get it going.
Even a single command is not working yet.
In an inject node, I filled in "BlinkTime 3" as payload and command as topic
but there is no output, not even on the debug console.
What am I overlooking?
I am able to send an on, off and toggle command via the tamota-switch node. So that one is working.
Btw, the plan is indeed to help some with the documentation, as soon as I have figured out how this works:-)
from node-red-contrib-tasmota.
Hi,
look at the console in your tasmota web interface, you should see all the received commands there.
"BlinkTime 3" just set the time of the blinks, it does not actually make the light blink.
to start the blinking you must send "Power blink" (always on the "command" topic)
This one works for me:
The first 2 inject nodes just change the tasmota configuration, while the last one actually start the blinks
from node-red-contrib-tasmota.
Ha, thanks for the screenshot. From the titles, I noticed you are lacking the quotes. So if I put in
BlinkCount 3
instead of "BlinkCount 3" it is working.
So the individual commands are now in order! thanks.
But I am still struggling with the right syntax to input a series of commands: In my case I indeed need something like ["BlinkCount 12", "BlinkTime 3", "Power Blink"] as the payload.
But if I include your example from your earlier mail ["BlinkCount 12", "BlinkTime 3"], I get an "unknown command" in the debug console. What is the right format?
Attached a screenshot from my side:
from node-red-contrib-tasmota.
You are quite there :)
you must send a JSON list, not a string, just set the payload type to JSON instead of string.
This will start 5 blinks
from node-red-contrib-tasmota.
That was the trick indeed! Thanks. My garden pump is now "chiming" the hour:-)
I created a pull request with an update of the documentation. Let me know what you think.
Thanks for the help and the great work.
from node-red-contrib-tasmota.
Related Issues (20)
- problems with node-red 2.0.5 HOT 13
- How to request updated value in Switch Node HOT 9
- Button Node configuration HOT 12
- Light node send wrong values when in json output mode HOT 10
- I am seeing this message quite a lot. HOT 2
- Injects for 2 channels relay HOT 2
- "Input messages are NOT forwarded to the output." Except they are. HOT 8
- "close timed out" error when performing full deploy or modifying broker node HOT 3
- Power "blink" option HOT 3
- Devices show "Offline" when referenced in multiple flows HOT 14
- Not receiving full MQTT message
- quiet tasmota nodes on flow deploy HOT 1
- Switch node sends a topic when multiple outputs are enabled HOT 3
- Multiple executions when triggered by hass entity HOT 2
- Nodes no longer report or forward device status in flows, instead show offline, BUT still control devices HOT 3
- switch node channels HOT 2
- tasmota sensor node with multi outputs gives warning with node-red version 3.1.0 (Sept. 2023) HOT 4
- Sensor node emits all topics HOT 5
- Error on Node-Red 3.1.0 HOT 1
- Nodes not saving settings correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-tasmota.