Repository: Bestlibre Addons repository

Hello,
I am lost here… What are default login infos for Grafana UI?

Thank you.

Hi, I installed your mopidy addon, and is working, I habe linked spotify and GMusic (I can see my library when I browse to 192.162.1.12:6680).

When I press PLAY it does go in the browser, but no music from my speakers … I am sure I am missing something newbish … but don’t know what

Python Executor

I’m testing out some code to pickup a multicast message on the network and while the script below works fine running on a Synology NAS (message arrives every 20 seconds), on the Pi and running from the Python Executor I get no messages received.

I wonder if the configuration somehow prevents multicast messages arriving? Any suggestions?

import socket
import struct

HELLO_PORT = 22600
HELLO_GROUP = "224.192.32.19"

print "OWL Intuition Multicast test"

sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind((HELLO_GROUP, HELLO_PORT))
mreq = struct.pack("=4sl", socket.inet_aton("224.192.32.19"), socket.INADDR_ANY)
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)

while True:
  data, addr = sock.recvfrom(1024)
  print "msg:", data

Hi, I have some issue with Caddy. i setup it and router to work with NoIp.

In the router i forwarded the port 80 and 443 (TCP and UDP).

On Caddy I am using the following config file:
{
“homeassistant”: “MySubDomain.hopto.org”,
“vhosts”: [],
“raw_config”: [],
“email”: “[email protected]
}

The addon seems works, in its log i got the follwoing info:
starting version 3.2.4
Activating privacy features… done.
https://MySubDomain.hopto.org
http://MySubDomain.hopto.org

But when i try to access to the web page (https://MySubDomain.hopto.org) from the browser after a while a got the message that is impossible see the page.

What am I doing wrongly?

Thanks in advance
Alessandro

Hi,
has anybody tested the addons in this repo with a RPi Zero w ?

I installed InfluxDB and Grafana and but both do not seem to work. (But did work on a previous installation with plain Rasbian and Hass.)

Thanks!

I am trying to get a Telegram webhook working

Unfortunately, I can’t seem to find where to add a ‘location’ to the proxy configuration. Is this at all possible in this addon?

For the snapcast server addon(s) I’m nowhere able to submit my spotify username and password, and I don’t see the server appear on spotify connect without it (might be an ssl thing). The server does work, I can connect clients to it, but not spotify connect itself. When using the Snapcast app it does ask for my username/password and when I start a server on there it does appear in spotify connect
Edit: to be more specific, please add librespot support to snapcast
Edit2: oh! And plex support to mopidy :slight_smile:

You need something to play it on, for instance, a snapcast client. I installed mopidy_cast and now I can play music from the mopidy server on snapcast on my phone

a few days ago , grafana stop showing real time data , it just shoes the data previous to that point in time .

this happens with influxdb data as well as with Finance data .

i didnt find any clue on hassio logs , also tried installing all over , and also did that with another different RPI3 , without success , all stays the same , influx db seams to be working fine , but no data on grafana .

i appreciate if anybody has an idea of what can i do , to debug the data flow between hassio, influx db and Grafan , so i can isolate what me be going on ,

im, running hassio 068 ,
duckDns , caddy web server, mariaDb,
all was working beatifully previous to may 10th at 11:50 PM … tks

I think I have a subscription on your add-ons: Grafana + Influxdb, python_exec and last weekend I’ve installed caddy_proxy. Thank you very much - it makes somthing great even better.

One question though - I got the certificates from the official duckdns addon because it also does dynamic dns updates. caddy_proxy found the let’s encrypt certificate obtained through the duckdns official add-on and happily used it. I assume caddy_proxy doesn’t mind if there is an up to date certificate from another addon in the ssl folder?

In the duckdns I had to enter a (let’s encrypt) token - this is not required in the caddy_proxy so not sure how that works. I suppose I’ll find out in a month or 3 when the certificate expires.

Thanks again!
jhh

I have the same when I look at the graph through caddy_proxy - when I look at it directly (local network using ip address of home-assistant) then it shows the graph correctly until that latest point in time. Can you check if you have similar behaviour?

btw: hitting the refresh icon in the grafana dashboard should update the graph

I’ve been using caddy server for a while and all seems to work fine. However I recently realised that I did not setup the ssl_certificate and ssl_key parameters in the http component. Is this required?

@bestlibre I’m trying to use your caddy addon. However it is not starting up, and the log stays empty. I’m using Hassio on HassOs.

Could you tell me what the http section in the config should look like, and which port I should forward to which port internally?

Hi @Try2Fly,
The problem you described has been noticed by other user as well. Try having a look at the following entry on github:
https://github.com/bestlibre/hassio-addons/issues/78

Hi @jhhbe,
The token within the duckdns addon is for duckdns only. The letsencrypt part needs your email only.
The caddy tokens are stored in a dedicated folder within the SSL folder, therefore no interference.

BTW, you can have the best from both with following setup (which I use):
Duckdns Addon: Set accept_terms to false. That way no certificates will be created.
Caddy Addon: Here I have configured all URLs. Since Caddy takes care of the whole SSL management, no further worries. :slight_smile:

Thanks @berichta. They describe problems with vhost settings. However I do not have set those. My config is simply:

{
“homeassistant”: “mydomain.com”,
“vhosts”: [],
“raw_config”: [],
“email”: “[email protected]
}

my configuration file looks like this:

http:
  # Secrets are defined in the file secrets.yaml
  api_password: !secret http_password
  login_attempts_threshold: 5
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  base_url: XXXXXX.com
  # ssl_certificate: /ssl/fullchain.pem
  # ssl_key: /ssl/privkey.pem

And I set port forward 443>443 and 80>80 to the IP of hassio.

I’m just starting with this, so not sure if this is correct. I could not find anywhere how the other settings should be set:

Strange, your config looks good to me. Do you have any other addon running on port 80 or 443?

Yes thanks. thought I deleted nginx, but appearently it was still installed. It is working now!

Thanks for explaining @berichta - found the caddy subfolder in /ssl. Nice that things can work without knowing why/how.

I’ll check if my router supports duckdns, if not I’ll switch to using your setup. If it does, I’ll have one addon less.

Jhh

Hi all,

I got the Caddy proxy addon working with this config:

{
  "homeassistant": "home.redacted.tld",
  "vhosts": [
    {
      "vhost": "nas.redacted.tld",
      "port": "5000",
      "paths": []
    }
  ],
  "raw_config": [],
  "email": "[email protected]"
}

But what i am interested in is having a sub-path with the default sub-domain like: ‘home.redacted.tld/nas’ instead of having an other subdomain (nas.redacted.ytld) to my synology nas.

Can someone please be so kind to help me out with this?

Regards