Coder Social home page Coder Social logo

Comments (14)

maragelis avatar maragelis commented on May 27, 2024

Just to be clear, disarming and arming works ? Just the hassio topic does not send partition number, correct ?

from paradoxrs232tomqtt.

zsoltkazda avatar zsoltkazda commented on May 27, 2024

Yes, the disarming and arming works, and yes, the hassio topic does not send partition number.

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 27, 2024

Test branch updated.
the topic on which arm status is sent has partition info.
eg. paradoxdCTL/hassio/Arm0 paradoxdCTL/hassio/Arm1
https://github.com/maragelis/ParadoxRs232toMqtt/tree/test

from paradoxrs232tomqtt.

 avatar commented on May 27, 2024

@zsoltkazda could you please provide your panel info because the arming process does not work for me.

I am using the MG5050 with "MG5050_4.73.72.PUF" firmware from 2011.

I can connect to the panel and receive the following topics:

  • paradoxdCTL/out
  • paradoxdCTL/status
  • paradoxdCTL/hassio/zoneX
  • paradoxdCTL/hassio/Arm0
  • paradoxdCTL/hassio/Arm1

But the arming does not work.

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 27, 2024

Change your code on the alarm and dont use 0 in the code

from paradoxrs232tomqtt.

 avatar commented on May 27, 2024

@maragelis my alarm panel user code is 4 non-zero digits.
Trace indicates that "sending command 0x5f to panel" is executed but nothing after that.
When I compare the login sequence by sniffing the serial port between the MG5050 and the Paradox BabyWare application I see there seems to be a different initialisation sequence.
When I first bought my panel around 2010, it worked with the WinLoad software. Then after upgrading the firmware the WinLoad software would no longer work and I needed to use the BabyWare application.
Could it be that there is a difference?
filtered_response.txt

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 27, 2024

Looking at the trace I see a perfect login after 5f there is the 00 handshake and a 10 login. Then the is status command 50 52 issued. Do you get login failed from the status mqtt topic when trying to arm? If not it’s surly the code try the master code or change your code.

from paradoxrs232tomqtt.

 avatar commented on May 27, 2024

The trace provided is the communication between BabyWare and the MG5050, so the perfect login is expecetd. Let me first modify the code so that I initialise the communications with the "72 00 00 .... 00 00 72" packet and then see if the panel responds at all.

from paradoxrs232tomqtt.

zsoltkazda avatar zsoltkazda commented on May 27, 2024

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 27, 2024

Do you get login failed from the status mqtt topic when trying to arm?

from paradoxrs232tomqtt.

 avatar commented on May 27, 2024

Feedback regarding the "login" issue:

  • Turns out that my issue with the "login" was not a programatic error but rather a hardware issue!
  • I first used a knock-off D1Mini version. The serial ports of this device did not handle the 5V TTL levels and popped receive port.
  • I then got hold of the WEMOS D1 Mini and installed a 5V <-> 3V TTL level converter which also gave problems on the TX line (RX worked fine).
  • Then I threw out the level converter and connected the WEMOS D1 Mini directly as indicated on the original WIKI page and so it seems that the WEMOS D1 Mini is 5V tolerant. (We will see how long this device survives!)

Feedback regarding the reporting of the Arm Status:

  • The arm and disarm command is always reported correctly for both Partion 1 (0) and 2 (1).
  • There is still an issue where the sleep and stay command is actioned, but the reporting only happens for the first partition that is put into the sleep or stay armed mode.

from paradoxrs232tomqtt.

bigjuanpa avatar bigjuanpa commented on May 27, 2024

how can you get the panelstatus information for the panel 2 (Arm1)?
When I run
{
"Command": "panelstatus",
"Subcommand": "1",
}

I only get the Arm0 status

thanks

from paradoxrs232tomqtt.

maragelis avatar maragelis commented on May 27, 2024

Its not implemented in this project I have it implemented on my other project

from paradoxrs232tomqtt.

sparkydave1981 avatar sparkydave1981 commented on May 27, 2024

So to get partition support we should swap to using an ESP32 with your other project?

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.