Closed fgsam1234 closed 3 years ago
Hello
First of all you don't need to post 2 time the same post Second as mentioned this code is delivered without warranty I normally I answered quickly but I do it in my free time and actually I haven't free time to analyse your problem
The log you provide looks good and for me you should find the network id As you see the code only increase the network id and wait until the spa answered if not he increase again.
Could you try the next channel or the channel before. Please provide a complete log file.
Dear Yogui79,
Thank you for analyzing my issue. I have attached the putty log to this post. Could you please delete the post under discussions. I just used the the button "generate issue from this post" unfortunately it just copied it to Issues and did not delete the initial post in discussions.
I have checked the neighbor channels with the SearchNetworkID sketch with commented //#define SEARCH_NETWORK_ID. 0x4A does not produce any fast flashing of the LC12 LED. 0x4C produces a fast flashing LED, if i am close to the pump. If I am more then 2 meters away from the pump, it does not flash fast anymore.
I will now try 0x4C, just to be sure.
ok it means 0x4B is the right channel please be so close as possible from the pump for searching the network id. the remote control should also be on the pump because in this case the pump sent more that 5 signal/sec if you remove the control from the pump it send only 1/sec
Ah thanks, that is a good hint. I had the remote detatched. The LC12 is about 0.3 meters away from the pump. So the distance should be OK. I will try again with Channel 0x4B and the remote lying on the charging slot of the pump.
Just for my understanding: The SearchNetworkID is trying all networkIDs from 0000 to FFFF. It is calculating the checksum from each. It sends it and it is waiting 1 second for the pump to answer correctly. If there is no positive answer, it tries the next. So if block 5 and 6 of the checksum have reached FF FF all possible combinations have been tested, correct?
Does it make sense to continue the sketch once FFFF had been reached and no networkID has been found?
Unfortunately my networkID sketch has reached FFFF for block 5 and 6. It did not find the ID. It is still continuing to test IDs. It is currently once again at 0445. Is it senseful to let it continue? or should I stop it and try something different? If yes, what else could I try?
I was finally able to detect the correct Channel and Network ID. :-)
For that I have changed the delay in the Channelsearch sketch to 3000ms and the delay in the networkID sketch for LastTimeReciveData to 1500ms. By that the Channel could be clearly identified and I had a hit with the networkID within roughly 8 hours.
It works now very well.
Thank you @Yogui79 for the code itself and your support.
I was finally able to detect the correct Channel and Network ID. :-)
For that I have changed the delay in the Channelsearch sketch to 3000ms and the delay in the networkID sketch for LastTimeReciveData to 1500ms. By that the Channel could be clearly identified and I had a hit with the networkID within roughly 8 hours.
It works now very well.
Thank you @Yogui79 for the code itself and your support.
Hello, where did you changed the delay, in the loop function or in the SetSettingsChannel function ?
Discussed in https://github.com/Yogui79/IntexPureSpa/discussions/16