ScrapWeights API

Version 1.0

Resources:

get
scaleId optional string (default: "")

Scale Id

Scale status ping GET /{scaleId}/ping

get
v required string

version

tp optional numeric (default: -1)

temperature in celsius

b optional numeric (default: -1)

battery power

m optional numeric (default: -1)

memory

mv optional any (default: "")

modem version

mc optional any (default: "")

number of power cycles

Debug log POST /{scaleId}/logs

post
text optional string (default: "")

Add load GET /{scaleId}/hoppers/{hopperId}/add-load

get
weight optional numeric (default: 0)
time optional numeric (default: "")
s optional numeric (default: 0)

1 means we are synchronizing, so we'll let them enter anything, even if wrong

Hopper weight update GET /{scaleId}/hoppers/{hopperId}

get
weight required numeric

Resources are listed in matching order. From top to bottom, the first URI to match the request is used.