Thanks Bill!
···
On mar., 15 ago. 2017 16:14 Bill Thomson < [email protected]> wrote:Bill.Thomson https://community.openenergymonitor.org/u/bill.thomson Bill
Thomson https://community.openenergymonitor.org/u/bill.thomson
August 15Hi Joaquin,
I use this
http://www.ebay.com/itm/For-XP-RS485-Vista-Support-OS-B3-USB-Raspberry-Converter-Adapter-To-RS485-/252987628320?epid=24002975678&hash=item3ae73cdb20:g:7IUAAOSwceNZPrG~
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
Visit Message
https://community.openenergymonitor.org/t/read-the-sdm220-modbus-with-the-minimalmodbus-python-module/4819/2
or reply to this email to respond.To unsubscribe from these emails, click here
https://community.openenergymonitor.org/email/unsubscribe/1223200ac8db08bf001a1275f8100a25ace2187f9a9a2b0f7c11210086bce4de
.