Urgent Assistance Requested – TBZ48 Secure State & Battery Capability Behavior (Homey Pro 2023)

Dear Homey Developer Support,

I am developing a custom driver for the RCS TBZ48 thermostat.

I will be leaving the country on the 9th of this month for more than six months. Since debugging requires physical access to the device within the same LAN, I urgently need to resolve the remaining platform-related issues before departure.

Repository:

I am encountering two platform-level inconsistencies.

:one: Secure State Fluctuation

Observed:

  • Secure (S0) was successfully negotiated in earlier inclusion

  • Developer Tools now display secure state as: Secure: x

  • Facts:

    • COMMAND_CLASS_SECURITY detected

    • No identifier changes

    • Same hardware

    • Same controller

    Questions:
    Under what conditions does Homey mark secure state as “X”?

  • Can Homey downgrade a node from secure to non-secure post-interview?

  • Does a failed nonce exchange result in non-secure classification?

  • Is there any caching behavior affecting secure display?

  • :two: Battery Capability Status

    Facts:

    • BATTERY_REPORT received

    • Battery percentage logged correctly

    • measure_battery capability implemented

    Issue:

  • UI occasionally displays battery state as unknown

Questions:

  1. Does Homey require explicit WAKE_UP handling for battery capability stability?

  2. Is measure_battery dependent on polling configuration?

  3. Does Homey mark battery as unknown if no report is received within a specific timeout?

  4. Is registerCapabilityListener required for battery devices?

Condensed Log Extract:

Node Interview Complete
COMMAND_CLASS_BATTERY supported
COMMAND_CLASS_SECURITY supported

Battery Report received: 87%
Secure: false
Wake Up Notification received

I would appreciate clarification on:

  • Secure state evaluation logic

  • Battery capability state handling for sleeping devices

Given the time constraint before my departure, your prompt assistance would be greatly appreciated.

Why does AI add an empty line between each and every mf sentence? (I know, old folks annoyances here :rofl: ).

On topic: does VPN ring a bell?
You can safely connect to your home LAN from remote places.

2 Likes

This is a community forum, not official support. You can contact Homey’s support team here:

1 Like

Thanks for the heartwarming help.
Have just done as this.

Empty line is caused by my copying method.

Good ideal, I will try VPN.

Yes, I would also recommend a VPN. Do not open up ports to your Homey via port forwarding, that’s not a safe way to connect.

If you have a desktop PC, you can also keep it powered on and then install RustDesk to remotely access it. This is what I use to remotely connect to my PC for developing my apps while I’m away from home.