USB Relay board

Moderator: leecollings

Post Reply
njlammerts
Posts: 149
Joined: Wednesday 12 August 2020 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Fryslan
Contact:

USB Relay board

Post by njlammerts »

I bought this relay board with the idea to switch a pump using Raspberry with Domoticz.
But I can't get the board recognized by Domoticz. I have searched a while for software or drivers but only found this
https://github.com/pavel-a/usb-relay-hid

is there a way to get the board recognized by Domoticz ?

2-channel-usb-relay-module.jpeg
2-channel-usb-relay-module.jpeg (58.97 KiB) Viewed 848 times
User avatar
waltervl
Posts: 5842
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: USB Relay board

Post by waltervl »

I don't think it is directly supported. Perhaps trhough a python plugin, check the wiki plugins page, but it seems that only for specific USB relay boards plums are developed. https://www.domoticz.com/wiki/Plugins

Else try to find a python or bash script that can control and read the board. It then can be controlled with Domoticz action scripts.

Alternative is to buy a supported relay board. :-)
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
heggink
Posts: 979
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: USB Relay board

Post by heggink »

I use a number of these esp8266 wifi relay boards. Put esphome on them and they are automatically recognised by autodiscovery.
waltervl wrote: Wednesday 04 January 2023 20:48 I don't think it is directly supported. Perhaps trhough a python plugin, check the wiki plugins page, but it seems that only for specific USB relay boards plums are developed. https://www.domoticz.com/wiki/Plugins

Else try to find a python or bash script that can control and read the board. It then can be controlled with Domoticz action scripts.

Alternative is to buy a supported relay board. :-)
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
ksacca
Posts: 80
Joined: Thursday 31 May 2018 21:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: USB Relay board

Post by ksacca »

You could maybe try using node red. Seems there’s a node that should support this relay, see https://flows.nodered.org/node/node-red ... -hid-relay.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest