Documentation based on the ATC1441 BLE E-Paper Uploader (source on Github) and testing with a 2.9" Black/White/Red epaper display.
- Primary Service
- Short UUID
0xfef0
- Short UUID
- Long UUID
0000fef0-0000-1000-8000-00805f9b34fb
| import struct | |
| import zlib | |
| testVector = ( | |
| # input is ascii string | |
| bytearray(ord(c) for c in "123456789"), | |
| bytearray([ 0xCB, 0xF4, 0x39, 0x26]), | |
| ) | |
| crc = zlib.crc32(testVector[0]) |
| const reportableEvents = [ | |
| 'abort', | |
| //'canplay', | |
| //'canplaythrough', | |
| //'durationchange', | |
| 'emptied', | |
| 'encrypted', | |
| 'ended', | |
| 'error', | |
| 'loadeddata', |
| /* | |
| * Unload any previous media and keys from <video> element | |
| **/ | |
| const resetVideoElt = async (videoElt) => { | |
| const videoEltEmptied= new Promise((resolve) => { videoElt.addEventListener('emptied', (e) => { | |
| //console.log(e); | |
| resolve(); | |
| }, { once: true }) }); | |
| videoElt.pause(); |
| # eWeLink ZB GW03 Modified ESPHome Config | |
| # | |
| # - Add debug text sensors | |
| # - Add bluetooth_proxy | |
| # - Add web_server for offline reflash | |
| # | |
| # Important documentation from upstream | |
| # | |
| # - https://github.com/syssi/esphome-zb-gw03 | |
| # - [Flash ESPHome and use the ZB-GW03 as Zigbee Coordinator](https://github.com/syssi/esphome-zb-gw03/blob/main/docs/flashing.md) |
| # | |
| # Basic working Frigate NVR config with internal test pattern generation | |
| # - For intel graphics | |
| # - With PCI Coral TPU | |
| # - Recording disabled by default (enable per camera) but default retention configured | |
| # - With ffmpeg-generated test pattern as initial camera for debugging | |
| # WARNING Disable test pattern camera and go2rtc config to minimize CPU usage once initial setup is complete | |
| # | |
| mqtt: |
| #!/bin/bash | |
| if [ -f /etc/docker/daemon.json ] ; then | |
| echo "/etc/docker/daemon.json already exists, refusing to overwrite it." >&2 | |
| exit 1 | |
| fi | |
| cat <<EOF | sudo tee /etc/docker/daemon.json | |
| { "userns-remap": "default" } | |
| EOF |
| { | |
| "MaxStaticBitrate": 7789442, | |
| "MaxStreamingBitrate": 7789442, | |
| "MusicStreamingTranscodingBitrate": 192000, | |
| "DirectPlayProfiles": [ | |
| { | |
| "AudioCodec": "vorbis,opus", | |
| "Container": "webm", | |
| "Type": "Video", | |
| "VideoCodec": "vp8" |
| # Logfiles under /var/log/hosts per rsyslog.d config | |
| /var/log/hosts/*/*.log | |
| { | |
| rotate 7 | |
| daily | |
| missingok | |
| notifempty | |
| delaycompress | |
| compress | |
| postrotate |
| # snmptrapd.log files as per `systemctl edit snmptrapd.service` | |
| # (in addition to logging traps to syslog) | |
| /var/log/snmptrapd.log | |
| { | |
| rotate 7 | |
| daily | |
| missingok | |
| notifempty | |
| delaycompress | |
| compress |
Documentation based on the ATC1441 BLE E-Paper Uploader (source on Github) and testing with a 2.9" Black/White/Red epaper display.
0xfef00000fef0-0000-1000-8000-00805f9b34fb