Closed CodeSlinger69 closed 1 year ago
Yeah the 4P does not respond to the pump configuration messages. Those are the 3 messages that were aborted and consequently these are the message responses that add the pump configuration to the pumps list. This absolutely is related to the old firmware on the 4P.
Great, thanks for confirming. Don't waste your time on it then, as my focus now is on cannibalizing the parts in that old OCP and building a Nixie. For the meantime, I have a workaround.
nodejs-poolController Version/commit
7.7.0 to 8.0.3
nodejs-poolController-dashPanel Version/commit
No response
relayEquipmentManager Version/commit
No response
Node Version
16.18.1
Platform
Linux poolvm 5.15.0-53-generic #59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
RS485 Adapter
Elfin EW11
Are you using Docker?
OCP
EasyTouch 4P
Pump(s)
No response
Chlorinator(s)
Intellichlor IC20
What steps will reproduce the bug?
As I was fiddling around today with my EW11, I had need to delete the data/poolConfig.json file to allow npc to redetect my equipment. Upon restart, I get this throw:
I noted in the throw that it had to do with the pump status message, so I edited the poolConfig.json file and replaced the empty pumps section with the pumps section from a known good version of the file:
Upon restart, everything works fine. So it looks like its just related to the initial pump detection.
I also did a "git pull" and tested with the most current code. Same results.
Now if this is an issue that is very specific to my ancient EasyTouch 4P, then please don't bother. I have a workaround as shown above. But if this is a bug of more general applicability to the pump status message handling code, then please let me know if I can be of help to squash it.
Bonus information. There are some errors in stdout when starting with a new poolConfig.json, and after I manually add the pumps section, not sure if relevant, but thought I'd include here just in case. I can reproduce these with a "reload config":
What happens?
Throw, hard crash.
What should have happened?
Pump message status should have been parsed.
Additional information
No response