A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By daniel_asilva
#79791 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.
User avatar
By daniel_asilva
#79794
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: