WIP: Adding alarm functionality (and last motion in webinterface)#117
WIP: Adding alarm functionality (and last motion in webinterface)#117frekel wants to merge 15 commits intoshadow-1:masterfrom
Conversation
|
@frekel Whilst it is good for a proof of concept to poll for file changes (this Shell script polls once every second). I would prefer to use a more robust method to check for file changes. For example, using |
|
|
|
|
@frekel The whole back-end needs to be refactored anyway. I couldn't work out a neat way to run a child process and capture the output in an elegant way, so I am still using a bit of a proof of concept hack rather than utilising a proper solution. |
|
@shadow-1: Any progress? Thanks, |
|
@frekel If you use my firmware images as the basis for your mods, it will save you a lot of compiling. BusyBox, libwebsockets, ProxyChains-ng etc are all already compiled and put in the correct directory. You will just need to compile the custom libwebsockets plugins (which you have modified a bit) and place the updated web pages in the right spot. As an alternative, you can transfer the modified files via FTP. I usually do this for testing purposes. Once I am happy, I create the flashable firmware images. |
|
@shadow-1: Not a problem at all! I do FTP the updated webpages and scripts. I will try compiling the libwebsockets file. (as I can see I need to do what you told in #23 (comment)). Can you tell me where the newly created file goes and if I can FTP that file aswell! Thanks, |
|
@shadow-1: Sorry to bother again, but I can't find howto compile the changed .c file. I have downloaded libwebsockets from [email protected]:warmcat/libwebsockets.git and tried to patch this with the file: Is this the way to go? Or can I take some other actions to compile just my changed file in libwebsockets-plugin...... Hope to hear from you! Greets, |
|
@shadow-1: Hope you will find some time to help me! Greets, |
|
@shadow-1: |
|
@shadow-1: I will keep bugging you ;) |
|
Hi there, Just wondering if you had some time to look at this... |
|
This would help me a lot. Is there a way of getting this onto my cam before merged? |
|
@shadow-1 create a patreon page or at least donate button, so we can help you to find some time for this great project :) |
|
June... still no answer |
|
July... still no answer :( |
|
I guess the answer is no answer unfortunately. |
|
Maybe time to fork? |
|
I made an add-on in the yi-hack-v3 environment. Enabled rtsp, viewing video from the camera's sd card, disabling the cloud, selecting TZ, safely power off. Download the add-on from here https://github.com/Arkady23/yi-hack-v3plus |
|
hello :) any updates on the telegram functionality? |
This is a work in progress. Just for testing/working together
NOTE: This will break your cam (a bit), so don't use this (yet)