Read here as you can see, “external” seems to be the proper place to connect (well, in my case at least)
My device has 4 pin terminals for display/wifi/external but you have 5 pins >> firstly you should identify proper pair of pins dedicated to MODBUS.
Once you know you can test.
If reading does not work >> cables swap (A/B to B/A) could help.
SugarValley is not communicative, but you might be a lucky one.
4 pins in my unit also, though it looks like it is just a not-needed pin. @Yoryino try inverting T- and T+, no risk there. I remember it was also that issue for me.
Hello,
I have same device as you @Yoryino . Can you share your cable connection? Are you connected to DISPLAY pins or EXTERN pins? Photo of your working connection would be best and helpfull I got stuck with my connection to Modbus. Thanks
Thanks for reply. Will try to swap A/B cable. So your A/B cables are on pins 3 and 4?
I tried 2 different connections but without swaping A/B cables. So i guess this one should be correct one. I have just to swap A/B cables.
I left this project aside for almost a year but got some time and started back on it.
I realized that once connecting to the RS485 of the Hayward Aquarite Flo Advanced no nothing was being read, I dont know if is because Elfin EW11 setup or because I need to activate something inside the service menu.
Can somebody let me know if simply by connecting to the modbus is viable to read registers, or I need to activate something? Instructions said (when using official Vistapool module) that once connected the menu Internet will appear and stuff can be configured there, so I wondered if there is a step i am missing here…
No need to activate sthg, just properly connect it and configure
You shall setup your Elfin as well - bauds etc.
If it is done, and no game, try to change wires A-B >> B-A it could help.
Thanks!
Will give it a shot again, probably I missed something or perhaps my Modbus client didn’t work too well. Will make sure to test against other modbus server before going to it.
I did change A B cables around a few times just in case, all I get in Status of EW for serial is Sent frames but non received… I thought should be the bloody A-B wiring but seems not.
I did test with other modbus device and my client working fine… this are settings used in HA. If I change IP/port and set a different sensor I read fine another server, and HA it is connecting to EW1.
I was running out of ideas, maybe different serial port settings on this AquaRite Flo Advanced device?
What do you think I could look at more?
While sending this post the light bulb moment appeared
The plug it was reversed in this device, and I was missing one of the AB cables, changed poisitions to the empty pin and data apperead
You saved me running to check PH that is acting funky this year
I see. It is an excerpt of my swimming pool package. This is yaml file of Vistapool modbus sensors I am currently using.
My whole swimming pool package more than 30 yaml files.
It is thanks to that file, and some trial and error with the HF2211 (also getting power from my Sugar Valley OX1) that I have it working: reading of pH, temperature and such. Thank you for that.
Any chance that you can share your total package? It would be nice to not only read data from my Sugar Valley, but also write to it (really control my pool).
Hi kajmaj,
can you post your script to control the pool light ?
I’m trying to make a script with the sequence of this 4 modbus register address with modbus.write_register service but unfortunately the relay does not switch
Thank you
#----------------------------------------------------------------#
# Vistapool light control MODBUS script #
#----------------------------------------------------------------#
script:
light_mb_toggle:
sequence:
- service: modbus.write_register
data:
hub: pool # your name of hub
unit: 1 # your address of slave
address: 1147
value: [2]
- service: modbus.write_register
data_template:
hub: pool # your name of hub
unit: 1 # your address of slave
address: 1136
value: [3] # [3] for ON [4] for OFF
- service: modbus.write_register
data:
hub: pool # your name of hub
unit: 1 # your address of slave
address: 752
value: [1]
- delay: 00:00:01
- service: modbus.write_register
data:
hub: pool # your name of hub
unit: 1 # your address of slave
address: 757
value: [1]
Hello, did you compile the tasmota with the neopool andon? do you have some infos how you did the compilation, which changes you made in the setup file for the compilation and how did you flashed ypour own version on the ESP?