Thanks for the update. I will add that to the doc.
Hi @bestlibre - quick question re your caddy addon. Does it pass through ip of client? If there is a login failure will hass show the clients ip or the ip of caddy?
I currently have caddy set up in docker (different docker than hassio) and when I have a hass login failure for wrong password it shows as the caddy ip not the original client ip - meaning I cannot use the hass ban policy.
Seems to me that passing through client ip will be something that should be configurable.
Thanks!
Hi there guys, when I try to create my first database in influxdb using this command:
curl -i -XPOST http://MY-HASSIO-IP:8086/query --data-urlencode "q=CREATE DATABASE home_assistant"
I get this answer:
HTTP/1.1 403 Forbidden
Content-Type: application/json
Request-Id: 9aaa87da-c570-11e7-8003-000000000000
X-Influxdb-Version: 1.3.6
Date: Thu, 09 Nov 2017 17:08:27 GMT
Content-Length: 87
{"error":"error authorizing query: create admin user first or disable authentication"}
Any idea?
Oh, ok, maybe I found out why. I started the addon with this in the āoptionsā field:
{
"env_var": [
{
"name": "INFLUXDB_HTTP_AUTH_ENABLED",
"value": "true"
}
]
}
but i had to use just:
{
"env_var": []
}
hello people i use mopidy and i want that play one mp3
i have this configuration:
action:
service: media_player.play_media
data:
entity_id: media_player.raspberry
media_content_id: /config/teste.mp3
media_content_type: āmusicā
ā¦
and:
{
ālocal_scanā: true,
āoptionsā: [
{
ānameā: āaudio_output/typeā,
āvalueā: āalsaā
},
{
ānameā: āaudio_output/deviceā,
āvalueā: āhw:1,0ā
}
]
}
i tried it but sound not plays. anyone can help me?
@bestlibre
copy mp3 file in to /share/mopidy/media not /configā¦
then put this in data:
{
āentity_idā: āmedia_player.raspberryā,
āmedia_content_typeā: āmusicā,
āmedia_content_idā: ālocal:track:teste.mp3ā
}
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
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