# CraftBeerPi4 PCF8574 IO Actor Plugin
### PCF8574 based Actor
Plugin will add an PCF8574Actor which has to possibility to define up 8 additional actors to your pi. The board needs to be connected via I2C
Theoretically, multiple boards (up to 8) could be connected with different addresses to make up to 64 IO ports available. However, the pulgin supports one board.
### Installation:
- sudo pip3 install cbpi4-PCF8574-GPIO
- or install from repo: sudo pip3 install https://github.com/avollkopf/cbpi4-PCF8574-GPIO/archive/main.zip
### Usage:
- Configure the PCF8574 I2C Address in the cbpi global settings.

- Add an actor under Hardware/Actor and select PCF8574Actor
- Select the pin you want to switch (p0 to p7)
- Select 2 or 5 seconds for the Samplingtime (Will define the 'Resolution' for Power settings)
- Select Inverted yes or no. No means, that the pin will be on high if the sensor is active
### Hardware requirements:
Some information can be found here: https://www.instructables.com/PCF8574-GPIO-Extender-With-Arduino-and-NodeMCU/
Connect the device to 5 Volt, GND and your I2C bus. Check the Address ans set it to a different address if required
According to the datasheet, the pins can handle up to 25 mA. If you want to trigger an SSR or a relais, it is recommended to add a darlington array like the ULN2308
### Changelog:
- 10.06.23: (0.0.6) bump version to release
- 02.06.23: (0.0.6.rc1) Added cbpi4 version requirement
- 07.04.23: (0.0.6.a1) Added fucntions for plugins settings selection branches of server and ui
- 11.05.22: (0.0.5) Updated README (removed cbpi add)
- 10.05.22: (0.0.4) Removed cbpi dependency
- 10.12.21: (0.0.3) Updated README
- 09.12.21: (0.0.2) Bug Fix for power
- 09-12-21: (0.0.1) Initial release
Raw data
{
"_id": null,
"home_page": "https://github.com/PiBrewing/cbpi4-PCF8574-GPIO",
"name": "cbpi4-PCF8574-GPIO",
"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/99/57/a5655d42ec4c51e4e81db8a7901229fa62729f78a3f5736a4a8a9e8815da/cbpi4-PCF8574-GPIO-0.0.6.tar.gz",
"platform": null,
"description": "# CraftBeerPi4 PCF8574 IO Actor Plugin \r\n\r\n### PCF8574 based Actor\r\n\r\nPlugin will add an PCF8574Actor which has to possibility to define up 8 additional actors to your pi. The board needs to be connected via I2C\r\nTheoretically, multiple boards (up to 8) could be connected with different addresses to make up to 64 IO ports available. However, the pulgin supports one board.\r\n\r\n### Installation: \r\n- sudo pip3 install cbpi4-PCF8574-GPIO\r\n- or install from repo: sudo pip3 install https://github.com/avollkopf/cbpi4-PCF8574-GPIO/archive/main.zip\r\n\t\r\n### Usage:\r\n\r\n- Configure the PCF8574 I2C Address in the cbpi global settings. \r\n\r\n\r\n\r\n- Add an actor under Hardware/Actor and select PCF8574Actor\r\n- Select the pin you want to switch (p0 to p7)\r\n- Select 2 or 5 seconds for the Samplingtime (Will define the 'Resolution' for Power settings)\r\n- Select Inverted yes or no. No means, that the pin will be on high if the sensor is active\r\n\r\n### Hardware requirements:\r\n\r\nSome information can be found here: https://www.instructables.com/PCF8574-GPIO-Extender-With-Arduino-and-NodeMCU/\r\nConnect the device to 5 Volt, GND and your I2C bus. Check the Address ans set it to a different address if required\r\nAccording to the datasheet, the pins can handle up to 25 mA. If you want to trigger an SSR or a relais, it is recommended to add a darlington array like the ULN2308\r\n\r\n### Changelog:\r\n\r\n- 10.06.23: (0.0.6) bump version to release\r\n- 02.06.23: (0.0.6.rc1) Added cbpi4 version requirement\r\n- 07.04.23: (0.0.6.a1) Added fucntions for plugins settings selection branches of server and ui\r\n- 11.05.22: (0.0.5) Updated README (removed cbpi add)\r\n- 10.05.22: (0.0.4) Removed cbpi dependency\r\n- 10.12.21: (0.0.3) Updated README\r\n- 09.12.21: (0.0.2) Bug Fix for power\r\n- 09-12-21: (0.0.1) Initial release\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "CraftBeerPi4 PCF8574 Actor Plugin",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/PiBrewing/cbpi4-PCF8574-GPIO"
},
"split_keywords": [
"globalsettings"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9957a5655d42ec4c51e4e81db8a7901229fa62729f78a3f5736a4a8a9e8815da",
"md5": "f759ffb0d49ec37e948c76b5ec0b3f4d",
"sha256": "97c760e79cd140542be1a45af3d1bbb59096d1f31819feb7dbdb9caf6d7a9614"
},
"downloads": -1,
"filename": "cbpi4-PCF8574-GPIO-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "f759ffb0d49ec37e948c76b5ec0b3f4d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16626,
"upload_time": "2023-06-10T12:15:09",
"upload_time_iso_8601": "2023-06-10T12:15:09.599812Z",
"url": "https://files.pythonhosted.org/packages/99/57/a5655d42ec4c51e4e81db8a7901229fa62729f78a3f5736a4a8a9e8815da/cbpi4-PCF8574-GPIO-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-10 12:15:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PiBrewing",
"github_project": "cbpi4-PCF8574-GPIO",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cbpi4-pcf8574-gpio"
}