P: I want my Fujitsu with a Wi-Fi module like the Japanese models!
B: We have a Wi-Fi module at home in Thailand...
Wi-Fi module at home:
Mainly, follow Benas09's FujitsuAC README!
This Gist is just an addendum to his wonderful work.
- ESP32. Any basic one will do. (I use this one from DEVIO) Just be sure that the board exposes pins 16 and 17 (TX2 & RX2). Some small ones like the ESP32C have only a test pad, not the pins.
- A 12V to 5V buck converter. A small one with 3 pins will do just fine.
- Logic level converter. A cheap one is enough.
- PAP Female connector with 4 pins.
(
5PCS PAP-04V-S PAP-05V-S 24AWG PA 2MM PAP dupont 2.54 2.0MM PA2.0 2/3/4/5/6/7/8/9/10/12 Position Rectangular Housing Connector) I bought it from AliExpress using Benas09's link. A 10cm Dupont wire works just fine. (My project was delayed because I had to wait for importing for a month.)
- PAP pinout to ESP32
- Green: +12V
- Yellow: "Ground" (Relative to the A/C's AC current. DO NOT PLUG IN YOUR COMPUTER WHILE CONNECTING THE PINS!)
- Black: RX2
- Red: TX2
- For this time at least, I had to compile and upload the binary using Arduino.
Directly uploading the binary (Read error) or compiling using PlatformIO
(
mbedtls_sha256_starts' was not declared in this scope;) cause errors.- If you can't import ESP32 boards due to a
Failed to install platform: 'esp32:3.3.7'. 4 DEADLINE_EXCEEDED: context deadline exceedederror: Increase network timeout.
- If you can't import ESP32 boards due to a
- On first boot: If you uploaded the binary successfully, a Wi-Fi access point named
fAir-<alphanumeric>should appear on your list. - To create an MQTT user for HomeAssistant, just go to HA's Settings > People > Users and create a simple user.
- To find the device in HomeAssistant, go to HA's Settings > Devices & services > MQTT > Mosquitto broker >
