I have a front door from the company pirnar. The door itself has a Smart Home integration with pirnar’s own Smart Home Cloud.
But I have not found any integration with HA. Is there any way to connect the pirnar door with HA?
If the door connects directly to the vendor cloud and no API is made available by the vendor, then it is nearly impossible to make an integration.
I know they have integration for Google and Amazon. But it seems that there is no API for the Pirnar Cloud itself.
Does anyone here have a Pirnar door, and can provide more information about cloud (even Google or Amazon) integration?
The Google and Amazon integration might be connected directly to the vendor cloud, so no option for you to use the same approach.
You might be able to make a hack, where HA command Google or Amazon to do an action on the door.
This hack should be movable from other setups, so you do not have to specifically look for Pirnar door hacks. Any hack that do the Google/Amazon command should work.
Seems like Pirnar uses Tuya/Smart Life as backend cloud services. They run it as application in Tuya cloud.
Any luck connecting it.? Did you ask them for support?
i’m still waiting for my door to be installed, then my plan is to use old hack to get local key for home control and than map door’s DPS, etc.
if not, well, i will have to inspect if esp module can be updated to run esphome
and then probably fall back on cloud integration
Same topic over here … i installed my door from Pirnar a few weeks ago
(“Armo Comfort Electro” Lock and a “SmartLux” Light integratetd in the outer door handle)
i was pretty surprised, that this door has Apple / Amazon support and its own cloud-based-app-solution, but no integration for home assistant
i am really interested in getting this thing into my HA, but would not want to search, flash or even re-solder the chip.
can anyone give me a direction how to use the existing hardware? i’m not really sure, which ways are possible with home assistant
- use the gateway-communication? (WiFi? Bluetooth? BLE?)
- emulate the vendor-app inside home assistant?
- use Google / Amazon and integrate that into home assistant?
i would like to contribute to a possible solution. if not, i will just have to wait until a more skillful user solves the puzzle
1. Register the device in the Tuya app (same Like Pirnar):
• Add the gateway and the device (e.g., the door sensor) to the Tuya app.
2. Set up the Tuya integration in Home Assistant:
• Install the Tuya integration in Home Assistant.
• Log in using the user code from the Tuya app (you can find it under “Security” in the app settings).
3. Create an automation for the “outside” area:
• By default, Home Assistant only detects the inside area of the device. The outside area will not appear in Home Assistant.
• To fix this, set up an automation in the Tuya app:
• If the inside area turns on, then turn on the outside area.
• If the inside area turns off, then turn off the outside area.
This ensures that both the inside and outside areas work as expected, even though Home Assistant only directly detects one of them. The automation syncs the two areas seamlessly.
have you got it working? i added my door to the native tuya app and paired it with HA but there is no entity at all for the Lock
" Securo (unsupported)"
My lock has an extra cable and needs to be powered with 12V. it is not smart… but you can solve this with a Shelly, for example. the light is integrated in my setup.
Got my door, with regular fingerprint scanner lock and without online selectable day/night mode, here are findings:
- near impossible to make tuya_ble work with lock, simply not getting to exchange from login to session key (device binds, but timeout on login command).
- regular Tuya does not support pirnar’s DP and device in general
- local tuya works if device connected to bluetooth gateway. It also works without internet for VERY basic features like unlock door (dp 46), door open status (dp 47).
- local tuya with cloud pull able to get extra data, to previous point:
- last used fingerprint sequence id (like 0 for first finger in fingerprint manager, etc)
- last used ble/mobile app user sequence id
- last used online account sequence id
- last alarm message (wrong finger used, but called as face
)
Note:
- local tuya with internet access for regular services works really bad, as cloud constantly pull/push data from lock, but at least it uses same bluetooth session from wifi gateway
- same applied to concurrent bluetooth connections from any device, it just have to re-authorize on each command and i’m not sure it even re-authorize bluetooth gateway after local bluetooth conneciton used from smart home/pirnar app.
for your refernce, full list of DP as of now:
{
"1": "Add unlock method",
"2": "Delete unlock method",
"3": "Modify unlock method",
"6": "Ble unlock",
"8": "Remaining battery",
"12": "Fingerprint Unlock",
"19": "Ble unlock record",
"21": "lock alarm",
"22": "Hijacking alarm",
"30": "Day/Night",
"33": "Day/Night",
"44": "Lock rtc",
"46": "manual lock", --local tuya access without internet, unlock door
"47": "lock motor state", --local tuya access without internet, is door open
"54": "synchronized unlock method",
"60": "Set code-free remote unlock",
"61": "Code-free remote unlock",
"62": "Remote unlock",
"63": "Remote voice unlock",
"69": "record"
}
What method are you using. I am looking for the best solution to integrate my door into homeassistant. Preferably only local. What does DP mean?