RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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#
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by BartSr »

any update of status?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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 ?
User avatar
habahabahaba
Posts: 233
Joined: Saturday 18 March 2023 14:44
Target OS: Windows
Domoticz version: 2024.4
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by habahabahaba »

Could it be easier to buy a new relay on Aliexpress?
clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by clements63 »

yes of course but it's not the cheaper solution
and not fully sure to receive a module in version v5.7
User avatar
habahabahaba
Posts: 233
Joined: Saturday 18 March 2023 14:44
Target OS: Windows
Domoticz version: 2024.4
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by habahabahaba »

User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by BartSr »

@clement63
did you try changing port# as I suggested?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by clements63 »

Yes. Same result with 1234 or 502
With other ports, connection is failed between the module and DZ
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by BartSr »

can you try port 12345 iso 1234?
One told me to not use port# below 4000 for some reason
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post by clements63 »

same result with port 12345 :(
clements63
Posts: 15
Joined: Monday 25 March 2024 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RELAY-NET-V5.9 LAN 8 channel relay and binary input card

Post 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 :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest