This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Prepare the Rivian | |
sequence: | |
- repeat: | |
while: | |
- condition: state | |
entity_id: sensor.r1t_power_state | |
state: Sleep | |
sequence: | |
- service: button.press | |
target: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From com.rivian.android.consumer.v2.17.0 | |
"mutation acceptDelivery($orderId: ID!) { acceptDelivery(input: { orderId: $orderId } ) { vehicleId } }" | |
"mutation AcceptVehicleInvite($inviteId: String!) { acceptVehicleInvite(inviteId: $inviteId) { success } }" | |
"mutation activateSubscription($productId: String!, $vehicleId: String!) { activateSubscription(productId: $productId, vehicleId: $vehicleId) { success } }" | |
"mutation activateWallbox($wallboxId: String!) { activateWallbox(wallboxId: $wallboxId) { linked } }" | |
"mutation cancelAppointment($input: CancelAppointmentWorkOrderInput!) { cancelAppointmentWorkorder(input: $input) { id } }" | |
"mutation cancelSubscription($subscriptionId: String!, $reason: String!) { cancelSubscription(subscriptionId: $subscriptionId, reason: $reason) { success } }" | |
"mutation CancelVehicleInvite($inviteId: String!) { cancelVehicleInvite(inviteId: $inviteId) { success } }" | |
"mutation ConsumerReschedule($input: RescheduleWorkOrderAppointmentInput!) { consumerReschedule(input: $input) { fail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: custom:config-template-card | |
variables: | |
FIND_SPAN: | | |
temp => { | |
if (temp == 'unknown') { | |
return '12h'; | |
} | |
else { | |
return temp+'s'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Rivian Software Update Notification | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.rivian_telematics_ota_status_status | |
condition: | |
- condition: template | |
value_template: |- | |
{{ trigger.to_state.state != trigger.from_state.state and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from apk 2.17.0 | |
activeDriverName | |
alarmSoundStatus | |
batteryCellType | |
batteryHvThermalEvent | |
batteryHvThermalEventPropagation | |
batteryLevel | |
batteryLimit | |
batteryNeedsLfpCalibration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abrp_request: | |
url: > | |
{% set token = "REPLACE_ME_WTH_ABRP_TOKEN" %} | |
{% set params = [] %} | |
{% set params = params + ['"utc":' ~ now().timestamp()] %} | |
{% set params = params + ['"soc":' ~ states('sensor.r1t_battery_state_of_charge')] %} | |
{% set params = params + ['"lat":' ~ state_attr('device_tracker.r1t_location', 'latitude')] %} | |
{% set params = params + ['"lon":' ~ state_attr('device_tracker.r1t_location', 'longitude')] %} | |
{% set params = params + ['"heading":' ~ states('sensor.r1t_bearing')] %} | |
{% set params = params + ['"speed":' ~ (0 if is_state('sensor.r1t_gear_selector', 'Park') else states('sensor.r1t_speed') | float * 1.609344)] %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"body/alarm/sound_alarm" | |
"body/closures/door_FL_locked_state" | |
"body/closures/door_FL_state" | |
"body/closures/door_FR_locked_state" | |
"body/closures/door_FR_state" | |
"body/closures/door_RL_locked_state" | |
"body/closures/door_RL_state" | |
"body/closures/door_RR_locked_state" | |
"body/closures/door_RR_state" | |
"body/closures/front_left_window_state" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DOWNLOAD_DIR="/volume1/media/downloads/" | |
COMMAND="find $DOWNLOAD_DIR -maxdepth 1 ! -path '$DOWNLOAD_DIR' ! -name '@eaDir'" | |
IFS=$'\n'; for i in $(psql -t -A -U postgres -d download -c "SELECT filename from Download_queue"); do COMMAND="$COMMAND ! -name '$i'"; done | |
COMMAND="$COMMAND -exec rm -rf {} \;" | |
eval $COMMAND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DOMAIN="domain.com" | |
DIR=yX5cfM | |
openssl pkcs12 -export -out /volume1/Plex/$DOMAIN.pfx -passout pass: -in /usr/syno/etc/certificate/_archive/$DIR/cert.pem \ | |
-inkey /usr/syno/etc/certificate/_archive/$DIR/privkey.pem \ | |
-certfile /usr/syno/etc/certificate/_archive/$DIR/chain.pem -name $DOMAIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PREAMBLE="\x19\x00\x00\x02\x00\x00\x0d\xe9\x30\x30\x44\x30\x39\x45\x2d" # For Pace 5268AC | |
SERIAL=00000A000000 | |
WAN=eth0.0 | |
LAN=eth1 | |
to_shellcode() | |
{ | |
counter=0 |
NewerOlder