zinen / node-red-contrib-huawei-router

Node-RED node to get information and send commands to Huawei LTE routers.
MIT License
4 stars 1 forks source link

"Input mode is not understood" #17

Open dnj0104 opened 1 year ago

dnj0104 commented 1 year ago

hello

Got some problem to get huawei node understand my commands, using version 2.0.0 version 1.30 worked great I have tried several combinations of input modes, also uninstall huawei node and installed it again, so what am I doing wrong

`ui-button node off payload (number) 0 topic msg.0 result when pressed "Input mode is not understood"

ui-button on payload number-string 1 topic msg.1 result when pressed= 2/22/2023, 6:53:57 AMnode: bc903213517687a0 msg : string[28] "Input mode is not understood"

timestamp node on, msg.payload=(numberstring) 1 msg.topic=(numberstring) 1
result when pressed 2/22/2023, 6:53:57 AMnode: bc903213517687a0 msg : string[28] "Input mode is not understood"

timestamp node off, msg.payload=(number-string) 0 msg.topic=(number-number-string) 0 result when pressed - "Input mode is not understood"

ui-button status node payload (numberstring) 1 Topic msg.1 result = status appears in debug window

timestamp on/off and ui-button on/off is connected to 1(one) huawei mobile data node And status button is connected is to a second huawei-node

So I wonder what is it that I missing, it worked great with the with version 1.30

and I have tried several combinations, with true/1/on and payloads-strings, number msg, but all I get is "input mode is not understood"`

example

Screenshot at 2023-02-23 11-51-36

zinen commented 1 year ago

You should send a message with {mode:0} or {mode:1}