Search results

  1. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    I realize I posted the above at a potentially particularly inopportune time for a number of users here. I hope you and your families (and your pools!) are all okay! l hope it's okay to give this thread a "bump" in the hopes that there's someone out there with some ideas, because I am out of...
  2. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Okay, so it's been two weeks since I've posted, but I haven't given up yet! However, I still haven't been victorious in getting the RS-485 connection to provide sensible data. Based on the generous help and input from @superuser and others, I performed the following tests using my multimeter...
  3. PXL_20210214_003721763.jpg

    PXL_20210214_003721763.jpg

  4. PXL_20210204_025054382.jpg

    PXL_20210204_025054382.jpg

  5. PXL_20210204_025213780.jpg

    PXL_20210204_025213780.jpg

  6. PXL_20210204_025035837.jpg

    PXL_20210204_025035837.jpg

  7. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Thanks for this suggestion! That does look way easier than I thought it would be. I'm hopeful I can bend the RS-485 bus to my will, but this is a nice back up plan.
  8. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Wow, thanks for all the great suggestions! I'm out for the next few days but will get back on this next week and report back. Thanks for the detailed advise here, @superuser! I do have a multimeter and can test this! I don't know if my adapter is terminated, but can do the test you...
  9. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Okay, so looking at the bytes being returned again, it really does look like random noise, maybe with some underlying oscillation (maybe why we get semi-regular packet sizes). For documentation purposes, my next plan of attack is: Get out the voltmeter and see what the Jandy voltage is VCC to...
  10. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    This is a great idea, thanks! One of my goals here was to be able to control the temperature remotely, so that I can keep the (indoor) pool temperature colder most of the time when we're not going to be swimming in it but have a way to tell the system that we'll be swimming in a few hours so...
  11. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Thanks for the suggestion! Unfortunately, I see no real difference (other than the number of bytes per "packet"). I conducted an experiment trying each of SEVENBITS or EIGHTBITS, at each of 4800, 9600, 19200, 38400 baudrates. There wasn't a clear winner 🤦‍♂️ The results...
  12. Screenshot from 2021-01-25 17-26-13.png

    Screenshot from 2021-01-25 17-26-13.png

  13. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Made a bit more progress on this. I'm now able to read the data from Python, which I was having trouble with before. Unfortunately, the data does not make a ton of sense to me: $ ./jandy_heater_control.py Opening rs485 serial connect on port /dev/ttyUSB0 Read the next packet. It was 748...
  14. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Okay, so made a little bit of progress on this last night, thanks to @superuser for the suggestion. After I tried disconnecting the VCC (Red) and, then, also the Ground(Black) wires, I still got nothing. Then I had a thought that maybe RS-485 wires aren't color coded. So, maybe...
  15. PXL_20210118_215213820.jpg

    PXL_20210118_215213820.jpg

  16. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Ah, got it, thanks! I'm trying to do this without shelling out for the RS panel thing. But I agree from my reading that the panel is regularly broadcasting messages. I'll still give your suggestions on watching the USB-RS485 adapter lights and trying 2 or 3 wires instead of all four a shot...
  17. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    Thanks for the response! And the suggestions! I will try them! > the heater is broadcasting packets Do you know if these jandy heaters are just always broadcasting packets on the RS-485 bus? That's what I was kind of hoping but from reading online now I'm not sure if it takes a command to...
  18. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    So I've attached the following python3 script which attempts to replicate the logic loop of the power center as documented by @rekliner above I think the meaningful bit is here: def control(s, ser, args): # Ping for unit presence print("{}: Sending 0x{} to heater".format(time.time()...
  19. T

    Controlling Rs485 slave devices (heater, pump, SWG) directly with Pi

    @rekliner : This looks like exactly I'm looking for, too! I have the same heater model and recently thought I could get AqualinkD setup to control it 🤦‍♂️ No dice. I'm new here, but I have a raspberry pi and an RS-485 to USB cable connected to the Aqualink RS terminals of the heater's control...