Commit Graph

30 Commits

Author SHA1 Message Date
Brett Jia
7971d09bf4 options don't seem to do anything 2023-01-13 21:28:11 -05:00
Brett Jia
c3506be5ab run ffmpeg to convert inputs to known format 2023-01-13 21:23:55 -05:00
Brett Jia
09de710bde stop loop correctly 2023-01-12 17:06:33 -05:00
Brett Jia
c70270cce0 bump 2023-01-12 17:03:28 -05:00
Brett Jia
30d166d556 write sdp to file 2023-01-12 17:03:09 -05:00
Brett Jia
a0da8c5f5c bump 2023-01-12 07:23:54 -05:00
Brett Jia
d1fbfb5774 log intercom source 2023-01-12 07:23:37 -05:00
Brett Jia
b09dd2fcdc aiortc logging, detect ffmpeg input source format 2023-01-11 22:12:30 -05:00
Brett Jia
6f8ffde343 parse endpoint and ffmpeg args 2023-01-11 09:00:12 -05:00
Brett Jia
217007a7b2 beta: arlo talkback (basestation only) (#475)
* initial research

* experimental

* sdp seems to work, stopIntercom is broken

* converting to separate rtc device

* standalone rtc speaker implemented but not working

* minor cleanup

* webrtc troubleshooting and improvements

* wait for sdp response before sending candidates

* logging changes, rtc troubleshooting

* use a future

* restore aiortc and run RTC in a background thread

* documentation

* documentation

* typo

* comments + simplify background coroutine calls

* simplify future

* only enable intercom for basestation cameras

* bump 0.4.0

* backward compatible headers

* bump 0.4.1

* pin cryptography to latest without rust

* monkey patch binary deps and pin cryptography for armv7l

* hacks to use ffmpeg but fails due to dependency on pylibsrtp

* revert back to 0.4.2

* 0.4.3 fix for M1 Macs

* use pre-built armv7l wheels

* publish 0.4.4

* use custom pypi index for armv7l wheels
2023-01-10 21:20:15 -08:00
Koushik Dutta
53c9a60ab4 plugins: update tsconfig.json 2023-01-01 16:12:57 -08:00
Brett Jia
bae7d92692 arlo: wired doorbell fix, reduce event latency (#465)
* fix avd1001 battery indicator

* reduce latency of checking for events
2022-12-13 20:14:52 -08:00
Brett Jia
794f919ec2 arlo 0.3.5 (#438) 2022-11-22 19:54:50 -08:00
Brian Schrameck
b442c3b3cc feat: allow Arlo basestations that identify as sirens (e.g. VMB4000) (#437)
* feat: allow basestations that identify as sirens (e.g. VMB4000)

* docs: adjust comment for proper_basestations
2022-11-22 19:34:02 -08:00
Brett Jia
74cec57655 arlo: 0.3.4 with bugfixes, SSE, and experimental doorbell (#418)
* bump and enable new doorbell press detection

* sse debugging, hwVersion optional, avd1001 excludes battery

* bump 0.3.3

* patch SSE iterator to handle broken connection

* I am silly and don't know how six lib works
2022-11-06 16:51:26 -08:00
Brett Jia
b646faa976 arlo: beta 0.3.1 w/ SSE, arloqs, and doorbell pings (#389)
* initial beta for doorbells

* clarify comments

* temporarily disable ArloDoorbell and add arloqs

* re-add SSE as transport option

* bump

* generate event id and timestamp when sending requests

* ping doorbells
2022-10-01 19:32:54 -07:00
Brett Jia
668118e5e3 arlo: battery events, delete unused code, start of doorbell refactor (#370)
* battery events, delete unused code, start of doorbell refactor

* publish
2022-09-05 20:13:31 -05:00
Koushik Dutta
43f0f98992 plugins: remove postinstall 2022-06-17 09:49:04 -07:00
Koushik Dutta
895509e4dd plugins: add tsconfig.json 2022-06-17 09:43:17 -07:00
Brett Jia
fb7462b4c2 arlo: various fixes and use correct api url for snapshots (#256)
* remove Refresh, extend internal timeout, add new action to snapshots

* lower timeout, properly listen for last image url

* tweak arlo endpoint

* promote to official release
2022-05-21 20:32:14 -07:00
Koushik Dutta
b4e9f20d5d all: prune package.json 2022-05-02 11:50:47 -07:00
Brett Jia
87130d263d arlo: more mqtt subs, basestation keep-alive, more efficient motion listener (#225)
* more mqtt subscriptions

* bump

* send heartbeats to real basestations

* bump

* fix basestation registration race condition, make single action subscriptions more efficient

* bump

* remove Online interface since it's broken for basestation cameras

* bump
2022-04-16 15:04:10 -07:00
Brett Jia
adf5f644bc arlo: disable audio for VMC3030 and readme (#221)
* disable audio for VMC3030

* bump

* readme

* bump
2022-04-14 17:04:26 -07:00
Brett Jia
60c3ae25da arlo 0.2.3 (#219) 2022-04-13 00:21:34 -07:00
Brett Jia
473f2738cc arlo: 0.2.0 with mqtt under the hood (#215)
* REST timeouts, infrequent heartbeats, fix queue cycling bug

* cache auth headers in storage

* bump

* heartbeat all basestations on motion subscription, return rtsp url immediately, fix dropped event bug

* bump

* consolidate basestation heartbeats

* bump

* handle new streamURL event

* bump

* return stream url on startUserStream event too

* bump

* settings change for docker debugging

* snapshot from prebuffer when available

* bump

* reduce latency of checking for events

* bump

* initial testing

* working mqtt implementation

* bump to 0.2.0
2022-04-09 17:35:04 -07:00
Brett Jia
25661add94 Arlo 0.1.3 (#211)
* more reliable internal event queue management

* timeout at higher level

* motion detection

* better motion event logic, add Battery

* bump version

* remove debug prints for publish

* configurable logging

* bump version

* document verbosity settings

* bump version properly

* wait for arlo stream to start before returning rtsps url

* bump

* clean up accidental imports

* implement Online, Refresh + clean up duplicate logging issue

* bump
2022-04-03 12:47:38 -07:00
Koushik Dutta
8064d53cdf arlo: fix the default debug paths 2022-03-29 20:51:47 -07:00
Koushik Dutta
244eb09264 arlo: publish 2022-03-29 19:42:41 -07:00
Brett Jia
a55424ed80 Arlo improvements (#208)
* log number of discovered devices, skip cameras without basestations

* remove monkey patch, don't crash when creating cameras before they are loaded

* use storage api, significant cleanup

* more cleanup
2022-03-29 19:29:23 -07:00
Koushik Dutta
8062bc7d4e Arlo (#205)
* start of arlo plugin

* use a logger

* patch missing method onto devicemanager

* arlo camera link should be done on camera settings page

* consolidate

* log formatter

* log formatter

* discover devices as cameras. snapshot not working

* take arlo pictures

* implement video camera stream

* pull in custom arlo module and try to fix session bugs

* proxy arlo rtsp to stop stream when no clients

* snapshot ongoing stream

* cache image snapshots

* use host ip addr

* use cached if error

* using live555ProxyServer

* build live555ProxyServer, use cached pictures more

* cache pic on video, threaded

* fix issue of snapshot turning off stream

* more async

* significant cleanup, vendoring, first attempt at getting async arlo lib

* works, but problem with async and queue juggling

* timeout, queues per resource/action

* subscribe to multiple queues

* distinguish cameras and basestations, remove dependence on gmail

* some cleanup

* some cleanup

* some cleanup

* support SMS MFA

* event queue garbage collection

* video stream options

* add dependencies per koush's suggestion

Co-authored-by: Brett Jia <dev.bjia56@gmail.com>
2022-03-29 10:10:30 -07:00