/
VX scenario PID adjustments
VX scenario PID adjustments
When the Scenario node is set, you may need to adjust PID gains in real-time to ensure the correct settings. This function is intended for advanced users.
Please remeber that the VX Scenario node is a beta test.
[{"id":"baa53fdc.48508","type":"tab","label":"Flow 9","disabled":false,"info":""},{"id":"a37b37700a46bc09","type":"vertex cluster","z":"baa53fdc.48508","rate":90,"x":850,"y":280,"wires":[]},{"id":"3ea4b16891ca2bf1","type":"VX scenario MS+CP+LS","z":"baa53fdc.48508","version":3,"name":"","profile":"61b3a12a8a4f3111","out_target":["3c80ec69-1608-42cb-a67e-ba4983f0b93d"],"in_lightsensor":"...","in_sensors":["00996CFE90BA881775"],"in_panels":[],"ls_target":"500","ls_tolerance":"50","ls_gain_p":"0.005","ls_gain_i":"0.033","ls_gain_d":"0","x":610,"y":280,"wires":[["a37b37700a46bc09"],[]]},{"id":"b23ad977c139383b","type":"inject","z":"baa53fdc.48508","name":"PID change settings","props":[{"p":"p_gain","v":"2","vt":"num"},{"p":"i_gain","v":"0.011","vt":"num"},{"p":"d_gain","v":"0","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":370,"y":280,"wires":[["3ea4b16891ca2bf1"]]},{"id":"61b3a12a8a4f3111","type":"vertex-profile","version":3,"name":"my test","ms_is_used":"true","ms_level_on":"100","ms_level_on_type":"percent","ms_level_standby":"10","ms_level_standby_type":"percent","ms_level_off":"0","ms_level_off_type":"percent","ms_time_hold":"600","ms_time_standby":"60","ms_time_dead":"10","ls_is_used":false,"ls_mode_dh":true,"ls_target":"500","ls_tolerance":"50","ls_limit_min":"5","ls_limit_max":"100","cp_is_used":false,"cp_feedback_enabled":true,"cp_schema":"[100, 80, 50, 30, 20, 10, 1, 0]","cp_schema_type":"cp_scenario"}]
Configure the Inject node with messages for PID gains, as shown below. This enables PID gain adjustments without redeploying the flow.
You can see confirmation of the command in the debug information on the right side of the screen.
If you want to change input information on PID gains you can refresh this in the context of the node.
, multiple selections available,
Related content
VX scenario Node - Beta test
VX scenario Node - Beta test
More like this
Vertex Action - Motion sensor logic
Vertex Action - Motion sensor logic
More like this