Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@apocaliss92/scrypted-homeassistant-utilities
Advanced tools
Homeassistant utilities created for Scrypted
https://github.com/apocaliss92/scrypted-homeassistant-utilities - For requests and bugs
This plugin was createdy for the necessity to hook some homeassistant mechanisms with Scrypted. The use case is the component Alarm (https://github.com/nielsfaber/alarmo) running on homeassistant to handle an alarm system. It would push over MQTT the currently active devices to monitor my home (cameras, proximity sensors, door/window sensors, lock sensors...) and take action when any of them would be triggered. The only complicated part of this was to send screenshots to my devices when this would happen. Scrypted helps exactly on this part.
This plugin offers the following parts:
After install the plugin a few configurations should be done on the plugin interface
https://nvr.scrypted.app
Use HA plugin credentials
to pick the one used on the main Homeassistant pluginbinary_sensor.{cameraName}_triggered
, an entry for this could be binary_sensor.(.*)_triggered
. Add any HA entity id you need to map with the scrypted devicesEntities
, contains all the entity ids discoveredy HARooms
, contains all the rooms discovered from HAFetch entities from HA
, fetch data from HA (entities and rooms)Use MQTT plugin credentials
to pick the one used on the main MQTT pluginActive entities topic
, MQTT topic to subscribe to activate/deactivate device notifications. The value is expected to be an array of strings and it can contain either the names of the camera or the entity ids or a mix of them. As long as each camera is correctly mapped, the plugin will automatically derive the devices to enableActive devices for MQTT reporting
, devices enabled on the MQTT interface, the plugin will publish the current status of the devices listedSnapshot width/height
- Dimensions of the snapshot for images to send over MQTTActive devices
, devices enabled for the notifications, they can be manually selected or triggered by the MQTT Active entities topic
topicNotifiers
, notifiers to be used to send notificationsContains a configurable text contains parameters to show the notification texts. Usefull for translations in local languages. The following parameters can be used:
${room}
- Room name of the device${time}
- Time string (as defined in the Detection time
text, default to new Date(${time}).toLocaleString() - i.e. '14/10/2024, 20:41:16'). Read https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString for more info${nvrLink}
- Public link to the nvr timeline of the camera${person}
- Person name detected in a familiar detection${plate}
- Plate detected in a vehicle detectionThese texts can be overridden for each notifier, an use case would be a whatsapp notifier, where there is no click action and an explicit link to the nvr can be shown
Combination of device-notifier-message to send a test notification to
Group Homeassistant utilities
Room
, Room the device belongs to. Can be used in the notifications. The selector shows the IDs of the areas coming from HA, notifications will use the friendly name insteadEntityID
, Entity ID of the HA entity to map. The default will be the autogenerated MQTT sensor name: binary_sensor.{cameraName}_triggered
Device class
, deviceClass to be used on the HA entity, any of https://www.home-assistant.io/integrations/binary_sensor/#device-class. Default to Motion
Use NVR detections
, forward and filter notifications coming from NVRUse NVR images
, keep NVR images, otherwise generate with pluginLinked camera
, camera linked to this sensor, will act as nearby sensor. Any trigger of the sensor will send a notification of the camera setWhitelisted zones
, zones that should trigger a notification/motionBlacklisted zones
, zones that should NOT trigger a notification/motionDetection classes
, detection classes that should trigger a notification/motionScore threshold for {eachDetectionClass}
, a specific threshold for each detection class enabled on the cameraAlways enabled
, enable notifications of this device regardless of the main activationAlways enabled zones
, zones that should ALWAYS trigger a notification/motion, regardless of the activation of the cameraHA actions
, actions to be included in the notification in form of JSON string, i.e. {"action":"open_door","title":"Open door","icon":"sfsymbols:door"}
Minimum notification delay
, override of the same plugin configSkip doorbell notifications
, sensors used as Custom doorbell button
on the camera will not trigger a notification (available only for Doorbell devices)Disable notifier {eachNotifier}
, if checked will disable notifications to the notifier for the specific cameraLast snapshot webhook
, enable the last snapshot webhook, below the public url where the image will be availableGroup Homeassistant utilities
Snapshot width/height
- Dimensions of the snapshot for images for the notifierAlways enabled classnames
- Classnames that will always trigger a notification on this notifierThe plugin gives the possiblity to just extend and filter the notifications coming from NVR. To enable this, you need to enable for the interested cameras the flag Use NVR detections
under Detection (Homeassistant utilities mixin). Afterwards you need to extend the notifiers with this extension and enable all the classes to want notifications for. A button will come later on to automatically synchronize the detection classes needed
0.0.6:
0.0.7:
0.0.12:
0.0.13:
0.0.15:
0.0.16:
0.0.17:
0.1.0:
0.1.1:
0.2.0:
0.2.3:
0.2.6:
0.3.0:
FAQs
Homeassistant utilities created for Scrypted
The npm package @apocaliss92/scrypted-homeassistant-utilities receives a total of 0 weekly downloads. As such, @apocaliss92/scrypted-homeassistant-utilities popularity was classified as not popular.
We found that @apocaliss92/scrypted-homeassistant-utilities demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.