akasma74 / Hass-Custom-Alarm

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth
79 stars 29 forks source link

This Component is not working #78

Closed jscott304 closed 4 years ago

jscott304 commented 4 years ago

When I click on the Alarm button on the side I get a black page saying to look at the logs. This integration: v1.11.2pre1 Home Assistant: v0.104.3

I've looked through the logs and I'm not seeing anything referencing the platform

Below is the Yaml file: `platform: bwalarm name: House Alarm code: '0001' code_to_arm: false passcode_attempts: 3 passcode_attempts_timeout: 10 panic_code: '0002' enable_night_mode: true enable_persistence: true

panel: hide_sidebar: 'True' round_buttons: 'False' enable_sensors_panel: enable enable_fahrenheit: '0' panel_title: Home hide_sensors: true hide_passcode: 'True' enable_clock: 'True' cameras: []

states: armed_away: immediate:

users:

akasma74 commented 4 years ago

I need some more information:

mattnic586 commented 4 years ago

I have been having the same issue on my install as well. Current I have 1.11.1 installed with 104.3 hass. I have tried 1.11.2pre1 and it has the same issue. This started sometime around Hass 1.03.2 I think. I have set the logger to debug for the component. Where do I find that log?

akasma74 commented 4 years ago

Where do I find that log?

<HA config folder>/home-assistant.log

This started sometime around Hass 1.03.2

do you mean that it started when you updated your HA?

mattnic586 commented 4 years ago

The component failed to load sometime after the 1.03.2 Hass upgrade. I have the log file, and it's 220MB, should I upload the whole thing or is there a particular part I should post here?

akasma74 commented 4 years ago

I have the log file, and it's 220MB

Wow, is it really .log file? I only need the starting bit up to the point HA stops saying anything about bwalarm.

By the way, have a look at this - doesn't it look familiar?

mattnic586 commented 4 years ago

Well poop, that's the problem I set MQTT to false and the component loads. Unfortunately for me mqtt is how I active my alarm via node-red. I think I have a work around so I will dig into that. Thank you for the help.

akasma74 commented 4 years ago

I think I have a work around so I will dig into that

Just do this

mattnic586 commented 4 years ago

I added "mqtt" as a dependency in the manifest.json file and set mqtt to true and it is working correctly now! Thank you so much.

akasma74 commented 4 years ago

I'm glad you're back to bussiness. Just one thing: in the future please read not only the first post (as the solution was at the end of the issue I sent you link to)

akasma74 commented 4 years ago

I'm closing the issue now as it seems to be resolved (at least for some intrested parties). Feel free to reopen/create a new one if needed.