Skip to content

Instantly share code, notes, and snippets.

View emansom's full-sized avatar

Ewout van Mansom emansom

  • Groningen, The Netherlands
  • 05:32 (UTC +02:00)
  • LinkedIn in/emansom
View GitHub Profile
@emansom
emansom / companion-app-log.md
Created December 12, 2022 23:47
Home Assistant Companion App (Android) logs on Android 9

To aid in debugging the dark mode problems

Ran on a moto e6 plus, Android 9, latest beta release of the companion app. As well as latest WebView through the Play Store.

The bug being that it always triggers the light theme, despite what Home Assistant is set to.

Android 9 has no native dark mode functionality.

--------- beginning of main
@emansom
emansom / gist:704ba4c06d18dc54415016427b522d92
Created December 12, 2022 23:33
Home Assistant Companion App (Android) logs on Android 9

To aid in debugging the dark mode problems

Ran on a moto e6 plus, Android 9, latest beta release of the companion app. As well as latest WebView through the Play Store.

The bug being that it always triggers the light theme, despite what Home Assistant is set to.

Android 9 has no native dark mode functionality.

--------- beginning of main
[pcbu.nl:443] 9/14/2022, 2:26:55 PM.69 debug: Running VideoChannelSyncLatestScheduler.internalExecute
[pcbu.nl:443] 9/14/2022, 2:26:55 PM.71 info: Processing viewer statistics.
[pcbu.nl:443] 9/14/2022, 2:26:55 PM.71 debug: Executed SQL request - Executing (default): SELECT "VideoRedundancyModel"."id", "VideoRedundancyModel"."expiresOn", "VideoRedundancyModel"."fileUrl", "VideoRedundancyModel"."url", "VideoRedundancyModel"."strategy", "VideoRedundancyModel"."videoFileId", "VideoRedundancyModel"."videoStreamingPlaylistId", "VideoRedundancyModel"."actorId", "VideoRedundancyModel"."createdAt", "VideoRedundancyModel"."updatedAt", "VideoFile"."id" AS "VideoFile.id", "VideoFile"."resolution" AS "VideoFile.resolution", "VideoFile"."size" AS "VideoFile.size", "VideoFile"."extname" AS "VideoFile.extname", "VideoFile"."infoHash" AS "VideoFile.infoHash", "VideoFile"."fps" AS "VideoFile.fps", "VideoFile"."metadataUrl" AS "VideoFile.metadataUrl", "VideoFile"."fileUrl" AS "VideoFile.fileUrl", "VideoFile"."filename" AS "Vide
@emansom
emansom / centos8-home-assistant.json
Last active February 19, 2021 20:25
Ansible collection installation failing in Packer
{
"provisioners": [
{
"type": "shell",
"inline": "dnf makecache && dnf -y install epel-release && dnf makecache && dnf install -y python39 libsodium python3-bcrypt python3-paramiko python3-pynacl sshpass python3-pyyaml python3-jinja2 platform-python-pip python3-pip && alternatives --set python /usr/bin/python3.9 && pip3 install ansible"
},
{
"type": "ansible-local",
"galaxy_file": "requirements.yml",
"playbook_file": "playbook.yml",