Closed spitfire closed 1 year ago
The actual log message would be useful, as there appear to be many more dps available, such as individual timers and several types of fault detection.
The actual log message would be useful, as there appear to be many more dps available, such as individual timers and several types of fault detection.
How do I get required information for you? What should I be looking for specifically?
I am going to make the release now, which will give you basic support to add the device.
After that, you will be able to download diagnostics from Settings / Devices & Services /Tuya Local
Since it won't be a perfect match yet, you will probably also get a Warning message in the HA log still, which will also contain the raw dps data snapshot at the time of adding the device.
Power and Voltage seem to need a decimal point moved (220W and 66W is what is should be).
In the logs I've found this, seems to be trying to match this powerstrip to something else:
Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:44
Integration: Tuya Local ([documentation](https://github.com/make-all/tuya-local), [issues](https://github.com/make-all/tuya-local/issues))
First occurred: 14:17:36 (2 occurrences)
Last logged: 14:17:36
Device matches qnect_usb_powerstrip with quality of 62%. DPS: {'updated_at': 1676294255.3417945, '1': False, '2': True, '3': False, '7': False, '9': 0, '10': 0, '11': 0, '15': 0, '18': 0, '19': 0, '20': 2131, '101': False, '102': False}
Report this to https://github.com/make-all/tuya-local/issues/
For whatever reason it keeps changing how the switch looks between what you can see on screenshots below.
I've never seen that last one, but UI issues are often solved by a Shift-Refresh (I forget how to do this on mobile though)
The log message is because the config is incomplete, and the 4 timers probably match the qnect config, vs 3 power/voltage/current sensors in this config, so the qnect is actually a closer match. Once this one has the timers and any other dps added, it will be the best match.
Do you need any more information for this?
No, the changes to add timers and overload detection are done, now the config should match 100%, so no log message will be printed.
copied latest gosund_usb_triple_powerstrip.yaml tpo where it belongs, and everything seems to be working, thanks!
Log Message
Couldn't find it in the logs, but Here are the DPs I had configured in localtuya:
Information about DPS mappings
Product ID
Information about how the device functions
A Smart power strip with 3 Sockets and 3 usb ports, controllable separately (Socket 1, 2, 3, USB) and power monitoring (for all sockets). https://gosund-polska.pl/inteligentna-listwa-zasilajaca-p1/ Basic functionality (3 plugs) is handled by Triple Switch device template.