Idle power consumption NUC8i7BEH
I measured the NUC8i7BEH:
- Fully idle in Linux: 4W
- Lightly loaded in Linux (running 1 VM of Home Assistant and a few containers): ~10W
I measured the NUC8i7BEH:
When you wish to change the default link sharing type for Teams channels in Office/Microsoft 365, the SharePoint admin interface is lacking the options to configure for this. This is now also mentioned in the SharePoint documentation since this GitHub PR, but the updated SP documentation does not go into detail on the exacts steps to take. To bridge the gap, this post will provide a script that you can use.
The following code will solve this problem by looping through all SharePoint sites and setting the default link sharing option to “people with existing access”, which was my use case. You can tweak the script to your requirements.
$admin_site_url = "https://<YOUR_SITE>.sharepoint.com" Connect-SPOService -Url $admin_site_url $site_collections = Get-SPOSite -Limit All Foreach ($site in $site_collections) { Write-Host $site.Url Set-SPOSite -identity $site.Url -DefaultLinkToExistingAccess $true }
Joplin-server is a nice solution to sync multiple Joplin instances. In fact, you can even use it to sync only a subset of your notebooks to certain devices by providing different user accounts for those devices and using the notebook-sharing functionality in Joplin-server.
I did find in Joplin-server that syncing shared encrypted notebooks didn’t always succeed in sharing the master keys. One workaround — if you own all the accounts, of course — is to use a single master key with a very strong password.
To achieve this:
.env
if you used docker-compose). Go to the table ‘items’;[...] content LIKE '%activeMasterKeyId%'
(should only hit for ‘info.json’);content
and content_size
fields of your primary account to those of your secondary account (you can determine primary and secondary by comparing the keys with those found in Joplin->Settings->Encryption);~/.config/joplin-desktop/database.sqlite
and also insert the primary master key data into table ‘settings’ -> field ‘syncInfoCache’;When using lights in automations to inform the users (e.g., using light.turn_on
with the flash
property), you’ll want to reset the lights to their previous state after the automation is completed. In case of Hue lights it doesn’t seem to work to expand()
the automatically-added light groups. What I’ve opted for instead, is to retrieve the entity_ids from an area and use this as input for scene.create
(which requires, of course, that you assign each of the Hue lights to an area inside Home Assistant, which I find this an acceptable trade-off).
Since I use Node-RED for my automations, I do the following:
{% for entity in expand(area_entities('<NAME_OF_YOUR_AREA>')) | selectattr('entity_id', 'match', 'light.*') %}
{{ entity.entity_id }}{%- if not loop.last %}, {% endif -%}
{% endfor %}
scene.create
with data { "scene_id": "before", "snapshot_entities": $.payload }
hue.hue_activate_scene
, flashing lights, etc.>scene.turn_on
with data { "entity_id": "scene.before" }
I can confirm that the Petoneer Nutri Mini (a.k.a. Pettadore Nutri Fresh) can be controlled via the local Wi-Fi by Home Assistant. This can be achieved using the localtuya integration, which means that you have no dependency on the cloud.
Steps:
- express_feeding: mode: queued max: 10 sequence: - service: switch.turn_off target: entity_id: switch.feeder - service: switch.turn_on target: entity_id: switch.feeder - delay: 3
Now you can call this script in your automations to dispense food at conditions such as pets being indoors, specific times, etc.
Update fall 2022: I found that DPS 14 is for whether the device is empty.