sanjay900 / solution3000-home-assistant

This integration allows for connecting home assistant to a solution 2000 or 3000 panel.
10 stars 0 forks source link

Support for Solution 2000? #7

Closed buzurk26 closed 1 year ago

buzurk26 commented 1 year ago

Hi, Will this work for solution 2000?

Got this panel with the B426-M Module and RSC+ all setup and working but really want HAS integration

sanjay900 commented 1 year ago

never tried, give it a try and let me know. I only have a 3000, hence that was all it was tested with.

sanjay900 commented 1 year ago

Did this work on your 2000? Im working on a new addon for this that should be more stable, but i was curious if this one did work on your 2000?

buzurk26 commented 1 year ago

Hi @sanjay900

Yeah still no luck with the Solution 2000, it even led me to purchasing a new IP board as mine was an older revision, i got the new board version of theB425-m board - no luck, super keen to get this working and happy to test any new versions you have and assist with any other info that might help to get this working

Greatly appreciate your efforts on this :)

sanjay900 commented 1 year ago

any difference with this? https://github.com/sanjay900/bosch-alarm-homeassistant

buzurk26 commented 1 year ago

Will give it a go

Do i just go into HACs and 'Redownload' ? or do i need to pull the files off github and upload them

sanjay900 commented 1 year ago

you can add that as a repo to HACS, its a totally seperate integration

buzurk26 commented 1 year ago

Ok, installed, failed to connect ;( image

sanjay900 commented 1 year ago

can you send a copy of the error from your log? and did you use the right port and ip and the passcode you use for RSC+? port is likely 7700

buzurk26 commented 1 year ago

image IP is the B426-M, Yeah same pin as the app, not logged into the app either.

Nothing in HAS logs, the failed to connect comes up almost instantly too

buzurk26 commented 1 year ago

Is there another log file?

sanjay900 commented 1 year ago

What log are you looking at?

sanjay900 commented 1 year ago

id expect something to show up in the home assistant core logs in home assistant

sanjay900 commented 1 year ago

out of curiousity, if you have access to a linux / mac machine, can you try running the following? echo -e "\x01\x01\x01" | openssl s_client -connect 172.25.0.1:7700 -quiet | xxd

buzurk26 commented 1 year ago

Yeah i can spin one up quickly and test

On Mon, May 22, 2023 at 1:20 PM Sanjay Govind @.***> wrote:

out of curiousity, if you have access to a linux / mac machine, can you try running the following? echo -e "\x01\x01\x01" | openssl s_client -connect 172.25.0.1:7700 -quiet | xxd

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1556463341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJREKJ7ZQO3GE23MN3AR7BTXHLLPFANCNFSM6AAAAAAUMOWTJE . You are receiving this because you authored the thread.Message ID: @.***>

sanjay900 commented 1 year ago

for comparison, on my working panel i see this:

echo -e "\x01\x01\x01" | openssl s_client -connect 192.168.0.96:7700 -quiet | xxd                                                                                                                                                                                                                                                                                   0|INT|INT ✘
Can't use SSL_get_servername
depth=0 C = US, ST = NY, L = Fairport, O = Bosch Security Systems, OU = BU Intrusion, CN = US-1B, emailAddress = info@us.bosch.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = US, ST = NY, L = Fairport, O = Bosch Security Systems, OU = BU Intrusion, CN = US-1B, emailAddress = info@us.bosch.com
verify error:num=21:unable to verify the first certificate
verify return:1
depth=0 C = US, ST = NY, L = Fairport, O = Bosch Security Systems, OU = BU Intrusion, CN = US-1B, emailAddress = info@us.bosch.com
verify error:num=10:certificate has expired
notAfter=Apr 15 16:54:19 2022 GMT
verify return:1
depth=0 C = US, ST = NY, L = Fairport, O = Bosch Security Systems, OU = BU Intrusion, CN = US-1B, emailAddress = info@us.bosch.com
notAfter=Apr 15 16:54:19 2022 GMT
verify return:1
00000000: 010f fe21 0502 0000 0203 0000 0216 0000  ...!............
buzurk26 commented 1 year ago

Thanks for that, seems my module has stopped responding on port 7700, i cant find a way to reboot it either from web ui, might have to power cycle when im back

sanjay900 commented 1 year ago

had one guy with a similar problem on their 3000, they ended up just resetting their panel via a-link to get things working, but it would be interesting to compare your settings to https://github.com/EHylands/homebridge-boschcontrolpanel_bgseries/issues/1#issuecomment-1317668314

buzurk26 commented 1 year ago

Oh yeah i can do that, will try that now

On Mon, May 22, 2023 at 1:43 PM Sanjay Govind @.***> wrote:

had one guy with a similar problem on their 3000, they ended up just resetting their panel via a-link to get things working, but it would be interesting to compare your settings to EHylands/homebridge-boschcontrolpanel_bgseries#1 (comment) https://github.com/EHylands/homebridge-boschcontrolpanel_bgseries/issues/1#issuecomment-1317668314

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1556475465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJREKJYZY56S7TCBGI54S4TXHLOEPANCNFSM6AAAAAAUMOWTJE . You are receiving this because you authored the thread.Message ID: @.***>

buzurk26 commented 1 year ago

I have connected to it via a-link, no reset option i can find - damn

sanjay900 commented 1 year ago

mind doing a comparison between your settings and those screenshots in that comment link?

buzurk26 commented 1 year ago

Sure can will get that and post it up soon

buzurk26 commented 1 year ago

After alot of mucking around i got it to work!!!!!!!!!! thank you so much, been wanting this alarm in HA for over 3 years image

sanjay900 commented 1 year ago

awesome!

sanjay900 commented 1 year ago

What did you need to change?

buzurk26 commented 1 year ago

Back tracking through that now, one of those changed many situations so looking to see what made it work

one issue, maybe design is if i press ARM from HA the panel starts beeping which is great, but if i press home, or disarm it doesn't stop beeping it continues to want to arm

Ive not let it arm yet, too many home and will set it off, but assume maybe if i let it fully arm then press disarm it will work?

Do i need to wait for it to fully arm first? I notice there is no "pin" to disarm it?

sanjay900 commented 1 year ago

the disarm button should work at any time, how odd. In terms of a pin, ill need to add support for pins since the integration currently doesn't have a pin built in

sanjay900 commented 1 year ago

can i see your log file?

buzurk26 commented 1 year ago

It worked the very first time, i pressed it not long after and it stopped Subsequent times have not worked

image image image

buzurk26 commented 1 year ago

Just tried it again and it worked now, odd

buzurk26 commented 1 year ago

Notice the RSC+ app dosnt work at all now either, assume you can only have one or the other maybe

sanjay900 commented 1 year ago

Yeah, sadly the panel only lets one device be connected at a time If you did have the app open, that might be why things are acting strangly?

buzurk26 commented 1 year ago

i had a-link open still, maybe that caused it

The app dosnt work at all now, if HAS is reliable i can setup notifications there anyway

Do you have a states list for when alarm is triggered?

buzurk26 commented 1 year ago

image

sanjay900 commented 1 year ago

Yeah when it's triggered it should just be a state of triggered

On Mon, 22 May 2023, 11:43 pm buzurk26, @.***> wrote:

[image: image] https://user-images.githubusercontent.com/39994663/239898060-7e1234b3-f3a1-4492-8c70-0b38e9616bb7.png

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1557069436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOGYQH6CAPOHY37BIIAZ4LXHNGP3ANCNFSM6AAAAAAUMOWTJE . You are receiving this because you were mentioned.Message ID: @.***>

buzurk26 commented 1 year ago

Oh cool ill base an automation off that.

On Mon, May 22, 2023 at 9:48 PM Sanjay Govind @.***> wrote:

Yeah when it's triggered it should just be a state of triggered

On Mon, 22 May 2023, 11:43 pm buzurk26, @.***> wrote:

[image: image] < https://user-images.githubusercontent.com/39994663/239898060-7e1234b3-f3a1-4492-8c70-0b38e9616bb7.png

— Reply to this email directly, view it on GitHub < https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1557069436 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAOGYQH6CAPOHY37BIIAZ4LXHNGP3ANCNFSM6AAAAAAUMOWTJE

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1557075098, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJREKJ36G7OGTEICWFCQZM3XHNG7LANCNFSM6AAAAAAUMOWTJE . You are receiving this because you authored the thread.Message ID: @.***>

buzurk26 commented 1 year ago

Thanks again, Do you do much with automations?

Think this would work, disarm the alarm automatically if my phone enters the "home" zone via gps

`alias: Alarm - Disarm when home description: "" trigger:

  • platform: device device_id: 94c8b76a01a37943fb880a088d3b2372 domain: device_tracker entity_id: device_tracker.sm_g998b type: enters zone: zone.home condition:
  • condition: state entity_id: alarm_control_panel.area1 state: armed_away action:
  • service: alarm_control_panel.alarm_disarm data: {} target: entity_id: alarm_control_panel.area1 mode: single `
sanjay900 commented 1 year ago

Yeah i think that would work

sanjay900 commented 1 year ago

There is also a state of "pending" for when the alarm detects movement and is about to transition into a triggered state

sanjay900 commented 1 year ago

Heres a list of the states that the panel can go into:

buzurk26 commented 1 year ago

Awesome, Thank you - ill create some cool automations

the motion sensors will be handy too

buzurk26 commented 1 year ago

Hey Mate,

Just checking in, its been working well, from time to time its reporting as disconnected for a few minutes though only happened a couple of times since installing

HACs told me its ready for an update, do i update as they come out? image

The integration needs an icon :-P image

sanjay900 commented 1 year ago

yeah so ive still been adding features as time has been going on, though the last little bit i was just messing with trying to get someones AMAX panel going. Ive since added support for arming codes, and ill be adding in history support soon

sanjay900 commented 1 year ago

Seems like sometimes the panel just times out ocassionally, but at least it reconnects alright

buzurk26 commented 1 year ago

Oh nice might do the update then

On Wed, 24 May 2023, 7:43 pm Sanjay Govind, @.***> wrote:

yeah so ive still been adding features as time has been going on, though the last little bit i was just messing with trying to get someones AMAX panel going. Ive since added support for arming codes, and ill be adding in history support soon

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1560793313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJREKJ2Q73GQFNVBP3Z5PB3XHXJ37ANCNFSM6AAAAAAUMOWTJE . You are receiving this because you authored the thread.Message ID: @.***>

sanjay900 commented 1 year ago

Gonna try and get history implemetned as well today if i can

sanjay900 commented 1 year ago

Im going to close this issue, as this integration is being deprecated in favour of https://github.com/mag1024/bosch-alarm-homeassistant.

buzurk26 commented 1 year ago

@sanjay900 - Oh! Should i uninstall and changeover to that one? Im using the new one you gave me https://github.com/sanjay900/bosch-alarm-homeassistant

i did have a large disconnect last night too

image
sanjay900 commented 1 year ago

Yeah this one should be more stable

On Mon, 29 May 2023, 1:48 pm buzurk26, @.***> wrote:

@sanjay900 https://github.com/sanjay900 - Oh! Should i uninstall and changeover to that one? Im using the new one you gave me https://github.com/sanjay900/bosch-alarm-homeassistant

i did have a large disconnect last night too [image: image] https://user-images.githubusercontent.com/39994663/241608831-98afbe5d-9ce1-4c29-b9a8-79bf541cf9e3.png

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1566375730, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOGYQBV7N3A72QHC2EOC4DXIP6ATANCNFSM6AAAAAAUMOWTJE . You are receiving this because you were mentioned.Message ID: @.***>

buzurk26 commented 1 year ago

No worries , so just remove all this from ha and hacs then add that repo and install?

On Mon, 29 May 2023, 7:05 pm Sanjay Govind, @.***> wrote:

Yeah this one should be more stable

On Mon, 29 May 2023, 1:48 pm buzurk26, @.***> wrote:

@sanjay900 https://github.com/sanjay900 - Oh! Should i uninstall and changeover to that one? Im using the new one you gave me https://github.com/sanjay900/bosch-alarm-homeassistant

i did have a large disconnect last night too [image: image] < https://user-images.githubusercontent.com/39994663/241608831-98afbe5d-9ce1-4c29-b9a8-79bf541cf9e3.png

— Reply to this email directly, view it on GitHub < https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1566375730 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAOGYQBV7N3A72QHC2EOC4DXIP6ATANCNFSM6AAAAAAUMOWTJE

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1566798639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJREKJ5ZTAUG7B3YMCVRQ6DXIRRFFANCNFSM6AAAAAAUMOWTJE . You are receiving this because you authored the thread.Message ID: @.***>

sanjay900 commented 1 year ago

Yeah exactly

On Mon, 29 May 2023, 9:09 pm buzurk26, @.***> wrote:

No worries , so just remove all this from ha and hacs then add that repo and install?

On Mon, 29 May 2023, 7:05 pm Sanjay Govind, @.***> wrote:

Yeah this one should be more stable

On Mon, 29 May 2023, 1:48 pm buzurk26, @.***> wrote:

@sanjay900 https://github.com/sanjay900 - Oh! Should i uninstall and changeover to that one? Im using the new one you gave me https://github.com/sanjay900/bosch-alarm-homeassistant

i did have a large disconnect last night too [image: image] <

https://user-images.githubusercontent.com/39994663/241608831-98afbe5d-9ce1-4c29-b9a8-79bf541cf9e3.png

— Reply to this email directly, view it on GitHub <

https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1566375730

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAOGYQBV7N3A72QHC2EOC4DXIP6ATANCNFSM6AAAAAAUMOWTJE

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1566798639 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJREKJ5ZTAUG7B3YMCVRQ6DXIRRFFANCNFSM6AAAAAAUMOWTJE

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/sanjay900/solution3000-home-assistant/issues/7#issuecomment-1566805518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOGYQCXSLLYRINTYDDJGU3XIRRWNANCNFSM6AAAAAAUMOWTJE . You are receiving this because you were mentioned.Message ID: @.***>