Skip to content

pekawaymota

Vince edited this page Jun 1, 2023 · 1 revision

PekawayMOTA

Tasmota is another great OpenSource project. It has a very well documented firmware for the ESP8266/ESP32 chipfamily. You can find all information about Tasmota at tasmota.io. The VanPi system communicates with Tasmota via MQTT.

We can use it to control the VanPi/Pekaway mosfetboards "Dimmy" and the relayboard. To do so we built a custom version from the stock repo. For now it only works with ESP8266 modules.

Changes

Changes on the plattform.io project

  • my_user_config.h:

    • added pca9685 driver
    • set default freq to 140hz
    • added mcp20017 driver
    • set mcp20017 in output mode
    • enabled wifi_manager as standard if no wifi is available
  • PCA9685 is used to control the mosfetboard (see PCA INFO)

  • MCP20017 is used to control the relays on the relayboard (see MCP2017 INFO)

Changes in Tasmota firmware

To make it easy for you we preconfigured the settings directly in Tasmota. Basically you only need to set the wifi connection and you are ready to go.

  • pin setup wemos i2c D1 SCL D2 SDA & D4 ds18b20
  • set port 8-15 on MCP20017 as output (sensor29 0,5,0 // Configure pin 0 as OUTPUT and default to OFF on reset/power-up)
  • set mqtt topics
  • added mqttbroker 'pekaway.local'

Flashing PekawayMOTA

Download Firmware

Webinstaller

Or you can use the VanPI onboard flashtool. You'll find it in the webinterface, go to config > system > flashtool.

Clone this wiki locally