profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/thiagofigueiro/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

shaiguitar/resque_stuck_queue 52

Where the resque queues get stuck

thiagofigueiro/nexus3-cli 24

Python CLI and bindings for Sonatype's Nexus OSS 3

thiagofigueiro/faker_web 7

A collection of fake web data for use with joke2k's faker

thiagofigueiro/resque_stuck_queue 1

Where the resque queues get stuck

thiagofigueiro/ap4y_me 0

Source code for my personal web page

thiagofigueiro/auditjs 0

Audits an NPM package.json file to identify known vulnerabilities.

thiagofigueiro/bravado 0

Bravado is a python client library for Swagger 2.0 services

thiagofigueiro/desafios-frontend 0

Desafios de FrontEnd para vagas da área na Cyberlabs AI

thiagofigueiro/docker-checkmk 0

Unofficial docker container of Check_MK

thiagofigueiro/docker-flume 0

Docker image containing Apache Flume

create barnchthiagofigueiro/sssAI

branch : log-tweak

created branch time in 2 days

issue commentProtoThis/python-synology

Add support for SYNO.Core.Share.Snapshot

Hi, @Quentame.

I was looking to use this package for a personal project and I noticed this issue to implement snapshots, but I think it refers to functionality in the core Synology, not the Surveillance Station.

The code I'm using to fetch snapshots from the Surveillance Station is something like:

    SNAPSHOT_PATH_TEMPLATE = '/webapi/entry.cgi?camStm=1&version=2&cameraId={camera_id}&api=%22SYNO.SurveillanceStation.Camera%22&method=GetSnapshot'
    url_path = SNAPSHOT_PATH_TEMPLATE.format(camera_id=camera_id)
    response = self._request(url_path, cookies=self.cookies())

Looking at all messages on this thread, I can't help but think that I'm missing something. Is the intention to support GetSnapshot or is there functionality in core with the same name?

Thanks!

Gestas

comment created time in 2 days

push eventthiagofigueiro/sssAI

Thiago Figueiró

commit sha 2c4a670b419d5b9c9641254c004145bd8ba75677

Add integration test for ignored areas

view details

push time in 2 days

create barnchthiagofigueiro/sssAI

branch : moar-refactor

created branch time in 2 days

push eventthiagofigueiro/sssAI

Thiago Figueiró

commit sha 164eb4a64bff0904efea82155e6183ce690c228e

Add gitlab CI config

view details

push time in 4 days

push eventthiagofigueiro/sssAI

Thiago Figueiró

commit sha e193ea8d978d4a14996adff85b404dd827cae748

Clean-up read_item

view details

push time in 5 days

push eventthiagofigueiro/sssAI

Thiago Figueiró

commit sha ed6ad159d4ff6da6df91dbcfda341b2eb78be6cb

Add setting to expose gunicorn errors

view details

Thiago Figueiró

commit sha 213fd84e8812217fc0505ed5a3e0e6bb4b41b8a2

Add error handling for deepstack detection

view details

Thiago Figueiró

commit sha 588ca6021ac2ae6f3bb0dd088623368a30f469f2

Refactor synology requests into its own module

view details

Thiago Figueiró

commit sha 7b89202501c8e6aaeac1009a32af5617af9c63f6

Remove JSON logs, loguru

view details

Thiago Figueiró

commit sha b060ac84ffb37b9421ceb851c3ccb8c24855ef7f

Fix config defaults

view details

Thiago Figueiró

commit sha b7e610caab0b2a2f730ce130fb996c70c0325775

Change capture file name to include ISO-8601 timestamp Also create the capture_dir before saving.

view details

Thiago Figueiró

commit sha b9682c1b12c32bd1e3a34471f277dc79955628ee

Simplify save_image method

view details

push time in 6 days

push eventthiagofigueiro/sssAI

Thiago Figueiró

commit sha f3c1130938d6b3753c010df51ff6097d55d28ec8

Refactor synology requests into its own module

view details

Thiago Figueiró

commit sha 2f471366ce120d0a7ac46dc802fb3a6d5911f95a

fixup_9b46bd01d9d987e52e62b1c4ed9e68ca93cd40e6

view details

Thiago Figueiró

commit sha 04fb046aa4c4b3660ca09af18d0225a01122a1dd

Remove JSON logs, loguru

view details

push time in 6 days

create barnchthiagofigueiro/sssAI

branch : add-tests

created branch time in 6 days

push eventthiagofigueiro/MiTemperature2

Thiago Figueiro

commit sha f85f4185fd584678cda614060d1778588e80a827

Add systemd service /etc/systemd/system/temperatures.service

view details

push time in 7 days

push eventthiagofigueiro/MiTemperature2

Thiago Figueiro

commit sha 39287b32bc69f9face00267b975658e8446919f4

Home settings

view details

push time in 7 days

fork thiagofigueiro/MiTemperature2

Read the values of the Xiaomi Mi Bluetooth Temperature sensor 2

fork in 7 days

issue openedChristofo/sssAI

Ignore events with stationary objects

When the camera motion is triggered, it can be caused by a number of things (trees, shadows, bugs etc). If there's a stationary object in the picture, sssAI will trigger a recording regardless of what caused the motion to be detected.

It would be great if these events could be filtered-out.

I have an idea to implement this. We could keep the last results (predictions) for each camera. If the objects detected are the same (label and location), the we ignore the trigger and do not tell sss to start a recording.

created time in 12 days

create barnchthiagofigueiro/sssAI

branch : integration-test

created branch time in 12 days

Pull request review commentChristofo/sssAI

Add a docker-compose file

 FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7-ENV TZ=America/New_York-RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone+RUN apt-get update \+      && apt-get upgrade -y \+      && rm -rf /var/lib/apt/lists/*++ARG TZ+ENV TZ=${TZ:-America/New_York}+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \+    && dpkg-reconfigure -f noninteractive tzdata++RUN pip install requests loguru pillow

I moved this because it's usual to have the setup steps before the CMD.

thiagofigueiro

comment created time in 13 days

PullRequestReviewEvent

Pull request review commentChristofo/sssAI

Add a docker-compose file

 FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7-ENV TZ=America/New_York-RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone+RUN apt-get update \+      && apt-get upgrade -y \+      && rm -rf /var/lib/apt/lists/*++ARG TZ+ENV TZ=${TZ:-America/New_York}

We can actually remove the TZ environment variable since it's only used for the build. I might do this in another MR.

thiagofigueiro

comment created time in 13 days

PullRequestReviewEvent

PR opened Christofo/sssAI

Add a docker-compose file

Hi, @Christofo. Thanks for sharing this project.

I decided not to run the docker containers on the Synology device since I have a better server available on my network. The setup is the same, other than the network address user in the Synology webhook.

This pull request contains my docker-compose.yml and other related files. While I was at it, I updated the Dockerfile to parametrise the time zone (can still be improved but it's a start), and to update the OS packages when building.

I intend to add an automated setup script to your project so the Synology configuration doesn't need to be manually done. As part of that I'd like to add some unit tests and CI configuration to make sure I'm not breaking anything.

Please let me know if you would like me to send these contributions back to your repository.

+86 -3

0 comment

7 changed files

pr created time in 13 days

push eventthiagofigueiro/sssAI

Thiago Figueiro

commit sha d5f71caf672ce7bf71fba09c1551cadcf13d8091

Allow timezone override

view details

Thiago Figueiro

commit sha 48825782270ffeba75edc13bd54266144be684b3

Update packages during build

view details

Thiago Figueiro

commit sha 178dc7d2b64238611df7f3d671f60ee2801f908b

Add configuration examples

view details

Thiago Figueiro

commit sha 4af5ac0a7b9ff055128ee1d0f9cb36b672db2f1c

Add docker-compose configuration

view details

Thiago Figueiro

commit sha dda1c44ef09f977999e2869192389b02924efc52

Add docker-compose instructions

view details

push time in 13 days

fork thiagofigueiro/sssAI

AI based motion detection for Synology Surveillance Station

fork in 13 days

startedJsBergbau/MiTemperature2

started time in 18 days

startedpvvx/ATC_MiThermometer

started time in 18 days

push eventthiagofigueiro/docker-influxdb-grafana

Thiago Figueiro

commit sha 2a4dbc28d781ac360c143e16981de417267ed32c

Deleted too much by accident

view details

push time in 20 days

push eventthiagofigueiro/docker-influxdb-grafana

Thiago Figueiro

commit sha c092dcddaac9312e652d045b18f5686e3c48e0bc

Add system CPU for QNAP

view details

push time in 20 days

push eventthiagofigueiro/docker-influxdb-grafana

Thiago Figueiro

commit sha 1158110ccfe90154b6a06bdb831c56747e5bb9dd

Convert hdTemperature to integer

view details

push time in 20 days

push eventthiagofigueiro/docker-influxdb-grafana

Thiago Figueiro

commit sha 2ce9d667fe5a170134aeac8e10b84c17cb51ef2f

Convert hdTemperature to integer

view details

push time in 20 days

create barnchthiagofigueiro/docker-influxdb-grafana

branch : qnap

created branch time in 20 days

push eventthiagofigueiro/docker-influxdb-grafana

Thiago Figueiro

commit sha aa0e39bca9ef6add6f8a134a04ad46fa9e32c1ee

Use influx v1, do not expose ports

view details

Thiago Figueiro

commit sha 8e46c35a99e7fef1a1c37138478e66976b56e5b1

Ignore data dir

view details

push time in 22 days

push eventthiagofigueiro/docker-influxdb-grafana

Thiago Figueiro

commit sha 8ea8e37a906e0e83019fbc74c0e789fee1b22095

Service port for influx

view details

push time in a month