Page 2 of 2
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Saturday 30 March 2024 19:00
by clements63
What is the version that you use ?
Relay-net V5.x ?
BartSr wrote: Saturday 30 March 2024 17:42
I recently also used the LAN ethernet 8 channel realay and binairy inputchannel.
I only knew I could hook up to these relays by default (after reset) @ 192.168.1.166
From there I set the parms to my domoticz app.
First one went OK as expected
Second did not create new devices.
I found the solution by changing port# 12345 > 12341
Maybe same solution for this problem.
it's not possible to update the port in relay
Why not? Just go to website being the ip# you set for the relay in domoticz hardware
Bart
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Saturday 30 March 2024 21:35
by BartSr
version V5.7
I know you have those up and running
I triggered as I did not got devices in Dz until changing port#
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Saturday 06 April 2024 19:58
by BartSr
any update of status?
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 9:11
by clements63
No news from my side
I tried to change the firmware version but the card is not detected by my PC
I m still looking for a plugin fordomoticz for this last version : 5.8 or 5.9
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 9:33
by waltervl
From the code the following examples. Do they also work with the 5.8/5.9 firmware? If they work the Domoticz integration also will work.
Code: Select all
// Connect to it from a browser, type HTTP://192.168.1.166 in the bar.
// Make sure you computer has access to the subnet.
//
// Relay-Net-V5.7 card settings:
//
// To use Inputs set scene settings to all "xxxxxxxx" for all inputs. This
// give full control of the relays and inputs to domoticz.
//
// Password does not matter when only TCP traffic is used.
// When HTTP is used then username / password setting on the module and domoticz must match.
// After init the is user:admin /password:12345678
//
// Select power down save
// Deselect Input output correlation
// Deselect scene mode
// Select touch input
//
// Make sure TCP address and port match domoticz settings (example addr:192.168.2.241 port:17494)
// Set HTTP port to 80 so you can access the module from your browser.
// If you have multiple modules make sure mac address settings are unique.
// Set Default Gateway, Primary & Secondary DNS server to 0.0.0.0 in most cases.
//
// To test the card using Linux curl:
// Turn relay1 on: curl --basic --user admin:12345678 --silent --data "saida1on=on"
// Turn relay1 off: curl --basic --user admin:12345678 --silent --data "saida1off=off"
// Pulse relay1 on: curl --basic --user admin:12345678 --silent --data "saida1pluse=pluse"
// (firmware pulse -> pluse)
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 11:42
by clements63
Connection between Domoticz and the module is OK
Only the input and relay status is failed , and not updated to Domoticz
Maybe it's possible tu update the code in Domoticz to supprt the 5.8/5.9 firmware ?
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 12:03
by habahabahaba
Could it be easier to buy a new relay on Aliexpress?
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 12:22
by clements63
yes of course but it's not the cheaper solution
and not fully sure to receive a module in version v5.7
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 12:51
by habahabahaba
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 12:54
by waltervl
clements63 wrote: Monday 15 April 2024 11:42
Connection between Domoticz and the module is OK
Only the input and relay status is failed , and not updated to Domoticz
Maybe it's possible tu update the code in Domoticz to supprt the 5.8/5.9 firmware ?
That is what the commands in the source code are trying. So do they work?
I suppose the curl commands will need the relay card URL eg
Code: Select all
curl <IP-card>:<PORT> --basic --user admin:12345678 --silent --data "saida1on=on"
If someone knows how these new cards need to be programmed (if not compatible with the old cards) then someone can change the code.
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 17:34
by BartSr
@clement63
did you try changing port# as I suggested?
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Monday 15 April 2024 18:46
by clements63
Yes. Same result with 1234 or 502
With other ports, connection is failed between the module and DZ
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Tuesday 16 April 2024 15:34
by BartSr
can you try port 12345 iso 1234?
One told me to not use port# below 4000 for some reason
Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Tuesday 16 April 2024 20:01
by clements63
same result with port 12345

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card
Posted: Tuesday 30 April 2024 20:44
by clements63
habahabahaba wrote: Wednesday 27 March 2024 11:35
I have similar relays. But there is another plugin in Domoticz and broader settings.
Each relay operates on its own UDP port, otherwise the status is not returned either.
So I think if you can't change the port settings, there's no way you can make it work.
2024-03-27_13-28-36.png
I purchased this Dingtian relay ... it works perfectly with Domoticz
