suxsem / mqttduino Goto Github PK
View Code? Open in Web Editor NEWAn MQTT client for Arduinos connected to an esp8266 board
License: MIT License
An MQTT client for Arduinos connected to an esp8266 board
License: MIT License
Hi
First, thank you. This was exactly what I was looking for and so far it's bullet proof. I want to send JSON strings as an mqtt message. i.e "1" for on and "0" for off.
It just does't publish a message at all when I try and send this. This is my code:
mqttPublish(MQTT_TOPIC2"/stat", ""1"", 0);
If I remove the quotes and send a plain 1 or 0 I have no issues but of course it isn't JSON compliant.
Any suggestions? Excuse my ignorance if it is something obvious.
Thank You
Sorry I have the same problem.
I'm working on mac and upload / format / restart ... with this tool:
https://github.com/kmpm/nodemcu-uploader
To spy and communicate with the ESP8266 (ESP-12)
I'm using the CoolTerm for Mac.
but after restart I get this error too:
NodeMCU 0.9.5 build 20150214 powered by Lua 5.1.4
lua: init.lua:1: not enough memory
Please help me on this.
I also try to format and reupload the files again.
Same error again and again :/
When using the latest (77c3a59), I get a "lua: not enough memory". When using the previous version, it get compiled correctly.
I'm using a ESP8266-01 with NodeMCU 0.9.5 build 20150213.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.