Commit Graph

44 Commits

Author SHA1 Message Date
tsightler
b8338e30de Release 5.1.0 (#537)
* Use MQTT for start-stream debug messages
* Fix ANSI colors
* Refactor event URL management
* Fix subscription detection
* Improve event URL expiry handling by parsing Amazon S3 expire time
* Convert to ESM/replace colors with chalk
* Force colors for chalk
* Migrate to ESM
* Fix stop of keepalive stream
* Add transcoded event selections
* Update event URL on raw/trancoded toggle
* Switch to per-camera livecall threads
* Customized WebRTC functions
Mostly copied from ring-client-api with port to pure Javascript, removal of unneeded features and additional debugging modified for use as worker thread with ring-mqtt.  Allows easier testing with updated Werift versions.
* Add nightlight enable/disable
* Include nightlight state as attribute
* Only pro versions have nightlight
* Tweak battery level reporting for dual battery cameras
* Release 5.1.0
2023-02-02 20:59:09 -05:00
tsightler
01d10036f8 Granular sensor bypass 2022-04-24 14:59:00 -04:00
tsightler
5abe17d231 Standardize requires 2022-04-05 13:55:32 -04:00
tsightler
c9478d4a94 Initial device state framework 2022-04-03 12:56:38 -04:00
tsightler
972cd95b4f Implement state 2022-04-01 22:33:30 -04:00
tsightler
5fc706b80b Uses events for device commands 2022-03-08 20:59:53 -05:00
tsightler
a702a98d96 Implement event based engine
* First steps toward EventEmitter based core
2022-03-04 20:41:02 -05:00
tsightler
23af855094 Standardize multi-device discovery logic 2022-02-03 20:21:04 -05:00
tsightler
000653e1bf granular debug options 2021-09-25 15:28:49 -04:00
tsightler
cd8ac02045 Release 4.8.3 (#267)
## v4.8.3
**New Features**
- The event stream select entity now includes eventId and recordingUrl attributes with values updated based on the selected event to facilitate automatic downloading of recorded videos. See the [camera documentation](CAMERAS.md) for more information and an example automation using Home Assistant downloader service.
- Dome sirens (and perhaps other Z-wave sirens) are now supported

**Fixed Bugs**
- Refactor and simplify snapshot functions, especially for battery cameras.  This should hopefully fix the issue of no motion snapshots for users with battery powered cameras.

**Breaking Changes**
- Siren devices are now represented as a switch instead of a binary_sensor.

**Other Changes**
- Device debug output now includes device name for all entries, including all received commands
2021-09-20 23:02:13 -04:00
tsightler
99f140f196 Release 4.7.0 (#224)
See docs/CHANGELOG.md
2021-08-16 19:49:52 -04:00
tsightler
8f248106ed 0% speed turns fan off 2021-07-19 22:36:27 -04:00
tsightler
4f51144376 Update fan.js 2021-07-19 22:22:33 -04:00
tsightler
e2d6502558 Fan 0% speed turns off device 2021-07-19 22:10:23 -04:00
tsightler
76e3fa9769 Fan 0% turns fan off 2021-07-19 22:04:35 -04:00
tsightler
3bf43947d7 4.6.0 Updates 2021-07-19 18:37:19 -04:00
tsightler
b99d6e2871 Update fan.js 2021-07-17 20:23:48 -04:00
tsightler
e828986cc3 Update fan.js 2021-07-17 19:30:06 -04:00
tsightler
4e47c2096e Update fan.js 2021-07-17 19:23:18 -04:00
tsightler
8873a1916f Fan fixes 2021-07-17 19:11:52 -04:00
tsightler
808440a613 Update fan.js 2021-07-17 19:02:47 -04:00
tsightler
fce73600da Update fan.js 2021-07-17 19:00:15 -04:00
tsightler
1c34df53da Update fan to new schema
* Update fan entities to use new fan MQTT component schema used in HA >2021.4
2021-07-17 18:57:02 -04:00
tsightler
cfff064776 Release v4.4.0 (#146)
* Add arming bypass mode (#145)
* Misc cleanups
2021-02-28 13:02:42 -05:00
tsightler
09aaec2d42 Update 4.0.4 (#110)
* Minor fixes for smart lighting support
* Fix (hopefully) non-fatal resubscribe errors
* Fix a few typos
* Bump MQTT dependency
* Documentation updates
2020-09-09 16:27:28 -04:00
tsightler
796d099cba Merge 4.0.0 Release (#101)
* Add Home Assistant Device Model support
* Major refactor of device discovery and republish to simplify code
* Add support for alarm status
* Implement new topic heirarchy
* Add support for keypad status monitoring
* Misc bugfixes from refactor
* Remove legacy attribute support
* Display chirps only for security-keypad
* Add support for panic buttons
* Must be explicitly enabled with "enable_panic"
* Addon auto configuration
* Enhance web based token generator
* Improve error handling for token generation
* Add support for Home Assistant device registry for cameras
2020-09-04 23:25:14 -04:00
tsightler
6c3c36db09 Update to 3.1.1 (#80)
Version 3.1.1

* Remove unnecessary global variables

* Move mqttClient to AlarmDevice class and cleanup mqtt functions across devices

* Update README.md

*Update docker run command for getting an refresh token

* Implement onRefreshTokenUpdates to save new refresh tokens to config file

* Fix error with republish logic on MQTT birth messages from Home Assistant

* Add support for detection of online state before attempting connection to Ring servers

* Update ring-mqtt.service file with network.target dependency and log output to file

* Bump acorn from 7.1.0 to 7.1.1 (#69)

* Cleanup mqtt functions across devices

* Add support for refresh token to be stored in a separate file for HASS.io addon.

* Change hass_state topic to homeassistant/status (this matches default config for home assistant/HASS.io)
2020-08-05 16:45:12 -04:00
tsightler
04c7042469 Update to 3.1.0 (#62)
Release 3.1.0
* Ring smart lighting support
* Add beam.js for Ring smart lighting
* Updates for Smart Lighting
* Fix incorrect atttributes for brightness
* Consolidate to single attributesTopic per beam device
* Remove unneeded custom function to publish attributes
* Minor Fan fixes
* Fix unlikely issue with reported state when value is fractional
* Update low/medium speeds from 10%/50% to 33%/67%  Had reports that 10% was too low for some devices.  These numbers are more evenly across the percentage, but I don't have an actual fan so difficult to test.  Current settings are:  off=0%, low=33%, medium=67%, high=100%.
* Improve device offline handling
* Add 60 second delay before taking devices offline when websocket connection is down.
* Make camera heath delay 60 seconds for consistency with alarm devices
* Misc Cleanups
2020-03-03 20:58:53 +00:00
tsightler
fade80286a Update fan.js 2020-02-24 01:57:41 -05:00
tsightler
a1176d7e21 Final fan fixes
Hopefully the last fan fixes.  Whew, troubleshooting this was a pain!
2020-02-24 01:54:09 -05:00
tsightler
6faa4ab675 Update fan.js 2020-02-24 01:24:01 -05:00
tsightler
b7fb2a0c99 Update fan.js 2020-02-24 01:12:41 -05:00
tsightler
592b41376b Hopefully fix fan UI behavior
* Hackish fix to overcome undireable UI behavior with fan
2020-02-24 01:07:45 -05:00
tsightler
daf7345e68 Update fan.js 2020-02-24 00:48:46 -05:00
tsightler
b7ec9a80cc Update fan.js 2020-02-24 00:41:07 -05:00
tsightler
bac36e4fb4 Update fan.js 2020-02-24 00:30:06 -05:00
tsightler
77cc430503 Update fan.js 2020-02-24 00:27:57 -05:00
tsightler
bf77c820d8 Update fan.js 2020-02-24 00:18:56 -05:00
tsightler
868f93c20a Update fan.js 2020-02-24 00:04:46 -05:00
tsightler
0aea6a962f Fixes for Fan support 2020-02-24 00:02:18 -05:00
tsightler
0f6d0f2ffa Update fan.js 2020-02-23 23:31:30 -05:00
tsightler
7d3005372d Fixes for multi-level-switch and fan
* Fix typos for brightness
* Fix type errors for setting fan speed
* Minor cleanups
2020-02-23 23:24:40 -05:00
tsightler
1b18830e3f Misc cleanups
* Remove unnecessary requires
* Fixes for fan component
* Misc minor cleanups thanks to eslint
2020-02-22 21:54:03 -05:00
tsightler
e01da0bfdd Update ring-alarm-mqtt to ring-mqtt
Replace legacy ring-alarm-mqtt with ring-mqtt codebase.
2020-02-20 12:15:28 -05:00