I was using the read only key, when I should have been using the read/write key for the API.
I’m trying to implement the EmonTX v3 + ESP8266 solution using a nodemcu (like this https://www.hackster.io/jissanto/node-mcu-bf688b ) but something is not working as excepted. The serial output of the emontx is correct via serial output (if I use a PC). The nodemcu MQTT is posting as expected. The problem is putting them together. When I connect the emontx to the nodemcu nothing happens, I mean no data comes from emontx to the nodemcu. if I open the EmonESP web page, the section 4. Latest data is empty and consequently no data is posted via MQTT.
Do you have any suggestion? Is the nodemcu not appropriate for some reason that I don’t know?
Thank you in advance.
Taking what you have said at face value and the fact you suspect the interaction between the 2, I would recommend rechecking the Rx and Tx lines as the emonTx isn’t labelled as you might expect.
thank you for the suggestion! Now works properly. So, if someone will have the same issue, the solution is to connect the RX pin of the emontx with the RX pin of the nodemcu (or whatever). Le me say that this is not so intuitive!
Agreed. It’s normal, established convention to swap over and connect Rx-Tx and Tx-Rx in the cable between the two devices. In the case of the emonTx, the swap is done inside the emonTx, so when you’re connecting anything else to the emonTx, you do not swap the connections over.
Hi guys, great job with ESP8266 sending data from EmonTX. I have one questions though: I’m also using NodeMCU or Wemos D1 mini. Which PIN should I use for RTS connection? I checked Huzzah specs and this particular pin is not marked.
No need to connect the RTS line currently.
Thanks. All worked like a charm. Really great job, this is making Emon much more affordable.
IMHO, essential if OEM is to make it into the mainstream.
Hi there. I just want to thank the developers for adding support for the ESP8266 to the project.
I would also like to confirm that it is possible to use the EmonTX Shield and an Arduino in the same way. I successfully used a Wemos D1 mini (in stead of a Huzzah) powered directly from my Arduino UNO’s onboard regulator, posting 2 CT measurements and a temperature reading to emoncms.og without hick-ups so far.
Has anybody done any power consumption measurements on the ESP when using it in this way? I’m curious about what the smallest power supply I can get away with. I’m currently using a 9V 1A psu though the Arduino’s regulator. Will I take a risk by using a 5V 700mA psu connected directly to the Aruino’s 5V rail in stead?
2 posts were split to a new topic: Using RobotDyn Uno + ESP board with EmonESP
Using RobotDyn Uno + ESP board with EmonESP
I can’t see what sketch to upload to the ESP8266 module, please help
All the details towards the bottom of this page.
I recommend platform.lO
I got in a terrible mess until I switched from Arduino IDE.
Problem with configuring emonESP with the local emoncms host:
220.127.116.11 says Please enter emoncms server and node.
Replaced post to Hardware::emonESP.