-->
Page 17 of 19

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Sun Dec 30, 2018 7:28 pm
by Philipp1887
eqsOne wrote:Great, thanks btidey!


I wasnt the best in my electronics class. Can you confirm a safely working build with 40 m(milli ?) Ohm Resistors and the IRLZ44N MOSFETs ?
Im not sure what I should look for.

Greetings

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Mon Dec 31, 2018 3:55 am
by btidey
The 44 milliohm resistance referred to the typical drain source resistance of the IRLZ44 mosfet device when turned on. One wants this to be low to minimise the power dissipation.

No extra resistors are needed.

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Mon Dec 31, 2018 9:00 am
by daniel_asilva
Hey, this is not working anymore. Not even your original clean code, not even my adapted code. May the iOS HomeKit have been updated? Maybe homebridge? Or even homebridge-better-http-rgb plugin?

The problem is in the brightness changing, it simply mess up the colors. Seems to have something wrong with the hex conversion for brightness. Is there someone else who is having this kind of problem? I'm trying my best to break through that but can't find the exact causes. :cry:

I'm using the latest version of everything. iOS 12.1.2, homebridge 0.4.45, and homebridge-better-http-rgb 2.0.0.

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Mon Dec 31, 2018 3:37 pm
by daniel_asilva
daniel_asilva wrote:Hey, this is not working anymore. Not even your original clean code, not even my adapted code. May the iOS HomeKit have been updated? Maybe homebridge? Or even homebridge-better-http-rgb plugin?

The problem is in the brightness changing, it simply mess up the colors. Seems to have something wrong with the hex conversion for brightness. Is there someone else who is having this kind of problem? I'm trying my best to break through that but can't find the exact causes. :cry:

I'm using the latest version of everything. iOS 12.1.2, homebridge 0.4.45, and homebridge-better-http-rgb 2.0.0.

Hey I've just discovered the solution. \o/

I've created two servers, one of them is older than other. The newer was working as expected. So I discovered that on update 2.0.0 of the homebridge-better-http-rgb plugin, apart from the new service thing addition, the example for the config.json file received a new line in the color block for a Full RGB Device:

Code: Select all"brightness": true

The example for the config.json file here on this tutorial is now for a light without brightness. Without this simple line the code from ESP goes crazy after changing the brightness :lol: