Replies: 122 comments
-
in principle, yes. but it has secondary microcontroller, which is an additional complication. |
Beta Was this translation helpful? Give feedback.
-
I could do with it, would you be willing to take a look if I send you one ? |
Beta Was this translation helpful? Give feedback.
-
could this help ? https://github.com/alexryd/homebridge-shelly |
Beta Was this translation helpful? Give feedback.
-
no, that's not relevant. i would not recvommend starting with dimmer. implementing input as push button would be easier and get you acquainted with what implementing a HAP service entails. |
Beta Was this translation helpful? Give feedback.
-
an a dimmer act as on/off too ? |
Beta Was this translation helpful? Give feedback.
-
what's the use for the dimmer without, you know, dimming functionality? |
Beta Was this translation helpful? Give feedback.
-
so if I purchased a shelly dimmer I could try adding as a switch to start ? |
Beta Was this translation helpful? Give feedback.
-
The dimmer is indeed not the device to start with. If lighting is your thing, try the LED drivers, they should be much simpler, using PWM for output control. As for the dimmer -- we plan on releasing info about the UART protocol used to control the small MCU which does the actual dimming, but no ETA. |
Beta Was this translation helpful? Give feedback.
-
ahhhh. atm I'm using Philips Hue, but tbh it is unreliable, found shelly's much more so and it is instant, I was hoping to replace my Hue with Shelly's. |
Beta Was this translation helpful? Give feedback.
-
please drop a note to developers@shelly.cloud, we may be able to help |
Beta Was this translation helpful? Give feedback.
-
atm I have zero knowledge of HAP or MOS, I am a python coder. mOS looks vastly different, I am trying to read through this git code to try to get an understanding of it. |
Beta Was this translation helpful? Give feedback.
-
right, so dimmer is not a good start. better pick a simpler issue to tackle. in terms of coding - yeah, it's the good old C, not Python. not much do be done about it, i'm afraid. either you pick it up, or you won't be able to do much. |
Beta Was this translation helpful? Give feedback.
-
thanks, I have some homework to do 😄 |
Beta Was this translation helpful? Give feedback.
-
Hi guys! How are you doing? I've caught up on this thread and had a look at the HAP. |
Beta Was this translation helpful? Give feedback.
-
yes, that is correct.
…On Mon 24 Feb 2020, 09:34 Sebastian Heise, ***@***.***> wrote:
Hi guys! How are you doing? I've caught up on this thread and had a look
at the HAP.
From my understanding a *dimmer* would be implemented using the
*brightness* characteristic. Correct? So instead of a switch, the device
would need to authenticate as a *light bulb* service. Is that assumption
correct? Unfortunately I also don't have any experience in HAP and MOS, but
it sounds like a fun project. If I can help with anything I'm all keen.
Just give me a yell. Would be awesome to have support for the Shelly dimmer!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=AAEBW22ZN6MVSONBO7SYKX3REOIAXA5CNFSM4KUBHZDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMXEHNI#issuecomment-590234549>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEBW2YH2NXSTSSSHOR4HF3REOIAXANCNFSM4KUBHZDA>
.
|
Beta Was this translation helpful? Give feedback.
-
This project claims Shelly Dimmer support, has anyone tried it? (There don’t seem to be any configuration settings for “leading edge” vs “trailing edge” as mentioned upthread.) |
Beta Was this translation helpful? Give feedback.
-
How much should the donation be to have an impact on your motivation 😄 |
Beta Was this translation helpful? Give feedback.
-
Unfortunately it not about motivation, it about the complexity of the device, the Dimmer2 can over heat and burn if the wrong code is chosen for the wrong bulb (Leading Edge / Trailing Edge), so it requires a lot of work to make it safe to autodetect what bulb type is in use. @rojer has already blew up his laptop trying to code this device, it had to go in for repair, since then it has been put on back burner as he need to find more time he can allocate to this device. |
Beta Was this translation helpful? Give feedback.
-
@andyblac the HAA (Raven esp) has support for it — already tried it and it works nicely but I find the configs a bit complex (seems to be due to the way it optimizes it for performance reasons). Is this a lot different implementation wise than the HAA? |
Beta Was this translation helpful? Give feedback.
-
but does it fully support leading / trailing edge or just 'dimming' ?, if you dont have control over what type, then I would not trust it, as the device could overheat and burn, which could cause a fire. there are several supposedly support HomeKit dimming on Amazon, None of them support dimming type, and thus I would never buy such a botched supported firmware. |
Beta Was this translation helpful? Give feedback.
-
To bad it's not just the motivation. :-) But I understand that it's not that easy. |
Beta Was this translation helpful? Give feedback.
-
Might help Custom firmware for the Shelly Dimmer 2 Shelly-Dimmer-2-Reverse-Engineering https://github.com/Mollayo/Shelly-Dimmer-2-Reverse-Engineering |
Beta Was this translation helpful? Give feedback.
-
Quick question... Can't you just look into the Shelly Source Code and copy it from there? I am not a programmer or any kind of Tech Pro, but I just wanted to know if this whould work... If the Source Code isn't public it whould make sense that you haven't done it but if it was... then why whouldn't this work? Or whould it? |
Beta Was this translation helpful? Give feedback.
-
@Imburdalinix If it was that easy, they probably would have done it already... as you can tell from the link above your comment, the firmware has to be reverse engineered and is not just something you can copy & paste. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
-
I currently have my Shelly Dimmers also connected to Apple Home via a Raspberry Pi with Homebridge. But I would like to do without this "detour". |
Beta Was this translation helpful? Give feedback.
-
I OTA flashed a Shelly Dimmer and it works fine, with https://github.com/RavenSystem/mgostoHAA |
Beta Was this translation helpful? Give feedback.
-
Do you mind to share the MEPLHAA Script you used after flashing the HAA firmware? |
Beta Was this translation helpful? Give feedback.
-
Sure! I copied it from here: https://github.com/RavenSystem/esp-homekit-devices/wiki/devices-database {"c":{"io":[[[16],2],[[13],6],[[12,14],6,0,1]],"r":[{"n":0}],"l":16,"b":[[13,5]]},"a":[{"t":30,"b":[[13],[12,0],[14],[14,0]],"0":{"u":[{"v":"010202060000f401000000ff04"}]},"y0":[{"v":1,"0":{"u":[{"v":"010202060a00f4010000010904"}]}},{"v":5,"0":{"u":[{"v":"010202063200f4010000013104"}]}},{"v":10,"0":{"u":[{"v":"010202066400f4010000016304"}]}},{"v":15,"0":{"u":[{"v":"010202069600f4010000019504"}]}},{"v":20,"0":{"u":[{"v":"01020206c800f401000001c704"}]}},{"v":25,"0":{"u":[{"v":"01020206fa00f401000001f904"}]}},{"v":30,"0":{"u":[{"v":"010202062c01f4010000012c04"}]}},{"v":35,"0":{"u":[{"v":"010202065e01f4010000015e04"}]}},{"v":40,"0":{"u":[{"v":"010202069001f4010000019004"}]}},{"v":45,"0":{"u":[{"v":"01020206c201f401000001c204"}]}},{"v":50,"0":{"u":[{"v":"01020206f401f401000001f404"}]}},{"v":55,"0":{"u":[{"v":"010202062602f4010000012704"}]}},{"v":60,"0":{"u":[{"v":"010202065802f4010000018b04"}]}},{"v":65,"0":{"u":[{"v":"010202068a02f4010000010904"}]}},{"v":70,"0":{"u":[{"v":"01020206bc02f401000001bd04"}]}},{"v":75,"0":{"u":[{"v":"01020206ee02f401000001ef04"}]}},{"v":80,"0":{"u":[{"v":"010202060032f4010000013104"}]}},{"v":85,"0":{"u":[{"v":"010202065203f4010000015404"}]}},{"v":90,"0":{"u":[{"v":"010202068403f4010000018604"}]}},{"v":95,"0":{"u":[{"v":"01020206b603f401000001b804"}]}},{"v":100,"0":{"u":[{"v":"01020206e803f401000001ea04"}]}}]}]} |
Beta Was this translation helpful? Give feedback.
-
as title do you think Shelly Dimmer would possible ?
Beta Was this translation helpful? Give feedback.
All reactions