$ pip install mt-sics-emulator $ mtsics-tcp --port 8000 --control-port 8001 $ curl -X POST :8001/weight -d '{"target": 12.5}' $ nc localhost 8000 SI SI S 12.50 kg T T S 12.50 kg SI SI S 0.00 kg
mt-sics-emulator
MT-SICS is the protocol industrial scales speak. There was no open-source server-side implementation, so I wrote one. A Python asyncio engine with a REST control API plus TCP and RS-232 transports. You can test integrations without dragging a scale off of the workroom floor. Ships with 8 device profiles (Mettler Toledo, Ohaus, Sartorius), about 300 tests, and automated PyPI releases.