Closed s1rd4v3 closed 3 years ago
Hi, are you on FW 2.2.0? It seems to break the mod. You need to downgrade using telnet: https://github.com/ads1230/G2HTesting For some reason the bin file fails to extract on the G2H, so you have to manually extract and then upload. If you want to do it yourself
cp -r /sdcard/upgrade /tmp/upgrade
/tmp/upgrade/check_coor.sh
/tmp/upgrade/copy_files.sh
rm -rf /tmp/upgrade
rm -rf /sdcard/upgrade
Hey @ads1230. My current firmware seems to be 2.1.0. But will try to upgrade to 2.1.1 with your instructions. Thanks
🎉 seems to work now with 2.1.1. thanks a lot @ads1230
Please, help me: how to integrate G2H into Home assistant? I can’t reset password via telnet: my g2h can’t load file ‘hostname’ with script… firmware 2.2.1
Hi, are you on FW 2.2.0? It seems to break the mod.
Downgrading probably isn't necessary, it's most likely due to the way hexdump and sed are being used to match and replace the bytes in the binary. If you send me the latest camera binary I can fix this. To test you might be able to just replace the second occurrence of the string 'miio_task' with 'rtsp_task' using sed or a text/hex editor.
Hi, are you on FW 2.2.0? It seems to break the mod.
Downgrading probably isn't necessary, it's most likely due to the way hexdump and sed are being used to match and replace the bytes in the binary. If you send me the latest camera binary I can fix this. To test you might be able to just replace the second occurrence of the string 'miio_task' with 'rtsp_task' using sed or a text/hex editor.
From the Global FW. Hope it helps :).
Thanks @ads1230 - I created a branch with an untested fix. It should do the trick.
Thanks @ads1230 - I created a branch with an untested fix. It should do the trick.
Just tested, working well!
Nice to see that it should be finally possible to use the g2h as a rtsp cam. Telnet is working fine on my end but I'm unable to start the rtsp server on startup. Your
hostname
file seems to load fine as all the other files are correctly backuped or created. But after usingnetstat -anl
I don't see the rtsp service running on port 554.To me it seems that the whole homekit stuff is still running... not sure what I'm doing wrong.
Is there any difference if I'm connecting the Wifi of the Cam via
hostname
file, homekit or Aqara Mobile App? Should the sdcard be inserted at the very beginning or only after successfully connecting Wifi?