How to setup mqtt gateway not from predified constants?
-
I'm using esp sketch with web-configured mqtt options. How I can feed it to MS gateway?
-
@Stas-Dovgodko
would that do the job ?#MY_MQTT_DEFINE_I_WANT_VARIABLE myMqttVariablethen use the myMqttVariable in your sketch
-
@gohan Yeah, just rewrote lib a lot of ) For now subscribe working but not publishing. This would be configurable (just like sonoff for example) gateway with wifi-portal (ap) and configurable wifi/mqtt options from web interface
-
@Stas-Dovgodko
would that do the job ?#MY_MQTT_DEFINE_I_WANT_VARIABLE myMqttVariablethen use the myMqttVariable in your sketch
@scalz No. But this in mysensor lib does :) :
extern PubSubClient MQTTClient; extern WiFiClient wclient;
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login