Open Weom85 opened 7 months ago
When the spa is sending the FB message there's 300 micro second between FA and FB
I've optimised the code a bit to try and decrease the delay between when the interrupt on pin5 triggers and we send the command, if you can try pulling the latest code.
Overall I'm not sure why you were seeing a longer delay than I do, but hopefully this will help a bit more.
Generally if I complete sending and see the response in around 2500 then my spa responds ok
Thank you ! I’ll give it a try I was able to make it work tweaking the code but I lost connection often right now it’s not really fully reliable hopefully with your new code will fix it :)
I also order a RSC3 but i cannot flash the chip platformio won't compile the code.
I will still try to work on that
De : netmindz @.> Envoyé : Wednesday, January 3, 2024 5:09:24 PM À : netmindz/balboa_GL_ML_spa_control @.> Cc : Weom85 @.>; Author @.> Objet : Re: [netmindz/balboa_GL_ML_spa_control] Not able to send command (Issue #71)
I've optimised the code a bit to try and decrease the delay between when the interrupt on pin5 triggers and we send the command, if you can try pulling the latest code.
Overall I'm not sure why you were seeing a longer delay than I do, but hopefully this will help a bit more.
Generally if I complete sending and see the response in around 2500 then my spa responds ok
— Reply to this email directly, view it on GitHubhttps://github.com/netmindz/balboa_GL_ML_spa_control/issues/71#issuecomment-1876035732, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEKWKF7LKP6ZVSMUYBXTJQDYMXJJJAVCNFSM6AAAAABAOBE5CKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGAZTKNZTGI. You are receiving this because you authored the thread.Message ID: @.***>
Can you remember what optimisations you made to make it more reliable?
As for the RSC3 I don't know if my board is faulty, but not only was I seeing it be slower, but even when it said it had send a message there was no response.
I need to pull that board out and confirm that it is actually transmitting to the rs485 bus when it says it is
i added log and snapshot of the graph.
do you have any idea of what i should change or what i'm doing wrong
100.000000 Sent target temp data 100.000000 onPumpSwitchStateChanged Pump1 2 Sendi ng fb060343060006f9a2 - 1 times ERROR: Pin5 went high before command could be sen t after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush ERROR: Pin5 went high before command could be sent after flush YAY: command response : 3350 Switch Light changed - Toggle ERROR: Pin5 went high before command could be sent after flush