HI All
I am a real noob at pi/node-red, so please excuse what may seem quite simple, but I have tried every way I can research to get this working but cant find a solution.
I need to do a simple thing.
Click a button on UI and on the flow I linked a button to a snmpset node to trigget and snmp set.
Below is the set command from pi command,,,,,,
snmpset -c public -v 2c 192.168.0.29 1.3.6.1.4.1.362.5.5.2.0 i 1
I have a flow with the following:
Button---------snmpset
Button Settings : Label, payload set to number 1
snmpset node settings: Set Host, community and version correctly and the following in varbinds: [ { "oid":"1.3.6.1.4.1.362.5.5.1.0","type":"Integer","value":"1" } ]
I cant seem to get the cli command executed.
Any help, as i think it is the syntax of the varbinds?
No matter what I change i cant seem to get it working, error i get from above is "TypeError: argument must be a Number"
thanks