Comments (5)
I gave it a shot in series of PRs.
esphomelib works fine and my example compiles and works good.
esphomeyaml and esphomedoc are a bit of a different beast - I'm not so good with python and I use docker to "compile" .yamls, so I can't tell if my monkey-around is successful. @OttoWinter , counting on you to double-check the code and see if I missed anything.
Docs are updated to resemble PCF docs, but again, have no clue if I missed anything.
@OttoWinter - would be good to write a short "how to test if esphome{yaml/docs} pass quality criteria"...
from feature-requests.
any news on this PR? I would relly love to have MCP23017 (and 23008 as same chip with just 8 GPIO) supported as I will be able to move so many of my project to ESPHome while today I'm stuck with other firmware or even custom written ones... :(
from feature-requests.
This has already been implemented here esphome/esphome#466
from feature-requests.
Hi I am trying to control through a wemos d1 esphome mcp23017 trying to enable 8 8-button relays by following the code I can only make 8 buttons work but unfortunately the relays or LEDs do not light up when the code is in place I wanted to know where I am wrong the problem arises on the OUTPUT do not enable LED or relay you can see where it is wrong
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
Enable logging
logger:
Enable Home Assistant API
api:
password: 'my_password'
ota:
password: 'my_password'
i2c:
sda: 4
scl: 5
scan: True
Example configuration entry
mcp23017:
- id: 'mcp23017_hub'
address: 0x20
binary_sensor:
- platform: gpio
name: "Pulsante 1"
pin:
mcp23017: mcp23017_hub
number: 0
mode: INPUT_PULLUP
inverted: True
on_press:- switch.toggle: relay_1
switch:
- platform: gpio
name: "Relay 1"
id: relay_1
pin:
mcp23017: mcp23017_hub
number: 15
mode: OUTPUT
inverted: True
from feature-requests.
on the MCP when using the OUTPUT mode it does not work nn there is no output from the voltage pins I suppose there is an error in the code made thousands of tests putting an LED on one of the pins in output but nn does not want to turn on in any way
from feature-requests.
Related Issues (20)
- Add support for TM1668 Led and Key component
- Add SPI Support for BMP388 and BMP390 HOT 11
- Add partial update support for Waveshare 2.70inv2
- Option to pre-build firmware updates in home assistant add-on
- Option to set default update method
- new Sensor Voltage ZMPT101B
- ILI9488 alternative color modes HOT 2
- MAC filter for bluetooth_proxy
- Add support for climate component, platform: modbus HOT 2
- Add ssid_add_mac_suffix: option to Captive Portal HOT 2
- Make `esp32_ble_tracker` and `esp32_ble_beacon` interoperable HOT 2
- TF-Luna LiDAR Module (or any LiDar module)
- Add auto-calibration to LD2410
- Please add [Download firmware] if OTA goes wrong HOT 3
- Support ds2482-800 HOT 25
- Native API's reboot_timeout should consider activity on the HTTP EventSource and RESTful APIs.
- Generic hygrostat HOT 1
- Add support for Waveshare 3.52inch e-Paper raw display( 360 × 240, SPI Interface)
- Add support for WeAct Studio 1.54 Inch Epaper Module EPD HOT 1
- [wireguard] Infer and print to logs client public key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feature-requests.