@kajmaj
You mentioned that you installed via python_exec a library reuqests.
Maybe the origin of my issue
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/python_script/__init__.py", line 196, in execute
exec(compiled.code, restricted_globals)
File "vista.py", line 6, in <module>
ImportError: __import__ not found
lies within the problem of library installation?
How did you install this lib in Hassio?
Nonetheless Command failed: .... I have as well at the moment, it is related to the switched off VistaPool wifi module (winterized swimming pool)
I can verify it once it is full and running again.
Now my Sensor with the name âAquascenicâ shows âUnknownâ figure.
Regardless of what parameter I mention (RX,PH, whatever)âŠ
It means it canât parse JSON correctly?
But JSON is correct in case I utilize âfileâ platform.
StrangeâŠ
If anybody is interested, Vistapool Hidrolife is possible to control directly through MODBUS/TCP IP converter ( I use this one ) or it can be any other available, so there is no need of Vistapool cloud anymore
To control you still have to use cloud i.e. VistaPool mobile app or their web UI.
I like to have it âoff cloudâ, thatâs why I use modbus. Wifi module is not needed anymore in this case.
The plugin in prepared for actions to control pumps etc, please let me know what you want to be able to control and Iâll try to impleement that asap. That doesnât help keeping it âoff cloudâ but it removes the requirement to use the app or their webUI.
I have it already solved as I described above (target was to cut off cloud)
But generally would be great to have ability to control essential stuff like timers, filtration, temperature and AUX relays are.
Hi kajmaj how did you manage to connect the hf2211 gateway to the hydrolysis equipment so that the internet tab would appear in the equipment menu and configure the hydrolysis equipment?
I have connected A + A- and B + B- and I have configured the module with modbus protocol, but I cannot get the internet menu after restarting the electrolysis.
Modbus description here
You must have in mind that in the document are register addresses in HEX and HA sensors work in DEC => conversion is needed.
!! I would like to stress:
Before you started to play with MODBUS control of Vistapool Hidrolife please read the bottom sentence of 50. There is not so much space for a try/error approach.
HF2211 is RS232/RS422/RS485 to Ethernet/Wi-Fi Convertor (let say a bridge between Hidrolife and, in our case, HomeAssistant)
HF2211 is in itĆ user guide.
You wonÂŽt see Hidrolife menu if connected, everything will be done via MODBUS sensors and MODBUS write.
To do some test reading, to understand data structure of MODBUS registers, you need any MODBUS SW (I use AVReporter Modbus Communication Tester).
If you go through my config in 50 there is my previous version of control. I did some updates later on if you are interested.
Is it not possible with the hf2211 to connect the hydrolife equipment to the internet to be able to register in the vistapool cloud? First I wanted to test how it works in the cloud and what parameters it gives me ⊠then I wanted to integrate it into HA.
Why is it not possible to activate the internet menu in Hidrolife?
Can you also indicate the connections of the Hidrolife equipment as it is connected ⊠VCC, GND, TD, RD?
Thank you very much in advance.
@Josser, it is possible to have Hidrolife connected to cloud if you have vistapool wifi module.
Wifi module is connected to the same internal databus as HF2211, they can be connected in parallel (two connectors are available)
With wifi module you have info/control on pH, temperature, filtration timers, pool light, HVAC control eventually, etc., depending on your options.
If you decides to use MODBUS write - Hydrolife must be in manual state, othervise external MODBUS commands does not work properly, data reading works fine everytime.
Q: Why is it not possible to activate the internet menu in Hidrolife?
A: You must have wifi module and activate it in the vistapool service menu
Q: Can you also indicate the connections of the Hidrolife equipment as it is connected ⊠VCC, GND, TD, RD?
A: Do not understand what you are asking for.
What youâve marked is dedicated for Vistapool wifi module.
I have the HF2211 connected to the next on the right and pins 2/3 are used for modbus data (A,B)
I did not try to connect 1/4 from Hydrolife to 1/4 of HF2211 (to power HF) not sure if Hydrolife has sufficient power capacity, it might work or it might burn hydrolife.
I use external pover unit to power HF2211.