Giter Site home page Giter Site logo

Comments (4)

sparkydave1981 avatar sparkydave1981 commented on June 12, 2024

By 'panels', do you mean the two Partitions?

What code are you using to arm/disarm?

from paradoxrs232tomqtt.

bigjuanpa avatar bigjuanpa commented on June 12, 2024

Yes two partitions.
Im using
alarm_control_panel:
platform: mqtt
state_topic: "paradoxdCTL/hassio/Arm"
command_topic:"paradoxdCTL/in"
payload_disarm: '{"password":"0000","Command":"disarm","Subcommand":"0"}'
payload_arm_night: '{"password":"0000","Command":"sleep","Subcommand":"0"}'
payload_arm_home: '{"password":"0000","Command":"stay","Subcommand":"0"}'
payload_arm_away: '{"password":"0000","Command":"arm","Subcommand":"0"}'

And the same for the second partition but with sub command 1.
This works fine but when I run for partition 1 on the alarm control panel 2 shows activated. But is not real just the partition one is activated.
The think is that it check on arm status and is arm but just one partition don't send the Matt showing what partition is arm or maybe I'm doing something wrong.

Thanks

from paradoxrs232tomqtt.

Angel0ffDeath avatar Angel0ffDeath commented on June 12, 2024

@bigjuanpa Hi, first of all I'm curious you are able to issue any commands with password '0000' because conversion of the password having zeroes in the code is incorrect, but probably this is some issue of panel....
Now to your question - since the arm status messages are one and the same for both partitions you probably would like to change them depending on what partition you are issuing commend. For instance, if you arm partition 1 to return armstatus armed1 or armed2 if you arm partition 2. For 2 panels (I assume you have 2 Wemos devices - 1 for each panel, you can further divide them by making different root topics - paradoxdCTL1 - for the first panel and paradoxdCTL2 for the second.
Anyway you will need some program skills :) ....

from paradoxrs232tomqtt.

bigjuanpa avatar bigjuanpa commented on June 12, 2024

The 0000 os just for demostration I use the alarm code and it works.
I will try to use the test code that is on the test branch that sends arm1 and arm2 let's see if that works.
Thanks

from paradoxrs232tomqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.