casamote

TV features

Cameras, remote buttons, cinema mode, screensaver and security.

Cameras

In Settings › Cameras, choose Auto (video stream, snapshots as a fallback), Video stream for a fast network, or Snapshots for a modest TV. Full screen: ◀▶ next camera, ▲ change mode, OK 2×2 grid, Back to leave. Home Assistant sends MJPEG; Frigate uses its go2rtc restream (RTSP, port 8554), or the MJPEG of its API when the camera is not declared in go2rtc. If nothing shows, the screen tells you why (port closed, login refused, codec…).

⚙ menu and version

The gear at the top right opens a side panel: Systems, Keys, Settings, and the version number at the bottom.

Dimmable lights

OK opens the brightness slider (▲▼ or ◀▶ in 10 % steps, OK to apply, 0 % = off). To go back to OK = on/off: Settings › Dimmable lights. Thermostats follow the device's step (0.5° or 1°).

Wallpaper

Settings › Wallpaper: none, one photo a day, or a photo of your choice among 16 landscapes and cities. Free photos (CC0 / public domain, Wikimedia Commons) built into the app: no Internet connection.

Picture-in-corner video

Doorbell, detection (Frigate, IP camera) or Home Assistant event: the camera appears at the top right as live video (RTSP for Frigate and IP cameras, MJPEG for Home Assistant), with still images as a fallback if the stream does not start.

Frigate cameras

Two ways. Through Home Assistant (recommended): install the Frigate integration (HACS › Frigate, then Settings › Devices & services › Add › Frigate). It creates camera.<name> and the detection sensors, which Casamote picks up on its own. Directly: add a Frigate system with http://IP:5000, no login; in the Frigate add-on, open ports 5000 (API) and 8554 (go2rtc video) in the Network section. Or use the authenticated port: https://IP:8971 with a Frigate user / password, and accept the certificate when Test offers it.

Camera on detection

Settings › Show a camera on detection lists the cameras that can report a detection: Frigate cameras found in Home Assistant, and IP cameras whose ONVIF events answer (see below). Tick them: on each detection, the camera appears in a corner of the screen, even over another app. Option: any motion (otherwise people and objects only, when the camera can tell them apart). Display over other apps must be allowed (see adb).

IP camera detection (ONVIF)

Add the camera as an IP camera with its user / password: Casamote finds its ONVIF service on its own (port 2020 for Tapo, 80 for Hikvision, Dahua and Sonoff, 8000 for Reolink) and creates the Motion sensor and, if the camera supports it, Person. The system screen shows “Detection (ONVIF): active” or the error met. Tapo: create the “camera account” in the Tapo app (Advanced settings) and turn on motion or person detection in the app. Sonoff / eWeLink: enable RTSP in the eWeLink app. These sensors also work for the doorbell.

Search my network

Systems › Search my network (or on the phone page) scans the TV's local network for about fifteen seconds. Each hub or camera found opens the add screen already filled in; a camera also gets its brand's stream. Systems already added are greyed out. The search stays on your network and sends no credentials.

Show a camera from Home Assistant

Turn on Settings › Let Home Assistant show a camera, then add this action to an automation: - event: casamote_camera, event_data: {entity_id: camera.front_door, seconds: 30} or event_data: {camera: Interphone, seconds: 30}. No address or key to enter: Casamote already listens to Home Assistant. The token must belong to an administrator.

Hiding items

Long press a tile › Hide; to show it again: Systems › your hub › Hidden entities. In Settings › Hide on the home screen, hide whole categories (scenes…) or names: identifier = starts with, *identifier = ends with, *test* = contains.

Remote buttons

Buttons, pick a tile, then press the button to assign. Some TVs reserve their colour or Netflix buttons; the free Key Mapper app can then send them to a casamote://run/… link, shown in each tile's editor.

Cinema mode

Settings › Cinema mode: choose one tile for when a video starts and another for pause. Casamote reads only the play/pause state, never notification content. If the permission menu is missing on your TV:

adb shell cmd notification allow_listener app.casamote/app.casamote.cinema.MediaWatchService

Screensaver

Clock, date, sensors, and cameras with Pro. Choose it in Settings › Device preferences › Screen saver, or:

adb shell settings put secure screensaver_components app.casamote/app.casamote.dream.CasamoteDream

“Home” row on the home screen

Your favourites appear as a row on the Android TV home screen; OK runs the action. On Google TV, depending on the model, app rows may not be shown.

Gate, lock and alarm

Set a PIN in Settings. It is asked for every command. After five mistakes, entry is locked for a minute. These devices are excluded from links, buttons, groups and the local bridge.

Cameras over MQTT (Frigate)

Settings › Cameras › Cameras via MQTT: broker address (Mosquitto…), port, user and password, then Save. Tick the objects that show the camera (person, car…). Frigate cameras are matched to Casamote cameras with the same name (add them as IP camera), or to the one you choose. Any automation can also show a camera by publishing on casamote/camera: {"camera":"camJardin","seconds":20}.

Linking Frigate cameras to Casamote cameras

Frigate only sends the camera name (for example camJardin); the picture is shown by Casamote, so Casamote must know that camera too. 1. Add each camera under Systems (IP camera, with its user and password) and check that it shows on the home screen. 2. In Settings › Cameras › Cameras via MQTT, once the broker is connected, the “Frigate cameras → Casamote cameras” list shows which camera each Frigate camera is linked to. If both have the same name (case, spaces and dashes ignored), the link is automatic. Otherwise, select the line and pick the Casamote camera, or Ignore. As long as a line says “no matching camera”, detections from that camera are not shown, with no error message.

Clock and MQTT values

Settings › Clock: hidden, in Casamote, or over all apps (Pro). Values received over MQTT appear under the time: in Cameras via MQTT › Values to display, enter a label, the topic (+ and # allowed), the unit and, for a JSON payload, the field (e.g. temperature_C). Or publish directly on casamote/info/Outside: 12.4 or {"value":12.4,"unit":"°C"}.

Tip: Home Assistant weather under the time

Nothing to enter in Casamote: it listens to every casamote/info/… topic on its own. The “Values to display” fields are only for other topics (a weather station or sensor already published elsewhere). Home Assistant just needs the MQTT integration, connected to the same broker as Casamote, and Settings › Clock must be on with MQTT values. The automation below takes Home Assistant's default weather (the first weather entity, created at installation) and publishes the outdoor temperature on the hour and at startup. Paste it into configuration.yaml, then restart Home Assistant. To test without waiting: Settings › Automations, the automation's ⋮ menu, Run. retain: true keeps the last value on the broker, so the TV shows it as soon as it connects. For a specific entity, replace states.weather | first with states.weather.forecast_home (name shown in Developer tools › States). For another value (humidity, wind, a sensor…), add an action with another topic, for example casamote/info/humidity.

automation casamote:
  - alias: "Casamote: local weather"
    trigger:
      - platform: time_pattern
        minutes: 0
      - platform: homeassistant
        event: start
    action:
      - service: mqtt.publish
        data:
          topic: casamote/info/meteo
          retain: true
          payload: >-
            {% set w = states.weather | first %}
            {{ {"label": "Outside", "value": w.attributes.temperature, "unit": w.attributes.temperature_unit} | tojson }}

Backup to a USB stick

Settings › Backup: plug a stick into the TV, then Save to …. The file goes into Android/data/app.casamote/files/ on the stick. To restore, pick it from the list; from a computer, copy a backup file into that folder. Passwords are only included if you tick the option, and they are then written unencrypted. With a PIN set, it is asked for.

Fire TV

Casamote runs on Fire TV (Fire OS), with a few differences. Drawing over other apps (overlays, clock everywhere) has no settings screen: allow it once from a computer with adb (command below). Remote buttons cannot be mapped: Fire OS refuses other apps' accessibility services, so that menu is hidden. No Android TV home row, and the Alexa button stays with Alexa. Backups go through your phone (Settings › Backup › QR code), as Fire TV Sticks have no USB port. Checked on a Fire TV Stick 4K (Fire OS 6).

adb shell appops set app.casamote SYSTEM_ALERT_WINDOW allow

Using adb

On the TV: Settings › Device preferences › About, press Build 7 times, then enable debugging in developer options. From a computer on the same network:

adb connect 192.168.1.50:5555
adb shell cmd notification allow_listener app.casamote/app.casamote.cinema.MediaWatchService
adb shell settings put secure screensaver_components app.casamote/app.casamote.dream.CasamoteDream