cbpi4-Flowmeter


Namecbpi4-Flowmeter JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/PiBrewing/cbpi4-Flowmeter
SummaryCraftBeerPi4 Flowsensor / Step Plugin
upload_time2023-06-10 12:17:02
maintainer
docs_urlNone
authorAlexander Vollkopf
requires_python
license
keywords globalsettings
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CraftBeerPi4 FLowmeter Sensor / Step Plugin

*For recently added VolumeSensor functionality scroll down*

This plugin has been ported from the craftbeerpi3 plugin version (https://github.com/nanab/Flowmeter)

The plugin includes sensor with action to reset the sensor and a custom step.
Use a 10k ohm resistor on sensors signal pin to protect your Pi or connect the hall type flow sensor to your Craftbeerpi extension board at the flowmeter ports.

Wire the sensor to the pi:
Red -> 5v.
Black -> GND.
Yellow -> 10k ohm resistor -> GPIO pin. (or data on the extension board. No extra resistor required here)

- Installation: 
    - pypi release: sudo pip3 install cbpi4-Flowmeter
    - PiBrewing release: sudo pip3 install https://github.com/avollkopf/cbpi4-Flowmeter/archive/main.zip
	- prash3r VolumeSensor testing branch: sudo pip3 install https://github.com/prash3r/cbpi4-Flowmeter/archive/VolumeSensor.zip

- Sensor Usage:
    - On the settings page, choose a unit for the Volume (e.g. L, qt, gal, ...)
    - Add Sensor under Hardware and choose Flowmeter as Type
    - Several parameters can be set:
        - GPIO defines the GPIO that is used for the signal of the sensor (connected to the yellow cable)
        - Display defines if the total volume or the flow per second is displayed
        - Hertz: Here you need to set the frequency of your sensor (Singals per Liter per minute). This should be documented in the sensor datasheet

![Flowsensor Settings](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorConfig.png?raw=true)


- Once configured, you need to add the sensor to the Dashboard.
- Please select Yes for Action as this will add an additional menu on the right side of the sensor to reset the sensor to 0

![Flowsensor Action Setting](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorActionSetting.png?raw=true)
![Flowsensor Action Button](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorActionButton.png?raw=true)

    
- When you press the menu button on the right side of the sensor, a menu wil show up where you can reset the sensor.

![Flowsensor Action Menu](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorAction.png?raw=true)

- Flowstep Usage:
    - The plugin provides a step where you can define a volume that should flow while the step is active.
    - You need to select your flowsensor as sensor.
    - An actor has to be defined that triggers the start and stop of the flow (e.g. magnetic valve)
    - You need to enter the volume that should flow while the step is active
    - When the step starts, the sensor will be set to 0.
    - You can select if the sensor should be set to 0 once the step is completed.

![Flowstep](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/FlowStep.png?raw=true)

## VolumeSensor functionality

The recently added *very simple* VolumeSensor functionality can be used like this:

Parameters:
 - GPIO: The GPIO Pin number in BCM numbering
 - impulsesPerVolumeUnit: the amount of impulses that should be displaying the volume of 1 of whatever Unit. This is unit agnostic. Just use the same unit in your FlowStep if you use it.

The VolumeSensor does nothing more then to count impulses and calculate the volume the number of impulses represent.

Actions:
 - Reset Sensor: resets the countet impulses and volume to 0
 - Fake Impulse: fakes the detection of an impulse (i used this for testing because i dont have a flow sensor)



## Changelog:

- 10.06.23: (0.0.6) bump version to release
- 14.05.23: (0.0.6.rc1) added simple VolumeSensor and cbpi4 requirement
- 14.04.23: (0.0.5.a2) fixed bug in parameter generation
- 08.04.23: (0.0.5.a1) added test support for plugin settings selection branch
- 11.05.22: (0.0.4) Updated README (removed cbpi add)
- 10.05.22: (0.0.3) removed cbpi dependency
- 27.04.22: (0.0.2) Added MQTT based flowsensor with reset topic
- 02.10.21: (0.0.1) Initial Release




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/PiBrewing/cbpi4-Flowmeter",
    "name": "cbpi4-Flowmeter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "globalsettings",
    "author": "Alexander Vollkopf",
    "author_email": "avollkopf@web.de",
    "download_url": "https://files.pythonhosted.org/packages/d8/58/d790a6982d839be5afbac6ad6c4c9233b07c9861db2f51a0d61841c449a4/cbpi4-Flowmeter-0.0.6.tar.gz",
    "platform": null,
    "description": "# CraftBeerPi4 FLowmeter Sensor / Step Plugin\r\n\r\n*For recently added VolumeSensor functionality scroll down*\r\n\r\nThis plugin has been ported from the craftbeerpi3 plugin version (https://github.com/nanab/Flowmeter)\r\n\r\nThe plugin includes sensor with action to reset the sensor and a custom step.\r\nUse a 10k ohm resistor on sensors signal pin to protect your Pi or connect the hall type flow sensor to your Craftbeerpi extension board at the flowmeter ports.\r\n\r\nWire the sensor to the pi:\r\nRed -> 5v.\r\nBlack -> GND.\r\nYellow -> 10k ohm resistor -> GPIO pin. (or data on the extension board. No extra resistor required here)\r\n\r\n- Installation: \r\n    - pypi release: sudo pip3 install cbpi4-Flowmeter\r\n    - PiBrewing release: sudo pip3 install https://github.com/avollkopf/cbpi4-Flowmeter/archive/main.zip\r\n\t- prash3r VolumeSensor testing branch: sudo pip3 install https://github.com/prash3r/cbpi4-Flowmeter/archive/VolumeSensor.zip\r\n\r\n- Sensor Usage:\r\n    - On the settings page, choose a unit for the Volume (e.g. L, qt, gal, ...)\r\n    - Add Sensor under Hardware and choose Flowmeter as Type\r\n    - Several parameters can be set:\r\n        - GPIO defines the GPIO that is used for the signal of the sensor (connected to the yellow cable)\r\n        - Display defines if the total volume or the flow per second is displayed\r\n        - Hertz: Here you need to set the frequency of your sensor (Singals per Liter per minute). This should be documented in the sensor datasheet\r\n\r\n![Flowsensor Settings](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorConfig.png?raw=true)\r\n\r\n\r\n- Once configured, you need to add the sensor to the Dashboard.\r\n- Please select Yes for Action as this will add an additional menu on the right side of the sensor to reset the sensor to 0\r\n\r\n![Flowsensor Action Setting](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorActionSetting.png?raw=true)\r\n![Flowsensor Action Button](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorActionButton.png?raw=true)\r\n\r\n    \r\n- When you press the menu button on the right side of the sensor, a menu wil show up where you can reset the sensor.\r\n\r\n![Flowsensor Action Menu](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/SensorAction.png?raw=true)\r\n\r\n- Flowstep Usage:\r\n    - The plugin provides a step where you can define a volume that should flow while the step is active.\r\n    - You need to select your flowsensor as sensor.\r\n    - An actor has to be defined that triggers the start and stop of the flow (e.g. magnetic valve)\r\n    - You need to enter the volume that should flow while the step is active\r\n    - When the step starts, the sensor will be set to 0.\r\n    - You can select if the sensor should be set to 0 once the step is completed.\r\n\r\n![Flowstep](https://github.com/avollkopf/cbpi4-Flowmeter/blob/main/FlowStep.png?raw=true)\r\n\r\n## VolumeSensor functionality\r\n\r\nThe recently added *very simple* VolumeSensor functionality can be used like this:\r\n\r\nParameters:\r\n - GPIO: The GPIO Pin number in BCM numbering\r\n - impulsesPerVolumeUnit: the amount of impulses that should be displaying the volume of 1 of whatever Unit. This is unit agnostic. Just use the same unit in your FlowStep if you use it.\r\n\r\nThe VolumeSensor does nothing more then to count impulses and calculate the volume the number of impulses represent.\r\n\r\nActions:\r\n - Reset Sensor: resets the countet impulses and volume to 0\r\n - Fake Impulse: fakes the detection of an impulse (i used this for testing because i dont have a flow sensor)\r\n\r\n\r\n\r\n## Changelog:\r\n\r\n- 10.06.23: (0.0.6) bump version to release\r\n- 14.05.23: (0.0.6.rc1) added simple VolumeSensor and cbpi4 requirement\r\n- 14.04.23: (0.0.5.a2) fixed bug in parameter generation\r\n- 08.04.23: (0.0.5.a1) added test support for plugin settings selection branch\r\n- 11.05.22: (0.0.4) Updated README (removed cbpi add)\r\n- 10.05.22: (0.0.3) removed cbpi dependency\r\n- 27.04.22: (0.0.2) Added MQTT based flowsensor with reset topic\r\n- 02.10.21: (0.0.1) Initial Release\r\n\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "CraftBeerPi4 Flowsensor / Step Plugin",
    "version": "0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/PiBrewing/cbpi4-Flowmeter"
    },
    "split_keywords": [
        "globalsettings"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d858d790a6982d839be5afbac6ad6c4c9233b07c9861db2f51a0d61841c449a4",
                "md5": "3bded7f336de3aeed4b5fb72283ebed5",
                "sha256": "b81c243a86f13b9a7ebd809e04f632a23d60e8929032555ba8ef2d1f621c4348"
            },
            "downloads": -1,
            "filename": "cbpi4-Flowmeter-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "3bded7f336de3aeed4b5fb72283ebed5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 19102,
            "upload_time": "2023-06-10T12:17:02",
            "upload_time_iso_8601": "2023-06-10T12:17:02.808832Z",
            "url": "https://files.pythonhosted.org/packages/d8/58/d790a6982d839be5afbac6ad6c4c9233b07c9861db2f51a0d61841c449a4/cbpi4-Flowmeter-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-10 12:17:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PiBrewing",
    "github_project": "cbpi4-Flowmeter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cbpi4-flowmeter"
}
        
Elapsed time: 0.15563s