Version 5.2.x
Protocol
- Where a request takes one of several alternative parameters, a key set to
nullis treated as if it was omitted, see the protocol specification.
New requests
- setCounterValues sets counter values without changing their configuration.
- getEncoderQuadInvert and setEncoderQuadInvert get and set whether the encoder direction is reversed.
- Modbus values (v5.2.1): listModbusValues, getModbusValue, setModbusValue, and waitModbusValue.
- getLabelBitmap (v5.2.4) renders a label to a black and white PNG at a given resolution. It is also available as a REST endpoint.
Changed requests
- All
delete*requests accept an array of names to delete several items in one request: deleteClock, deleteCounter, deleteImage, deleteLabel, deleteNumberFormat, deleteShiftCode, deleteTable, deleteTimeFormat, and deleteVariable. - setCounters keeps the
current value and repeat state of a counter when
valueis omitted. - The image
statereturned by getImageInfo and listImages isPARKEDfor images that are not active.
GPIO
- Photocell triggers are exposed as read-only conditions named
device.<device>.TRIGGER<n>, see Input/output.