Code Monkey home page Code Monkey logo

hassio-addons's Introduction

Poeschl Home Assistant Supervisor Add-ons

Main build Licence

GitHub commit activity Installation Statistics

Donate

My repository with Add-ons for the Home Assistant (former Hass.io) system.

Addons

  • ICantBelieveItsNotValetudo - Valetudo Companion for map generation.
  • MaryTTS - A local Text-To-Speech system.
  • PicoTTS - Text to speech voice sinthesizer from SVox, included in Android AOSP.
  • pigpio - The pigpio led control for the Raspberry as addon.
  • MPD - A small media player with minimalistic web ui.
  • valetudo-mapper - Valetudo RE Companion for map generation
  • ympd - A very lightweight Web interface for controlling MPD music servers.
  • Git Exporter - Exports your Home Assistant config to any git repository (secrets check included)
  • Syncthing - A de-centralized file synchronisation program. Focused on privacy.
  • rsync - Synces folders from Home Assistant to a other machine via rsync and ssh.
  • rsync-local - Synces folders to local devices like usb-sticks.
  • VNC Viewer - A VNC viewer addon, to integrate VNC displays into HA.
  • Mopidy - A media player with web interface.
  • Asterisk - An open source framework for building communications applications.
  • OWASP Juice Shop - The most trustworthy online shop out there. A totally unsecure plattform.

Further informatione about the add-ons can be found in their folders.

🧪 Experimental

Those addons might not be stable at all. Use at your own risk!

🏜️

🕸️ Deprecated

These addons will not be updated anymore. Feel free to fork them.

  • Docker Container Stats - Lightwight monitoring of all the running docker containers.
  • OWASP ZAP - A security testing tool with MITM funtionality.
  • mitmproxy - A simple MITM proxy to trace network requests.

Installation

To install any of the add-ons offered in this repository, you must first add its repository URL to your Home Assistant instance. To do so, click the following button

Add repository to your Home Assistant instance.

or manually add the the following repository URL in the Home Assistant add-on store:

https://github.com/Poeschl/Hassio-Addons

Then search for any of the add-ons in our addon store (button below) to install them.

Open your Home Assistant instance and show the Supervisor add-on store.

You can also install them over the buttons in the Readmes of the addon folders.

Licence

The licence of the repository is inherited by the plugins, if not stated differently.

hassio-addons's People

Contributors

apoc4lyps avatar bjeanes avatar clarkchiu avatar dependabot[bot] avatar figurcoe avatar gerard33 avatar holgerb avatar ishioni avatar kwdavidson avatar liju09 avatar moritzgloeckl avatar mszajowskiwr avatar poeschl avatar reedy avatar salim-b avatar thundergreen avatar wegnerdan 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  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  avatar  avatar  avatar

hassio-addons's Issues

Unable to install Valetudo mapper in the latest version, "manifest unknown"

Which addon?
Valetudo Mapper

Describe the bug
When installing Valetudo mapper in hassio addons following error appears:

Failed to install addon, Unknown Error, see logs.

In the logs, following entries are visible:

20-02-07 08:22:51 INFO (MainThread) [hassio.addons] Create Home Assistant add-on data folder /data/addons/data/7d80160c_valetudomapper

20-02-07 08:22:51 INFO (SyncWorker_10) [hassio.docker.interface] Pull image poeschl/hassio-valetudo-mapper-amd64 tag 1.1.0.

20-02-07 08:22:52 ERROR (SyncWorker_10) [hassio.docker.interface] Can't install poeschl/hassio-valetudo-mapper-amd64:1.1.0 -> 404 Client Error: Not Found ("manifest for poeschl/hassio-valetudo-mapper-amd64:1.1.0 not found: manifest unknown: manifest unknown").

To Reproduce
Install or update hassio addon.

add to HACS

Which addon?

All

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Get this repo integrated with HACS.
HACS documentation

Describe alternatives you've considered

Make the repository compliant with HACS for easy installation.

Additional context

It would make installation and updating very easy.

MPD stoped working

Which addon?

MPD

Describe the bug

Not playing, tested with TTS

To Reproduce

  1. Go to 'Dev tools'
  2. Call service 'tts.cloud_say'
  3. Go to MDP logs
  4. See error
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[07:59:37] INFO: Setup folders and settings
[07:59:38] INFO: Start MPD
exception: bind to '0.0.0.0:6600' failed (continuing anyway, because binding to '[::]:6600' succeeded): Failed to bind socket: Address in use
exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
[07:59:41] INFO: Start ympd
MPD Connecting to 127.0.0.1:6600
MPD connected.
client: [0] opened from 127.0.0.1:36348
exception: Failed to read mixer for 'Hassio Audio': no such mixer control: PCM
client: [1] opened from 172.30.32.1:60366
exception: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
alsa_output: Decoder is too slow; playing silence to avoid xrun
player: played "http://192.168.0.150:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_a9c18110b0_cloud.mp3"
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
alsa_output: Decoder is too slow; playing silence to avoid xrun
player: played "http://192.168.0.150:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_a9c18110b0_cloud.mp3"
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
alsa_output: Decoder is too slow; playing silence to avoid xrun
player: played "http://192.168.0.150:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_a9c18110b0_cloud.mp3"
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
player: played "http://192.168.0.150:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_a9c18110b0_cloud.mp3"
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
alsa_output: Decoder is too slow; playing silence to avoid xrun
player: played "http://192.168.0.150:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_a9c18110b0_cloud.mp3"
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
player: played "http://192.168.0.150:8123/api/tts_proxy/a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_d0e960f7b0_google_cloud.mp3"
exception: Failed to open mixer for 'Hassio Audio': no such mixer control: PCM
player: played "http://192.168.0.150:8123/api/tts_proxy/7b502c3a1f48c8609ae212cdfb639dee39673f5e_en-us_d0e960f7b0_google_cloud.mp3"

Expected behavior

Screenshots

System

  • Supervisor version: 229
  • Host system version: HassOS 4.11
  • arch: aarch64

How to addon

How can pigpio addon done in Home Assistant(HASSOS).
Regards.

HACS-support?

Hi,

I just spotted this, and find it pretty awesome.

However, would it be possible to integrate it with HACS, instead of Hassio? :-)

I would just like to hear, if that's an option. Maybe someone are already working on it.

Issues with custom mpd.conf

Which addon?

MPD
Describe the bug

  • No default conf:
  • Back button im ympd didnt work
  • ympd config: url didnt save, always back to 127.0.0.1 (just for testing)
  • conection lost after skip to next title/stop in ympd/brwser/hass mp addon/ single ympd addon
  • lags in lovelace ui ### edit: just in homeassistant android app ###

I am runnig homeassistant on an raspi3

My MPD config:

@app:
shared mpd.conf / Network 6600, null / Audio default, default

@mpd.conf:

music_directory "/share/mpd/music"
playlist_directory "/share/mpd/playlists"
db_file "/data/database/mpd.db"
log_file		"syslog"
pid_file		"/share/mpd/mpd.pid"
state_file "/data/state"
sticker_file "/data/sticker.sql"
#user		"mpd"
#group				"audio"
#bind_to_address		"any"      <----- didn't work 4 me
port				"6600"
log_level			"verbose"
#restore_paused "no"
#save_absolute_paths_in_playlists	"no"
metadata_to_use	"artist,album,title,track,name,genre,date,composer,performer,disc"
#default_permissions             "add"      <----- didn't work 4 me
input {
        plugin "curl"
#proxy "proxy.isp.com:8080"
#proxy_user "user"
#proxy_password "password"
}
#audio_output {
#type		"alsa"
#name		"RaspiAudio"
#device		"hw:0,0"	# optional      <----- didn't work 4 me / just getted alsa worked with type&name even with group audio
#mixer_type      "hardware"	# optional      <----- 
#mixer_device	"default"	# optional      <----- 
#mixer_control	"PCM"		# optional      <----- 
#mixer_index	"0"		# optional      <----- 
#}
audio_output {
type		"fifo"
name		"mpd"
path        "/share/snapfifo/mpd"
format		"44100:24:2"
mixer_type  "null"
}
filesystem_charset		"UTF-8"
error without /share/mpd/mpd.conf in config:

@mpd log:
INFO: Start MPD exception: Failed to open '': No such file or directory [17:07:12] INFO: Start ympd MPD Connecting to 127.0.0.1:6600 MPD connection: Connection refused

default error message, but working:

@mpd log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. [17:39:02] INFO: Setup folders and settings [17:39:02] INFO: Start MPD exception: bind to '0.0.0.0:6600' failed (continuing anyway, because binding to '[::]:6600' succeeded): Failed to bind socket: Address in use path: SetFSCharset: fs charset is: libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator' vorbis: Xiph.Org libVorbis 1.3.6 opus: libopus 1.3.1 hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled simple_db: reading DB curl: version 7.67.0 curl: with OpenSSL/1.1.1g state_file: Loading state file /data/state exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted playlist: queue song 1:"http://br-edge-2006.fra-lg.cdn.addradio.net/br/br3/live/mp3/128/stream.mp3"

Errors after skip/stop: connecton lost:

also on invalid or non working settings in mpd.conf

@homeassistant log:
Protokolldetails ( ERROR )

Logger: homeassistant.components.websocket_api.http.connection.1836323280
Source: components/mpd/media_player.py:322
Integration: Home Assistant WebSocket API (documentation, issues)
Connection lost while reading lineTraceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1253, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1288, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 453, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 484, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/media_player/init.py", line 586, in async_media_next_track await self.hass.async_add_job(self.media_next_track) 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/mpd/media_player.py", line 322, in media_next_track self._client.next() File "/usr/local/lib/python3.7/site-packages/mpd/base.py", line 381, in mpd_command return wrapper(self, name, args, callback) File "/usr/local/lib/python3.7/site-packages/mpd/base.py", line 473, in _execute return retval() File "/usr/local/lib/python3.7/site-packages/mpd/base.py", line 368, in command_callback res = function(self, self._read_lines()) File "/usr/local/lib/python3.7/site-packages/mpd/base.py", line 311, in _parse_nothing for line in lines: File "/usr/local/lib/python3.7/site-packages/mpd/base.py", line 538, in _read_lines line = self._read_line() File "/usr/local/lib/python3.7/site-packages/mpd/base.py", line 523, in _read_line raise ConnectionError("Connection lost while reading line") mpd.base.ConnectionError: Connection lost while reading line

@mpd log:
$next: client: [0] command returned 0 client: [1] process command "next" playlist: play 1:"http://br-edge-2006.fra-lg.cdn.addradio.net/br/br3/live/mp3/128/stream.mp3" MPD mpd_run_status: Connection reset by peer MPD outputs: Connection reset by peer MPD connection failed.
$stop: client: [1] process command "outputs" client: [1] command returned 0 client: [0] process command "stop" playlist: stop MPD mpd_run_status: Connection reset by peer MPD outputs: Connection reset by peer MPD connection failed.

To Reproduce

Expected behavior

Screenshots

System

  • Supervisor version:
  • Host system version:
arch armv7l
chassis embedded
dev false
docker true
hassio true
host_os HassOS 3.13
installation_type Home Assistant
os_name Linux
os_version 4.19.114-v7
python_version 3.7.7
supervisor 222
timezone Europe/Berlin
version 0.110.1
virtualenv false

Make picoTTS addon compliant to hadolint

After I integrated the hadolint Dockerfile stylechecker, most of the plugins have too much issues to pass the build check on travis.

This task should correct them and make them pass again.

Issues from travis:

picoTTS/Dockerfile:2 DL3006 Always tag the version of an image explicitly
picoTTS/Dockerfile:4 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
picoTTS/Dockerfile:4 DL3019 Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
picoTTS/Dockerfile:7 DL3003 Use WORKDIR to switch to a directory
picoTTS/Dockerfile:11 DL3006 Always tag the version of an image explicitly
picoTTS/Dockerfile:13 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
picoTTS/Dockerfile:13 DL3019 Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
picoTTS/Dockerfile:25 DL3003 Use WORKDIR to switch to a directory

If you feel like doing so, please create your PR against the hadolint branch.

Small thing - version undefined on MaryTTS and PicoTTS

Which addon?

PicoTTS and MaryTTS

Describe the bug

Hassio shows the following before installing new versions:

PicoTTS undefined is available
You are currently running version 1.0.4

MaryTTS undefined is available
You are currently running version 5.2-3

To Reproduce

Expected behavior

Expected a version number :-)

Screenshots

System

  • Supervisor version:
  • Host system version:

Cannot install Valetudo RE on am64

Hi

I have issues installing Valetudo RE Mapper on Hassio 0.105.2

Install Error:
20-02-07 09:20:49 INFO (SyncWorker_13) [hassio.docker.interface] Pull image poeschl/hassio-valetudo-mapper-amd64 tag 1.1.0. 20-02-07 09:20:53 ERROR (SyncWorker_13) [hassio.docker.interface] Can't install poeschl/hassio-valetudo-mapper-amd64:1.1.0 -> 404 Client Error: Not Found ("manifest for poeschl/hassio-valetudo-mapper-amd64:1.1.0 not found: manifest unknown: manifest unknown").

Thanks

[valetudo mapper] support more than one vacuum instance

Which addon?
valetudo mapper

Is your feature request related to a problem? Please describe.
Maybe this is possible and I just haven't figured it out. I want to draw maps for the roborock instances that I own. From what I understand the current config for valetudo mapper only allows for one instance.

Describe the solution you'd like
Draw maps for all roborock instances that I have.

Describe alternatives you've considered
Setting up an instance for each roborock

Additional context
Like I said above. I have two roborocks currently and I want to draw the map for both of them and I'm not sure how to achieve that. If it's already possible, it would be great to get a hint on how to achieve that. I already tried duplicating the entries in config.json for the valetudo mapper, but that doesn't seem to work. So I would be grateful to get a hint as to how to acheive this. Thanks :)

Mopidy Youtube not working

Which addon?
Mopidy

Describe the bug
The youtube integration is not working at all.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Search'
  2. Type: yt:https://www.youtube.com/watch?v=eKFTSSKCzWA
  3. Error is shown (should be playing the audio)

Right now the official plugin is installed, it might be worth to look at this fork: natumbri/mopidy-youtube#27

Image check before docker upload

All images should be build with the --test flag and the existence should be verified afterwards.

Only if all of them are there locally, they are allowed to be pushed. The build should also fail if a image is missing.

Odd error in logs. Not accessible via URL. Hassio shows not running even though it is.

Which addon?
PicoTTS 1.0-2

Describe the bug
Log shows error:
/run.sh: line 3: bashio::log.info Start PicoTTS webserver: command not found

Funny, it's still working in Home Assistant , but Hassio shows it as stopped.
Portainer also shows it as stopped. Tried to restart but went back to stopped. But somehow is still working.
Can't access it via URL (http://ip:59126/ping)

Hassio (Latest Home Assistant 0.100.1) in docker on Intel Nuc, using Linux Mint.

Expected behavior

  1. Shouldn't see error in logs. 2. Hassio should show as running. 3. Should be accessible via URL.

Error on install - PicoTTS 1.04

Which addon?

PicoTTS 1.04

Describe the bug

Just get an error (see below) when trying to install new PicoTTS 1.04.

To Reproduce

Got the following error in system logs:
20-02-08 17:54:44 ERROR (SyncWorker_4) [hassio.docker.interface] Can't install poeschl/hassio-picotts-amd64:1.0.4 -> 404 Client Error: Not Found ("manifest for poeschl/hassio-picotts-amd64:1.0.4 not found").

Expected behavior

Didn't install.

Screenshots

Cheers! Hope it gets fixed.

Raw lovelace configs are exported too

Which addon?

git-exporter

Describe the bug

The json representation of the lovelace ui is also exported.

To Reproduce

  1. Do a export
  2. In the lovelace folder there are files without extension, which are the original lovelace files.

Expected behavior

Only have the yaml data there.

Support Ingress - Valetudo

Which addon?
ICantBelieveItsNotValetudo

Is your feature request related to a problem? Please describe.
Valetudo's web interface lacks user authentication, making it impossible to expose to the Internet. That's necessary if I want to add the interface on Home Assistant's sidebar with an iframe.

Describe the solution you'd like
This add-on could implement HassIO's Ingress feature, auto-adding a web interface in the sidebar. I would only need to add the Valetudo Vacuum's IP in the add-on configuration.

Make ICantBelieveItsNotValetudo addon compliant to hadolint

After I integrated the hadolint Dockerfile stylechecker, most of the plugins have too much issues to pass the build check on travis.

This task should correct them and make them pass again.

Issues from travis:

ICantBelieveItsNotValetudo/Dockerfile:2 DL3006 Always tag the version of an image explicitly
ICantBelieveItsNotValetudo/Dockerfile:7 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
ICantBelieveItsNotValetudo/Dockerfile:8 DL3003 Use WORKDIR to switch to a directory

If you feel like doing so, please create your PR against the hadolint branch.

[valetudo-mapper] Map in HomeKit not available

Which addon?
valetudo-mapper

Describe the bug
Map in HomeKit not available

Expected behavior

The addon adds a camera view of the map in Home Assistant, which is also shown in the home app on my iPhone, but there is no picture or camera view available.
I don't know if this is a bug or a feature request, but it would be nice if the "camera" would work on the iPhone.

System
Supervisor: 228

Valetudo Mapper showing blue background -->NOT WANTED!

Which addon?

ValetudoMapper
Describe the bug

I Used ICantBeliveItsNotValetudo Addon before and I got a nice transparent map. Now with this version I get an ugly blue background. I cannot figure out how to deactivate this
To Reproduce

{
"identifier": "rockrobo",
"topicPrefix": "valetudo",
"autoconfPrefix": "homeassistant",
"broker_url": "mqtt://user:[email protected]",
"caPath": "",
"mapSettings": {
"drawPath": true,
"drawCharger": true,
"drawRobot": true,
"gradientBackground": false,
"drawForbiddenZones": true,
"drawVirtualWalls": true,
"border": 2,
"scale": 4
},
"mapDataTopic": "valetudo/rockrobo/map_data",
"minMillisecondsBetweenMapUpdates": 10000,
"publishMapImage": true,
"publishMapData": true
}
Expected behavior

Screenshots

image

Make MaryTTS addon compliant to hadolint

After I integrated the hadolint Dockerfile stylechecker, most of the plugins have too much issues to pass the build check on travis.

This task should correct them and make them pass again.

Issues from travis:

MaryTTS/Dockerfile:2 DL3006 Always tag the version of an image explicitly
MaryTTS/Dockerfile:6 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
MaryTTS/Dockerfile:6 DL3019 Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
MaryTTS/Dockerfile:10 DL3006 Always tag the version of an image explicitly
MaryTTS/Dockerfile:12 DL3018 Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
MaryTTS/Dockerfile:12 DL3019 Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages

If you feel like doing so, please create your PR against the hadolint branch.

Manifest not found on Update

Hello, Its me again. .. :-)
Thanks for your quick response, but at the install I get this error:

20-05-23 08:20:37 INFO (SyncWorker_11) [supervisor.docker.interface] Pull image poeschl/hassio-mpd-armv7 tag 1.3.0.

20-05-23 08:20:39 ERROR (SyncWorker_11) [supervisor.docker.interface] Can't install poeschl/hassio-mpd-armv7:1.3.0 -> 404 Client Error: Not Found ("manifest for poeschl/hassio-mpd-armv7:1.3.0 not found: manifest unknown: manifest unknown").

make map transparent

Which addon?
The title of the addon the new feature is for.
Valetudo Mapper
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem

image
is. Ex. I'm always frustrated when [...]
I'd like aving the map as transparent like the Icantbeliveitsnotvaletudo addon.
Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Update pigpio base image

Which addon?
pigpio

Describe the solution you'd like
Update the base image from stretch to homeassistant/{arch]-base-debian:buster.

Can be done when home-assistant/hassio-base#37 is closed.

"manifest not found"

Which addon?
PicoTTS

Describe the bug
19-10-08 04:07:25 ERROR (SyncWorker_9) [hassio.docker.interface] Can't install poeschl/hassio-picotts-armv7:1.0-2 -> 404 Client Error: Not Found ("manifest for poeschl/hassio-picotts-armv7:1.0-2 not found").

To Reproduce
Steps to reproduce the behavior:

  1. Go to Add-On Store in Hassio Menu
  2. Click on Install for PicoTTS (v1.0-2)
  3. Error appears in system log

Expected behavior
PicoTTS should install

ICBINValetudo: TypeError: Cannot read property 'dimensions' of undefined [Valetudo 0.6.0 not yet supported]

Hello! I've never played around with MQTT before, so I apologize if this is a simple configuration error on my part. I can confirm, however, that HASS is successfully communicating with Valetudo over MQTT, and it appears that ICBINV is successfully connecting to my MQTT broker (core-mosquitto). However, the map will not load in the interface, and I see the following in the logs:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[23:05:04] INFO: Setup config
[23:05:04] INFO: Start ICantVelieveItsNotValetudo
> [email protected] start /app
> node app.js
Loading configuration file: /app/config.json
Connecting to MQTT Broker
Webserver running on port 3000
Connected to MQTT Broker
TypeError: Cannot read property 'dimensions' of undefined
    at Object.DRAW_MAP_PNG (/app/lib/Tools.js:69:72)
    at MqttClient.updateMapTopic (/app/lib/MqttClient.js:97:19)
    at MqttClient.<anonymous> (/app/lib/MqttClient.js:80:22)
    at MqttClient.emit (events.js:223:5)
    at MqttClient._handlePublish (/app/node_modules/mqtt/lib/client.js:987:12)
    at MqttClient._handlePacket (/app/node_modules/mqtt/lib/client.js:336:12)
    at work (/app/node_modules/mqtt/lib/client.js:292:12)
    at Writable.writable._write (/app/node_modules/mqtt/lib/client.js:302:5)
    at doWrite (/app/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/app/node_modules/readable-stream/lib/_stream_writable.js:417:5)
TypeError: Cannot read property 'dimensions' of undefined
    at Object.DRAW_MAP_PNG (/app/lib/Tools.js:69:72)
    at MqttClient.updateMapTopic (/app/lib/MqttClient.js:97:19)
    at MqttClient.<anonymous> (/app/lib/MqttClient.js:80:22)
    at MqttClient.emit (events.js:223:5)
    at MqttClient._handlePublish (/app/node_modules/mqtt/lib/client.js:987:12)
    at MqttClient._handlePacket (/app/node_modules/mqtt/lib/client.js:336:12)
    at work (/app/node_modules/mqtt/lib/client.js:292:12)
    at Writable.writable._write (/app/node_modules/mqtt/lib/client.js:302:5)
    at doWrite (/app/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/app/node_modules/readable-stream/lib/_stream_writable.js:417:5)

The TypeError block just repeats indefinitely about every five seconds.

It should be noted that I could not get ICBINV to connect using the standard core_mosquitto broker_url. I tried every combination of core_mosquitto, core-mosquitto, with and without quotes that I could think of. Should it just be broker_url: core_mosquitto? Why wouldn't that work?

Here's my current config:

mapSettings:
  drawPath: true
  drawCharger: true
  drawRobot: true
  scale: 4
mapColors: {}
mqtt:
  identifier: rockrobo
  topicPrefix: valetudo
  autoconfPrefix: homeassistant
  broker_url: 'mqtt://valetudomap:[email protected]'
  caPath: ''
  mapDataTopic: valetudo/rockrobo/map_data
  minMillisecondsBetweenMapUpdates: 10000
  publishMapImage: true

Map not showing

I've been using the icantbelieveitsnotvaletudo add-on for a while now but it stopped updating the map in home assistant.

Looking with mqtt explorer shows the following map data: https://hastebin.com/yuyeyodimu.json updated 10 minutes ago.

However, nothing shows in home-assistant, the ingress tab shows Not Found

These are the addon settings:

{
  "identifier": "rockrobo",
  "topicPrefix": "valetudo",
  "autoconfPrefix": "homeassistant",
  "broker_url": "mqtt://username:[email protected]",
  "caPath": "",
  "mapSettings": {
    "drawPath": true,
    "drawCharger": true,
    "drawRobot": true,
    "border": 2,
    "scale": 4
  },
  "mapDataTopic": "valetudo/rockrobo/map_data",
  "minMillisecondsBetweenMapUpdates": 10000,
  "publishMapImage": true
}

The log shows:

[19:02:53] INFO: Setup config
[19:02:53] INFO: Start ICantVelieveItsNotValetudo

> [email protected] start /app
> node app.js

Loading configuration file: /app/config.json
Connecting to MQTT Broker
Webserver running on port 3000

I just re-installed the add-on, no change.

add-on version: 0.2.0-5

home-assisant info:

arch | x86_64
dev | false
docker | true
hassio | true
os_name | Linux
python_version | 3.7.6
timezone | Europe/Amsterdam
version | 0.104.3
virtualenv | false

host system: Ubuntu 19.10

Update ICantBelieveItsNotValetudo schema

Which addon?
ICantBelieveItsNotValetudo

Is your feature request related to a problem? Please describe.
I can set the new options for ICantBelieveItsNotValetudo, as background and overlay options

Describe the solution you'd like
Update the config schema

Describe alternatives you've considered

Additional context

Mopidy Local scan trigger not working

Which addon?
Mopidy

Describe the bug
The local scan trigger from iris is not working correctly. It's not picking up the config part from the hass.io interface.

[Git Exporter] Apply git settings on every start

Which addon?

Git Exporter

Describe the bug

The repository don't respond to changes in the repository section (username, url,...)

To Reproduce

The changed settings are set on the local git repository.

Workaround
As workaround the addon can be re-installed.

Update ICantBelieveItsNotValetudo to latest master commit

Which addon?
ICantBelieveItsNotValetudo

Is your feature request related to a problem? Please describe.
There are some new usefull features on the ICantBelieveItsNotValetudo software, which are not in and official release

Describe the solution you'd like
Update the ICantBelieveItsNotValetudo version to the latest commit 0884f7c141551bc5c2d259b230f415107aeebf85

ICantBelieveItsNotValetudo - SyntaxError: Unexpected token in JSON

Which addon?
ICantBelieveItsNotValetudo addon v. 2.1.0

Describe the bug
Upon configuring and then running the addon, the following container error is logged:

Loading configuration file: /app/config.json
Connecting to MQTT Broker
Webserver running on port 3000
Connected to MQTT Broker
SyntaxError: Unexpected token � in JSON at position 0
    at JSON.parse (<anonymous>)
    at MqttClient.<anonymous> (/app/lib/MqttClient.js:80:42)
    at MqttClient.emit (events.js:223:5)
    at MqttClient._handlePublish (/app/node_modules/mqtt/lib/client.js:987:12)
    at MqttClient._handlePacket (/app/node_modules/mqtt/lib/client.js:336:12)
    at work (/app/node_modules/mqtt/lib/client.js:292:12)
    at processTicksAndRejections (internal/process/task_queues.js:76:11

Addon config:

mapSettings:
  drawPath: true
  drawCharger: true
  drawRobot: true
  scale: 4
mapColors: {}
mqtt:
  enabled: true
  identifier: roborock
  topicPrefix: valetudo
  autoconfPrefix: homeassistant
  broker_url: 'mqtt://user:pass@mqtthost'
  caPath: ''
  mapDataTopic: valetudo/roborock/map_data
  minMillisecondsBetweenMapUpdates: 10000
  publishMapImage: true

Relevant valetudo /mnt/data/val*/conf*:

  "mqtt": {
    "enabled": false,
    "identifier": "roborock",
    "topicPrefix": "valetudo",
    "autoconfPrefix": "homeassistant",
    "broker_url": "mqtt://user:pass@mqtthost",
    "provideMapData": true,
    "caPath": "",
    "qos": 0
  },

No image is pulled into the auto-generated mqtt camera. This appears to be the same issue reported by another user of this addon in rand256/valetudo#150. Your valetudo-mapper addon works without issue.

To Reproduce

  1. Install addon ICantBelieveItsNotValetudo v 2.1.0
  2. Click on Start
  3. Review Logs

System

  • Vacuum: Gen2 on Valetudo RE 0.9.4
  • Supervisor version: 224
  • Install: Home Assistant Supervised 0.110.1

ICantBelieveItsNotValetudo: addon is not starting, error 400 in console

Installed the addon and configured it:

{
  "identifier": "rockrobo",
  "topicPrefix": "valetudo",
  "autoconfPrefix": "homeassistant",
  "broker_url": "mqtt://USER:PASS@IP",
  "caPath": "",
  "mapSettings": {
    "drawPath": true,
    "drawCharger": true,
    "drawRobot": true,
    "border": 2,
    "scale": 4
  },
  "mapDataTopic": "valetudo/rockrobo/map_data",
  "minMillisecondsBetweenMapUpdates": 10000,
  "publishMapImage": true
}

Unable to start the addon, logs in the addon's config are empty and home-assistant logs do not mention anything either. Browser console log shows:

Failed to load resource: the server responded with a status of 400 ()  /api/hassio/addons/243ffc37_icantbelieveitsnotvaletudo/start:1 

failed to setup inotify handler

Which addon?
-- Syncthing --

Describe the bug
-- Syncthing gives me this message(on the synthing screen): failed to setup inotify handler. --

To Reproduce
-- Steps to reproduce the behavior:

  1. Go to 'homeassistant.local:8123/243ffc37_syncthing'
  2. the message is here in yellow --

Expected behavior
-- this message should not appear --

Screenshots
-- Schermafdruk van 2020-03-28 20-58-51

ERR_BUFFER_OUT_OF_BOUNDS

Which addon?

Valetudo-Mapper
Describe the bug

Starting the Addon throws an error shown below
To Reproduce

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:05:15] INFO: Setup config
[21:05:15] INFO: Start valetudo-mapper

> [email protected] start /app
> node app.js

Loading configuration file: /app/config.json
Connecting to MQTT Broker
Webserver running on port 3000
Connected to MQTT Broker
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
    at boundsError (internal/buffer.js:70:11)
    at Buffer.readUInt32BE (internal/buffer.js:295:5)
    at Jimp.getPixelColor (/app/node_modules/@jimp/core/dist/index.js:883:34)
    at Jimp.autocrop (/app/node_modules/@jimp/plugin-crop/dist/index.js:138:32)
    at /app/lib/Tools.js:244:31 {
  code: 'ERR_BUFFER_OUT_OF_BOUNDS'

Expected behavior

Screenshots

System

  • Supervisor version:
  • Host system version:

[Valetudo-Mapper] Config issues

Which addon?

Valeturo Mapper
Describe the bug

Hassio Addon won't take into account config options
To Reproduce

Expected behavior

Screenshots

20-02-08 14:07:06 WARNING (MainThread) [hassio.addons.validate] Unknown options gradientBackground
20-02-08 14:07:06 WARNING (MainThread) [hassio.addons.validate] Unknown options drawForbiddenZones
20-02-08 14:07:06 WARNING (MainThread) [hassio.addons.validate] Unknown options drawVirtualWalls

my config:

identifier: rockrobo
topicPrefix: valetudo
autoconfPrefix: homeassistant
broker_url: 'mqtt://hass:[email protected]'
caPath: ''
mapSettings:
  drawPath: true
  drawCharger: true
  drawRobot: true
  gradientBackground: false
  drawForbiddenZones: true
  drawVirtualWalls: true
  border: 2
  scale: 4
mapDataTopic: valetudo/rockrobo/map_data
minMillisecondsBetweenMapUpdates: 10000
publishMapImage: true
publishMapData: true

This is the original config from rand256

{
        "mqtt" : {
            "identifier": "rockrobo",
            "topicPrefix": "valetudo",
            "autoconfPrefix": "homeassistant",
            "broker_url": "mqtt://user:[email protected]:port",
            "caPath": "",
            "mapSettings": {
                "drawPath": true,
                "drawCharger": true,
                "drawRobot": true,
                "drawForbiddenZones": true,
                "drawVirtualWalls": true,
                "border": 2,
                "scale": 4,
                "gradientBackground": true,
                "crop_x1": 30,
                "crop_y1": 70,
                "crop_x2": 440,
                "crop_y2": 440
            },
            "mapDataTopic": "valetudo/rockrobo/map_data",
            "minMillisecondsBetweenMapUpdates": 10000,
            "publishMapImage": true,
            "publishMapData": false
        },
        "webserver": {
            "enabled": false,
            "port": 3000
        }
}

Strange map colors

Which addon?
Valetudo Mapper

Describe the bug
Just did a default installation and it works but the colors seems really off. And I couldn't figure out how to change background color or the colors off the walls. I want it to look something blueish like in the Valetudo web ui but could only change the floor color, not the lime green walls or the grey background.

Screenshots
https://imgur.com/a/YGjl99j

MQTT camera

Which addon?

ICantBelieveItsNotValetudo
Describe the bug
According to the documentation, this plugin should generate PNG and publish it to HA as MQTT camera.

So the floor plan can be accessed via the build-in side panel or the auto-configured mqtt camera.

But for me, the auto-configured MQTT camera doesnt exist.

Here's my config:

identifier: rockrobo_downstairs
topicPrefix: valetudo
autoconfPrefix: homeassistant
broker_url: 'mqtt://xxxx:[email protected]:1884'
caPath: ''
mapSettings:
  drawPath: true
  drawCharger: true
  drawRobot: true
  border: 2
  scale: 4
  crop_x1: 90
  crop_x2: 200
  crop_y1: 80
  crop_y2: 280
mapDataTopic: valetudo/rockrobo_downstairs/map_data
minMillisecondsBetweenMapUpdates: 10000
publishMapImage: true

Log:

[18:04:10] INFO: Setup config
[18:04:10] INFO: Start ICantVelieveItsNotValetudo

> [email protected] start /app
> node app.js

Loading configuration file: /app/config.json
Connecting to MQTT Broker
Webserver running on port 3000
Connected to MQTT Broker

And here's what is published to homeassistant autodiscovery topic when restarting Icantbelieveitsnotvaletudo:
Feb 27 18:04:11 homeassistant/camera/valetudo_rockrobo_downstairs_map/config {"name":"rockrobo_downstairs_map","unique_id":"rockrobo_downstairs_map","topic":"valetudo/rockrobo_downstairs/map"}

The rockrobo_downstairs_map text sensor is visible and fine in HA. The Ingress functionality is working fine and shows the correct PNG.

Expected behavior
I should have a camera.rockrobo_downstairs_map device in HA which would show same map as Ingress feature.

valetudo mapper problem home assistant core

Hello friends, I have roborock s50, I installed Valetudo RE, it works in HA as MQTT, but the maps part does not work and I am not able to make it work, try this configuration:

I will try to put the steps that I have followed to see if I do something wrong or something is missing …

Copy the inside https://github.com/Poeschl/Hassio-Addons/tree/master/valetudo-mapper of this repository to / docker / homeassistant / custom_components / valetudo-mapper /

Config.json valetudo-mapper:

{
“mqtt”: {
“identifier”: “rockrobo”,
“topicPrefix”: “valetudo”,
“autoconfPrefix”: “homeassistant”,
“broker_url”: “mqtt: // admin: [email protected]: 1883”,
“caPath”: “”,
“mapSettings”: {
“drawPath”: true,
“drawCharger”: true,
“drawRobot”: true,
“drawForbiddenZones”: true,
“drawVirtualWalls”: true,
“border”: 2,
“scale”: 4,
“gradientBackground”: true
},
“mapDataTopic”: “valetudo / rockrobo / map_data”,
“minMillisecondsBetweenMapUpdates”: 10000,
“publishMapImage”: true,
“publishMapData”: true
}
}

config.json roborock:

root @ rockrobo: / mnt / data / valetudo # nano config.json
GNU nano 2.2.6 File: config.json

{
“spots”: [],
“areas”: [],
“ztimers”: [],
“mqtt”: {
“enabled”: true,
“identifier”: “rockrobo”,
“topicPrefix”: “valetudo”,
“autoconfPrefix”: “homeassistant”,
“broker_url”: “mqtt: // admin: [email protected]”,
“provideMapData”: true,
“mapSettings”: {
“drawPath”: true,
“drawCharger”: true,
“drawRobot”: true,
“border”: 2,
“scale”: 4
},
“caPath”: “”

Configuration.yaml

discovery: true
discovery_prefix: homeassistant

sensor:

platform: mqtt
state_topic: “valetudo / rockrobo / state”
json_attributes_topic: “valetudo / rockrobo / map_data_parsed”
name: xiaomi_map
value_template: ‘OK’
scan_interval: 5
remember:
exclude:
entities:

  • sensor.xiaomi_map

I add custom card:

crop:
bottom: 0
left: 0
right: 0
top: 0
entity: sensor.xiaomi_map
min_height: 0
rotate: 0
type: ‘custom: valetudo-map-card’

I tried to create docker but it gives exec error user process caused “exec format error”
I use Portainer and docker from:

Pure Home Assistant (not HASSIO)
MQTT
PORTAINER
etc…

PIPE Fifo

Which addon?
MPD
Is your feature request related to a problem? Please describe.
I would like an audio output to /share/snpacast/fifo

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Es wäre schön wenn du bei den Einstellungen eine Auswahlmöglichkeit für den Audio Ausgang hättest, so wie in der config.json beschrieben. Da ich kein Programmierer bin, ist es für mich nicht möglich den Audio Ausgang auf eine Pipe zu legen.

https - ssl

an option for ssl is needed so that i can add it as an iframe

function

Hello,

how to add this function please ?
wall
zone blocked

i'm use camera.rockrobo_map only

67422498-45d8f480-f5db-11e9-8f23-b1472cfb0962

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.