The purpose is to document a way to retreive the Netamo-Legrand firmware for your devices. It is based on the assumption that you own a Netamo-Legrand Gateway (Hub)
I would lik to acknowldge here the work done by @bsheepdiy in contribution of the this post
This is based on a RPI3B+ which provides 2 network interfaces ( wired rj45 and wifi ), so the wired RJ45 will be used to get access to Internet and the WiFi interface will be used for the Access Point.
tcpdump -vvAls0 | grep 'GET'
)Capturing Firmware path
Through the tcpdump
command you’ll capture GET request which will be done by the Netamo-Legrand gateway to pull firmware from the Cloud.
The full URL will be like:
http://fw.netatmo.net/getfirmware/000474230eec/1584836191/zwG-s1Xxva2b0Ujdb_u-ky_m-oHCozEx3gOHWoULEqM/NLD-6.fw
Where
http://fw.netatmo.net/getfirmware/
is the base URL to access firmware on netatmo cloud000474230eec
is the mac address of your Gateway (visible on the Home + App)123836123/zwG-s1Xxva2b0Uklm_f-ey_o-oHCozEx3gOHWoULEqM/
is something changing over the time. It is valid for a period of time.NLD-6.fw
Fimrware for Remote SwitchFrom that, you can retreive any firmware you want by using the same URL and changing the last part