https://github.com/jordemort/gf-l100-lightcontrol
Control GF-L100 Floodlight with Home Assistant
https://github.com/jordemort/gf-l100-lightcontrol
camera escam floodlight gf-l100 home-assistant kankun qf608
Last synced: 5 months ago
JSON representation
Control GF-L100 Floodlight with Home Assistant
- Host: GitHub
- URL: https://github.com/jordemort/gf-l100-lightcontrol
- Owner: jordemort
- Created: 2022-07-23T23:07:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T16:15:37.000Z (almost 4 years ago)
- Last Synced: 2025-03-09T00:02:32.023Z (over 1 year ago)
- Topics: camera, escam, floodlight, gf-l100, home-assistant, kankun, qf608
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gf-l100-lightcontrol
I own a [GF-L100 Floodlight Camera](https://fccid.io/2AL56GF-L100PRO/User-Manual/Users-Manual-3990248).
This is sometimes also marketed as the [Escam QF608](http://www.escam.cn/product/77-en.html).
In this thing's favor:
- It is cheap
- It has RTSP streams
- It is more-or-less ONVIF
Against:
- Controlling the floodlight is only possible through some proprietary app that doesn't integrate with Home Assistant
I had a fun time reverse-engineering the software on the camera and figured out that it controls the light by sending some weird ASCII-encoded hexadecimal numbers to a serial port.
So, I wrote this; it emulates just enough of [kankun-json](https://github.com/homedash/kankun-json) that it can be used with Home Assistant's [Kankun integration](https://www.home-assistant.io/integrations/kankun/) (I already had some Kankun plugs around).
## Example
Add this to your Home Assistant `configuration.yaml`
```yaml
switch:
platform: kankun
switches:
floodlight_light:
host: your.camera.host.or.ip
port: 8090
path: /light
floodlight_motion:
host: your.camera.host.or.ip
port: 8090
path: /motion
```