Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possibility to emulate tradfri blinds #47

Closed
comlit opened this issue Jan 7, 2022 · 12 comments
Closed

possibility to emulate tradfri blinds #47

comlit opened this issue Jan 7, 2022 · 12 comments

Comments

@comlit
Copy link

comlit commented Jan 7, 2022

hi
I recently connected my somfy rts blinds to my smart home. I can now control it through http requests. I got some Ikea smart home products already installed in my home, so I wondered if it is possible to emulate a tradfri blind and connect it to my existing work so that in the end it would be possible to control the somfy blind through the Ikea app. From what I saw in this repo it seemed as this would be possible. I would like to hear your thoughts and suggestions on this, since I have got no clue what I'm doing :). thanks

@basilfx
Copy link
Owner

basilfx commented Jan 12, 2022

Emulation would mean that you would create some piece of hardware that behaves exactly as the IKEA blinds.

It would be much easier to see how the IKEA blinds work, and how you could hook it up to your existing blinds. So whenever the motor moves, route that signal to your existing blinds. You need to reverse-engineer the existing IKEA solution, to see what signals are sent to the hardware that physically controls the blinds.

Easy answer, hard(er) in reality ;-)

@CableCatDK
Copy link

I have bought a spare used blind (705.142.61) in IKEA for only ~67€. When I get time, I will make a tear down.

@MattWestb
Copy link

MattWestb commented May 23, 2023

That was EXPENCIVE !!!

IMG_20221014_161426
IMG_20221014_160524
IMG_20221014_160604
They still using the MG1P module but i think they doing on upgrade to the MG21 and making the same format then they cant producing there own module so long and its expensive and they is buying millions one the MG21 from silbabs so its not expensive for IKEA only one new PCB and firmware from GSDK / EZSP 4/7.2.X.

@CableCatDK
Copy link

90% rabatt, that is something. I only got 32% rabat, and additional 200 DKK from a coupon.
IMG_7235

@MattWestb
Copy link

It was 50% off but only the battery was in the package no remote, mounting, changer instructions and so on and it was badly scratched but working OK.
I was asking for guarantee and the rest of the missing things and then was not saying and good things so i was saying its was for the trash but im interested in the Zigbee module and was getting one new price without guarantee.

@honglihu1986
Copy link

honglihu1986 commented May 24, 2023

idlefish-msg-1654849010830
Screenshot_20230523-182558_Drive
L}$U1EH(I{E}2X%R 9HZCV

@MattWestb
Copy link

MattWestb commented May 24, 2023

@honglihu1986 You must have some connection problem with the MG1P chip then it cant being debug locked (as MG21) only writ protecting flash pages.
Did you disconnect the motor and the battery so they cant interference with the debug connection ?
Here is the TREDANSEN block-out cellul blind user data E2022-UD.zip and it shall working with one normal IKEA bootloader plus rolling on extracted OTA file like we was doing with Symfonosk 2.

Also UD is only name is overrided and no hardware parameter so they is using the same motor controller board and software on it = very good.

Edit: In newer version of commander / Segger libs you also need connecting the reset pin or its not working.

@honglihu1986
Copy link

honglihu1986 commented May 24, 2023

Thank you very much for the guidance, I don't understand how to rolling on the extracted OTA file, I flashed this user data into an outlet, Home smart 1 shows a blind, but it can't OTA into a blind, it shows the latest firmware.

@honglihu1986
Copy link

Screenshot_20230524-160258_Home smart 1

@MattWestb
Copy link

Ops its little more advanced.
The OTA file is rapped with metadat that need being removes and you is getting one EBL/GBL file that can being flashed with commander.
I must look for the ext instruction but you can doing it with zigpy.cli.

If you have dumping the main flash of one blind its the easiest way only flashing it on one new module and only need the user data for working OK and can being OTA updated without problems.

@MattWestb
Copy link

MattWestb commented May 24, 2023

For dumping MG1P modules you can using my old guide that is not complete but is working and explaining most things https://github.com/MattWestb/IKEA-TRADFRI-ICC-A-1-Module/tree/master/Flashing-MG

Edit: also possible doing it with Silabs commander CLI or Seggers J-Flasher.

@MattWestb
Copy link

By the way one updated firmware for all blinds in in the pipe.
https://csa-iot.org/csa_product/connected-roller-blind/

Repository owner locked and limited conversation to collaborators Jun 3, 2024
@basilfx basilfx converted this issue into discussion #64 Jun 3, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants