Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
configuracion homeassistant
#1
Aqui os paso la configuracion y la estructura de homeassistant. Puede servir de ayuda para ver la estructura


Archivos adjuntos
.zip   homeassistant.zip (Tamaño: 44.04 KB / Descargas: 206)
Responder
#2
Olá xavi, vi que tens o recetor STB comandado pelo homeassistant, estive a tentar mas da-me erro não encontra enigma2
o script coloquei como está no seu anexo e alterei apenas o ficheiro deco.yaml para os meus dados e incluí a linha media_player: !include_dir_merge_list media_player no config.yaml
Se puder dar uma ajudinha, agradeço

Cumprimentos
Responder
#3
hay que añadir el custom_compoments tal y como yo lo tengo que es el .py para que reconozca el stb
Responder
#4
(10-11-2017, 01:58 PM)xavi220 escribió: hay que añadir el custom_compoments tal y como yo lo tengo que es el .py para que reconozca el stb

Ok, logo experimento.
Obrigado
Responder
#5
hola chavales estoy a punto dejugar al rugby con la raspberry jajajajaja

de repente home assistant me ha empezado a dar un error y me tiene super atrancado

Código:
Configuration Validation
Validate your configuration if you recently made some changes to your configuration and want to make sure that it is all valid.
Configuration invalid.CHECK CONFIG
Testing configuration at /config
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up introduction
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.7 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.7 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up recorder
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up http
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up history
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up api
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up frontend
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2017-10-14 16:18:51 ERROR (MainThread) [homeassistant.loader] Unable to find component broker
2017-10-14 16:18:51 ERROR (MainThread) [homeassistant.setup] Setup failed for broker: Component not found.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up group
2017-10-14 16:18:51 ERROR (MainThread) [homeassistant.loader] Unable to find component password
2017-10-14 16:18:51 ERROR (MainThread) [homeassistant.setup] Setup failed for password: Component not found.
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up sun
2017-10-14 16:18:51 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up sensor
2017-10-14 16:18:52 ERROR (MainThread) [homeassistant.loader] Unable to find component username
2017-10-14 16:18:52 ERROR (MainThread) [homeassistant.setup] Setup failed for username: Component not found.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.1 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.1 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up conversation
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up config
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up logbook
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up tts
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up script
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setting up automation
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.0 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2017-10-14 16:18:52 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
Failed config
 General Errors:
   - Component not found: broker
   - Setup failed for broker: Component not found.
   - Component not found: password
   - Setup failed for password: Component not found.
   - Component not found: username
   - Setup failed for username: Component not found.

Successful config (partial)
Responder
#6
parece que sea un dispositivo que quiera conectarse que no corresponda el user y el password.

de todas formas te llega a arrancar el homeassistant?
y si es el hass.io mira a ver si esta arrancado mosquitto

cuales han sido los ultimos cambios que has realizado?
Responder
#7
he formatedo ela raspberry y me sigue pasando.

voy a probar si es culpa de un router gsm nuevo que he puesto. esta noche lo miro y te cuento
Responder
#8
Código:
starting version 3.2.2
1508018267: mosquitto version 1.4.12 (build date 2017-06-01 13:03:48+0000) starting
1508018267: Config loaded from /etc/mosquitto.conf.
1508018267: Opening ipv4 listen socket on port 1883.
1508018267: Opening ipv6 listen socket on port 1883.
1508018267: Warning: Mosquitto should not be run as root/administrator.


estos son los logs de mosquitto

estoy mirando haber si es algunas de las dos placas wemos que intente configurar y me daban error aunque no deberia ya que estan desconectadas.
Responder
#9
lo unico que te da es un warning de que mosquitto no es aconsejable ejecutarlo como root.
siendo un warning deberia arrancarte sin problemas

aprovecho para poner como me a quedado el grupo del aire acondicionado

[Imagen: thump_9810921climatizador.png]
Responder
#10
solucionado

investigando en los foros de home assistant he descubierto que por alguna razon el cliente que estaba escrito configuration.yaml no conectaba con el broker en el hass.io

despues de formatear 3 veces la raspberry, pasandome lo mismo todas las veces, lo he solucionado borrando de configuration.yaml la configuracion de mqtt, he reiniciando hassio, he cambiado username y password de mqtt broker por otros diferentes y luego he vuelto a meter el cliente en configuration.yaml con el nuevo usuario y contraseña

me ha empezado a funcionar todo correctamente asi que debe ser que no le gustaba ese username y ese password jajajajajjaaja

ademas funcionando perfectamente la configuracion que no me entraba en domuino asi que todo ok

muchisimas gracias por la ayuda chavales
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)