GithubHelp home page GithubHelp logo

pschmitt / home-assistant-addons Goto Github PK

View Code? Open in Web Editor NEW
70.0 7.0 49.0 459 KB

Home Assistant addons by pschmitt

Shell 61.74% Python 19.10% Dockerfile 19.16%
hassio home-assistant addon docker flicd zabbix-agent pilight picamera hassos

home-assistant-addons's Introduction

home-assistant-addons

Build

Home Assistant addons by Philipp Schmitt

Add to Home Assistant using the repository url: https://github.com/pschmitt/home-assistant-addons

flicd

React to flic button presses on the Raspberry Pi.

Installation

The flicd server needs a bluetooth controller. If you are running Hass.io based on HassOS, you can use the built-in controller. If you are running the older Hass.io based on ResinOS, you'll need to install the Bluetooth BCM43xx add-on.

Available HCI devices found:
hci0
Trying hci0
hci0 is busy, shutting down and retrying...
Successfully bound HCI socket
Flic server is now up and running!
Initialization of Bluetooth controller done!

By default, flicd is going to use hci0 bluetooth controller. If you have multiple bluetooth controllers you can configure flicd to use another controller by specifying it in hci_dev configuration setting of the add-on.

{
  "hci_dev": "hci1"
}

After starting the flicd add-on, you might need to restart Home Assistant. Your flic buttons should be detected automatically if you keep pressing the button.

For more information, check the Home Assistant Forum at https://community.home-assistant.io/search?q=flicd or check the other community support channels at https://www.home-assistant.io/help/

Usage

Check the flic component page at home-assistant.io.

avahi-reflector

avahi-reflector to bridge mDNS.

keepalived

osixia/docker-keepalived packaged as a Home Assistant addon.

picamera

Expose your raspicam.

pilight

⚠️ DEPRECATED Please use another addon (or fork)

Tailscale

Tailscale VPN service. This addon was originally published here.

zabbix-agent{,2}

Zabbix agent{,2}.

home-assistant-addons's People

Contributors

daviddesloovere avatar dcoder42 avatar feliiixo avatar imotov avatar lumarel avatar pelleravn avatar pschmitt avatar twanislas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

home-assistant-addons's Issues

Only "click_type : single" working in HA Automation.

I have a reasonably good working HA setup on my intel NUC but I am having difficulties with an Automation. All seems to work when I set the click_type to single. The button only responds to single clicks. When set to double or hold, nothing happens. Is this expected behavior or might I have overlooked something?

Couldn't find Flic add-on in Hass.io

I have a problem with installing the Flic add on. When I add the repository in Hass.io there are only the picam and plight add ons. I am running Hass.Io (HassOS) 0.92.1.

pilight config

Hello,

thanks for providing a pilight addon! Installation worked without any problems.

But I don't get how to change the pilight config. I can see only the option to change the gpio platform. Where can I add devices?

Would be great if you can help me.

Jens

Flicd Addon installed but cannot pair buttons

I have installed the flicd addon on Hassio. It seems running well. Please see below:

Available HCI devices found:
hci0
Trying hci0
hci0 is busy, shutting down and retrying...
Successfully bound HCI socket
Flic server is now up and running!
Initialization of Bluetooth controller done!
Accepted new client

Binary sensor has been already added in Configuration as well.

binary_sensor:

  • platform: flic
    host: 192.168.1.xx (IP Address of the RP3)
    discovery: true

I am trying to add the buttons while pressing them 7+ seconds but nothing is happening at all.
Please help me sort this out.

Note: I have got the new Flic 2 buttons.

Update:
I can see the below in the home assistant log:
2019-12-21 01:56:14 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/flic/binary_sensor.py", line 81, in
hass.bus.listen_once(EVENT_HOMEASSISTANT_STOP, lambda event: client.close())
File "/usr/local/lib/python3.7/site-packages/pyflic/init.py", line 283, in close
self._send_command("CmdPing", {"ping_id": 0}) # To unblock socket select
File "/usr/local/lib/python3.7/site-packages/pyflic/init.py", line 434, in _send_command
self._sock.sendall(bytes)
BrokenPipeError: [Errno 32] Broken pipe

Flicd blocking bluetooth controller exclusively?

Hi,

First, thank you for flicd, which really helps a lot. I just have a quick question - does the daemon block other services using the bluetooth controller (e.g., hci0)? I tried to setup other integrations using bluetoth, and they all fail unless I stop flicd.

Best,
C.

flicd errors

I have flicd 1.2 running in hassio (latest suipervisor & hass) on a RPI3. It runs fine most of the time, but periodically stops with the following line in the log: Invalid ACL packet size: 1541 vs 1500.

I also have the Bluetooth BCM43xx addon running without any issues

Manually restarting the flicd addon brings the service back up

armv7 repository not found

Hi!

I'm really new with docker images, so please forgive me if this is my fault! I recently made a fresh reinstall of hass.io on a rpi3 and now can't seem to get your add-on to install. This is the error I get. Sounds familiar?

19-03-09 22:17:03 ERROR (SyncWorker_10) [hassio.docker.interface] Can't install pschmitt/hassio-addon-armv7-flicd:1.2 -> 404 Client Error: Not Found ("pull access denied for pschmitt/hassio-addon-armv7-flicd, repository does not exist or may require 'docker login'").

Pair with flic lights?

I’ve just revived some flic lights and I’m having issues pairing to HASSIO, it pairs with there flic app but not seeing it at all in HASSIO, followed the same process as my originals standard flics. Do you thing there is a different method needed to add these to HASSIO?

Unable to start Zhue

I'm currently running Hassio v0.85.1 on a Raspberry Pi 3 B+. When I go to start the addon, I am presented with this:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/zhue/cli.py", line 151, in
main()
File "/usr/local/lib/python2.7/site-packages/zhue/cli.py", line 118, in main
switches = bridge.switches
File "/usr/local/lib/python2.7/site-packages/zhue/model/bridge.py", line 242, in switches
return self.__get_sensors_by_type(SwitchSensor)
File "/usr/local/lib/python2.7/site-packages/zhue/model/bridge.py", line 226, in __get_sensors_by_type
return [x for x in self.sensors if isinstance(x, sensor_type)]
File "/usr/local/lib/python2.7/site-packages/zhue/model/bridge.py", line 184, in sensors
for i, v in self._property('sensors').items():
File "/usr/local/lib/python2.7/site-packages/zhue/model/bridge.py", line 149, in _property
res = self._request(url)
File "/usr/local/lib/python2.7/site-packages/zhue/model/bridge.py", line 83, in _request
raise HueError(response.description)
zhue.model.bridge.HueError: unauthorized user

How do I fix the unauthorized user error as I could not find any documentation on how to properly setup the addon for use?

Doesn't work for rpi1b2

Can't control 433mhz switches on raspberry pi 1 b 2.
Doesn't even see the transmitter, if you go to hassio menu -> system
Pilight works in Hassbian for the rpi1b2.

flicd No such file or directory

Trying to get this working on hassio 0.88.2. Added the repository and installed the flicd add-on, but whenever it starts this is the only thing in the log:

[FATAL tini (6)] exec /usr/bin/flicd failed: No such file or directory

(sometimes the 6 is a 7 instead)

[zabbix-agent2] Restarting addon in privileged mode breaks Home Assistant

Hi there,

I have this issue with the zabbiz-agent2 addon, however it might also occur with some of your other addons since you're using the same base.

When the addon is in privileged mode, stopping or restarting it breaks home assistant (can't access the ui, nor any other addon) but I can still ping the machine. My guess is that the way the addon is doing its shutdown is propagating to the host os since it is in privileged mode.

But that's only a wild guess, I don't have the full knowledge of Home Assistant addons...

Since the only way to bring back HA to life is to manually reset the machine, it's pretty hard to grab logs, sorry...

Thanks in advance for having a look.

Cheers !

Use Flicd with external hub

The server I have running my HA instance doesnt have access to a bluetooth device but I do have a flic hub.

Can I use the flic hub and take the ip address of that device to use as the flicd service and integrate into HA?

I added the configuration to target the external host IP (rather than Localhost)

binary_sensor:
  - platform: flic
    host: 192.168.2.30

But the buttons dont show up when I try to pair them

Install pilight failed

On my raspberry 3 b+ I got following error message during install process:

18-07-16 15:40:04 INFO (MainThread) [hassio.addons.git] Clone addon https://github.com/pschmitt/hassio-addons.git repository 18-07-16 15:40:08 INFO (MainThread) [hassio.addons] Load addons: 46 all - 5 new - 0 remove 18-07-16 15:40:13 ERROR (MainThread) [hassio.addons.addon] Addon ce805d96_pilight not supported on aarch64

Does the flicd addon still work?

Hi!

Some time ago I was able to setup a few flic buttons in home assistant. I never got around to do what I wanted to do so they have been unused since then.

Now I am running the latest hassio (77.3), tested on both resino and hassos OS. Both fail to pair the flic's.

I can pair them easily on my mac so I know my procedure is correct.
I also set flic in binary section of configuration.yaml.

This is the output:

Available HCI devices found:
hci0
Trying hci0
hci0 is busy, shutting down and retrying...
Successfully bound HCI socket
Flic server is now up and running!
Initialization of Bluetooth controller done!

Then nothing.
I've held the flic's form 1 s to 15 s, no reaction.

Avahi services

Wondering if it's possible to add an mqtt services file to this.

I know it's purpose is as a reflector, but avahi-daemon can publish too.

The version here, when installed on home assistant, is already publishing two services (copied from the avahi add-on logs on my home assistant):

Loading service file /services/sftp-ssh.service.
Loading service file /services/ssh.service

I don't see these in the dockerfile, they must come with the apk package...

Here is a link to someone advertising smb...
https://hub.docker.com/r/stanback/alpine-avahi

So that said, it likely wouldn't make sense to add mqtt advertising since not everyone might want that. I'll fork this and try my hand at making my own add-,on.

Addon is not installing

Hi,

I try to install your addon on my Raspberry Pi Zero W.

Steps:

1.) Add https://github.com/pschmitt/hassio-addons.git under "Add-On Repositories"
2.) Under "pschmitt's addon repository" click on "flicd", than "Install"
3.) A process bar is indicating some progress, but it is finishing with a red flashing install button. The install button does not disapper. So it seems the installation is not working

Greeting

Bernd

Trouble installing the flicd service

I am sure this is probably on my end but I am getting this in the log and not exactly sure how to troubleshoot it:
21-12-03 17:33:21 ERROR (SyncWorker_4) [supervisor.docker.interface] Can't install pschmitt/home-assistant-addon-aarch64-flicd:2.0.3: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2.0.3&fromImage=pschmitt%2Fhome-assistant-addon-aarch64-flicd: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host")

I cannot find anywhere in the code or the local container that it is using registry-1 and so not sure where to look next.

Any help would be appreciated,

Cannot add repository

Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:124
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 21:46:42 (5 occurrences)
Last logged: 21:48:53

Failed to to call /store/repositories - expected a URL for dictionary value @ data['repository']. Got ' https://github.com/pschmitt/home-assistant-addons'

zabbix-agent2 1.2 fails with error message

After upgrading to 1.2, I'm receiving the following error:

zabbix_agent2 [1173789]: ERROR: Cannot read configuration: cannot include "/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf": stat /etc/zabbix/zabbix_agent2.d/plugins.d: no such file or directory

Error occurs with a fresh install and default config.

When I restore the previously working 1.1 backup, I receive the error in #53.

Multiple Bluetooth connections

Having set up Flic on my Raspberry Pi using the on board Bluetooth controller, I lose connection to my other add ons that use Bluetooth, in my case "Plejd".
When I disable the Flic add on the Plejd add on works again.
Is this expected behaviour or something that can be addressed?

Getting error since core update to 107.1

I get the following error since updating to 107.1

Available HCI devices found:
hci0

Trying hci0
Successfully bound HCI socket
Flic server is now up and running!
flicd: flicd.cpp:2551: void reset_handler(uint8_t): Assertion '!status' failed. 

Any clue as to how I can fix this?

Conflict with new HA BlueTooth Integration (since 2022.08.0)

Unable to run both HA Bluetooth Integration (new with 2022.8.0) and existing FLIC add-on when using a single BlueTooth adapter.

The FLIC add-on will override the BlueTooth Integration so FLIC buttons still work, but nothing connected via HA Core Bluetooth will.

Will this add-on be adapted to utilise the new core BlueTooth Integration?

HACS: Repostitory structure for master is not compliant

When trying add the package to HACS, it fails and returns the following error:

Repostitory structure for master is not compliant

Environment

Home Assistant OS: 5.13
Home Assistant Core: 2021.5.5
HACS Integration version: 1.12.4
HACS Frontend version: 20210429001005

[FATAL tini (7)] exec /usr/bin/flicd failed: No such file or directory

Hi,

this is just a FYI for other folks who might also stumble upon this issue. If you happen to run Home Assistant on a Raspberry Pi 4th generation you run a 64-bit system. As it turns out home-assistant-addons pulls in a dependency from https://github.com/50ButtonsEach/fliclib-linux-hci to run flicd to communicate with the buttons. Unfortunately there are currently no AArch64 binaries available that would run on a Raspberry PI 4.

However according to 50ButtonsEach/fliclib-linux-hci#97 (comment) they plan to release a new version soon which should also support AArch64.

Help, cannot connect

Hi, sorry for my ignorance, but I am very new at this, I am trying to install flic add-on on home assistant (rp3b) through add-ons link but no luck, am I doing something wrong?

18-11-24 10:54:20 ERROR (MainThread) [hassio.addons.git] Can't clone https://github.com/pschmitt/hassio-addons repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/pschmitt/hassio-addons /data/addons/git/aaa91bdd
stderr: 'Cloning into '/data/addons/git/aaa91bdd'...
fatal: unable to access 'https://github.com/pschmitt/hassio-addons/': Failed to connect to github.com port 443: Operation timed out
'.
18-11-24 10:54:20 ERROR (MainThread) [hassio.addons] Can't load from repository https://github.com/pschmitt/hassio-addons
18-11-24 10:54:20 INFO (MainThread) [hassio.addons] Load add-ons: 46 all - 0 new - 0 remove
18-11-24 10:57:27 INFO (MainThread) [hassio.addons.git] Clone add-on https://github.com/pschmitt/hassio-addons repository
18-11-24 11:01:02 ERROR (MainThread) [hassio.addons.git] Can't clone https://github.com/pschmitt/hassio-addons repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/pschmitt/hassio-addons /data/addons/git/aaa91bdd
stderr: 'Cloning into '/data/addons/git/aaa91bdd'...
fatal: unable to access 'https://github.com/pschmitt/hassio-addons/': Failed to connect to github.com port 443: Operation timed out
'.
18-11-24 11:01:02 ERROR (MainThread) [hassio.addons] Can't load from repository https://github.com/pschmitt/hassio-addons
18-11-24 11:01:02 INFO (MainThread) [hassio.addons] Load add-ons: 46 all - 0 new - 0 remove

[feature request] support the new bluetooth proxy feature in home assistant

Hi,

I would really appreciate it if you could add support for the relatively new bluetooth proxy feature in home assistant to this addon. I have a network of esphome bluetooth nodes already and no easy way to add a bluetooth dongle to my home assistant setup, as the control software is virtualized.

Thanks.

Flicd not working with secondary bluetooth device

Following on from: #56 (comment)

I purchased a second long range bluetooth device to use Flicd alongside the new HA BlueTooth Integration (since 2022.8).
The same model as described in this topic: https://community.home-assistant.io/t/bt-le-on-zigbee-3-0-cc2652p-usb-stick-not-recognized-by-hassos/352106/11

However, if I change the Flicd configuration to:

hci_dev: hci1

the flic buttons do not respond.

With nothing configured I see the 2 controllers are available in the cli:

~ $ bluetoothctl list
Controller [bt mac 1] homeassistant #1 [default]
Controller [bt mac 2] homeassistant

When Flicd is configured and started with hci1, one of the connectors is no longer available which I presume is correct due to Flicd's exclusive access requirement

~ $ bluetoothctl list
Controller [bt mac 2] homeassistant [default]

Testing the same hci1 adapter with the HA BT integration, it quickly identifies an unconfigured SwitchBot door sensor I have a couple of rooms away proving that the second BT adapter is working as expected and has a very good range.

Changing the FlicD configuration back to use the hci0 and the buttons start working again

pilight send failed - insufficient number of arguments

Hi Philipp,
many thanks for this pilight addon for Hass.io.
I used pilight in a rasbian environment (PI2) before and it worked fine with my elro_800_switch config.
Now I want to change to hassio with your pilight docker addon.

Installation worked fine without errors, communication between pilight and HA seems to be established.
Each send command via HA or directly via Web-RestAPI rsults in an error message:
pilight-daemon: ERROR: elro_800_switch: insufficient number of arguments.

May be its a problem with this specific elro_800_switch (no ID, only systemcode, unitcode).
I have no idea how to solve and hope you can support or give me a hint.
Attached you will get a file with logentries and some explanations...
logfile pilight.pdf

Best Michael

Cannot start pilight addon.

Every time I try to start the plight server, it either doesn't start, or starts for a few seconds and stops by itself. I don't know what I am doing wrong. I have tried other ports but nothing seems to work. I have even tried turning off duckdns and ssl but that didn't work either. How do I start the server successfully? There is no errors in the log. I am using a Raspberry Pi 3 with 32bit HASSIO flash.

[pilight] gpio permission denied

After installing the pilight addon on the latest HassOS/Hass.io I get the following error:

pilight-daemon: ERROR: The Broadcom 2836 cannot open /sys/class/gpio/export for gpio exporting (Permission denied)
pilight-daemon: ERROR: unable to register interrupt for pin 1
pilight-daemon: ERROR: could not initialize 433gpio hardware module

I'm trying to figure out a fix but no luck so far.

Hass.io 64 bit: pilight aarch64 issues

With an Pi 3B+ and 64bit hass.io:

The config.json do not reference the aarch64 container. There is one 1.0 version (pschmitt/hassio-addon-aarch64-pilight) but amending the config.json did not work (addon was not starting). Without the change in config.json there is the fallback to armhf which also installed the plugin but it did not start.
Any help for getting pilight running on 64bit hass.io?

More distance to use Flic buttons around the Pi?

Hello!

I have a Pi 4B and I am using the flic integration from your site. It is working without a problem except one thing.
The distance to use the buttons is not really big.

Is it possible to use an external Bluetooth dongle with this installation to position it at a better place?

Flic blocking Switchbot from working

Hello,

i have both this flicd add on running and the switchbot manager on my home assistant. they both work well indepentdently, but when they are both installed the switchbot fails to work giving th below error. could anyone help with this?

Error talking to Switchbot.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/switchbot/init.py", line 92, in _sendcommand
self._connect()
File "/usr/local/lib/python3.8/site-packages/switchbot/init.py", line 45, in _connect
self._device = bluepy.btle.Peripheral(self._mac,
File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 391, in init
self._connect(deviceAddr, addrType, iface)
File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 439, in _connect
raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral C7:E7:06:D2:C8:F8, addr type: random

Flic buttons no more available in HA

Hi,

Since latests versions of HA 'Home Assistant Core 2022.6.2 - Home Assistant Supervisor 2022.05.3 - Home Assistant OS 8.1, my buttons are no more available in HA, I tried several things even use a brand new HA installation on a new Rpi but nothing works anymore. I tried to pair one of my buttons with tha mobile app and it works so buttons are ok.
I have no error in flicd logs and add-on log seems ok:
Available HCI devices found: hci0 Trying hci0 hci0 is busy, shutting down and retrying... Successfully bound HCI socket Flic server is now up and running! Initialization of Bluetooth controller done! Accepted new client

However in supervisor logs i have warnings:
22-06-05 18:17:24 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of picamera 22-06-05 18:17:24 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of Tailscale 22-06-05 18:17:24 WARNING (SyncWorker_2) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of pilight

Am I alone in this situation?

Flic hub vs Flicd on Raspberry Pi

I have a Flic hub, I am using it with the webhook callbacks. It works fine, but the configuration of the webhooks in the Flic app is a pain.

If I would connect my Flic buttons directly to my HA running on Raspberry Pi 3 Model B+, what can I expect to gain / loose?

I expect to gain easier configuration using HA. Will Flicd somehow let me know that some buttons are about to run out of battery before they actually die? Flic app shows empty battery icon on these.

How about BT connection distance / reliability when comparing Raspberry vs Flic hub?

In #44 you mention webhook callbacks have "noticeable delay". I use them to control light bulbs, so less delay is always appreciated, although I do not find it especially bad currently. Can I really expect difference I will really notice?

Thanks

Flicd on Hassio and Raspberry pi zero w

Hello there.
I'm a noob of home assistant, I've installed this fantastic software on my raspberry pi zero W, and have integrated it with Node-red for control my home and make automation of my home.
I've installed node-red-contrib-flic-buttons.
I've installed pschmitt repo in my home assistant and added flic server, than I've edited configuration.yaml adding this line:
binary_sensor:

  • platform: flic

Restarted all.

So, when click on flic button, no reply from home assistant.
I've checked LOGS file home HA and i've founded this error:

Logger: homeassistant.components.flic.binary_sensor
Source: components/flic/binary_sensor.py:70
Integration: flic (documentation, issues)
First occurred: 12:12:06 (1 occurrences)
Last logged: 12:12:06

Failed to connect to flic server

If I go to Supervisor - flicd after restart, flic is not started, but if I click to start, it seems to start.
But if I click one flic button, no reply, no logs, nothing.

Can anyone help me to resolve this issue???

HA Warning: Using deprecated config format

Receiving the following in HA log at startup:

22-02-02 07:48:47 WARNING (SyncWorker_6) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of picamera
22-02-02 07:48:47 WARNING (SyncWorker_6) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of pilight
22-02-02 07:48:47 WARNING (SyncWorker_6) [supervisor.addons.validate] Add-on config 'devices' use a deprecated format, the new format uses a list of paths only. Please report this to the maintainer of Tailscale

I am running HA Version core-2021.12.10, but this has been happening for quite a while.

flicd not sharing the RPi Bluetooth adapter

Hi! Great news that the addon is working back.
But I have an issue, if the addon is running, the bluetooth device tracker stops doing it, and I get these logs.
In my poor understanding, that is saying that the flicd service is getting exclusive access to the Bluetooth adapter, leaving any other out.
Am I right?

_bluetooth.error: (16, 'Resource busy')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 140, in perform_bluetooth_update
    devices = await hass.async_add_executor_job(discover_devices, device_id)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 62, in discover_devices
    device_id=device_id,
  File "/usr/local/lib/python3.7/site-packages/bluetooth/bluez.py", line 34, in discover_devices
    raise BluetoothError ("error communicating with local "
bluetooth.btcommon.BluetoothError: error communicating with local bluetooth adapter
2020-03-14 12:15:47 ERROR (MainThread) [homeassistant.components.bluetooth_tracker.device_tracker] Error looking up Bluetooth device
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/bluetooth/bluez.py", line 31, in discover_devices
    lookup_class=lookup_class, device_id=device_id)

Battery charge status support

Is it possible to add battery charge status? Not sure if it's something that should be added in every button click so some automation could be done based on it or if a separate event should exist alerting of low battery.

At the moment when a button fails it's unclear what is the issue. Battery? Connection?

Pairing Flic with HA

Holding the button does nothing. Can you give detailed instructions as to how to pair with HA (Raspberry Pi)? Also, where do the buttons show up? I’d like to use them in Node Red automations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.