SOLVED.
I was using the read only key, when I should have been using the read/write key for the API.
Hi guys,
Iām trying to implement the EmonTX v3 + ESP8266 solution using a nodemcu (like this Get Started With NodeMCU - Hackster.io ) 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.
Hi Paul,
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
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.
Ian
L.S.
Problem with configuring emonESP with the local emoncms host:
192.167.178.61 says Please enter emoncms server and node.
Replaced post to Hardware::emonESP.