you dont need sockets , you can make the weight program scan inputs every n
seconds .. or you can program it to be an event hundler to any change in
unputs
start with weight program , design it the code it . test untill you
satisfied .. now you can do the connection with backend in many ways ..
check this
https://raspberrypi.stackexchange.com/questions/70476/tcp-communication-raspberry-pi-and-pc-via-ethernet
On Fri, 13 Jul 2018, 11:08 mottaz hejaze, wrote:
> you dont need sockets , you can make the weight program scan inputs every
> n seconds .. or you can program it to be an event h
You can use Django REST framework to get data into Django and a separate Python
(or other) program to feed it in. Have the Python program connect to the scale
and use whatever mechanisms are required there to get your data.
If the scale has a browser interface, then use urllib to read a page and
3 matches
Mail list logo