Open ghost opened 5 years ago
Okay,
"outletCount": 5
does not show the USB port
"outletCount": [1, 2, 3, 4, 7]
Only shows one outlet at all
"outletCount": 7
at least removed one not existing outlet, but I still have "5 and 6"...
There is a new CustomMultiOutlet
which is being tested right now which allows you to define the dp
numbers for the devices instead. You can get your hands on it by doing npm i -g AMoo-Miki/homebridge-tuya-lan
. To configure it, look at my notes on #14.
Lemme know if this solves your problem.
Hi, used this method before but it when I try to install it now nom gives me some errors:
pi@pihome:~/pihome-switches $ sudo npm i -g AMoo-Miki/homebridge-tuya-lan npm ERR! code 128 npm ERR! Command failed: git clone --mirror -q git://github.com/AMoo-Miki/homebridge-tuya-lan.git /root/.npm/_cacache/tmp/git-clone-3e82df40/.git npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-3e82df40/.git' npm ERR!
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-07-09T17_54_02_981Z-debug.log
@LMoesman1998 for some reason NPM is unable to create cache directories. Try without sudo and also try updating npm.
Hi,
I recently purchased this powerstrip:
Tuya Powertrip
I can power on/off everything, but as the USB ports are connected, they are all one. The Tuya app shows them as:
1 Power Outlet 2 Power Outlet 3 Power Outlet 4 Power Outlet 7 USB Ports
So if I add in my config
"outletCount": 8
of course it will add 3 outlets which do not work. So how do I specify them properly? just like:
"outletCount": 5
or more like:
"outletCount": [1, 2, 3, 4, 7]
Thanks for any help!