Relay board - light circuits not working on PCF8574

Post Reply
pjasinsk
Posts: 3
Joined: Saturday 04 March 2017 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Relay board - light circuits not working on PCF8574

Post by pjasinsk » Saturday 04 March 2017 22:52

Hello
I’m new here so sorry if the description is not clear enough or the post should be located somewhere else.
My Domoticz Version: Version: 3.6838 Build Hash: 895a33a Compile Date: 2017-03-03 17:49:29
Platform: Raspberry Pi 2 Model B
I'm having some problems with connecting PCF8574 relay board and PCF8574 input board to Domoticz.
I connected all hardware devices to RPi and it works fine in command line - I can switch relays on and off and read the input values.
My problem is that I have no idea how to configure Domoticz to change the relay state.
I added hardware (I2C sensor PIO 8bit expander PCF8574 or PCF8574A) setting I2C address 27 for relay board and 3a for input board (these are the addresses working in command line). After that in Devices tab I added devices setting them as main devices. I can see everything correctly in switches tab but I’m not able to change the relay state.
Do you guys have any idea what I did wrong?
I have some strange errors in the logs. No idea why there is such a strange address in the log:
2017-03-04 10:11:18.389 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:19.390 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:19.393 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:20.394 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:20.397 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:21.401 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:21.404 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:22.405 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:22.408 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:23.409 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:23.412 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:24.413 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:24.416 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:25.417 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:25.420 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:26.424 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:26.427 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:27.428 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:27.431 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:28.432 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:28.435 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:29.436 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:29.439 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:30.443 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:30.446 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:31.447 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:31.450 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:32.452 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:32.455 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:33.456 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:33.458 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:34.461 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:34.464 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:35.465 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:35.468 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:36.469 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32
2017-03-04 10:11:36.473 Error: I2C_PCF8574: Failed to read from the i2c bus with address 34
2017-03-04 10:11:37.473 Error: I2C_PCF8574: Failed to read from the i2c bus with address 32

CNejmann
Posts: 1
Joined: Sunday 29 October 2017 1:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Relay board - light circuits not working on PCF8574

Post by CNejmann » Sunday 29 October 2017 1:43

Hi Pjasinsk
Did you find a solution?
I have the exact same problem..

Please help me out if you can :)

Br Claus

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest