Zigbee inline switch for USB devices

Wonder if we could get some measure of the milliamp draw of this device.

Been thinking about how flexible this could be plugged into one of those small phone sized USB power packs and then switching on/off whatever downstream.

1 Like

I am waiting for mine to arrive from Ukraine. This device uses a very non-standard way to report voltage and amperage.

1 Like

I didn't realize that this device had that capability, potentially.

I checked the Zigbee2MQTT support - it has...

1 Like

One measurement shows 0.04A with no additional load and 0.15A with an LED light string also turned on.


2 Likes

Wow, a real sipper !

Thanks for taking the time to do that.

The first tests for decoding the measurements are successful ! :grinning:

4 Likes

with battery eliminators??

This is the new dedicated driver for the ZigUSB device that I put together.
It can be installed manually from GitHib :

https://raw.githubusercontent.com/kkossev/Hubitat/development/Drivers/ZigUSB/ZigUSB_lib_included.groovy

The automatic reporting time period is configured in the Preferences :
image
If the V/A/W measurements are not really needed, I recommend to disable the automatic reporting.


Unfortunately, it is not possible to refresh the voltage/amperage/power readings manually - the only way to have these is when the periodic reporting is enabled.

@TheUsualSuspect can you compare the amperage reading accuracy of his device with the other device that you have?

2 Likes

still no way to get these easily in the u.s?

I just purchased 5 and got them shipped without issue to Canada. Received them last week.

1 Like

I have 4 that I'm willing to part with. They work great, I just never found a use case for them. Super interesting item though!

No, it is powered by a wall-wart but I have several AA to usb battery packs that would do the job.

2 Likes

Sorry for the delay. Finally installed the new driver, and on-off reverse is fixed. Below is a comparison between the reported voltage/power/amperage and measured.


Edit: Switched On-Off comparison twice (reversal keeps getting me).

1 Like

Thank you for the test! It looks like the readings make sense (adding the 40..50 mA ZigUSB device own consumption to the amperage drawn by the load)?

thanks.. i just got 4 of these used from user3432 they are working well thanks for the driver. i replaced the sonoff ones that were wifi only..

these i am using on my micro usb repeaters as i have found that occasionaly i need to reboot them and its always when the house is empty

here is the rule i used to reset them

I tried a larger load to help in case absolute error on small values was causing a problem. I watched the V/A/W values refresh about 15 times. It seems to me that the voltage and current are chronically under the real value. I believe the USB is probably putting out close to 5[V]. Below is a representative capture. I note that one time the voltage did read 5[V] but I didn't capture it and it.

Thank you for the tests!

A question about this device. Are both USB ports individually controllable? Or, are they both on or off? Is the outlet plug controllable separately ?

i believe it is all one.. the switch and usb ports turn on/off as one.. i dont see a separate child driver for it in my hug.. but it is in a remote location..