Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Pablo_Supreme 2
I bought the Doorbell 6 to use it with my Fibaro HomeCenter3 and wanted to share with You my thoughts and maybe it will help some of You.
The problem was now the following:
Please login or register to see this attachment.
I will first attempt to explain this using Hexidecimal, and use a Hexidecimal to Decimal calculator (which you can find online to pull out the final value).
Explanation for Parameter 2 - 8 (for each of the sound/volume controls).
Parameter 2 = Endpoint 2 / Tamper
Parameter 3 = Endpoint 3 / Button 1
Parameter 4 = Endpoint 4 / Button 2
Parameter 5 = Endpoint 5 / Button 3
Parameter 6 = Endpoint 6 / Environment
Parameter 7 = Endpoint 7 / Security
Parameter 8 = Endpoint 8 / Emergency
So to start off with the format you have 4 different bytes which I will list them as variables Value 1 - 4. Each value you'll need to convert into Hex value after you decide the value you want.
Value 1 = Light Effect Index (based on Parameter 16 - 22 which determines how it is strobed)
This determines which strobe parameter you want this to work.
Can be a value of: 1, 2, 4, 8, 16, 32, 64 (references Parameter 16 - 22 respectively)
1 (0x01) = Parameter 16
2 (0x02) = Parameter 17
...
64 (0x40) = Parameter 22
Value 2 = Intercepting duration of a tone (This determines how long the tone is, typically you can cut a tone short using this or extend it)
0 (0x00) = Original duration of the tone, this is preferred for the most consistent sound, so if the sound duration is 22 seconds, it will play for 22 seconds before stopping or the next repeat.
1 - 254 (0x01 - 0xFE) = The amount of seconds until the sound stops.
So if you set this to 5, and the sound duration is 22, only 5 seconds would play.
Value 3 = Interval between 2 tones (This determines the delay before it repeats the sound again)
0 (0x00) = No delay between repeats.
1 - 254 (0x01 - 0xFE) = Sets the amount of time in seconds before the sound is repeated.
So if set to 77 (0x4D), then when the first play of sound stops, it waits another 77 seconds before playing another repeat.
Value 4 = Tone Play Count (determines how many repeats there are).
0 (0x00) = Unlimited repeat of sounds until an OFF command is received.
1 - 254 (0x01 - 0xFE) = The amount of repeats your sound does.
The final value is like this: 0x(Value1) 0x(Value2) 0x(Value3) 0x(Value4)
Lets step this through 1 by 1 with what i want above. (Use a decimal to hexidecimal calculator here).
(Value 1) Light effect #5 = 16 decimal = 0x10 hexidecimal
(Value 2) Original sound duration = 0 decimal = 0x00 hexidecimal
(Value 3) 5 second delay between each repeat = 5 decimal = 0x05 hexidecimal
(Value 4) Repeat 55 times = 55 decimal = 0x37 hexidecimal
The final value will look like this =
Explanation for Parameter 16 - 22 (light effect)
Parameter 16 = Light Effect #1
Parameter 17 = Light Effect #2
Parameter 18 = Light Effect #3
Parameter 19 = Light Effect #4
Parameter 20 = Light Effect #5
Parameter 21 = Light Effect #6
Parameter 22 = Light Effect #7
Value1 = amount of 20ms*value to fade brightness to on
Range = 0 - 127 (0x00 - 0x7F)
Value2 = amount of 20ms*value to fade brightness to off
Range = 0 - 127 (0x00 - 0x7F)
Value3 = amount of time delay to stay at max brightness (value * 100ms)
Range = 0 - 255 (0x00 - 0xFF)
Value4 = amount of time delay to stay at no light (value*100ms)
Range = 0 - 255 (0x00 - 0xFF)
So in this case, this allows you to control how fast brightness of the LED increases/decreases, and how long the LED remains in an OFF or ON state
Example calculation
So for example we want to determine each value individually.
Value 1 = I want LED to dim from 0% to 100% dim level in 1 second (1000ms), so we want to set this to = 50 (0x32)
This is set in 20ms
1 seconds = 1000ms
To get the value divide the value you want by 20
1000 / 20 = 50
use dec to hex calculator = 32
Value 2 = I want LED to dim from 100% to 0% dim level in 1/2 seconds (500ms) so we want to set this to = 25 (0x19)
This is set in 20ms
0.5 seconds = 500ms
To get the value divide the value you want by 20
500 / 20 = 25
use dec to hex calculator = 19
Value 3 = I want it to stay at 100% dim level for 4.5 seconds (4500ms) so we want to set this to = 45 (0x2D)
This is set in 100ms
4.5 seconds = 4500ms
To get the value divide the value you want by 1004500 / 100 = 45
use dec to hex calculator = 2D
Value 4 = I want it to stay at 0% dim level for 1.3 seconds (1300ms) so we want to set this to = 13 (0x0D)
This is set in 100ms
1.3 seconds = 1300ms
To get the value divide the value you want by 100
1300 / 100 = 13
use dec to hex calculator = 0D
Input these values into 0x(Value1) 0x(Value2) 0x(Value3) 0x(Value4)
To see the change, you must trigger endpoint 3
That's it - I hope this will help You to understand how to modify it.
Have a good day
19 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.