-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to send command #71
Comments
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 GitHub<#71 (comment)>, or unsubscribe<https://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 |
Hi, im not able to send command , when i check with analyser it seems that the delay between the FA message and the FB message is too long and pin 5 goes HI before i finish to send message.
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
The text was updated successfully, but these errors were encountered: