Addict
November 1, 2022, 10:59pm
1
I recently bought the pico W, and was messing around with it a bit.
I got it connect to wifi, but I wonder if there is any way to control GPIO pins from home assistant.
Managed to find this, but I think there should be a easier way to get GPIO control in HA.
Everything you need to get started with your own Intranet of Things, using the high-quality, low-cost Pico W as the backbone. - GitHub - daniloc/PicoW_HomeAssistant_Starter: Everything you need to ...
Has anyone else got it working?
I have also messed around with one. Very nice little board, I really like it.
I use normal MQTT, nothing Home Assistant specific. I just installed the buildchain on my PC (basically just gcc for ARM, the Pico C++ SDK and cmake) and wrote the firmware. Itβs pretty straightforward if you have some experience with embedded development.
Addict
November 2, 2022, 6:48pm
3
Just found out there is a way to get the PicoW working with ESPHome.
esphome:dev
β jesserockz:rp2040
opened 09:00AM - 11 Mar 22 UTC
# What does this implement/fix?
Basic support for RP2040
https://github.co⦠m/esphome/feature-requests/issues/1924
This code is also waiting on https://github.com/platformio/platform-raspberrypi/pull/36
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Related issue or feature (if applicable):** fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Test Environment
- [ ] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
- [x] RP2040 :smirk:
## Example entry for A Raspberry Pi Pico:
```yaml
esphome:
name: rpi-pico
rp2040:
board: rpipico
framework:
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
logger:
```
## Example entry for A Raspberry Pi Pico W:
```yaml
esphome:
name: rpi-pico-w
rp2040:
board: rpipicow
framework:
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
wifi:
ssid: REPLACEME
password: REPLACEME
logger:
api:
ota:
```
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
Fix preferences crashing
Anyone know how to get it going in HA?
1 Like
baz123
(Brian)
November 18, 2022, 9:42am
4
Released with ESPHome update this month.
No MQTT support though