mikewoudenberg / homeassistant-loqed

Home assistant integration for Loqed
MIT License
10 stars 0 forks source link

Feature request(s) #16

Open Rijswijker opened 1 month ago

Rijswijker commented 1 month ago

Hello Mike,

I don't know the official way to request a small addition to an existing core feature in Home Assistant, I only see a Bug report, or the forum but i can't tag a integration and i don't know if you look there.


Battery Voltage Sensor Can you also add the "battery_voltage" sensor to the integration? My door closes heavily and for that I need to make sure the battery voltage is around 9.5v+, however the percentage is not always reliable enough.

I tried it myself through the custom_components folder but i get an error that the instance is already created from __init__.py where i didn't change anything.

sensor.py

from homeassistant.const import (
    PERCENTAGE,
    SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
    EntityCategory,
    VOLTAGE,
)

...

    SensorEntityDescription(
        key="battery_voltage",
        device_class=SensorDeviceClass.VOLTAGE,
        state_class=SensorStateClass.MEASUREMENT,
        entity_category=EntityCategory.DIAGNOSTIC,
        native_unit_of_measurement=VOLT,
    ),

Open house mode Another small question, is it possible to activate the “open house mode” (Touwtje uit de brievenbus) feature through the API? I don't think so considering I can't find much about it in the documentation.


Activate Bridge relay Soon I want to add my porch door to Loqed via the relay contact on the bridge.

Documentation: https://support.loqed.com/nl/articles/6235933-elektronische-deuren-openen-met-de-loqed-bridge-beta

Can you add the “Bridge relay (BETA)” as a switch/button?


Thanks in advance.

Kind regards, Robbert van den Berg

Dutchy-79 commented 1 month ago

I'm not from Loqed or Shelly!

I requested the same function for touwtje a long time ago and they answered me that they wouldn't implement that function.

I also wanted "touwtje" to turn off when the door state turned to Locked.

Also not sure if the same people are still working for loqed.

mikewoudenberg commented 1 month ago

Hey there! Unfortunately neither am I. With the transfer of the Loqed IP to Shelly I longer have a direct connection with the company and am waiting what the future holds for our locks. This is the repository I use for testing the integration when I want to add new features to the mainline, so I guess this is as good a place as any. I'll have a look at the battery voltage sensor. Seems straightforward enough.

Open house mode can only be manipulated via the cloud API. It cannot be configured via the local API. SInce I haven't got a clue whether this API will remain or change I'd rather not tie it to the cloud. Also, I prefer it to work locally without the cloud as much as possible.

The relay functionality also seems to be cloud only. So I can't add that as well :(