Hello.
I’m trying to send to emoncms.org via MQTT. I’m programming an arduino to use an ENC28J60 based ethernet adaptor to publish MQTT from a fixed ip address. The easiest way I think would be to send MQTT directly to the emoncms.org fixed IP address, would this be possible?
Why MQTT? I’d have thought the HTTP API would be simpler (but I am no Arduino programmer). A fixed IP is always a danger as domains do change their IP address from time to time.
There is no MQTT implementation at emoncms.org (that I’m aware of) so I assume you mean self hosted emoncms.
The current emoncms MQTT implementation has some unresolved issues, it is not reliable yet and is most likely (or perhaps just hopefully) going to change in the not too distant future. Plus the MQTT input script is hardcoded for one user only (userid: 1). I would expect a HTTP SSL connection to be both more reliable and more secure.