volkszaehler / vzlogger

Logging utility for various meters & sensors
http://wiki.volkszaehler.org/software/controller/vzlogger
GNU General Public License v3.0
145 stars 123 forks source link

Added support for 5 Channel S0 USB Pulse meter (original: 5-kanaals S0 Pulse Meter op USB) #596

Open Lurchi70 opened 1 year ago

Lurchi70 commented 1 year ago

Implementation a new device protocol: sos_s0

The 5 Channel S0 USB Pulse meter is a device based on Arduino Micro. It collects and buffers S0 impulse from up to five S0 devices and sends the retrieved S0-IMpulses within a 10 second timeframe to the serial port (e.g. /dev/ttyACM0) available via standard USB driver. The protocol is documented by the vendor. The device is available here: https://www.sossolutions.nl/5-kanaals-s0-pulse-meter-op-usb

This change adds a new protocol "sos_s0" to vzlogger. The implementation opens the device port, applies the hardcoded baud rate and parity setting (9600/7/n/1) and reads the data from the serial device. The read data is provided to volkzaehler middleware by the usual ways.

J-A-U commented 1 year ago

Interesting hardware you got there.

You might add this also to ./etc/vzlogger_generic.schema.json , for generated configuration.

J-A-U commented 1 year ago

@r00t- bump version?

r00t- commented 1 year ago

thanks for your contribution, nice to see vzlogger used as a platform to support new meters, will try to review the code next week.

Lurchi70 commented 1 year ago

Hi,

any new about this? Did you find the time for a review?

Best regards

Von: Thorben T. @.*** Gesendet: Sonntag, 2. Juli 2023 09:54 An: volkszaehler/vzlogger Cc: Lurchi70; Author Betreff: Re: [volkszaehler/vzlogger] Added support for 5 Channel S0 USB Pulse meter (original: 5-kanaals S0 Pulse Meter op USB) (PR #596)

thanks for your contribution, nice to see vzlogger used as a platform to support new meters, will try to review the code next week.

— Reply to this email directly, view it on GitHub https://github.com/volkszaehler/vzlogger/pull/596#issuecomment-1616430779 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6IX3FBDXCASK3OGZ7IQB7TXOESIPANCNFSM6AAAAAAZWZYSWI . You are receiving this because you authored the thread.Das Bild wurde vom Absender entfernt.Message ID: @.***>

r00t- commented 1 year ago

@Lurchi70: is it a priority for you to have this merged? imho, as long as there are few users, they can/will just find the MR and use the code, and also it would be good to have more than one user trying a meter before it gets merged. (this is the same for a meter i implemented myself: https://github.com/volkszaehler/vzlogger/pull/480 )

if you want to have it merged, i'd have some small requests: