IOplus 8 relay board

Moderator: leecollings

Post Reply
DUKEII
Posts: 5
Joined: Sunday 30 May 2021 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

IOplus 8 relay board

Post by DUKEII »

hey
inputs and outputs are working
only one issue
input as slave on output:
indication on screen is ok
but relay is not switching when the input is used

is there solution for this in Domoticz ?
User avatar
waltervl
Posts: 5910
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: IOplus 8 relay board

Post by waltervl »

Does the slave function work on other devices as expected and only not on the devices connected to the ioplus8 board?
What controls the ioplus8 board devices? Native Domoticz integration, Python plugin or scripting?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
DUKEII
Posts: 5
Joined: Sunday 30 May 2021 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IOplus 8 relay board

Post by DUKEII »

hey Walter
i've installed these
https://github.com/josefpavlik/domoticz.plugin.ioplus
and have no other devices connected to test the slave function
User avatar
waltervl
Posts: 5910
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: IOplus 8 relay board

Post by waltervl »

I just tested, for me also with Python plugin controlled devices the Sub/Slave function works.
Perhaps you configured it the wrong way? You have to add in the master device to the slave device. See also:
https://www.domoticz.com/wiki/Managing_ ... ve_devices
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
DUKEII
Posts: 5
Joined: Sunday 30 May 2021 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IOplus 8 relay board

Post by DUKEII »

situation
IOPlus - Relay_1 i've added Sub/Slave Devices: IOPlus - Input_1

when the input is low or high , the indication on the domoticz screen is ok for relay and input
but the relay is not switching
User avatar
waltervl
Posts: 5910
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: IOplus 8 relay board

Post by waltervl »

Yes, you are right.
I checked again with real devices and I also see that the slave device widget is switched on but in real it is not....
Perhaps it is related to the Python plugin framework.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 5910
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: IOplus 8 relay board

Post by waltervl »

For the time being a dzVents or Blockly script can handle your request (if input 1 = On the set Relay 1 = On)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
DUKEII
Posts: 5
Joined: Sunday 30 May 2021 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IOplus 8 relay board

Post by DUKEII »

it works
found it here : setup-more options-events

and created a script as mentioned

thank you Walter
DUKEII
Posts: 5
Joined: Sunday 30 May 2021 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IOplus 8 relay board

Post by DUKEII »

hey
using the " and " in Blockly always give this error in the log file

2021-06-06 10:16:41.066 Error: EventSystem: Lua script error (Blockly), Name: Script #1_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: 'then' expected near 'comparevariable'

what can I do to fix this ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest