Closed aenertia closed 5 years ago
Already, possible, you're just using the wrong syntax.
i2c:
- scl: GPIO21
sda: GPIO22
id: bus0
- scl: GPIO32
sda: GPIO33
id: bus1
sensor:
- platform: bme280
# ...
address: 0x76
i2c_id: bus0 # or bus1
Thanks will give it a go.
Also support for sistronics displays (st7735) would be nice.
The m5stickc has a weird gryo MMU sh200q and PMU AXP192 and a MEMS mic.
None of these should be hard to implement as components as example code is provided.
Those all go in the feature requests tracker, not here.
I will close the issue as multiple i2c buses do work.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Fedora30 ; pip install
ESP (ESP32 Board/m5stick-c):
Full pinout and arduino library for the platform available here:
https://github.com/m5stack/M5StickC
Affected component: i2c / playbook parser
Description of problem: Currently the YAML playbook and parser does not support multiple I2C buses.
This is problematic for platforms that make extensive use of the multiple i2c buses in their design.
Currently am testing with the m5stickC https://github.com/m5stack/M5StickC
Which uses 3 different i2c buses one for grove, one for IMU and PMU and RTC and one for MEMs mic.
Problem-relevant YAML-configuration entries:
Logs (if applicable):
Additional information and things you've tried:
Note that the newer arduino core/platfromio espressif have support for the m5stick-c board definition ; using the older m5stack-core-esp32 one ... needs another bug.