How manage IP Relay Card from Aliexpress

Hi,
I’m new HA user (I from Jeedom system). I want migrate my Jeedom system on HA and I have my first problem…
I have 2 relay IP card (https://fr.aliexpress.com/item/32915396064.html?spm=a2g0o.productlist.0.0.6d83554ckYL7aA&algo_pvid=b375107f-b94c-4620-906a-ea720f92a925&algo_expid=b375107f-b94c-4620-906a-ea720f92a925-10&btsid=8a743396-b9c7-49d0-8384-2494b6437e9e&ws_ab_test=searchweb0_0,searchweb201602_1,searchweb201603_52) and I wan command relay (I don’t use input). I search on web but I don’t see exemple. I have IP address, admin login and password 123456. I have a web page with this url http://192.168.1.11/relay_en.cgi
Do you have an idea how I can manage output relay please ?

Thank you very much for your help!

We would need more documentation on how it works.

That’s an interesting device. I never knew such a thing existed. Now I’m going to find a use for one!

It looks like there is a web-based user interface. Presumably you could use a scrape sensor, unless there’s an API which returns JSON or some other format.

Working out how it works and what URL to send to drive it would require more information either from the seller on ali or from @jordanfavre

Good luck on getting more help from the chinglish nightmare of the vendor’s ali page. Hopefully @jordanfavre can give more info on how he made it work in Jeedom.

Thanks for your reply ! Yes it’s very difficult to have documentation … Yes there is a web interface to manage relay but no documentation. On jeedom there is a plugin for this type of material. Maybe with a wireshark, I can test that

Is the jeedom stuff open source?

Hi Akeb,

Thanks you for this, I have try your development, but I get an error :

Source: custom_components/ali_ip_relay/light.py:45
Could not connect to ali_ip_relay hub

Of course, my ip is right and port is by default 1234.

Any idea of how to make it work