On Jul 11, 2018, at 11:26 PM, ERICK OMONDI AYARA <ayara...@gmail.com> wrote:
Hello, I would like to capture weight from a weighing scale using TCP/Ethernet cable into a django app. If anyone can advice on how to use sockets or any other means to make this work, will be appreciated. Regards
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ee33e49e-67d5-491a-a113-09fbd5290d56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 unputsstart with weight program , design it the code it . test untill you satisfied .. now you can do the connection with backend in many ways ..you can make your program connect to the same database that your django has access to ityou can record in csv or json files and send them to django as Tom mentioned maybe try to use django rest for hundling json requests and responsesalso you can make the program embedded in your backend django as a module or a script
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/FEBBB7C6-7CF7-4E11-9372-ED957E4AD0DF%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/FEBBB7C6-7CF7-4E11-9372-ED957E4AD0DF%40gmail.com.