Hi Joaquin,
I use this RS-485 to USB adapter to feed data from an Elkor WattsOn power transducer to a Raspberry Pi.
I’m not a programmer, so I used what I knew how to work with, to get data from the RPi to emonCMS.
A Python script that uses the minimalmodbus module reads the RS-485 data from the RPi USB port and writes it to a text file mounted on a tmpfs partition. (a ramdisk, so-to-speak)
A bash script reads the text file and uses curl
to send the data to emonCMS.
I’ll send you the files later today (I’m at work ATM). Hopefully, they’ll give you a place to start.
Regards,
Bill