Comments (6)
Hi @booroondookZ I suggest you change to the following setup which works for me in HA 2021.6.6:
- Rename the folder in custom_components to "Jablotron80"
- In configuration.yaml use:
platform: Jablotron80
- Use this as your manifest.json content: https://github.com/FraBoCH/HASS-Jablotron80/blob/master/custom_components/Jablotron80/manifest.json
If it still fails, restart without any entry in the configuration.yaml before adding it.
I hope it will work.
from hass-jablotron80.
I can confirm the "platform" attribute must match the folder name you put in folder custom_components
.
As you are running HA 2021.06.*, please make sure you have a version number in the manifest. I've already added that in my PR #24 but it is not merged yet.
If you didn't do that already, try restarting HA before adding the configuration section in configuration.yaml and the restart once again.
Then, please check the HA logs to see if any error appears.
from hass-jablotron80.
I can confirm the "platform" attribute must match the folder name you put in folder
custom_components
.
Yes. My folder is:
.../custom_components/jablotron
and it contains these files:
__init__.py
alarm_control_panel.py
manifest.json
HA's configuration.yaml contains these strings:
alarm_control_panel:
- platform: jablotron
serial_port: /dev/ttyUSB0
As you are running HA 2021.06.*, please make sure you have a version number in the manifest. I've already added that in my PR #24 but it is not merged yet.
Yes. My manifest.json:
{
"domain": "Jablotron80",
"name": "Jablotron 80 Component",
"version": "0.0.1.0",
"documentation": "https://github.com/mattsaxon/hass-jablotron80",
"issue_tracker": "https://github.com/mattsaxon/hass-jablotron80/issues",
"codeowners": ["@mattsaxon"],
"version": "1.0.0"
"codeowners": ["@mattsaxon"]
}
If you didn't do that already, try restarting HA before adding the configuration section in configuration.yaml and the restart once again.
I did HA restarting before confguration changes. But I cannot restart HA after changes because HA tells about invalid configuration and cannot be restarted (see attached screenshots, please).
Then, please check the HA logs to see if any error appears.
Therere are no any logs becase HA restart is impossible with configuration shown above.
P.S. HA is 2021.6.6 version
from hass-jablotron80.
Hi @booroondookZ I suggest you change to the following setup which works for me in HA 2021.6.6:
Thank you very much! Your method is working to me. But there are some nuances.
After I made changes to the files and then clicked the "Check configuration" button, I again got the same errors that I wrote about earlier. The only difference was that in these errors "Jablotron80" was shown, instead of "jablotron".
And then I made the following steps:
- I have commented out the corresponding lines in configuration.yaml file.
- I clicked on the "Check configuration" button and made sure there were no errors.
- I clicked on the "Restart Home Assistant" button, and then (I have access to the server via Samba) reopened "configuration.yaml" file and removed the comments (at this time the server had not finished its restart yet).
- After restarting and getting the server up and running, I made sure that everything works. And what's more: pressing the "Check configuration" button again does not give an error.
from hass-jablotron80.
from hass-jablotron80.
@FraBoCH thanks for fixing this and putting in the PR. I have now merged.
from hass-jablotron80.
Related Issues (20)
- Unable to activate alarm HOT 2
- 0.108.1 update HOT 4
- Trying to make it work on a JA-82K with a "simple" USB to TTL converted based on CP2102 chipset HOT 1
- when configuring -> Unknown status packet is b'\x82\x01`\x00\x00\x00\x00\x00' HOT 8
- Keypad disappears. HOT 15
- Detect wireless siren power failure HOT 1
- New feature: virtual keypad HOT 1
- Alarm is considered as triggered incorrectly in case of a sabotaged sensor HOT 1
- Source alarm name not known yet HOT 5
- Support JA-83 HOT 1
- Please help me with the configuration HOT 11
- Jablotron JA-60 HOT 2
- Status of Sensors for Jablotron 80 HOT 7
- No 'version' key in the manifest HOT 3
- support for JA-80BT (bluetooth dongle) HOT 2
- which alarm_code to use HOT 1
- Integration not working HOT 1
- Can i see the trigger a bit earlier ? HOT 1
- JA-80T functionality HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-jablotron80.