Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Door Control and status For PARADOX EVO and others PAI and Hassio #165

Closed
FigJam23 opened this issue Jul 21, 2020 · 13 comments
Closed

Door Control and status For PARADOX EVO and others PAI and Hassio #165

FigJam23 opened this issue Jul 21, 2020 · 13 comments
Labels
enhancement New feature or request
Milestone

Comments

@FigJam23
Copy link

Feature description

@FigJam23 FigJam23 added the enhancement New feature or request label Jul 21, 2020
@yozik04
Copy link
Collaborator

yozik04 commented Jul 22, 2020

Door action message was implemented back in d521a36
TODO:

  • MQTT endpoint

yozik04 added a commit that referenced this issue Jul 22, 2020
@yozik04
Copy link
Collaborator

yozik04 commented Jul 22, 2020

MQTT topic paradox/control/doors/Door 1 or paradox/control/doors/1
payload lock or unlock.
That will fail for sure. I need full debug output what was received after this command.

@yozik04 yozik04 added this to the 2.2.0 milestone Aug 14, 2020
@yozik04
Copy link
Collaborator

yozik04 commented Aug 23, 2020

@mydakota Did you had a chance to test?

@ShadowofReason
Copy link

@yozik04 Still need output?

@yozik04
Copy link
Collaborator

yozik04 commented Feb 28, 2022

😄 some years has passed. I am not sure I want to return to this.

@FigJam23
Copy link
Author

I gave up trying to get this to work using below MQTT, such a shame as being able to control doors would be extremely useful and a A+++ feature for PAI. my next option is to upgrade my entire system to a inception controller and ditch Paradox, but I would prefer to stay with Paradox as I like the system and why replace it if not required. I wish I knew how to pull logs from babyware to get this working :{

'''MQTT topic paradox/control/doors/Door 1 or paradox/control/doors/1
payload lock or unlock.'''

@yozik04
Copy link
Collaborator

yozik04 commented Mar 15, 2022

The feature was almost ready. It required testing and bug fixing. But then you have disappeared. I do not have door control modules myself. So I had to develop the feature blindly.
Your comment does not help to resolve the problem.
Show debug logs, describe your environment. Provide as much info as you can. This will move things forward.

@yozik04
Copy link
Collaborator

yozik04 commented Mar 15, 2022

Or wait when someone will come and invest his time into it.
So far we had just 2 persons that had any interest in this feature request.

@FigJam23
Copy link
Author

Probably be waiting along time lol I'm just going to use a pgm to trigger rex on door for now not a perfect solution as only will work as a timed unlock

@yozik04 yozik04 closed this as completed Aug 8, 2022
@FigJam23
Copy link
Author

FigJam23 commented Dec 10, 2022

Hey mate sorry to bring up an old thread, I've had another go at this now I understand a bit more about how things work lol still
a work in progress anyhow I think I've made some progress so using the below MQTT command.
`

  • name: "Door 1"
    state_topic: "paradox/control/doors/1"
    command_topic: "paradox/control/doors/1"
    payload_on: "lock"
    payload_off: "unlock" `

I get this in my PAI error log, would you have any idea on what i could now try.

2022-12-10 15:10:50,951 - INFO - PAI.paradox.hardware.evo.panel - Door command: "unlock" succeeded 2022-12-10 15:10:52,535 - INFO - PAI.paradox.interfaces.mqtt.basic - message topic=paradox/control/doors/1, payload=lock 2022-12-10 15:10:52,549 - INFO - PAI.paradox.hardware.evo.panel - Door command: "lock" succeeded 2022-12-10 15:10:52,661 - WARNING - PAI.paradox.paradox - Missing element with ID 129 in door/

the door does not lock or unlock im assuming its because of this Missing element with ID 129 in door

@FigJam23
Copy link
Author

do I need to include a user ID?

raw = PerformDoorAction.build({"fields":{"value":{"doors":[1], "user_id": 3, "command": "unlock"}}})

@FigJam23
Copy link
Author

Ok, good News Door Unlocks and locks using the above MQTT command omg Yay. the only issue I have now is I can not control the door when it is unlocked on a scheduled event. Is there any command like unlock override or lock override, i could use that would force the door to lock. wow progress is exciting

@FigJam23
Copy link
Author

FigJam23 commented Dec 10, 2022

Ok This Is my final change That is working best removed all time controls from babyware and use hassio as primary control.
`lock:
- name: Frontdoor
state_topic: "paradox/control/doors/1/user_id/1"
command_topic: "paradox/control/doors/1/user_id/1"
payload_lock: "lock"
payload_unlock: "unlock"
state_locked: "lock"
state_unlocked: "unlock"
optimistic: false
qos: 1
retain: true

`

Log out put still error but Door Control working further testing to come
2022-12-10 16:25:04,668 - INFO - PAI.paradox.hardware.evo.panel - Door command: "unlock" succeeded 2022-12-10 16:25:07,963 - INFO - PAI.paradox.interfaces.mqtt.basic - message topic=paradox/control/doors/1/user_id/1, payload=lock 2022-12-10 16:25:07,976 - INFO - PAI.paradox.hardware.evo.panel - Door command: "lock" succeeded 2022-12-10 16:25:08,074 - WARNING - PAI.paradox.paradox - Missing element with ID 129 in door/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants