Thank you @vaso00mx ! I finally was able to get this up and running. The hard part was getting the iot.tuya dev settings (navigating the site is not friendly to someone who doesn't know what their doing - eg. ME!).
That said, I can confirm that on/off commands work as expected, however the SetLevel function seems to throw some errors in the logs, and the brightness level remains unchanged.
2022-03-02 11:34:46.730 am errorgroovy.lang.MissingMethodException: No signature of method: user_driver_mixeladm_Feit_Smart_Wi_Fi_Dimmer_Driver_603.setLevel() is applicable for argument types: (java.math.BigDecimal) values: [50] Possible solutions: setLevel(int), setLevel(int, java.lang.Object) (method setLevel).
I just stumbled onto this. I have a couple sets of feit light strips. Think this would work for them? They are RGB. I had kind of resigned myself to thinking they weren't integratable but this gives me hope.
I don’t think the driver runs the capabilities for RGB or RGBW lights. However it might allow you to set on/off and set level without ability to set color.
Before I go any further, let me add that I’m in no way adept enough (YET!) to write code for these drivers or anything else for that matter. I’m just extremely curious and captivated by the inner workings of HE.
My take on it
looking through the driver code from @vaso00mx and comparing it to @Rmorobert 's CoCoHue driver for RGBW bulbs, it seems pretty obvious that this Feit driver, while a perfect solution for my dimmer switch, would need additional capabilities added to it.
Can confirm that my dimmer switch is working as expected, thanks to @vaso00mx; also thanks to @putudhony88 for their ninja-like advice that took my non-dimmable switch to a fully functional, dimmable device in HE and in Apple home app via Homebridge.
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: user_driver_mixeladm_Feit_Smart_Wi_Fi_Dimmer_Driver_601.socketStatus() is applicable for argument types: (java.lang.String) values: [send error: Connection reset] (method socketStatus)
I'm using Principal Module V3.1.4 & MCU V1.0.8 and got this error message:
dev:452022-12-21 19:34:45.027errorjava.lang.NullPointerException: Cannot invoke method getBytes() on null object on line 142 (method status)
dev:452022-12-21 19:34:45.021debugPlain text command: {"gwId":"30008564c4dd5717b6c0","devId":"30008564c4dd5717b6c0","uid":"30008564c4dd5717b6c0","t":"1671669285"}
dev:452022-12-21 19:34:45.018debugSending status message
Does anyone have a walkthrough of the process of getting a key from tuya? I looked around on the site and couldn't figure it out.
With these devices seeming to be more popular, built-in support would be cool. I suppose there's probably some type of agreement that must be made with the manufacturer.
Hi,
I have feith electric dimmer that I see in feith app and I would like to use your driver with it… I installed it and created a device but how should I link it to my device?
I have a dev account from tuya and been able to add some devices from smart life but not working with the feith app wich supposed to be compatible… I just check all possibilities!
Thanks!