matter-all-in-one-addon 2.3.1 → 2.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -8
- package/dist/camera/ai/camera-ai-detector.d.ts +0 -2
- package/dist/camera/ai/camera-ai-detector.js +52 -57
- package/dist/camera/ai/camera-ai-detector.js.map +1 -1
- package/dist/camera/browser-preview.d.ts +9 -0
- package/dist/camera/browser-preview.js +135 -0
- package/dist/camera/browser-preview.js.map +1 -0
- package/dist/camera/camera-source-resolver.js +5 -3
- package/dist/camera/camera-source-resolver.js.map +1 -1
- package/dist/camera/camera-types.d.ts +0 -2
- package/dist/camera/cameraui/cameraui-client.js +91 -30
- package/dist/camera/cameraui/cameraui-client.js.map +1 -1
- package/dist/camera/cameraui/cameraui-homekit-bridge.js +13 -4
- package/dist/camera/cameraui/cameraui-homekit-bridge.js.map +1 -1
- package/dist/camera/cameraui/cameraui-storage.js.map +1 -1
- package/dist/camera/cameraui/cameraui-types.d.ts +6 -2
- package/dist/camera/cameraui/ha-camera-entity.js +5 -2
- package/dist/camera/cameraui/ha-camera-entity.js.map +1 -1
- package/dist/camera/homekit/ffmpeg-helper.js +17 -35
- package/dist/camera/homekit/ffmpeg-helper.js.map +1 -1
- package/dist/camera/homekit/hevc/fmp4-hevc.js +3 -1
- package/dist/camera/homekit/hevc/fmp4-hevc.js.map +1 -1
- package/dist/camera/homekit/hevc/hevc-recording.d.ts +0 -2
- package/dist/camera/homekit/hevc/hevc-recording.js +28 -63
- package/dist/camera/homekit/hevc/hevc-recording.js.map +1 -1
- package/dist/camera/homekit/hevc/multi-tier-rtp.d.ts +1 -15
- package/dist/camera/homekit/hevc/multi-tier-rtp.js +70 -228
- package/dist/camera/homekit/hevc/multi-tier-rtp.js.map +1 -1
- package/dist/camera/homekit/hevc/sframe-rtp.d.ts +0 -2
- package/dist/camera/homekit/hevc/sframe-rtp.js +0 -25
- package/dist/camera/homekit/hevc/sframe-rtp.js.map +1 -1
- package/dist/camera/homekit/hevc/sframe.d.ts +1 -11
- package/dist/camera/homekit/hevc/sframe.js +18 -133
- package/dist/camera/homekit/hevc/sframe.js.map +1 -1
- package/dist/camera/homekit/hevc/types.js +81 -9
- package/dist/camera/homekit/hevc/types.js.map +1 -1
- package/dist/camera/homekit/hevc/webrtc-session.d.ts +3 -17
- package/dist/camera/homekit/hevc/webrtc-session.js +55 -229
- package/dist/camera/homekit/hevc/webrtc-session.js.map +1 -1
- package/dist/camera/homekit/homekit-camera-recording.delegate.d.ts +0 -1
- package/dist/camera/homekit/homekit-camera-recording.delegate.js +115 -43
- package/dist/camera/homekit/homekit-camera-recording.delegate.js.map +1 -1
- package/dist/camera/homekit/homekit-camera-stream.delegate.d.ts +4 -7
- package/dist/camera/homekit/homekit-camera-stream.delegate.js +388 -201
- package/dist/camera/homekit/homekit-camera-stream.delegate.js.map +1 -1
- package/dist/camera/homekit/homekit-camera.accessory.d.ts +7 -34
- package/dist/camera/homekit/homekit-camera.accessory.js +207 -169
- package/dist/camera/homekit/homekit-camera.accessory.js.map +1 -1
- package/dist/camera/homekit/live-view-telemetry.d.ts +0 -4
- package/dist/camera/homekit/live-view-telemetry.js.map +1 -1
- package/dist/camera/homekit/tuya-hap-talkback.d.ts +41 -0
- package/dist/camera/homekit/tuya-hap-talkback.js +326 -0
- package/dist/camera/homekit/tuya-hap-talkback.js.map +1 -0
- package/dist/camera/matter/camera-endpoint.builder.js +9 -7
- package/dist/camera/matter/camera-endpoint.builder.js.map +1 -1
- package/dist/camera/matter/camera-session-manager.d.ts +1 -0
- package/dist/camera/matter/camera-session-manager.js +2 -0
- package/dist/camera/matter/camera-session-manager.js.map +1 -1
- package/dist/camera/matter/camera-webrtc-adapter.js +32 -15
- package/dist/camera/matter/camera-webrtc-adapter.js.map +1 -1
- package/dist/camera/motion/ffmpeg-motion-detector.js +28 -14
- package/dist/camera/motion/ffmpeg-motion-detector.js.map +1 -1
- package/dist/camera/nest/nest-camera-adapter.js +9 -5
- package/dist/camera/nest/nest-camera-adapter.js.map +1 -1
- package/dist/camera/ptz/ptz-capabilities.js +3 -1
- package/dist/camera/ptz/ptz-capabilities.js.map +1 -1
- package/dist/camera/ptz/ptz-legacy-discovery.js.map +1 -1
- package/dist/camera/ptz/ptz-mqtt-publisher.js +50 -12
- package/dist/camera/ptz/ptz-mqtt-publisher.js.map +1 -1
- package/dist/camera/ptz/ptz-zones-manager.js +6 -1
- package/dist/camera/ptz/ptz-zones-manager.js.map +1 -1
- package/dist/camera/scrypted/scrypted-camera-card.js +3 -1
- package/dist/camera/scrypted/scrypted-camera-card.js.map +1 -1
- package/dist/camera/scrypted/scrypted-camera-discovery-adapter.js +7 -5
- package/dist/camera/scrypted/scrypted-camera-discovery-adapter.js.map +1 -1
- package/dist/camera/scrypted/scrypted-client-discovery-adapter.js.map +1 -1
- package/dist/camera/scrypted/scrypted-client.js +6 -5
- package/dist/camera/scrypted/scrypted-client.js.map +1 -1
- package/dist/camera/scrypted/scrypted-discovery-provider.js.map +1 -1
- package/dist/camera/scrypted/scrypted-homekit-bridge.js +6 -4
- package/dist/camera/scrypted/scrypted-homekit-bridge.js.map +1 -1
- package/dist/camera/scrypted/scrypted-reconnect-manager.js.map +1 -1
- package/dist/camera/scrypted/scrypted-runtime-facade.js +2 -2
- package/dist/camera/scrypted/scrypted-runtime-facade.js.map +1 -1
- package/dist/camera/scrypted/scrypted-runtime-ingest.js +3 -1
- package/dist/camera/scrypted/scrypted-runtime-ingest.js.map +1 -1
- package/dist/camera/scrypted/scrypted-storage.js +12 -6
- package/dist/camera/scrypted/scrypted-storage.js.map +1 -1
- package/dist/camera/scrypted/scrypted-stream-validator.js +25 -7
- package/dist/camera/scrypted/scrypted-stream-validator.js.map +1 -1
- package/dist/camera/tuya-webrtc-session.d.ts +53 -0
- package/dist/camera/tuya-webrtc-session.js +261 -0
- package/dist/camera/tuya-webrtc-session.js.map +1 -0
- package/dist/converters/sensor.converter.js +4 -1
- package/dist/converters/sensor.converter.js.map +1 -1
- package/dist/device-profiles.js +3 -1
- package/dist/device-profiles.js.map +1 -1
- package/dist/entities/air_quality.entity.js +3 -1
- package/dist/entities/air_quality.entity.js.map +1 -1
- package/dist/entities/base.entity.js +45 -17
- package/dist/entities/base.entity.js.map +1 -1
- package/dist/entities/camera.entity.d.ts +1 -0
- package/dist/entities/camera.entity.js +24 -2
- package/dist/entities/camera.entity.js.map +1 -1
- package/dist/entities/composite-device.entity.js +37 -13
- package/dist/entities/composite-device.entity.js.map +1 -1
- package/dist/entities/energy_tariff.entity.js.map +1 -1
- package/dist/entities/pet_feeder.entity.d.ts +1 -0
- package/dist/entities/pet_feeder.entity.js +12 -0
- package/dist/entities/pet_feeder.entity.js.map +1 -1
- package/dist/entities/vacuum.entity.js +16 -5
- package/dist/entities/vacuum.entity.js.map +1 -1
- package/dist/frontend/assets/index-1k-iTL-m.js +26 -0
- package/dist/frontend/assets/{index-NrzHqycm.css → index-CJdlkpIy.css} +1 -1
- package/dist/frontend/index.html +2 -2
- package/dist/hap/hap-generic-accessory.d.ts +4 -0
- package/dist/hap/hap-generic-accessory.js +512 -122
- package/dist/hap/hap-generic-accessory.js.map +1 -1
- package/dist/homeAssistant.d.ts +1 -0
- package/dist/homeAssistant.js +23 -5
- package/dist/homeAssistant.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/mqtt/mqtt-client.js.map +1 -1
- package/dist/mqtt/mqtt.entity.js +41 -17
- package/dist/mqtt/mqtt.entity.js.map +1 -1
- package/dist/platform.d.ts +1 -0
- package/dist/platform.js +83 -13
- package/dist/platform.js.map +1 -1
- package/dist/utils/atomic-json-store.js +5 -1
- package/dist/utils/atomic-json-store.js.map +1 -1
- package/dist/utils/ha-state.js +3 -1
- package/dist/utils/ha-state.js.map +1 -1
- package/dist/utils/light-color.js +3 -5
- package/dist/utils/light-color.js.map +1 -1
- package/dist/utils/matter-command-response.js.map +1 -1
- package/dist/utils/matter-firmware.js +1 -2
- package/dist/utils/matter-firmware.js.map +1 -1
- package/dist/utils/matter-protocol.d.ts +1 -0
- package/dist/utils/matter-protocol.js +30 -0
- package/dist/utils/matter-protocol.js.map +1 -0
- package/package.json +27 -19
- package/dist/camera/camera-entity-control.d.ts +0 -12
- package/dist/camera/camera-entity-control.js +0 -24
- package/dist/camera/camera-entity-control.js.map +0 -1
- package/dist/camera/homekit/hevc/bootstrap.d.ts +0 -9
- package/dist/camera/homekit/hevc/bootstrap.js +0 -47
- package/dist/camera/homekit/hevc/bootstrap.js.map +0 -1
- package/dist/camera/homekit/hevc/recording-output.d.ts +0 -2
- package/dist/camera/homekit/hevc/recording-output.js +0 -33
- package/dist/camera/homekit/hevc/recording-output.js.map +0 -1
- package/dist/camera/homekit/media-policy.d.ts +0 -25
- package/dist/camera/homekit/media-policy.js +0 -102
- package/dist/camera/homekit/media-policy.js.map +0 -1
- package/dist/camera/homekit/route-address.d.ts +0 -2
- package/dist/camera/homekit/route-address.js +0 -27
- package/dist/camera/homekit/route-address.js.map +0 -1
- package/dist/camera/homekit/rtp-relay.d.ts +0 -21
- package/dist/camera/homekit/rtp-relay.js +0 -112
- package/dist/camera/homekit/rtp-relay.js.map +0 -1
- package/dist/camera/homekit/startup-timing.d.ts +0 -8
- package/dist/camera/homekit/startup-timing.js +0 -14
- package/dist/camera/homekit/startup-timing.js.map +0 -1
- package/dist/camera/source-adapter.d.ts +0 -132
- package/dist/camera/source-adapter.js +0 -282
- package/dist/camera/source-adapter.js.map +0 -1
- package/dist/frontend/assets/index-Bka3TVAQ.js +0 -21
- package/vendor/hap-nodejs/LICENSE +0 -176
- package/vendor/hap-nodejs/MIAO.md +0 -5
- package/vendor/hap-nodejs/PATCH.md +0 -37
- package/vendor/hap-nodejs/README.md +0 -86
- package/vendor/hap-nodejs/dist/accessories/AirConditioner_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/AirConditioner_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/AirConditioner_accessory.js +0 -128
- package/vendor/hap-nodejs/dist/accessories/AirConditioner_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/AppleTVRemote_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/AppleTVRemote_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/AppleTVRemote_accessory.js +0 -159
- package/vendor/hap-nodejs/dist/accessories/AppleTVRemote_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Camera_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Camera_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Camera_accessory.js +0 -545
- package/vendor/hap-nodejs/dist/accessories/Camera_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Fan_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Fan_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Fan_accessory.js +0 -74
- package/vendor/hap-nodejs/dist/accessories/Fan_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/GarageDoorOpener_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/GarageDoorOpener_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/GarageDoorOpener_accessory.js +0 -78
- package/vendor/hap-nodejs/dist/accessories/GarageDoorOpener_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Light-AdaptiveLighting_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Light-AdaptiveLighting_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Light-AdaptiveLighting_accessory.js +0 -106
- package/vendor/hap-nodejs/dist/accessories/Light-AdaptiveLighting_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Light_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Light_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Light_accessory.js +0 -145
- package/vendor/hap-nodejs/dist/accessories/Light_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Lock_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Lock_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Lock_accessory.js +0 -76
- package/vendor/hap-nodejs/dist/accessories/Lock_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/MotionSensor_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/MotionSensor_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/MotionSensor_accessory.js +0 -45
- package/vendor/hap-nodejs/dist/accessories/MotionSensor_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Outlet_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Outlet_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Outlet_accessory.js +0 -79
- package/vendor/hap-nodejs/dist/accessories/Outlet_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/SmartSpeaker_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/SmartSpeaker_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/SmartSpeaker_accessory.js +0 -44
- package/vendor/hap-nodejs/dist/accessories/SmartSpeaker_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Sprinkler_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/Sprinkler_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Sprinkler_accessory.js +0 -128
- package/vendor/hap-nodejs/dist/accessories/Sprinkler_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/TV_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/TV_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/TV_accessory.js +0 -101
- package/vendor/hap-nodejs/dist/accessories/TV_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/TemperatureSensor_accessory.d.ts +0 -2
- package/vendor/hap-nodejs/dist/accessories/TemperatureSensor_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/TemperatureSensor_accessory.js +0 -44
- package/vendor/hap-nodejs/dist/accessories/TemperatureSensor_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Wi-FiRouter_accessory.d.ts +0 -3
- package/vendor/hap-nodejs/dist/accessories/Wi-FiRouter_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Wi-FiRouter_accessory.js +0 -17
- package/vendor/hap-nodejs/dist/accessories/Wi-FiRouter_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Wi-FiSatellite_accessory.d.ts +0 -3
- package/vendor/hap-nodejs/dist/accessories/Wi-FiSatellite_accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/Wi-FiSatellite_accessory.js +0 -19
- package/vendor/hap-nodejs/dist/accessories/Wi-FiSatellite_accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/gstreamer-audioProducer.d.ts +0 -25
- package/vendor/hap-nodejs/dist/accessories/gstreamer-audioProducer.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/gstreamer-audioProducer.js +0 -145
- package/vendor/hap-nodejs/dist/accessories/gstreamer-audioProducer.js.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/types.d.ts +0 -78
- package/vendor/hap-nodejs/dist/accessories/types.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/accessories/types.js +0 -88
- package/vendor/hap-nodejs/dist/accessories/types.js.map +0 -1
- package/vendor/hap-nodejs/dist/index.d.ts +0 -50
- package/vendor/hap-nodejs/dist/index.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/index.js +0 -54
- package/vendor/hap-nodejs/dist/index.js.map +0 -1
- package/vendor/hap-nodejs/dist/internal-types.d.ts +0 -76
- package/vendor/hap-nodejs/dist/internal-types.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/internal-types.js +0 -80
- package/vendor/hap-nodejs/dist/internal-types.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Accessory.d.ts +0 -521
- package/vendor/hap-nodejs/dist/lib/Accessory.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Accessory.js +0 -1762
- package/vendor/hap-nodejs/dist/lib/Accessory.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Advertiser.d.ts +0 -190
- package/vendor/hap-nodejs/dist/lib/Advertiser.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Advertiser.js +0 -592
- package/vendor/hap-nodejs/dist/lib/Advertiser.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Bridge.d.ts +0 -12
- package/vendor/hap-nodejs/dist/lib/Bridge.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Bridge.js +0 -19
- package/vendor/hap-nodejs/dist/lib/Bridge.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Characteristic.d.ts +0 -1768
- package/vendor/hap-nodejs/dist/lib/Characteristic.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Characteristic.js +0 -2532
- package/vendor/hap-nodejs/dist/lib/Characteristic.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/HAPServer.d.ts +0 -299
- package/vendor/hap-nodejs/dist/lib/HAPServer.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/HAPServer.js +0 -968
- package/vendor/hap-nodejs/dist/lib/HAPServer.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Service.d.ts +0 -598
- package/vendor/hap-nodejs/dist/lib/Service.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/Service.js +0 -797
- package/vendor/hap-nodejs/dist/lib/Service.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/CMAFIngest.d.ts +0 -102
- package/vendor/hap-nodejs/dist/lib/camera/CMAFIngest.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/CMAFIngest.js +0 -317
- package/vendor/hap-nodejs/dist/lib/camera/CMAFIngest.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/HDSSnapshotTransport.d.ts +0 -38
- package/vendor/hap-nodejs/dist/lib/camera/HDSSnapshotTransport.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/HDSSnapshotTransport.js +0 -174
- package/vendor/hap-nodejs/dist/lib/camera/HDSSnapshotTransport.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/RTPProxy.d.ts +0 -59
- package/vendor/hap-nodejs/dist/lib/camera/RTPProxy.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/RTPProxy.js +0 -267
- package/vendor/hap-nodejs/dist/lib/camera/RTPProxy.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/RTPStreamManagement.d.ts +0 -379
- package/vendor/hap-nodejs/dist/lib/camera/RTPStreamManagement.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/RTPStreamManagement.js +0 -1021
- package/vendor/hap-nodejs/dist/lib/camera/RTPStreamManagement.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/RecordingManagement.d.ts +0 -325
- package/vendor/hap-nodejs/dist/lib/camera/RecordingManagement.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/RecordingManagement.js +0 -800
- package/vendor/hap-nodejs/dist/lib/camera/RecordingManagement.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoCredentials.d.ts +0 -20
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoCredentials.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoCredentials.js +0 -48
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoCredentials.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoTypes.d.ts +0 -618
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoTypes.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoTypes.js +0 -911
- package/vendor/hap-nodejs/dist/lib/camera/SecureVideoTypes.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/index.d.ts +0 -8
- package/vendor/hap-nodejs/dist/lib/camera/index.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/camera/index.js +0 -11
- package/vendor/hap-nodejs/dist/lib/camera/index.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/AdaptiveLightingController.d.ts +0 -452
- package/vendor/hap-nodejs/dist/lib/controller/AdaptiveLightingController.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/AdaptiveLightingController.js +0 -868
- package/vendor/hap-nodejs/dist/lib/controller/AdaptiveLightingController.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/CameraController.d.ts +0 -410
- package/vendor/hap-nodejs/dist/lib/controller/CameraController.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/CameraController.js +0 -658
- package/vendor/hap-nodejs/dist/lib/controller/CameraController.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/Controller.d.ts +0 -197
- package/vendor/hap-nodejs/dist/lib/controller/Controller.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/Controller.js +0 -32
- package/vendor/hap-nodejs/dist/lib/controller/Controller.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/DoorbellController.d.ts +0 -59
- package/vendor/hap-nodejs/dist/lib/controller/DoorbellController.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/DoorbellController.js +0 -102
- package/vendor/hap-nodejs/dist/lib/controller/DoorbellController.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/RemoteController.d.ts +0 -434
- package/vendor/hap-nodejs/dist/lib/controller/RemoteController.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/RemoteController.js +0 -1178
- package/vendor/hap-nodejs/dist/lib/controller/RemoteController.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/SecureVideoController.d.ts +0 -380
- package/vendor/hap-nodejs/dist/lib/controller/SecureVideoController.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/SecureVideoController.js +0 -947
- package/vendor/hap-nodejs/dist/lib/controller/SecureVideoController.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/index.d.ts +0 -7
- package/vendor/hap-nodejs/dist/lib/controller/index.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/controller/index.js +0 -10
- package/vendor/hap-nodejs/dist/lib/controller/index.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamManagement.d.ts +0 -73
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamManagement.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamManagement.js +0 -205
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamManagement.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamParser.d.ts +0 -186
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamParser.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamParser.js +0 -880
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamParser.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamServer.d.ts +0 -351
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamServer.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamServer.js +0 -878
- package/vendor/hap-nodejs/dist/lib/datastream/DataStreamServer.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/index.d.ts +0 -4
- package/vendor/hap-nodejs/dist/lib/datastream/index.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/datastream/index.js +0 -7
- package/vendor/hap-nodejs/dist/lib/datastream/index.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/CharacteristicDefinitions.d.ts +0 -2245
- package/vendor/hap-nodejs/dist/lib/definitions/CharacteristicDefinitions.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/CharacteristicDefinitions.js +0 -4957
- package/vendor/hap-nodejs/dist/lib/definitions/CharacteristicDefinitions.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/ServiceDefinitions.d.ts +0 -584
- package/vendor/hap-nodejs/dist/lib/definitions/ServiceDefinitions.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/ServiceDefinitions.js +0 -1518
- package/vendor/hap-nodejs/dist/lib/definitions/ServiceDefinitions.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/generate-definitions.d.ts +0 -34
- package/vendor/hap-nodejs/dist/lib/definitions/generate-definitions.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/generate-definitions.js +0 -624
- package/vendor/hap-nodejs/dist/lib/definitions/generate-definitions.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/generator-configuration.d.ts +0 -22
- package/vendor/hap-nodejs/dist/lib/definitions/generator-configuration.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/generator-configuration.js +0 -734
- package/vendor/hap-nodejs/dist/lib/definitions/generator-configuration.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/index.d.ts +0 -3
- package/vendor/hap-nodejs/dist/lib/definitions/index.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/definitions/index.js +0 -6
- package/vendor/hap-nodejs/dist/lib/definitions/index.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/gen/HomeKit.d.ts +0 -8
- package/vendor/hap-nodejs/dist/lib/gen/HomeKit.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/gen/HomeKit.js +0 -9
- package/vendor/hap-nodejs/dist/lib/gen/HomeKit.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/AccessoryInfo.d.ts +0 -91
- package/vendor/hap-nodejs/dist/lib/model/AccessoryInfo.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/AccessoryInfo.js +0 -311
- package/vendor/hap-nodejs/dist/lib/model/AccessoryInfo.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/ControllerStorage.d.ts +0 -46
- package/vendor/hap-nodejs/dist/lib/model/ControllerStorage.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/ControllerStorage.js +0 -277
- package/vendor/hap-nodejs/dist/lib/model/ControllerStorage.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/HAPFileStorage.d.ts +0 -75
- package/vendor/hap-nodejs/dist/lib/model/HAPFileStorage.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/HAPFileStorage.js +0 -190
- package/vendor/hap-nodejs/dist/lib/model/HAPFileStorage.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/HAPStorage.d.ts +0 -26
- package/vendor/hap-nodejs/dist/lib/model/HAPStorage.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/HAPStorage.js +0 -79
- package/vendor/hap-nodejs/dist/lib/model/HAPStorage.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/IdentifierCache.d.ts +0 -33
- package/vendor/hap-nodejs/dist/lib/model/IdentifierCache.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/model/IdentifierCache.js +0 -114
- package/vendor/hap-nodejs/dist/lib/model/IdentifierCache.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/tv/AccessControlManagement.d.ts +0 -83
- package/vendor/hap-nodejs/dist/lib/tv/AccessControlManagement.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/tv/AccessControlManagement.js +0 -127
- package/vendor/hap-nodejs/dist/lib/tv/AccessControlManagement.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/checkName.d.ts +0 -8
- package/vendor/hap-nodejs/dist/lib/util/checkName.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/checkName.js +0 -28
- package/vendor/hap-nodejs/dist/lib/util/checkName.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/clone.d.ts +0 -7
- package/vendor/hap-nodejs/dist/lib/util/clone.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/clone.js +0 -22
- package/vendor/hap-nodejs/dist/lib/util/clone.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/color-utils.d.ts +0 -18
- package/vendor/hap-nodejs/dist/lib/util/color-utils.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/color-utils.js +0 -442
- package/vendor/hap-nodejs/dist/lib/util/color-utils.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/eventedhttp.d.ts +0 -251
- package/vendor/hap-nodejs/dist/lib/util/eventedhttp.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/eventedhttp.js +0 -714
- package/vendor/hap-nodejs/dist/lib/util/eventedhttp.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/hapCrypto.d.ts +0 -50
- package/vendor/hap-nodejs/dist/lib/util/hapCrypto.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/hapCrypto.js +0 -185
- package/vendor/hap-nodejs/dist/lib/util/hapCrypto.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/hapStatusError.d.ts +0 -16
- package/vendor/hap-nodejs/dist/lib/util/hapStatusError.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/hapStatusError.js +0 -29
- package/vendor/hap-nodejs/dist/lib/util/hapStatusError.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/net-utils.d.ts +0 -21
- package/vendor/hap-nodejs/dist/lib/util/net-utils.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/net-utils.js +0 -79
- package/vendor/hap-nodejs/dist/lib/util/net-utils.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/once.d.ts +0 -7
- package/vendor/hap-nodejs/dist/lib/util/once.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/once.js +0 -22
- package/vendor/hap-nodejs/dist/lib/util/once.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/promise-utils.d.ts +0 -14
- package/vendor/hap-nodejs/dist/lib/util/promise-utils.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/promise-utils.js +0 -29
- package/vendor/hap-nodejs/dist/lib/util/promise-utils.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/request-util.d.ts +0 -36
- package/vendor/hap-nodejs/dist/lib/util/request-util.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/request-util.js +0 -108
- package/vendor/hap-nodejs/dist/lib/util/request-util.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/time.d.ts +0 -9
- package/vendor/hap-nodejs/dist/lib/util/time.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/time.js +0 -23
- package/vendor/hap-nodejs/dist/lib/util/time.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/tlv.d.ts +0 -90
- package/vendor/hap-nodejs/dist/lib/util/tlv.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/tlv.js +0 -318
- package/vendor/hap-nodejs/dist/lib/util/tlv.js.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/uuid.d.ts +0 -23
- package/vendor/hap-nodejs/dist/lib/util/uuid.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/lib/util/uuid.js +0 -78
- package/vendor/hap-nodejs/dist/lib/util/uuid.js.map +0 -1
- package/vendor/hap-nodejs/dist/types.d.ts +0 -276
- package/vendor/hap-nodejs/dist/types.d.ts.map +0 -1
- package/vendor/hap-nodejs/dist/types.js +0 -11
- package/vendor/hap-nodejs/dist/types.js.map +0 -1
- package/vendor/hap-nodejs/package.json +0 -53
- package/vendor/hap-nodejs/src/lib/util/hapCrypto.ts +0 -208
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Pinned runtime distribution for Matter All-in-One
|
|
2
|
-
|
|
3
|
-
Source: Chrisalvir1/homekit-4k v0.6.30, commit 3a8142296e3769ce775d9d6f059d3801efe56a3a. Secure Video upstream provenance and crypto/CMAF patch descriptions are retained in PATCH.md.
|
|
4
|
-
|
|
5
|
-
Runtime JavaScript, declarations, source maps, crypto source, version and production dependencies are unchanged. Development dependencies, development/publishing scripts and allowScripts were removed from this distribution manifest so npm does not install the fork development toolchain inside the add-on. No postinstall patches are used. Apache-2.0 LICENSE and upstream copyright remain. Hash manifest records the imported files and the packaging-only manifest change. CMAF ingest is not enabled by the camera engine.
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# HomeKit 4K HAP compatibility package
|
|
2
|
-
|
|
3
|
-
This package uses the Apache-2.0 Camera.UI Secure Video fork of
|
|
4
|
-
`@homebridge/hap-nodejs`, pinned to
|
|
5
|
-
`seydx/HAP-NodeJS@f844d293d62d843d7c7d5e9363bb606fd841ee00` (merge commit
|
|
6
|
-
`Merge branch 'secure-video' into camera.ui`). The fork adds HAP service
|
|
7
|
-
definitions, TLV codecs, `SecureVideoController`, WebRTC/Multi-Tier RTP
|
|
8
|
-
delegates, Secure Video credentials, HDS snapshots and CMAF ingest. It is the
|
|
9
|
-
same HAP API consumed by the official Camera.UI HomeKit plugin. This adoption
|
|
10
|
-
provides protocol contracts and runtime support; it does not by itself make
|
|
11
|
-
HomeKit 4K's WebRTC, SFrame, recording, or Apple interoperability complete.
|
|
12
|
-
|
|
13
|
-
HomeKit 4K maintains a local patch to `src/lib/util/hapCrypto.ts`. The module
|
|
14
|
-
keeps HAP's pair-setup, pair-verify, Data Stream and EventedHTTP callers, nonce
|
|
15
|
-
counters, zero-left-padding for short nonces, little-endian frame-length AAD,
|
|
16
|
-
0x400-byte framing and 16-byte authentication tags. It routes the existing
|
|
17
|
-
seal/open calls through one provider abstraction. `NATIVE` uses `node:crypto`;
|
|
18
|
-
`PORTABLE` uses the RFC 8439 ChaCha20-Poly1305 IETF primitive from
|
|
19
|
-
`@noble/ciphers`; authentication failures still throw before plaintext is
|
|
20
|
-
returned.
|
|
21
|
-
|
|
22
|
-
`scripts/build-vendored-hap.mjs` deterministically transpiles the maintained
|
|
23
|
-
TypeScript crypto source and copies the runtime distribution into Camera.UI
|
|
24
|
-
bundle assets. The package is pinned as a local dependency, avoiding mutable
|
|
25
|
-
post-install edits to `node_modules`.
|
|
26
|
-
|
|
27
|
-
HomeKit 4K patches the vendored CMAF ingest client to send DASH-IF Interface 1
|
|
28
|
-
init and media boxes unchanged over the provisioned mTLS connection. The
|
|
29
|
-
previous implementation wrapped each MP4 object in an external IV/ciphertext/
|
|
30
|
-
tag envelope while retaining an MP4 content type; production logs showed the
|
|
31
|
-
publishing point rejecting the resulting init with HTTP 400. The CMAF delegate
|
|
32
|
-
supplies Opus audio and HEVC video. Apple Home acceptance remains an empirical
|
|
33
|
-
gate and is not claimed by this patch or its local tests.
|
|
34
|
-
|
|
35
|
-
Upstream HAP copyright and Apache-2.0 `LICENSE` are retained. The portable
|
|
36
|
-
provider dependency retains its own MIT license. See `docs/security.md` for the
|
|
37
|
-
provider selection and audit limitations.
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://homebridge.io"><img src="https://raw.githubusercontent.com/homebridge/branding/latest/logos/homebridge-color-round-stylized.png" height="140"></a>
|
|
3
|
-
</p>
|
|
4
|
-
<span align="center">
|
|
5
|
-
|
|
6
|
-
# HAP-NodeJS
|
|
7
|
-
|
|
8
|
-
<a href="https://www.npmjs.com/package/@homebridge/hap-nodejs"><img title="npm version" src="https://shields.io/npm/v/@homebridge/hap-nodejs" ></a>
|
|
9
|
-
<a href="https://www.npmjs.com/package/@homebridge/hap-nodejs/v/beta"><img title="npm version beta" src="https://shields.io/npm/v/@homebridge/hap-nodejs/beta" ></a>
|
|
10
|
-
<a href="https://www.npmjs.com/package/@homebridge/hap-nodejs/v/alpha"><img title="npm version alpha" src="https://shields.io/npm/v/@homebridge/hap-nodejs/alpha" ></a><br>
|
|
11
|
-
<a href="https://www.npmjs.com/package/@homebridge/hap-nodejs"><img title="npm downloads" src="https://shields.io/npm/dt/@homebridge/hap-nodejs" ></a>
|
|
12
|
-
<a href="https://github.com/homebridge/HAP-NodeJS/actions/workflows/build.yml"><img title="Node Build" src="https://github.com/homebridge/HAP-NodeJS/actions/workflows/build.yml/badge.svg" ></a>
|
|
13
|
-
<a href='https://coveralls.io/github/homebridge/HAP-NodeJS'><img src='https://coveralls.io/repos/github/homebridge/HAP-NodeJS/badge.svg' alt='Coverage Status' /></a>
|
|
14
|
-
|
|
15
|
-
</span>
|
|
16
|
-
|
|
17
|
-
HAP-NodeJS is an implementation of the HomeKit Accessory Server as specified in the HomeKit Accessory Protocol (HAP),
|
|
18
|
-
which is defined by Apple as part of the HomeKit Framework.
|
|
19
|
-
|
|
20
|
-
HAP-NodeJS is intended to be used as a library to easily create your own HomeKit Accessory on a Raspberry Pi,
|
|
21
|
-
Intel Edison, or any other platform that can run Node.js :)
|
|
22
|
-
If you are searching for a pluggable HomeKit bridge with over a thousand community driven plugins to bring HomeKit
|
|
23
|
-
support to devices which do not support HomeKit out of the box, you may want to look at the
|
|
24
|
-
[homebridge][project-homebridge] project (which also uses HAP-NodeJS internally).
|
|
25
|
-
|
|
26
|
-
The implementation tries to follow the HAP specification as close as it can, but may differ in some cases.
|
|
27
|
-
HAP-NodeJS is not an Apple certified HAP implementation, as this is only available to members of the MFi program.
|
|
28
|
-
|
|
29
|
-
## Getting started
|
|
30
|
-
|
|
31
|
-
You may start by having a look at our [Wiki][wiki], especially have a look at the
|
|
32
|
-
[Important HomeKit Terminology][hk-terminology] used in this project.
|
|
33
|
-
|
|
34
|
-
There is also a pretty detailed guide on [how to start developing with HAP-NodeJS][dev-guide].
|
|
35
|
-
Or you may just have a look at our [examples][examples-repo] repository
|
|
36
|
-
(or some of the old [accessory examples][example-accessories]).
|
|
37
|
-
|
|
38
|
-
The documentation (WIP) can be found [here](https://developers.homebridge.io/HAP-NodeJS/modules.html).
|
|
39
|
-
|
|
40
|
-
See the FAQ on how to enable [debug output][faq-debug] for HAP-NodeJS.
|
|
41
|
-
|
|
42
|
-
## Projects based on HAP-NodeJS
|
|
43
|
-
|
|
44
|
-
- [Homebridge][project-homebridge] - HomeKit support for the impatient - Pluggable HomeKit Bridge.
|
|
45
|
-
Plugins available for e.g. Pilight, Telldus TDtool, Savant, Netatmo, Open Pixel Control, HomeWizard, Fritz!Box,
|
|
46
|
-
LG WebOS TV, Home Assistant, HomeMatic and many more.
|
|
47
|
-
- [OpenHAB-HomeKit-Bridge][project-openhab-homekit-bridge] - OpenHAB HomeKit Bridge bridges openHAB items to
|
|
48
|
-
Apples HomeKit Accessory Protocol.
|
|
49
|
-
- [homekit2mqtt][project-homekit2mqtt] - HomeKit to MQTT bridge.
|
|
50
|
-
- [pimatic-hap][project-pimatic-hap] - Pimatic homekit bridge.
|
|
51
|
-
- [node-red-contrib-homekit][project-node-red-contrib-homekit] - Node-RED nodes to simulate Apple HomeKit devices.
|
|
52
|
-
- [ioBroker.homekit][project-ioBroker-homekit] - connect ioBroker to HomeKit.
|
|
53
|
-
- [AccessoryServer][project-accessoryserver] - HomeKit integration for IR/RF/IP-devices
|
|
54
|
-
|
|
55
|
-
## Notes
|
|
56
|
-
|
|
57
|
-
Special thanks to [Alex Skalozub][link-alex-skalozub], who reverse-engineered the server side HAP.
|
|
58
|
-
~~You can find his research [here][link-homekit-research].~~
|
|
59
|
-
(Sadly, on Nov 4 2014, Apple sent the [DMCA][link-apple-dmca] request to GitHub to remove the research.)
|
|
60
|
-
|
|
61
|
-
[There](https://www.instagram.com/p/t4cPlcDksQ/) is a video demo running this project on Intel Edison.
|
|
62
|
-
|
|
63
|
-
If you are interested in HAP over BTLE, you might want to check [this][link-hap-over-btle].
|
|
64
|
-
|
|
65
|
-
<!-- links -->
|
|
66
|
-
|
|
67
|
-
[wiki]: https://github.com/homebridge/HAP-NodeJS/wiki
|
|
68
|
-
[hk-terminology]: https://github.com/homebridge/HAP-NodeJS/wiki/HomeKit-Terminology
|
|
69
|
-
[dev-guide]: https://github.com/homebridge/HAP-NodeJS/wiki/Using-HAP-NodeJS-as-a-library
|
|
70
|
-
[faq-debug]: https://github.com/homebridge/HAP-NodeJS/wiki/FAQ#debug-mode
|
|
71
|
-
|
|
72
|
-
[examples-repo]: https://github.com/homebridge/HAP-NodeJS-examples
|
|
73
|
-
[example-accessories]: https://github.com/homebridge/HAP-NodeJS/tree/latest/src/accessories
|
|
74
|
-
|
|
75
|
-
[project-homebridge]: https://github.com/homebridge/homebridge
|
|
76
|
-
[project-openhab-homekit-bridge]: https://github.com/htreu/OpenHAB-HomeKit-Bridge
|
|
77
|
-
[project-homekit2mqtt]: https://github.com/hobbyquaker/homekit2mqtt
|
|
78
|
-
[project-pimatic-hap]: https://github.com/michbeck100/pimatic-hap
|
|
79
|
-
[project-node-red-contrib-homekit]: https://github.com/NRCHKB/node-red-contrib-homekit-bridged
|
|
80
|
-
[project-ioBroker-homekit]: https://github.com/ioBroker/ioBroker.homekit2
|
|
81
|
-
[project-accessoryserver]: https://github.com/Appyx/AccessoryServer
|
|
82
|
-
|
|
83
|
-
[link-alex-skalozub]: https://twitter.com/pieceofsummer
|
|
84
|
-
[link-homekit-research]: https://gist.github.com/pieceofsummer/13272bf76ac1d6b58a30
|
|
85
|
-
[link-apple-dmca]: https://github.com/github/dmca/blob/master/2014/2014-11-04-Apple.md
|
|
86
|
-
[link-hap-over-btle]: https://gist.github.com/KhaosT/6ff09ba71d306d4c1079
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AirConditioner_accessory.d.ts","sourceRoot":"","sources":["../../src/accessories/AirConditioner_accessory.ts"],"names":[],"mappings":""}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// In This example we create an air conditioner Accessory that Has a Thermostat linked to a Fan Service.
|
|
3
|
-
// For example, I've also put a Light Service that should be hidden to represent a light in the closet that is part of the AC.
|
|
4
|
-
// It is to show how to hide services.
|
|
5
|
-
// The linking and Hiding does NOT appear to be reflected in Home
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
// here's a fake hardware device that we'll expose to HomeKit
|
|
8
|
-
const __1 = require("..");
|
|
9
|
-
const ACTest_data = {
|
|
10
|
-
fanPowerOn: false,
|
|
11
|
-
rSpeed: 100,
|
|
12
|
-
CurrentHeatingCoolingState: 1,
|
|
13
|
-
TargetHeatingCoolingState: 1,
|
|
14
|
-
CurrentTemperature: 33,
|
|
15
|
-
TargetTemperature: 32,
|
|
16
|
-
TemperatureDisplayUnits: 1,
|
|
17
|
-
LightOn: false,
|
|
18
|
-
};
|
|
19
|
-
// This is the Accessory that we'll return to HAP-NodeJS that represents our fake fan.
|
|
20
|
-
const ACTest = exports.accessory = new __1.Accessory("Air Conditioner", __1.uuid.generate("hap-nodejs:accessories:airconditioner"));
|
|
21
|
-
// Add properties for publishing (in case we're using Core.js and not BridgedCore.js)
|
|
22
|
-
// @ts-expect-error: Core/BridgeCore API
|
|
23
|
-
ACTest.username = "1A:2B:3C:4D:5E:FF";
|
|
24
|
-
// @ts-expect-error: Core/BridgeCore API
|
|
25
|
-
ACTest.pincode = "031-45-154";
|
|
26
|
-
ACTest.category = 9 /* Categories.THERMOSTAT */;
|
|
27
|
-
// set some basic properties (these values are arbitrary and setting them is optional)
|
|
28
|
-
ACTest
|
|
29
|
-
.getService(__1.Service.AccessoryInformation)
|
|
30
|
-
.setCharacteristic(__1.Characteristic.Manufacturer, "Sample Company");
|
|
31
|
-
// listen for the "identify" event for this Accessory
|
|
32
|
-
ACTest.on("identify" /* AccessoryEventTypes.IDENTIFY */, (paired, callback) => {
|
|
33
|
-
console.log("Fan Identified!");
|
|
34
|
-
callback(); // success
|
|
35
|
-
});
|
|
36
|
-
// Add the actual Fan Service and listen for change events from iOS.
|
|
37
|
-
const FanService = ACTest.addService(__1.Service.Fan, "Blower"); // services exposed to the user should have "names" like "Fake Light" for us
|
|
38
|
-
FanService.getCharacteristic(__1.Characteristic.On)
|
|
39
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
40
|
-
console.log("Fan Power Changed To " + value);
|
|
41
|
-
ACTest_data.fanPowerOn = value;
|
|
42
|
-
callback(); // Our fake Fan is synchronous - this value has been successfully set
|
|
43
|
-
});
|
|
44
|
-
// We want to intercept requests for our current power state so we can query the hardware itself instead of
|
|
45
|
-
// allowing HAP-NodeJS to return the cached Characteristic.value.
|
|
46
|
-
FanService.getCharacteristic(__1.Characteristic.On)
|
|
47
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
48
|
-
// this event is emitted when you ask Siri directly whether your fan is on or not. you might query
|
|
49
|
-
// the fan hardware itself to find this out, then call the callback. But if you take longer than a
|
|
50
|
-
// few seconds to respond, Siri will give up.
|
|
51
|
-
const err = null; // in case there were any problems
|
|
52
|
-
if (ACTest_data.fanPowerOn) {
|
|
53
|
-
callback(err, true);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
callback(err, false);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
// also add an "optional" Characteristic for speed
|
|
60
|
-
FanService.addCharacteristic(__1.Characteristic.RotationSpeed)
|
|
61
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
62
|
-
callback(null, ACTest_data.rSpeed);
|
|
63
|
-
})
|
|
64
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
65
|
-
console.log("Setting fan rSpeed to %s", value);
|
|
66
|
-
ACTest_data.rSpeed = value;
|
|
67
|
-
callback();
|
|
68
|
-
});
|
|
69
|
-
const ThermostatService = ACTest.addService(__1.Service.Thermostat, "Thermostat");
|
|
70
|
-
ThermostatService.addLinkedService(FanService);
|
|
71
|
-
ThermostatService.setPrimaryService();
|
|
72
|
-
ThermostatService.getCharacteristic(__1.Characteristic.CurrentHeatingCoolingState)
|
|
73
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
74
|
-
callback(null, ACTest_data.CurrentHeatingCoolingState);
|
|
75
|
-
})
|
|
76
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
77
|
-
ACTest_data.CurrentHeatingCoolingState = value;
|
|
78
|
-
console.log("Characteristic CurrentHeatingCoolingState changed to %s", value);
|
|
79
|
-
callback();
|
|
80
|
-
});
|
|
81
|
-
ThermostatService.getCharacteristic(__1.Characteristic.TargetHeatingCoolingState)
|
|
82
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
83
|
-
callback(null, ACTest_data.TargetHeatingCoolingState);
|
|
84
|
-
})
|
|
85
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
86
|
-
ACTest_data.TargetHeatingCoolingState = value;
|
|
87
|
-
console.log("Characteristic TargetHeatingCoolingState changed to %s", value);
|
|
88
|
-
callback();
|
|
89
|
-
});
|
|
90
|
-
ThermostatService.getCharacteristic(__1.Characteristic.CurrentTemperature)
|
|
91
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
92
|
-
callback(null, ACTest_data.CurrentTemperature);
|
|
93
|
-
})
|
|
94
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
95
|
-
ACTest_data.CurrentTemperature = value;
|
|
96
|
-
console.log("Characteristic CurrentTemperature changed to %s", value);
|
|
97
|
-
callback();
|
|
98
|
-
});
|
|
99
|
-
ThermostatService.getCharacteristic(__1.Characteristic.TargetTemperature)
|
|
100
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
101
|
-
callback(null, ACTest_data.TargetTemperature);
|
|
102
|
-
})
|
|
103
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
104
|
-
ACTest_data.TargetTemperature = value;
|
|
105
|
-
console.log("Characteristic TargetTemperature changed to %s", value);
|
|
106
|
-
callback();
|
|
107
|
-
});
|
|
108
|
-
ThermostatService.getCharacteristic(__1.Characteristic.TemperatureDisplayUnits)
|
|
109
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
110
|
-
callback(null, ACTest_data.TemperatureDisplayUnits);
|
|
111
|
-
})
|
|
112
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
113
|
-
ACTest_data.TemperatureDisplayUnits = value;
|
|
114
|
-
console.log("Characteristic TemperatureDisplayUnits changed to %s", value);
|
|
115
|
-
callback();
|
|
116
|
-
});
|
|
117
|
-
const LightService = ACTest.addService(__1.Service.Lightbulb, "AC Light");
|
|
118
|
-
LightService.getCharacteristic(__1.Characteristic.On)
|
|
119
|
-
.on("get" /* CharacteristicEventTypes.GET */, (callback) => {
|
|
120
|
-
callback(null, ACTest_data.LightOn);
|
|
121
|
-
})
|
|
122
|
-
.on("set" /* CharacteristicEventTypes.SET */, (value, callback) => {
|
|
123
|
-
ACTest_data.LightOn = value;
|
|
124
|
-
console.log("Characteristic Light On changed to %s", value);
|
|
125
|
-
callback();
|
|
126
|
-
});
|
|
127
|
-
LightService.setHiddenService();
|
|
128
|
-
//# sourceMappingURL=AirConditioner_accessory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AirConditioner_accessory.js","sourceRoot":"","sources":["../../src/accessories/AirConditioner_accessory.ts"],"names":[],"mappings":";AAAA,wGAAwG;AACxG,8HAA8H;AAC9H,sCAAsC;AACtC,iEAAiE;;AAEjE,6DAA6D;AAC7D,0BAWY;AAGZ,MAAM,WAAW,GAAwC;IACvD,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,GAAG;IACX,0BAA0B,EAAE,CAAC;IAC7B,yBAAyB,EAAE,CAAC;IAC5B,kBAAkB,EAAE,EAAE;IACtB,iBAAiB,EAAE,EAAE;IACrB,uBAAuB,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK;CACf,CAAC;AAEF,sFAAsF;AACtF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,aAAS,CAAC,iBAAiB,EAAE,QAAI,CAAC,QAAQ,CAAC,uCAAuC,CAAC,CAAC,CAAC;AAE5H,qFAAqF;AACrF,wCAAwC;AACxC,MAAM,CAAC,QAAQ,GAAG,mBAAmB,CAAC;AACtC,wCAAwC;AACxC,MAAM,CAAC,OAAO,GAAG,YAAY,CAAC;AAC9B,MAAM,CAAC,QAAQ,gCAAwB,CAAC;AAExC,sFAAsF;AACtF,MAAM;KACH,UAAU,CAAC,WAAO,CAAC,oBAAoB,CAAE;KACzC,iBAAiB,CAAC,kBAAc,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;AAEpE,qDAAqD;AACrD,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,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AACtE,YAAY,CAAC,iBAAiB,CAAC,kBAAc,CAAC,EAAE,CAAE;KAC/C,EAAE,2CAA+B,CAAC,QAAmC,EAAE,EAAE;IACxE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;AACtC,CAAC,CAAC;KACD,EAAE,2CAA+B,CAAC,KAA0B,EAAE,QAAmC,EAAE,EAAE;IACpG,WAAW,CAAC,OAAO,GAAC,KAAK,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAE,uCAAuC,EAAC,KAAK,CAAC,CAAC;IAC5D,QAAQ,EAAE,CAAC;AACb,CAAC,CAAC,CAAC;AACL,YAAY,CAAC,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppleTVRemote_accessory.d.ts","sourceRoot":"","sources":["../../src/accessories/AppleTVRemote_accessory.ts"],"names":[],"mappings":""}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const escape_html_1 = tslib_1.__importDefault(require("escape-html"));
|
|
5
|
-
const __1 = require("..");
|
|
6
|
-
const http = tslib_1.__importStar(require("http"));
|
|
7
|
-
const url_1 = tslib_1.__importDefault(require("url"));
|
|
8
|
-
const gstreamer_audioProducer_1 = require("./gstreamer-audioProducer");
|
|
9
|
-
const remoteUUID = __1.uuid.generate("hap-nodejs:accessories:remote");
|
|
10
|
-
const remote = exports.accessory = new __1.Accessory("Remote", remoteUUID);
|
|
11
|
-
// @ts-expect-error: Core/BridgeCore API
|
|
12
|
-
remote.username = "DB:AF:E0:5C:69:76";
|
|
13
|
-
// @ts-expect-error: Core/BridgeCore API
|
|
14
|
-
remote.pincode = "874-23-897";
|
|
15
|
-
remote.category = 32 /* Categories.TARGET_CONTROLLER */;
|
|
16
|
-
// ----------------- for siri support -----------------
|
|
17
|
-
// CHANGE this to enable siri support. Read docs in 'gstreamer-audioProducer.ts' for necessary package dependencies
|
|
18
|
-
const siriSupport = false;
|
|
19
|
-
const gstreamerOptions = { // any configuration regarding the producer can be made here
|
|
20
|
-
};
|
|
21
|
-
// ----------------------------------------------------
|
|
22
|
-
const controller = siriSupport
|
|
23
|
-
? new __1.RemoteController(gstreamer_audioProducer_1.GStreamerAudioProducer, gstreamerOptions)
|
|
24
|
-
: new __1.RemoteController();
|
|
25
|
-
remote.configureController(controller);
|
|
26
|
-
/*
|
|
27
|
-
This example plugin exposes an simple http api to interact with the remote and play around.
|
|
28
|
-
The supported routes are listed below. The http server runs on port 8080 as default.
|
|
29
|
-
This example should not be used except for testing as the http server is unsecured.
|
|
30
|
-
|
|
31
|
-
/listTargets - list all currently configured apple tvs and their respective configuration
|
|
32
|
-
/getActiveTarget - return the current target id of the controlled device
|
|
33
|
-
/getActive - get the value of the active characteristic (active means the apple tv for the activeTarget is listening)
|
|
34
|
-
|
|
35
|
-
/press?button=<buttonId>&time=<timeInMS> - presses a given button for a given time. Time is optional and defaults to 200ms
|
|
36
|
-
/button?button=<buttonId>&state=<stateId> - send a single button event
|
|
37
|
-
/getTargetId?name=<name of apple TV> - get the target identifier for the given name of the apple tv
|
|
38
|
-
/setActiveTarget?identifier=<id> - set currently controlled apple tv
|
|
39
|
-
*/
|
|
40
|
-
http.createServer((request, response) => {
|
|
41
|
-
if (request.method !== "GET") {
|
|
42
|
-
response.writeHead(405, { "Content-Type": "text/html" });
|
|
43
|
-
response.end("Method Not Allowed");
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
const parsedPath = url_1.default.parse(request.url, true);
|
|
47
|
-
const pathname = parsedPath.pathname.substring(1, parsedPath.pathname.length);
|
|
48
|
-
const query = parsedPath.query;
|
|
49
|
-
if (pathname === "setActiveTarget") {
|
|
50
|
-
if (query === undefined || query.identifier === undefined) {
|
|
51
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
52
|
-
response.end("Bad request. Must include 'identifier' in query string!");
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const targetIdentifier = parseInt(query.identifier, 10);
|
|
56
|
-
if (!controller.isConfigured(targetIdentifier)) {
|
|
57
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
58
|
-
response.end("Bad request. No target found for given identifier " + targetIdentifier);
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
controller.setActiveIdentifier(targetIdentifier);
|
|
62
|
-
response.writeHead(200, { "Content-Type": "text/html" });
|
|
63
|
-
response.end("OK");
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
else if (pathname === "getActiveTarget") {
|
|
67
|
-
response.writeHead(200, { "Content-Type": "text/html" });
|
|
68
|
-
response.end(controller.activeIdentifier + "");
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
else if (pathname === "getTargetId") {
|
|
72
|
-
if (query === undefined || query.name === undefined) {
|
|
73
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
74
|
-
response.end("Bad request. Must include 'name' in query string!");
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
const targetIdentifier = controller.getTargetIdentifierByName(query.name);
|
|
78
|
-
if (targetIdentifier === undefined) {
|
|
79
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
80
|
-
response.end("Bad request. No target found for given name " + (0, escape_html_1.default)(query.name + ""));
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
response.writeHead(200, { "Content-Type": "text/html" });
|
|
84
|
-
response.end("" + targetIdentifier);
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
else if (pathname === "button") {
|
|
88
|
-
if (query === undefined || query.state === undefined || query.button === undefined) {
|
|
89
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
90
|
-
response.end("Bad request. Must include 'state' and 'button' in query string!");
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const buttonState = parseInt(query.state, 10);
|
|
94
|
-
const button = parseInt(query.button, 10);
|
|
95
|
-
// @ts-expect-error: forceConsistentCasingInFileNames compiler option
|
|
96
|
-
if (__1.ButtonState[buttonState] === undefined) {
|
|
97
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
98
|
-
response.end("Bad request. Unknown button state " + (0, escape_html_1.default)(query.state + ""));
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
// @ts-expect-error: forceConsistentCasingInFileNames compiler option
|
|
102
|
-
if (__1.ButtonType[button] === undefined) {
|
|
103
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
104
|
-
response.end("Bad request. Unknown button " + (0, escape_html_1.default)(query.button + ""));
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
if (buttonState === 0 /* ButtonState.UP */) {
|
|
108
|
-
controller.releaseButton(button);
|
|
109
|
-
}
|
|
110
|
-
else if (buttonState === 1 /* ButtonState.DOWN */) {
|
|
111
|
-
controller.pushButton(button);
|
|
112
|
-
}
|
|
113
|
-
response.writeHead(200, { "Content-Type": "text/html" });
|
|
114
|
-
response.end("OK");
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
else if (pathname === "press") {
|
|
118
|
-
if (query === undefined || query.button === undefined) {
|
|
119
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
120
|
-
response.end("Bad request. Must include 'button' in query string!");
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
let time = 200;
|
|
124
|
-
if (query.time !== undefined) {
|
|
125
|
-
const parsedTime = parseInt(query.time, 10);
|
|
126
|
-
if (parsedTime) {
|
|
127
|
-
time = parsedTime;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
const button = parseInt(query.button, 10);
|
|
131
|
-
// @ts-expect-error: forceConsistentCasingInFileNames compiler option
|
|
132
|
-
if (__1.ButtonType[button] === undefined) {
|
|
133
|
-
response.writeHead(400, { "Content-Type": "text/html" });
|
|
134
|
-
response.end("Bad request. Unknown button " + (0, escape_html_1.default)(query.button + ""));
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
controller.pushAndReleaseButton(button, time);
|
|
138
|
-
response.writeHead(200, { "Content-Type": "text/html" });
|
|
139
|
-
response.end("OK");
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
else if (pathname === "listTargets") {
|
|
143
|
-
const targets = controller.targetConfigurations;
|
|
144
|
-
response.writeHead(200, { "Content-Type": "application/json" });
|
|
145
|
-
response.end(JSON.stringify(targets, undefined, 4));
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
else if (pathname === "getActive") {
|
|
149
|
-
response.writeHead(200, { "Content-Type": "text/html" });
|
|
150
|
-
response.end(controller.isActive() ? "true" : "false");
|
|
151
|
-
return;
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
response.writeHead(404, { "Content-Type": "text/html" });
|
|
155
|
-
response.end("Not Found. No path found for " + (0, escape_html_1.default)(pathname));
|
|
156
|
-
return;
|
|
157
|
-
}
|
|
158
|
-
}).listen(8080);
|
|
159
|
-
//# sourceMappingURL=AppleTVRemote_accessory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppleTVRemote_accessory.js","sourceRoot":"","sources":["../../src/accessories/AppleTVRemote_accessory.ts"],"names":[],"mappings":";;;AAAA,sEAAqC;AACrC,0BAA4F;AAC5F,mDAA6B;AAC7B,sDAA8C;AAC9C,uEAAqF;AAErF,MAAM,UAAU,GAAG,QAAI,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC;AAClE,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,aAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AAEvE,wCAAwC;AACxC,MAAM,CAAC,QAAQ,GAAG,mBAAmB,CAAC;AACtC,wCAAwC;AACxC,MAAM,CAAC,OAAO,GAAG,YAAY,CAAC;AAC9B,MAAM,CAAC,QAAQ,w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