Menu

compilation problem with Vers 141-03

Philippe
2025-04-06
2025-04-25
  • Philippe

    Philippe - 2025-04-06

    Hello Robert
    My SQM has been working for two years (very well) with firmware 139-03, and I wanted to update to the new version 141-03
    and...oops, a compilation problem that I can't resolve.
    I've attached the compilation error.
    Thank you in advance for your help.
    Sincerely,
    Phil

    E:\Documents\Arduino\mysqmplus_141-03\rtc.cpp: In member function 'bool REAL_TIME_CLOCK::start_rtc()':
    rtc.cpp:171:7: error: 'rtc_battery' was not declared in this scope
    if (rtc_battery == false) {
    ^~~~~~~~~~~
    E:\Documents\Arduino\mysqmplus_141-03\rtc.cpp:171:7: note: suggested alternative: 'rtc_date'
    if (rtc_battery == false) {
    ^~~~~~~~~~~
    rtc_date
    ............
    exit status 1
    'rtc_battery' was not declared in this scope

     
  • brownrb

    brownrb - 2025-04-18

    I will take a look and get back to you with a solution, shortly

     
  • brownrb

    brownrb - 2025-04-19

    Please replace the existing files with these

     
  • Philippe

    Philippe - 2025-04-22

    Hello Bob,
    Thank you very much.
    The compilation problem is fixed.
    Everything works. Only the MQTT server refuses to start with MQTT_CONNECT_FAILED as the status.
    Maybe I configured it incorrectly.
    Sincerely,
    Philippe

     
  • brownrb

    brownrb - 2025-04-24

    How is the Broker set up? What Broker are you using?
    I have the mosquitto broker running on my PC. I can see in services its running,
    I can open mqtt(fx) to access the broker and subscribe to the broker as well as mysqm+

    Some things to check
    Are you using authentication on the broker. If you are then the name and password must be set correctly ans authentication enabled on the mqtt page.

    IP address of broker. You set it to 192.168.2.133
    I think that is the default (same as mine), is there a mqtt server/broker running on that IP address? Or is the MQTT service running on a different computer?

    Regards
    Robert

    PS.
    I have recently started work on the next update for mysqm+
    It will run on latest Arduino IDE and ESP Core 3.2.0 with a new uploader.

     

    Last edit: brownrb 2025-04-24
  • Philippe

    Philippe - 2025-04-25

    Hello Robert Okay, everything works.
    I forgot to specify the broker's IP address....!
    However, I couldn't change the address in server management. I had to modify the mqtt_define file.

    Sincerely,
    Phil

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.