When connected successfully the ESP8266 will not present itself as a network anymore. Override your MQTT broker credentials when needed, and fill in your Wifi SSID and password. Connect to it, this will present a Wifi setup screen. header.h // * To be filled with EEPROM data char MQTT_HOST = "192.168.86.123" char MQTT_PORT = "1883" char MQTT_USER = "SOME_USERNAME" char MQTT_PASS = "SOME_PASSWORD" Īfter a successful upload, check your Wifi networks. You should see some logs like the following: Next choose Upload and Monitor after a successful build. Go to the PlatformIO tab and choose Build. This plugin will build and upload the DSMR5 software to our D1 Mini.Ĭheckout the forked repository by Daniel Jong and open it in Visual Code. Install Visual Code with the PlatformIO plugin. Connect colors in the example as follows: The RJ12 cable numbering walks from index 1-6 with it’s pin down. Solder prototyping PCB board, like the Rademacher WR-Typ 790-5.In the process below we’ll build a small ESP8266-based DSMR5 connector for our smart meter.Ĭredits for the DSMR software go to Flip Hess and Daniel Jong. When reading more about ESP8266’s I came by a (forked) repo that replaces the P1 cable and RPi solution by using a 4 bucks ESP8266 (D1 Mini) and a RJ12 (6-pin) using the 5V power on the 6th pin. In one of my previous posts I wrote about submitting MQTT messages with an ESP8266 NodeMCU to a broker, like HA. However, the idea of using both a P1 connector cable RJ11 (4-pin) and a RPi Zero seemed somewhat overkill as I had to make a wall mount for it, use an extra power outlet to power the RPi and the RPi is running a full OS for just reading and submitting serial data. For sending statistics about energy usage to my Home Assistant ( HA) instance from my smart meter, a Sagemcom XS210 ESMR5 ( DSMR5), I’ve been using a P1 cable and a Raspberry Pi Zero ( RPi) running ser2net following a blog post by Jean-Paul van Ravensberg.
0 Comments
Leave a Reply. |