Site Tools


en:tech:tradfri_mod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tech:tradfri_mod [2021/01/20 11:07] bullaren:tech:tradfri_mod [2022/09/26 09:58] (current) – external edit 127.0.0.1
Line 106: Line 106:
 For the [[en:tech:gw60 | blind project]] I converted the standard TRÅDFRI on/off switch into a button for the blind. Unfortunately, you can't buy one individually. For the [[en:tech:gw60 | blind project]] I converted the standard TRÅDFRI on/off switch into a button for the blind. Unfortunately, you can't buy one individually.
  
-{{: tech: tradfri_taster.png? nolink & 200 |}} +{{:tech:tradfri_taster.png? nolink & 200|}} 
-{{: tech: tradfri_tester_rollo.png? direct & 200 |}}+{{:tech:tradfri_tester_rollo.png? direct & 200|}}
  
 How to open the button is [[http://westsideelectronics.com/ikea-tradfri-on-off-switch-teardown/ | here]] well described. The connections for programming are labeled on the back of the PCB and the connection to the debugger is shown as follows: How to open the button is [[http://westsideelectronics.com/ikea-tradfri-on-off-switch-teardown/ | here]] well described. The connections for programming are labeled on the back of the PCB and the connection to the debugger is shown as follows:
Line 120: Line 120:
 ==== Update ==== ==== Update ====
  
-Alle TRÅDFRI Komponenten unterstützen Over-The-Air (OTA) UpdatesDarum braucht man sich nicht zu kümmern da es im Hintergrund zum Beispiel durch das Gateway erfolgtWollen wir beim Umprogrammieren jedoch gleich die aktuelle Firmware flashendann können wir die Daten auch direkt vom IKEA OTA Server holenFindige Entwickler haben dazu ein [[https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/ikea-ota-download.py|Python Script]] geschriebenMit Hilfe dieses Script werden alle auf dem Server vorhanden Files heruntergeladenDas Beispiel für das Rollo sieht dann so aus ''10037585-5.1-TRADFRI-connected-blind-2.2.009.ota.ota.signed''\\+All TRÅDFRI components support Over-The-Air (OTA) updatesYou don't need to worry about that, as it takes place in the background, for example through the gatewayHowever, if we want to flash the current firmware while reprogrammingwe can also fetch the data directly from the IKEA OTA serverResourceful developers have written a [[https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/ikea-ota-download.py |Python Script]]. With the help of this script, all files available on the server are downloadedThe example for the roller blind then looks like this: ``10037585-5.1-TRADFRI-connected-blind-2.2.009.ota.ota.signed'' \\
  
-Es wird allerdings nur der MAIN Bereich des FLASH aktualisiertDie Bereiche USER, LOCK und CHIP ändern sich nicht und sind somit auch nicht online. Will man also ein Modul in eine andere Funktionalität umprogrammierenso muss man es zumindest einmal selber ausgelesen haben um an die Daten für USER, LOCK und CHIP zu kommen.\\+However, only the MAIN area of ​​the FLASH is updatedThe USER, LOCK and CHIP areas do not change and are therefore not online eitherIf you want to reprogram a module with a different functionalityyou have to read it out yourself at least once in order to get to the data for USER, LOCK and CHIP. \\
  
-Die geladenen Daten sind in einem exotischen Format gekapselt mit der Abkürzung NGIS. Hier war auch wieder etwas Arbeit nötig um das Format zu entschlüsseln und die Binärdatei zu extrahierenEine tolle Unterstützung war dabei übrigens das Program [[https://www.synalysis.net|Synalyze it! Pro]]. Das Graph File liegt im Downloadbereich bereit.\\+The loaded data is encapsulated in an exotic format with the abbreviation NGIS. Here again some work was necessary to decrypt the format and extract the binary fileThe program [[https://www.synalysis.net | Synalyze it! Per]]. The graph file is available in the download area. \\
  
 {{:tech:ota_ngis.png?direct | OTA NGIS Graph}} {{:tech:ota_ngis.png?direct | OTA NGIS Graph}}
  
- +For extracting I wrote a Python script that is also in the download areaIn the previous tests, the extracted version was binary identical to the one that was read out. \\
-Zum Extrahieren habe ich ebenfalls ein Python Script geschrieben das auch im Downloadbereich liegtBei den bisherigen Tests war die extrahierte Version binäridentisch zur ausgelesenen.\\ +
  
 ==== Downloads ==== ==== Downloads ====
Line 139: Line 137:
 ==== Donate ==== ==== Donate ====
  
-If you line my articles feel to donate a cappuccino or so...+If you like my articles feel to donate a cappuccino or so...
  
 <html> <html>
en/tech/tradfri_mod.1611140852.txt.gz · Last modified: 2021/01/20 11:07 by bullar