vanackej / risco-mqtt-local

Provide Risco alarm system integration to Home assistant using local TCP communication (no cloud required) and MQTT
MIT License
24 stars 11 forks source link

Can't discover panel password #56

Open Sim0cYz opened 2 years ago

Sim0cYz commented 2 years ago

Describe the bug I am unaware of the password set by my previous installer, I am trying to make it bruteforce it but with no luck. Tried all 4, 5 and 6 cyphers codes without success.

Configuration

Logs


Copy/paste the application logs here (or add them as attachement) :

Loading config from: /config/risco-mqtt.json
9/12/2022, 7:34:07 PM [info] autoConnect enabled, starting communication
9/12/2022, 7:34:07 PM [info] Connecting to mqtt server: mqtt://192.168.178.77:1883
9/12/2022, 7:34:07 PM [warn] Command[1] Receipt of an error code: Invalid Value
9/12/2022, 7:34:07 PM [warn] Provided password is incorrect
9/12/2022, 7:34:07 PM [info] Trying to guess password (brut force)
9/12/2022, 7:34:07 PM [info] Trying passwords from 0000 to 9999...
9/12/2022, 7:34:07 PM [info] 0000 to 0099...
9/12/2022, 7:34:07 PM [info] Connected on mqtt server: mqtt://192.168.178.77:1883
9/12/2022, 7:34:07 PM [info] Panel is not connected, waiting
9/12/2022, 7:34:07 PM [warn] Command[1] Command response was unexpected, ignoring. Data[N06]
9/12/2022, 7:34:14 PM [info] 0100 to 0199...
9/12/2022, 7:34:20 PM [info] 0200 to 0299...
9/12/2022, 7:34:27 PM [info] 0300 to 0399...
9/12/2022, 7:34:33 PM [info] 0400 to 0499...
vanackej commented 1 year ago

What are the next logs ? No errors in the middle of the password discovery ? Sorry, no other idea. If panel code discovery does not work and you can't retrieve the code from your installer, I don't know how to help

Sim0cYz commented 1 year ago

This is the last part of the log, no errors in between password discovery attempts. Maybe direct connection is the wrong way? Panel is connected to Risco Cloud. But how can I disable it without installer code? Thank you


9/12/2022, 10:48:58 AM [info] 999900 to
999999..
9/12/2022, 10:49:04 AM [error] Unable to
discover password
9/12/2022, 10:49:04 AM [error] Not able
to authenticate to the Panel, exiting
9/12/2022, 10:49:04 AM [warn]
Command | 37] Receipt of an error code:
Invalid parameter
9/12/2022, 10:49:04 AM [info] TCP Socket
Disconnected
9/12/2022, 10:49:04 AM [info] Won't
attempt automatic reconnection
pergolafabio commented 1 year ago

Have you tried the default one 5678?

pergolafabio commented 1 year ago

Most of the times they are left default, out the installer and subinstaller codes are being changed, not the access code for the config used by the CS password

Sim0cYz commented 1 year ago

Hi Fabio, sadly yes, 5678 code is the first one I tried. It's my friends panel, his installer changed the code but funny that brute force is not finding it, tried everything between 0000 and 999999 without success

pergolafabio commented 1 year ago

And you don't have the installer or subinstaller code , maybe they are left default, then you can access the LCD panel, al reset the access code?

Sim0cYz commented 1 year ago

If you're referring to 1111 code, no it's not working to access the menu from the lcd keyboard. I opened this issue because I know for sure that bruteforce worked on my LightSYS2 months ago, and it's not working on my friend's panel (same panel but with multi-socket ethernet card, while I have mono-socket on mine). Don't know if this could be useful..

Sim0cYz commented 1 year ago

Last option could be reset the board putting the "Default" dip switch on. My friend tried it, set it on and power cycle, but 5678 code wasn't working and bruteforce 0000 to 9999 gave no success. What is the correct way to reset codes? Will this also reset zones and other settings? He doesn't want to lose the installer work..

pergolafabio commented 1 year ago

Hmm, not sure...

Why not just call installer and ask for the code?

Sim0cYz commented 1 year ago

He's not answering at calls or replying at messages, doubt he will ever disclose his code..!

pergolafabio commented 1 year ago

He should! Or just move on to another installed, or manage the panel by yourself... I did that also, I was not pleased by my installer... You can call Risco to detach the panel from installer x

pergolafabio commented 1 year ago

Or just use the cloud integration?

Sim0cYz commented 1 year ago

Good to know, I will tell him to call Risco and check if they can do something. These are the the instructions to default codes, but I am not sure why it didn't work.

He set it to on, powered off, powered on, set it to off after a while, and went to the keyboard to try the default code (without success).

Maybe the dip switch should be kept "on" all the time until the first use of the default code?

About using the cloud, he would go local because unhappy with the new paid subscription..

image

pergolafabio commented 1 year ago

I have no idea , never tried it :-)

Sim0cYz commented 1 year ago

This weekend he's trying again, I will report back ;)

arturzx commented 1 year ago

This weekend he's trying again, I will report back ;)

Hello, did you check reset passwords by DIP switch? It resets only passwords or reset all settings to factory defaults?

Sim0cYz commented 1 year ago
Hello, my friend had not time to try last weekend, I will report as soon as I have some news 😊 Da: arturzxInviato: mercoledì 5 ottobre 2022 10:27A: vanackej/risco-mqtt-localCc: Sim0cYz; AuthorOggetto: Re: [vanackej/risco-mqtt-local] Can't discover panel password (Issue #56) This weekend he's trying again, I will report back ;)Hello, did you check reset passwords by DIP switch? It resets only passwords or reset all settings to factory defaults?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***> 
arturzx commented 1 year ago

Hello, my friend had not time to try last weekend, I will report as soon as I have some news

Hello again, I've checked this now - DIP switch 2 resets only codes (grand, installer, sub-installer). If you cannot connect with panel you must enable Configuration Software (1/2/3/3 option in installer menu). For me now all it works :-) image

Sim0cYz commented 1 year ago

Hello, my friend had not time to try last weekend, I will report as soon as I have some news

Hello again, I've checked this now - DIP switch 2 resets only codes (grand, installer, sub-installer). If you cannot connect with panel you must enable Configuration Software (1/2/3/3 option in installer menu). For me now all it works :-)

image

Hello, I confirm my friend successfully reset codes that way!