Skip to content
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

S-CAM Documentation #138

Closed
couriersud opened this issue Apr 2, 2023 · 15 comments
Closed

S-CAM Documentation #138

couriersud opened this issue Apr 2, 2023 · 15 comments
Labels

Comments

@couriersud
Copy link
Contributor

I am running 0.1.5 on a fairly recent SONOFF firmware on the S-CAM model:

Firmware Version 0.1.5
Base Version V5520.2053.0504build20230103
Model S-CAM

In the Readme.md it is stated that the sd-card should be formatted using fat32 filesystem. But than in the ewelink app the sd-card is reported as unformatted.

What worked for this model was:

  • remove all files from sd-card
  • put sd-card in camera
  • format using ewelink app
  • continue with readme.md to install custom firmware
@darkxst
Copy link
Contributor

darkxst commented Apr 2, 2023

Formatting the sd-card in the ewelink app is certainly the fail proof way of doing it and people have reported having to do this previously. However I have always formatted sd-cards on my computer (Ubuntu) and never had a problem.

@couriersud
Copy link
Contributor Author

The format by the firmware creates an empty file IsFormatted in the root of the sd-card. As long as it does not exist, the eWelink app reports the sd-card as unformatted and blocks all sd-card related actions.

@darkxst
Copy link
Contributor

darkxst commented Apr 4, 2023

Sonoff-hack still boots without that file though? I assume it must since I dont have it on my sd-cards.

@couriersud
Copy link
Contributor Author

Yes, Sonoff-hack boots. But the sd-card is not recognized by the ewelink cloud. In the app, it is reported as unformatted and all sd-card related functionality won't work.

@darkxst
Copy link
Contributor

darkxst commented Apr 4, 2023

Does motion event recording work?

In anycase that would easy to check and fix in boot scripts
[ ! -f /mnt/mmc/isFormatted ] && touch /mnt/mmc/isFormatted

@couriersud
Copy link
Contributor Author

Yes, motion event recording strangely works. But eWeLink shows the SD card as unformatted.

Copy link

github-actions bot commented Apr 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Apr 1, 2024
@SirSheik
Copy link

SirSheik commented Apr 3, 2024

Hello.
Has anyone managed to get the hack working with the latest firmware 50520230320?
I followed the steps in this topic, previously formatting the card with the APP and then include the latest firmware available of this project (.tar file in root folder) without touching the folder and the file that creates the APP itself, but I can not access by http or ssh.
Any help or advice is well appreciated.
Thank you very much

@SirSheik
Copy link

SirSheik commented Apr 3, 2024

Hello. Has anyone managed to get the hack working with the latest firmware 50520230320? I followed the steps in this topic, previously formatting the card with the APP and then include the latest firmware available of this project (.tar file in root folder) without touching the folder and the file that creates the APP itself, but I can not access by http or ssh. Any help or advice is well appreciated. Thank you very much

I answer myself.
I confirm that the version 0.17 - GK-200MP2-B works correctly also for the S-CAM with the latest official firmware version as of today V5520.2053.0505 build20230320.
My problem is that I didn't understand the instructions and I thought that I had to unzip the .tgz file and leave the .tar file in the root folder, but I also have to unzip the .tar file.
I leave a screenshot of how it has to be the SD in case it helps someone in the future. The file "IsFormatted" that creates the APP when the SD is formatted must be left so that the camera recognizes the card correctly.
Thank you very much for this great hack, thanks to this I will finally be able to use the camera in 100% offline mode.
Image 485

@github-actions github-actions bot removed the Stale label Apr 8, 2024
Copy link

github-actions bot commented Jul 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jul 7, 2024
@2est
Copy link

2est commented Jul 7, 2024

But it looks like the motion sensor stops working. In my home assistant it doesn't respond in any way.
image

@github-actions github-actions bot removed the Stale label Jul 8, 2024
@2est
Copy link

2est commented Jul 8, 2024

UPD: The problem with motion detection is solved by the "Motion Event Location" parameter (select 0 or 2)

Copy link

github-actions bot commented Oct 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Oct 7, 2024
@kwai-chang
Copy link

kwai-chang commented Oct 30, 2024

I answer myself. I confirm that the version 0.17 - GK-200MP2-B works correctly also for the S-CAM with the latest official firmware version as of today V5520.2053.0505 build20230320. My problem is that I didn't understand the instructions and I thought that I had to unzip the .tgz file and leave the .tar file in the root folder, but I also have to unzip the .tar file. I leave a screenshot of how it has to be the SD in case it helps someone in the future. The file "IsFormatted" that creates the APP when the SD is formatted must be left so that the camera recognizes the card correctly. Thank you very much for this great hack, thanks to this I will finally be able to use the camera in 100% offline mode. !

where from do you get this:
The file "IsFormatted" that creates the APP when the SD is formatted must be left so that the camera recognizes the card correctly.

@github-actions github-actions bot removed the Stale label Oct 31, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jan 30, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants