Closed ddean6232 closed 5 years ago
Having the same issue. INPUT mode is working though
Have not tested inputs. Need output.
I'm having the same issue with OUTPUT. I have not tested inputs because my project is on a PCB.
I'm also having problems with OUTPUT mode.
I did a pull request with the solution to the problem. Waiting for analyse.
@puerari I've tested your diff and it works for me. Great job.
No sure how I can test. Knowledge limited.
On Wed., Mar. 27, 2019, 1:41 p.m. redstar2k1, notifications@github.com wrote:
@puerari https://github.com/puerari I've tested your diff and it works for me. Great job.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/160#issuecomment-477318891, or mute the thread https://github.com/notifications/unsubscribe-auth/AWeTcQOy0YEh8J6QrCB33omuJKmEFFYzks5va8lrgaJpZM4cEtxR .
Hi I also have the same problem OUTPUT does not want to work with esp8266 d1_mini while for INPUTs it works cm of can solve
Questo è il codice:
esphome: name: esp_realy_8ch platform: ESP8266 board: d1_mini
wifi: ssid: "my SSID" password: "my password" manual_ip: static_ip: my ip subnet: 255.255.255.0 gateway: my gateway
logger:
api: password: 'my_password'
ota: password: 'my_password'
i2c: sda: 4 scl: 5 scan: True
mcp23017:
binary_sensor:
switch:
In my Nodemcu, INPUT error when Validate
INFO Reading configuration...
Failed config
switch.gpio: [source /config/esphome/tang3.yaml:90]
platform: gpio
name: PCF8574 Pin #0
pin: [source /config/esphome/tang3.yaml:93]
pcf8574: pcf8574_hub
number: 0
Unknown value 'INPUT', must be one of 'OUTPUT'. Got 'INPUT'
mode: INPUT
inverted: False
i2c: sda: D2 scl: D1 scan: True
pcf8574:
id: 'pcf8574_hub' address: 0x21 pcf8575: False
number: 0
mode: INPUT inverted: False
Dear @nguyentien1271990
This issue is about MCP23017. Your configuration is referring to PCF8574.
Fixed in 1.12.2 by @puerari
Operating environment/Installation (Hass.io/Docker/pip/etc.):
HASSIO ESP (ESP32/ESP8266, Board/Sonoff):
WEMOS DI MINI Affected component:
https://esphome.io/components/mcp23017.html?highlight=mcp23017
Description of problem: Cannot get MCP23017 to operate as per instructions. I have tested the module with the manufacture instructions on an Arduino Uno and it works as documented. I have attached the manf. instructions to this issue for you ref.
Problem-relevant YAML-configuration entries: