Switch USB device on/off
Moderator: leecollings
-
- Posts: 11
- Joined: Wednesday 09 March 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3
- Location: Oosterhout
- Contact:
Switch USB device on/off
How can i switch an USB device connected to Raspberry on or off using Domoticz?
Nooby user with
RPI2B / Aeotec Z-Stick gen5 / Aeon Sirene gen5 / FGSD002/ Fibaro door-window sensor / Fibaro Universal Binary Sensor / Keypad MG36B / Vison ZS5101 /Aeotec recessed door and window sensor with zwave plus / Weather Underground
RPI2B / Aeotec Z-Stick gen5 / Aeon Sirene gen5 / FGSD002/ Fibaro door-window sensor / Fibaro Universal Binary Sensor / Keypad MG36B / Vison ZS5101 /Aeotec recessed door and window sensor with zwave plus / Weather Underground
- jvdz
- Posts: 2333
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Switch USB device on/off
That question is a little too generic as a USB device can be many things.
Do you have a commandline program that communicates to this USB device or can it be changed through an URL?
Jos

Do you have a commandline program that communicates to this USB device or can it be changed through an URL?
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Re: Switch USB device on/off
Why do you want to switch off a USB device?TruusDom wrote:How can i switch an USB device connected to Raspberry on or off using Domoticz?
-
- Posts: 11
- Joined: Wednesday 09 March 2016 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3
- Location: Oosterhout
- Contact:
Re: Switch USB device on/off
thanks.
I have an old flashlight mountained on my roof. I want use this light in my zwave alarmsystem.
All modules needs 24V input.
I have an usb boost to 12V cable for the 12V flashlight.
I want to connect this device to my raspberry using this usb-cable.
So what i really want to know is how i can switch on/off my usb-gateway of the raspberry. When Domoticz gets an burglary-alarm the usb has to get powered an the flashligt has to go on.
I am still finding my way in Domoticz and Raspberry Pi 2B+.
I have an old flashlight mountained on my roof. I want use this light in my zwave alarmsystem.
All modules needs 24V input.
I have an usb boost to 12V cable for the 12V flashlight.
I want to connect this device to my raspberry using this usb-cable.
So what i really want to know is how i can switch on/off my usb-gateway of the raspberry. When Domoticz gets an burglary-alarm the usb has to get powered an the flashligt has to go on.
I am still finding my way in Domoticz and Raspberry Pi 2B+.
Nooby user with
RPI2B / Aeotec Z-Stick gen5 / Aeon Sirene gen5 / FGSD002/ Fibaro door-window sensor / Fibaro Universal Binary Sensor / Keypad MG36B / Vison ZS5101 /Aeotec recessed door and window sensor with zwave plus / Weather Underground
RPI2B / Aeotec Z-Stick gen5 / Aeon Sirene gen5 / FGSD002/ Fibaro door-window sensor / Fibaro Universal Binary Sensor / Keypad MG36B / Vison ZS5101 /Aeotec recessed door and window sensor with zwave plus / Weather Underground
Who is online
Users browsing this forum: No registered users and 1 guest