Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sector alarm Norway #1

Closed
GunnarBjoru opened this issue Jun 6, 2020 · 12 comments
Closed

Sector alarm Norway #1

GunnarBjoru opened this issue Jun 6, 2020 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@GunnarBjoru
Copy link

I haven't tried but is there any reason this would not work for Sector alarm in Norway?

@gjohansson-ST
Copy link
Owner

gjohansson-ST commented Jun 6, 2020

No. As far as I know it’s all the same platform/api.
Perfect if you can try and report back.

@gjohansson-ST gjohansson-ST self-assigned this Jun 6, 2020
@gjohansson-ST gjohansson-ST added the question Further information is requested label Jun 6, 2020
@GunnarBjoru
Copy link
Author

My first attempt was not successful. Maybe i did somethings wrong.
Isn't the alarm_id number required?

@gjohansson-ST
Copy link
Owner

Hi.
No, it finds the panel id itself from login.
Can you turn on debug for sector and restart and check the log file (search for “sector”) where it should report where it goes wrong.
Maybe also do a check that the credentials you put in config really works if you login on sector homepage.

@yusijs
Copy link

yusijs commented Jun 7, 2020

I've set it up for Norway as well. I got an id and it looks ok (I think?), but state is always pending, with this information:

code_format: '^\d{4,6}$
changed_by: null
code_arm_required: true
supported_features: 3
friendly_name: Sector Alarm 12345678

(12345678 is obv not the actual value, just placeholder for this comment.. 🙃)

@gjohansson-ST
Copy link
Owner

Any error in the log file or even better can you turn on debug for this component?
Search for “sector” until you see an error.
Do you have last version installed?
Do you use temp sensors and locks?

@yusijs
Copy link

yusijs commented Jun 7, 2020

I set debug, I could only find one thing:
2020-06-07 15:50:31 DEBUG (MainThread) [custom_components.sector] Sector: Failed to get locks update: 500

It gets a good response from the IR sensors (temperatur etc). The only error I was able to find was the 500 status. I installed it today so I would assume it's the latest version. I use temp sensor & alarm, not locks.

Edit:
And I turned on debug for the component, but it still only showed up in the full log file, so RIP my mobile texteditor holy shit.

@gjohansson-ST
Copy link
Owner

Ok. Then I have a good guess what’s incorrect in the update function.
Will sort it tonight and then make a comment here when I released a new version.
Thanks

Don’t forget to turn off the debug :)

@yusijs
Copy link

yusijs commented Jun 7, 2020

Yep, turning off now! :)

@gjohansson-ST
Copy link
Owner

I did just release a bet which should address this issue.
Please switch to allow beta in the integration and install the new v0.1.6-beta version.
Please let me know if it's working after install and reboot.

@gjohansson-ST gjohansson-ST added bug Something isn't working and removed question Further information is requested labels Jun 7, 2020
@yusijs
Copy link

yusijs commented Jun 7, 2020

Installed, worked perfectly now. I havent tried arming it (just put the kids to bed), but the status is correct!

image

@gjohansson-ST
Copy link
Owner

Installed, worked perfectly now. I havent tried arming it (just put the kids to bed), but the status is correct!

image

Cool. Thanks for confirming. I close this issue now. If anything please raise a new issue ticket

@yusijs
Copy link

yusijs commented Jun 8, 2020

@gjohansson-ST wasnt solved after all - I tried arming today, and it failed because "lock is not defined"

Repository owner locked as resolved and limited conversation to collaborators Jun 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants