Comments (27)
Also note I'm running esp8266 core files 2.3.0
And using WiFi manager file from download zip I also get /paradox/status paradox disconnected , connected, paradox controller v2.11.
Also using 1980 as user password also 1980 is programed as master code obviously for security purposes I'll change this after testing .
I also can connect to panel with 1P150
AND THE USB SERIAL ADAPTER no probs
from paradoxrs232tomqtt.
#define Stay_Arm 0x01
#define Stay_Arm2 0x02
#define Sleep_Arm 0x03
#define Full_Arm 0x04
#define Disarm 0x05
#define Bypass 0x10
from paradoxrs232tomqtt.
https://github.com/maragelis/ParadoxRs232toMqtt/blob/master/Events.txt
from paradoxrs232tomqtt.
https://github.com/maragelis/ParadoxRs232toMqtt/releases/tag/20190114a
from paradoxrs232tomqtt.
try disconnecting the usb serial connection as this is tired to the rx/tx.
Are you getting data from the panel to mqtt
from paradoxrs232tomqtt.
Thanks for your response I've tried this and seems the same have tried rx tx reverse just in case but im fairly sure this is correct as it's wired as per wiki. I have also tried connecting to my MG5050 but I get the same issues.
I'm starting to wonder if it's my library files or something causing a issue although I get know issues during flashing. I do remember seeing a error when first trying this saying no FS.h in director I can't remember how I resolve this issue but maybe my Arduino librarys is corrupted.
Maybe I'll unistall the whole arudion program and delete libary , reinstall add the WiFi manager folder provided in lib Dir downgrade esp8266 file down to 2.3 hopeful I don't get any missing file errors .
from paradoxrs232tomqtt.
Have uploaded v2 try that one its more stable and has many more options go for the debug release,
Only change to hadware is the serial moved to io 13 and 15
from paradoxrs232tomqtt.
Ok thanks for all your help I'll give that a go today.
from paradoxrs232tomqtt.
ok thanks for the version2,
in testing with the .bin file i get inputs and output data correctly ready from alarm board so now i know it works. i still have probs with the ParadoxAlarmSystemOTA.ino file it uploads without errors but responds differently in serial Mon and doesn't read data or send data to the panel .
Ive reinstall Arduino on my Ubuntu system and had some library missing errors that i updated from the library manager eventually uploads without errors and same thing no comms and dosnt load web page that displays paradoxdCTL text..
my guess is i am stuffing up my library files when updating them can i ask if there are any special files i should be using in m Arduino library would it be possible to ask for a zip copy of your arduino libary files so i can be sure i am running correct verions.
as altho the bin file works I need to make some custom changes to json outputs for my homeassistant setup and cant do that with .bin .
thanks for any help .......
from paradoxrs232tomqtt.
Ok update seems my Librarys are fine what I did was use the nodmcu flashing utility and flash 4x 1M bin files to blank the wemosD1mimi . After blanking it and re-uploaded from the ParadoxAlarmSystemOTA.ino V2 using Arduino software I now get events from alarm panel I haven't managed to get the system to arm via mqtt commands but big progress for me. And I've managed to hack HASSIO to read zone opens n closed with out using templating or json translations just using standard binary_sensor:
I'm not sure if what I've done may break other messages yet but once I've done some further work and testing I can share
With community for those home assistant lovers lol
I would suggest any others having issues reading data from alarm would be flash blank bin files to wipe your unit.
from paradoxrs232tomqtt.
Chech serial monitor for errors when arming using the trace bin. Also try arming using mqfx
from paradoxrs232tomqtt.
Sorry I'm a bit of a Arduino noob how do I use the trace bin do I add into command or via serial console in Arduino lol I've looked over the wiki to avoid asking stupid question I also have no idea mqfx lol.
Please don't laugh 😂
from paradoxrs232tomqtt.
Ok flash the paradoxalarmsystemota.Trace.bin when done open arduino ide and top right hand corner there is an icon that says open serial monitor. There you will see debug messages
from paradoxrs232tomqtt.
Use https://mqttfx.jensd.de to send and receive mqtt messages
from paradoxrs232tomqtt.
Ok cool thanks
I haven't seen the paradoxalarmsystemota.Trace.bin
I'll have a look when I get home must be a whole section I've missed on GitHub . Thanks for the info much appreciated.
from paradoxrs232tomqtt.
OK cool I haven't as yet used the mqtt fx but i normally just us the terminal and sub to topic with "#"
below is some of the read outs from my sub looks like im getting some arms and activation from me opening and closing zone 1 programed as entry delay . i still get drop offs and disconnection or unresponsive but i am still testing .
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:1, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:7, dummy: Area 1 }
paradoxdCTL/in {"password":"1980","Command":"disarm","Subcommand":"0"}
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:38, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:1, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:13, dummy: Area 1 }
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/in {"password":"1980","Command":"arm","Subcommand":"0"}
paradoxdCTL/out { armstatus:224, event:1, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:6, dummy: Area 1 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:4, dummy: Area 1 }
paradoxdCTL/out { armstatus:224, event:36, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/in {"password":"1980","Command":"disarm","Subcommand":"0"}
paradoxdCTL/out { armstatus:224, event:1, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/in {"password":"1980","Command":"arm","Subcommand":"0"}
paradoxdCTL/status {"status":"Paradox connected"}
paradoxdCTL/in {"password":"1980","Command":"disarm","Subcommand":"0"}
paradoxdCTL/out { armstatus:224, event:1, sub_event:1, dummy:Zone 01 }
paradoxdCTL/in {"password":"1980","Command":"arm","Subcommand":"0"}
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:7, dummy: Area 1 }
paradoxdCTL/out { armstatus:224, event:38, sub_event:1, dummy:Zone 01 }
paradoxdCTL/in {"password":"1980","Command":"arm","Subcommand":"0"}
paradoxdCTL/out { armstatus:224, event:1, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:13, dummy: Area 1 }
paradoxdCTL/out { armstatus:224, event:0, sub_event:1, dummy:Zone 01 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:6, dummy: Area 1 }
paradoxdCTL/out { armstatus:224, event:2, sub_event:4, dummy: Area 1 }
paradoxdCTL/status {"status":"Problem connecting to panel"}
if i reboot wemos status reconnects and pulls through some more data im yet to work out what all the outs mean and what sub evens equal too but i am happy so far its semi working .
after wemos reboot
paradoxdCTL/status {"status":"Problem connecting to panel"}
paradoxdCTL/status {"status":"Paradox Disconnected"}
paradoxdCTL/status {"status":"Paradox connected"}
paradoxdCTL/out { armstatus:224, event:44, sub_event:19, dummy:}
paradoxdCTL/out { armstatus:224, event:44, sub_event:18, dummy:}
I couldn't find even 44 on wiki but at a guess could be missing keypad error as I don't currently have one connected ,
This could be causing some of my disconnect issues . I will continue testing one I get some TM70 KEYPADS or cheep testing ones .
from paradoxrs232tomqtt.
check out events.txt file
from paradoxrs232tomqtt.
where do i find the events.text file thanks.
in serial mon i get returned command = 4 and 5 with arming or disarming via mqtt command/JSON as per wiki using paradoxdCTL/in ...
when i read through the Arduino file code threes no reference to command 4 or 5
}
byte getPanelCommand(String data){
byte retval=0x00;
data.toLowerCase();
if (data == "stay" || data=="0")
{
retval = Stay_Arm;
}
else if (data == "arm" || data=="1")
{
retval= Full_Arm;
}
else if (data == "sleep" || data=="2")
{
retval= Sleep_Arm;
}
else if (data == "disarm" || data == "3")
{
retval=Disarm;
}
else if (data == "bypass" || data == "10")
{
retval=Bypass;
}
else if (data == "panelstatus" )
{
retval=0x90;
trc("PAnelStatus command ");
}
else if (data == "setdate")
{
retval=0x89;
}
else if (data == "armstate")
{
retval=0x91;
}
else if (data == "zonestate")
{
retval=0x92;
}
else if (data == "disconnect" || data == "99")
{
retval=0x00;
PanelDisconnect();
}
Serial.print("returned command = ");
Serial.println(retval , HEX);
return retval;
}
from paradoxrs232tomqtt.
Helllo @maragelis good afternoon,
To start, very nice job in this new version. Once again thank you for your good work.
Sorry to bump in this issue with another question but I am using a Wemos d1 mini pro, like the one you are using, and I am trying to compile and download the project with the Arduino IDE v1.8.8 and after uploading the board simply does not repond to anything. Could you please tell me how are yoour configurations for the Arduino IDE and wich esp8266 core are you using? I tried to blank the board first an then upload the sketch with the Ide but it stays the same.
I had to blank the board and flash your bin file, and the it worked. But I really wanted to know what I am doing wrong in the IDE...
Thanks again for your support and wonderfull project.
Best regards.
from paradoxrs232tomqtt.
I will try get instructions up ASAP. I use arduino core 2.4.2 updated libs. Just changed the pusubclient file max message size to 512.
from paradoxrs232tomqtt.
I will try get instructions up ASAP. I use arduino core 2.4.2 updated libs. Just changed the pusubclient file max message size to 512.
Perfect! I will wait on your instructions.
Thanks again for your prompt reply and always precious help.
Best regards.
from paradoxrs232tomqtt.
https://github.com/maragelis/ParadoxRs232toMqtt/releases/tag/20190114a
Thanks again @maragelis for pointing out the new version. Since I have updated to v2 it happens alot more frequently that I get the events for the zone having precense but not the status that it has no more precense, beeing that at V2 ON but not OFF. I am monitoring the brooker with a client but no messages. after this happens I cannot interact with the system anymore. I have to reset the board. Also I see that sometimes when tinteracting with the system I do not get al the events from event, subevent.
I flashed always a blank 4MB bin file before flashing your bin file.
Could this be due to something I am not seeing.
Thanks again.
from paradoxrs232tomqtt.
Please try new updated version v2.1.1
from paradoxrs232tomqtt.
@rjduraocosta try new realese fixed a serious bug.
from paradoxrs232tomqtt.
@rjduraocosta try new realese fixed a serious bug.
Thanks @maragelis for the new release. I will give it a go and get back to you on the results.
from paradoxrs232tomqtt.
Hello @maragelis,
I already tested this new release and I am still experiencing problems like the ones in issue #27. I think we can merge conversations on the other issue if you want.
What can I do to help?
Thanks for all your work.
from paradoxrs232tomqtt.
Same as #27
from paradoxrs232tomqtt.
Related Issues (20)
- Wemos D1 Mini Pro - frequent reconnects HOT 35
- Δεν αποκρίνεται το wemos HOT 1
- Suggestions HOT 8
- Commands always result in "Problem connecting to panel" HOT 2
- few little things HOT 2
- panel id
- What Panel ID and PC Password is used HOT 1
- Socket error on client HOT 1
- Problem Connecting to Panel HOT 2
- BabyWare or set Zone dara name HOT 2
- Two Panels - How can I see what panel is arm HOT 4
- Compatibility with sp5500 and esp32 nodemcu HOT 1
- Showing Disarm when is arm HOT 15
- Pending status on armed_away HOT 1
- Possible to use this FW with ESP-01S? HOT 2
- How to set this params. with pre-compiled binary? HOT 4
- Paradox MG6250 series - how to connect it?
- trigger
- Paradox Evo192 status to ESP8266
- Reconnect problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paradoxrs232tomqtt.