Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C io interface
#40
I'm learning a lot, the plugin works fine, but the relay modules that I have, are activated when they receive VCC, and then they all stay connected. (does not change in the options) the led strips are common GND. I tried an alternative way that worked, but I am not convinced with the cli control plugin and adding the command "i2cset -y 1 0x20 0x**", it works fine, but I could not use the plugin to put several at the same time. pcf7585, from ssh, with the command also works, with the plugin it doesn't. The difference, I don't know why is that the led strips have to be common vcc. I'll keep trying things, thanks

(2022 Jan 20, 05:32 PM)astrogerard Wrote: If you are convenient is changing 1 line in the plugincode here is what to try.

On line 111 there is "if gv.srvals[sid]: "  please change this to:  "if gv.output_srvals[sid]: "

This should do the the trick for now. In the meantime I do some more testing and will update the repo asap.

See also: https://gitlab.com/seventer/pcf857x_plug...3d2fbc75db
Sorry I didn't read the last post, I'll try it delighted and I'll tell you. thank you very much Gerard
Reply


Messages In This Thread
I2C io interface - by astrogerard - 2021 Aug 12, 01:54 PM
RE: I2C io interface - by dan - 2021 Aug 12, 07:56 PM
RE: I2C io interface - by astrogerard - 2021 Aug 13, 09:27 AM
RE: I2C io interface - by dan - 2021 Aug 13, 01:21 PM
RE: I2C io interface - by astrogerard - 2021 Aug 14, 04:26 PM
RE: I2C io interface - by dan - 2021 Aug 14, 05:02 PM
RE: I2C io interface - by astrogerard - 2021 Aug 14, 05:45 PM
RE: I2C io interface - by dan - 2021 Aug 18, 07:34 PM
RE: I2C io interface - by astrogerard - 2021 Aug 19, 09:29 AM
RE: I2C io interface - by astrogerard - 2021 Aug 23, 11:27 AM
RE: I2C io interface - by dan - 2021 Aug 23, 01:26 PM
RE: I2C io interface - by astrogerard - 2021 Aug 24, 08:58 PM
RE: I2C io interface - by astrogerard - 2021 Aug 26, 03:48 PM
RE: I2C io interface - by dan - 2021 Aug 26, 06:33 PM
RE: I2C io interface - by astrogerard - 2021 Aug 26, 07:10 PM
RE: I2C io interface - by astrogerard - 2021 Sep 16, 11:11 PM
RE: I2C io interface - by dan - 2021 Sep 19, 07:52 PM
RE: I2C io interface - by astrogerard - 2021 Sep 26, 10:13 PM
RE: I2C io interface - by astrogerard - 2021 Oct 18, 08:35 PM
RE: I2C io interface - by dan - 2021 Oct 19, 02:21 PM
RE: I2C io interface - by dan - 2021 Oct 19, 04:51 PM
RE: I2C io interface - by astrogerard - 2021 Oct 19, 08:40 PM
RE: I2C io interface - by litronas - 2022 Jan 10, 03:04 PM
RE: I2C io interface - by astrogerard - 2022 Jan 10, 04:45 PM
RE: I2C io interface - by litronas - 2022 Jan 10, 08:35 PM
RE: I2C io interface - by astrogerard - 2022 Jan 11, 03:17 PM
RE: I2C io interface - by litronas - 2022 Jan 15, 08:54 PM
RE: I2C io interface - by astrogerard - 2022 Jan 17, 04:30 PM
RE: I2C io interface - by litronas - 2022 Jan 17, 08:35 PM
RE: I2C io interface - by astrogerard - 2022 Jan 17, 08:51 PM
RE: I2C io interface - by dan - 2022 Jan 17, 09:27 PM
RE: I2C io interface - by astrogerard - 2022 Jan 17, 09:50 PM
RE: I2C io interface - by dan - 2022 Jan 18, 03:11 PM
RE: I2C io interface - by astrogerard - 2022 Jan 18, 03:40 PM
RE: I2C io interface - by litronas - 2022 Jan 18, 07:39 PM
RE: I2C io interface - by litronas - 2022 Jan 19, 08:03 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 12:49 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 03:11 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 05:32 PM
RE: I2C io interface - by litronas - 2022 Jan 21, 03:11 PM
RE: I2C io interface - by litronas - 2022 Jan 20, 09:35 PM
RE: I2C io interface - by astrogerard - 2022 Jan 20, 10:05 PM
RE: I2C io interface - by litronas - 2022 Jan 21, 09:57 AM
RE: I2C io interface - by astrogerard - 2022 Jan 21, 07:50 PM
RE: I2C io interface - by litronas - 2022 Jan 24, 09:40 PM
RE: I2C io interface - by astrogerard - 2022 Jan 25, 03:00 PM
RE: I2C io interface - by dan - 2022 Jan 25, 03:43 PM
RE: I2C io interface - by astrogerard - 2022 Jan 25, 04:38 PM
RE: I2C io interface - by litronas - 2022 Mar 18, 04:21 PM

Forum Jump:


Users browsing this thread: 8 Guest(s)