Node MCU + Emoncms + MQTT Adafruit io
Posted: Sun Sep 22, 2019 5:06 pm
Hi,
I'm new in this forum and I wrote this post for a big trouble.
I'm working on a sketch, for a nodeMCU, to send a value consuption, given from a SCT 013, to emoncms server, this non a problem, because it works fine.
The second part of my project consist of control a relay, wired to nodemcu, with adafruit io (MQTT broker). This work fine alone, but if merge this two sketch in one, lost the connection to adafruit broker and value of consuption is wrong, probably for exceed use of memory processor.
Does anyone know a solution for my trouble? any suggestion is appreciated..
My solution is to use a node mcu for send consuption to emoncms server and a "Sonoff Pow R2" instead the relay.
What do you think abaout this?
Thanks
I'm new in this forum and I wrote this post for a big trouble.
I'm working on a sketch, for a nodeMCU, to send a value consuption, given from a SCT 013, to emoncms server, this non a problem, because it works fine.
The second part of my project consist of control a relay, wired to nodemcu, with adafruit io (MQTT broker). This work fine alone, but if merge this two sketch in one, lost the connection to adafruit broker and value of consuption is wrong, probably for exceed use of memory processor.
Does anyone know a solution for my trouble? any suggestion is appreciated..
My solution is to use a node mcu for send consuption to emoncms server and a "Sonoff Pow R2" instead the relay.
What do you think abaout this?
Thanks