Coder Social home page Coder Social logo

WeMos R3 about paradoxrs232tomqtt HOT 24 CLOSED

maragelis avatar maragelis commented on May 28, 2024
WeMos R3

from paradoxrs232tomqtt.

Comments (24)

maragelis avatar maragelis commented on May 28, 2024 1

just give me a few hours its not uploading (I am on mobile network) will upload tonight

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024 1

Change this line from
if (client.connect(charBuf,root_topicStatus,0,false,"Paradox Disconnected")) {
to
if (client.connect(charBuf, username, password, root_topicStatus,0,false,"Paradox Disconnected")) {

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

There is no reason it should not work, as long as the board is set for esp8266 usage.
You are getting the above error because you are missing a library, go to arduino IDE and install the pubsubclient library.

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Yeah I did install that one and the subsequent JSON one and then I get that error out.

Probably me doing something stupid still.

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

are you using esp8266 in the board specs in the arduino ide?

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Figured it out.

You need to use ArduinoJson 5.* library instead of 6.* which is still in Beta even though it shows up at the top of the list.

Problem was seemingly all in the compile stages and nothing to do with the board.

So we learn.

But now a new issue I'll tackle tomorrow.

`collect2.exe: fatal error: cannot find 'ld'

compilation terminated.

exit status 1
Error compiling for board Generic ESP8266 Module.`

from paradoxrs232tomqtt.

FigJam23 avatar FigJam23 commented on May 28, 2024

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Figured it out.

You need to use ArduinoJson 5.* library instead of 6.* which is still in Beta even though it shows up at the top of the list.

Problem was seemingly all in the compile stages and nothing to do with the board.

So we learn.

But now a new issue I'll tackle tomorrow.

`collect2.exe: fatal error: cannot find 'ld'

compilation terminated.

exit status 1
Error compiling for board Generic ESP8266 Module.`

Weird between reloading Board Manager and updating WiFiManager to new version it's working now.

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Uploaded just fine but the Wireless AP just doesn't show up.

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

Is it starting up or is it boot looping. What core are you using v2.3.0 is supported not v2.4.0

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Is it starting up or is it boot looping. What core are you using v2.3.0 is supported not v2.4.0

How would I know if it's boot looping?

But I assume you are referring to the Board Manager core? In that case I would have the latest so that might explain it will try it again.

Maybe worth adding that detail on the Wiki.

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Downgrading to 2.3 then it doesn't compile again.

Maybe you can advise exactly which version of each package/library should be used?

`Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, QIO, 115200, 512K (no SPIFFS), ck, Disabled, None"

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp: In member function 'void WiFiManager::setupConfigPortal()':

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:146:71: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'

server->on(String(F("/")), std::bind(&WiFiManager::handleRoot, this));

                                                                   ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:146:71: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:147:81: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(unsigned char), WiFiManager const, bool>::type)'

server->on(String(F("/wifi")), std::bind(&WiFiManager::handleWifi, this, true));

                                                                             ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:147:81: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:148:83: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(unsigned char), WiFiManager const, bool>::type)'

server->on(String(F("/0wifi")), std::bind(&WiFiManager::handleWifi, this, false));

                                                                               ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:148:83: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:149:83: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'

server->on(String(F("/wifisave")), std::bind(&WiFiManager::handleWifiSave, this));

                                                                               ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:149:83: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:150:72: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'

server->on(String(F("/i")), std::bind(&WiFiManager::handleInfo, this));

                                                                    ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:150:72: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:151:73: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'

server->on(String(F("/r")), std::bind(&WiFiManager::handleReset, this));

                                                                     ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:151:73: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:153:77: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'

server->on(String(F("/fwlink")), std::bind(&WiFiManager::handleRoot, this)); //Microsoft captive portal. Maybe not needed. Might be handled by notFound handler.

                                                                         ^

C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:153:77: note: candidates are:

In file included from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,

             from C:\Users\user\OneDrive\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)

void on(const char* uri, THandlerFunction handler);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

    ^

C:\Users\user\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided

exit status 1
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

just download wifimanager lib in th e arduino ide

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

just download wifimanager lib in th e arduino ide

Yup I have 0.14.0 installed.

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

get the bin file (precompiled) and just flash it to the ESP using esptool
https://github.com/maragelis/ParadoxRs232toMqtt/releases/tag/V1

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

get the bin file (precompiled) and just flash it to the ESP using esptool
https://github.com/maragelis/ParadoxRs232toMqtt/releases/tag/V1

I must be blind because I see no BIN file there. And I actually went looking for that first before trying to compile as that is what I've always done with these kinds of things.


I see you've specially compiled it for me, thanks for that. Maybe explains why I didn't see it before and why it still doesn't show up.

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

just give me a few hours its not uploading (I am on mobile network) will upload tonight

Just pulled it now and will test shortly.

I'm in your debt for making the effort to specially compile it for me.

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

Finally had success loading it onto the R3 after a bit of up and down.

Tell me your MQTT configuration doesn't seem to support authentication with a username/password? Or did I miss it somehow?

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

No i dont use auth.

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

I give up, I'm convinced the serial output on my Spectra is either broken or disabled.

Got a WeMoS D1 R2 and flashed to it without an issue, connected it to network see the initial status that it comes online from MQTT messages so that's working.

And then nothing else ever happens.

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 28, 2024

are you sure you dont have the rx tx the connected wrong. what spectra model do you have

from paradoxrs232tomqtt.

SauRoNZA avatar SauRoNZA commented on May 28, 2024

are you sure you dont have the rx tx the connected wrong. what spectra model do you have

Yup thought the same and swopped them around with no change in behaviour.

It's the Spectra 1738.

from paradoxrs232tomqtt.

istvanszab avatar istvanszab commented on May 28, 2024

I use auth for MQTT.
I dont't understand your code about auth.
"// If you want to use a username and password, uncomment next line and comment the line if (client.connect("433toMQTTto433")) {
//if (client.connect("433toMQTTto433", mqtt_user, mqtt_password)) {
// and set username and password at the program beginning"

If I uncomment "if (client.connect("433toMQTTto433", mqtt_user, mqtt_password)) {" where I close the if statement?

from paradoxrs232tomqtt.

istvanszab avatar istvanszab commented on May 28, 2024

Thank you. it works.

from paradoxrs232tomqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.