Tertiush / ParadoxIP150v2

Python-based IP150 'middle-ware' that uses the IP module's software port for monitoring and control of the alarm via an MQTT Broker.
Eclipse Public License 1.0
73 stars 35 forks source link

MG5000 fw 4.76 with IP150 v 4.10 - Problem logging in #22

Open renzorlive opened 6 years ago

renzorlive commented 6 years ago

Hello Tertius, First of all, thank you for your work and developing this software. After managing to configure the MQTT server this is what I am getting when trying to connect to my control panel.

2017-10-01 02:09:53,599 INFO logging complete  

2017-10-01 02:09:53,601 ERROR test  

2017-10-01 02:09:53,607 INFO Setting loglevel to debug  

2017-10-01 02:09:53,618 DEBUG Logging Set to debug  

2017-10-01 02:09:53,627 INFO logging set to debug  

2017-10-01 02:09:53,635 INFO config.ini file read successfully: 2  

2017-10-01 02:09:53,644 INFO State01:Attempting connection to MQTT Broker: 127.0.0.1:1883  

2017-10-01 02:09:53,658 INFO Connected to MQTT broker with result code 0  

2017-10-01 02:09:53,658 INFO State01:MQTT client subscribed to control messages on topic: Paradox/C/#  

2017-10-01 02:09:53,674 INFO State02:Connecting to IP Module  

2017-10-01 02:09:53,684 INFO Connecting to 192.168.1.19  

2017-10-01 02:09:53,697 INFO Logging into alarm system...  

2017-10-01 02:09:53,736 DEBUG 32->   0xaa 0x8 0x0 0x3 0x8 0xf0 0x0 0xa 0xee 0xee 0xee 0xee 0xee 0xee 0xee 0xee 0x70 0x61 0x73 0x73 0x77 0x6f 0x72 0x64 0xee 0xee 0xee 0xee 0xee 0xee 0xee 0xee  

2017-10-01 02:09:55,993 ERROR State02:Error attempting connection to IP module (3): string index out of range  
nezmogus commented 3 years ago

Not fully confirmed yet, but seems, like Paradox changed firmware encryption algorithm and downgrade from firmware v5.02.037 (bootloader 2.14) does not work anymore image

ghost commented 3 years ago

Can anyone post the IP150_V1_32_001_ENG.PuF file for download ? Seem to have disapeared from the Paradox site... Many thanks

ghost commented 3 years ago

BTW, from what i see at home, the DNS queries are for capi.insightgoldatpmh.com What i wanna try is to push the "old" PUF file to my FW5.02 IP150 using WinLoad and keep blocking the flows to/from capi.insightgoldatpmh.com hostname and see if the downgrade persists after reboot. But from what i see above, it is not certain the downgrade from 5.02 will actually work... Comments ? I simply need the bloody PUF file i can't find anywhere... and give it a try Thanks

ghost commented 3 years ago

@nezmogus do you confirm the downgrade didn't actually work ? or did you manage in the end ?

nezmogus commented 3 years ago

Currently no success with downgrade from FW v5.* but I still didn't give up. For next few weeks i will have no time for this. Will try later.

There is firmware for you: IP150_V1_32_001_ENG_downgrade_from_v4.xx.zip

nezmogus commented 3 years ago

BTW, from what i see at home, the DNS queries are for capi.insightgoldatpmh.com What i wanna try is to push the "old" PUF file to my FW5.02 IP150 using WinLoad and keep blocking the flows to/from capi.insightgoldatpmh.com hostname and see if the downgrade persists after reboot. But from what i see above, it is not certain the downgrade from 5.02 will actually work... Comments ? I simply need the bloody PUF file i can't find anywhere... and give it a try Thanks

WinLoad will not allow you downgrade firmware. WinLoad only initiates upgrade process and then IP150 works directly with paradox servers.

ghost commented 3 years ago

Ah OK, hence the proxy... Not sure how to rewrite the DNS queries to redirect them to my laptop... How did you do this @nezmogus ?

ghost commented 3 years ago

Thanks for the file !

nezmogus commented 3 years ago

I used Mikrotik router

On Fri, Jul 9, 2021, 19:52 abeldacosta33450 @.***> wrote:

Ah OK, hence the proxy... Not sure how to rewrite the DNS queries to redirect them to my laptop... How did you do this @nezmogus https://github.com/nezmogus ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Tertiush/ParadoxIP150v2/issues/22#issuecomment-877321866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFM4SVLYQPGN2ODBH77F7DTW4SN5ANCNFSM4D5G5BDA .

ghost commented 3 years ago

OK thanks for the info... I'll try few things and revert with findings. Good weekend !

ghost commented 3 years ago

Shit, InField doesn't allo you to pick a PUF file for the IP150 module. Only for the other modules... Didn't notice this in the first place... Need to find a way to hack this thing...

ghost commented 3 years ago

Capture d’écran, le 2021-07-11 à 11 04 38

ghost commented 3 years ago

See, button in Step 3 for "browse" disapeared...

xitenik commented 2 years ago

Hello, everybody! I can see here the discussion is mainly for downgrading from 4. to 1. . I have the opposite problem - I want to upgrade, but I can't. My IP module was with a version 1.39 and a bootloader 2.12. I upgraded it to version 4.10. Now the module doesn't like static IP address and have some problems with the ports. My router have every port needed opened. When I change the module from DHCP to OFF , the module restart itself after 10-15 seconds and the DHCP is ON again. OK. No problem. I look at the chosen IP, open the ports, but when I open InField 4.26.4 and try to connect via Internet with the module, it shows something I don't like : Detecting via TURN on port 3478, attempt 1. It connects , but I can't upgrade it after that. Obviously the upgrade procedure goes trough port 10000, and now is connected on port 3478. I tried opening that port too, but it does not work. I even tried newer versions of InField, but still no success. With version 5.2.3 again connects via port 3478 and starts upgrading, but when it goes to Connecting... and then Formatting... it reboots the module and everything starts from point 1....

Any help please ? I need the module to be latest version!

jeevadotnet commented 2 years ago

Currently no success with downgrade from FW v5.* but I still didn't give up. For next few weeks i will have no time for this. Will try later.

There is firmware for you: IP150_V1_32_001_ENG_downgrade_from_v4.xx.zip

Did you manage to get V5 downgraded? I had a weird anomaly here at home which caused the IP150 module to get on the internet and upgrade to V5.02.045 . I've followed the initial steps as with v4 but no success.

I also observed that the module tries to make use of public DNS settings, even when you statically assign 2x local DNS servers. It keeps DNS1 but makes DNS2: 8.8.8.8 (which I blocked on my Mikrotik).

pointed the following to my local PC IP: turn.paradoxmyhome.com (found this in my DNS logs) capi.insightgoldatpmh.com (found this in my DNS logs) upgrade.insightgoldatpmh.com upgr.insightgoldatpmh.com

I block the rest of all the public DNS servers tonight and try again.

Previously I e-mailed the CEO of Paradox telling him that he and his company is dodgy - forcing all of these upgrades limiting the features of the IP module, I just got some egotistical reply back in the line of "I'm god and my hardware is superior". I replied to him that he is a c*nt. He then got a local distributor to phone me and tell me that I don't know how to operate their hardware and must call a certified alarm company. What BS.

lkng70 commented 2 years ago

Hi Everyone, any luck to downgrade the firmware from v5.* ? Thank you.

parejma1 commented 1 year ago

Hello, everybody! I can see here the discussion is mainly for downgrading from 4. to 1. . I have the opposite problem - I want to upgrade, but I can't. My IP module was with a version 1.39 and a bootloader 2.12. I upgraded it to version 4.10. Now the module doesn't like static IP address and have some problems with the ports. My router have every port needed opened. When I change the module from DHCP to OFF , the module restart itself after 10-15 seconds and the DHCP is ON again. OK. No problem. I look at the chosen IP, open the ports, but when I open InField 4.26.4 and try to connect via Internet with the module, it shows something I don't like : Detecting via TURN on port 3478, attempt 1. It connects , but I can't upgrade it after that. Obviously the upgrade procedure goes trough port 10000, and now is connected on port 3478. I tried opening that port too, but it does not work. I even tried newer versions of InField, but still no success. With version 5.2.3 again connects via port 3478 and starts upgrading, but when it goes to Connecting... and then Formatting... it reboots the module and everything starts from point 1....

Any help please ? I need the module to be latest version!

==================

I'm facing the same problem.

I also have troubles updating an “old” IP150 module to the latest firmware version.

The IP150 curently has the firmware (4.30) and bootloader(2.12)

It seems there is a specific procedure to upgrade the FW for that specific combination of IP150 firmware and bootloader as the Standard procedure fails.

I executed the specific prodedure but after several attempts it always return the same error code.

Basically the procedure tells the following:

======

  1. Upgrading IP150 v4.x with bootloader 2.12 to v4.40 There are some IP150 modules in the field that have firmware 4.x and bootloader 2.12. These modules cannot be upgraded to v4.40 by the standard procedure. In order to upgrade these modules, please follow this procedure:
    • Do a port forward for the software port of the IP150 (port 10000 by default)
    • Download firmware 4.40 file from Paradox website
    • Connect to the panel/site with Infield 4.26.4 (found on our website)
    • Select the IP150 module
    • Click on Browse and select the 4.40 firmware file
    • Click on start transfer
    • Wait until the upgrade finishes
    • Do a power cycle for the IP150 module

Note:

As my router does not have NAT lookback feature, I followed the second option (IP 150 Module in one network and Infield 4.26.6 in another) but it does not work.

Just asking if there is someone that knows how to do it.

Gráfico_pegado-1

Coroebus commented 1 year ago

Hello everybody, any news about downgrade from 5.x ?

@nezmogus can i help you to achieve this ?

Nico