Home-assistant: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 5: Line 5:
*[https://www.home-assistant.io/docs/installation/virtualenv/ Installing in python virtual environment] (remember to pip install --upgrade pip first)
*[https://www.home-assistant.io/docs/installation/virtualenv/ Installing in python virtual environment] (remember to pip install --upgrade pip first)
*[https://github.com/geekofweek/homeassistant/ a lot of examples]
*[https://github.com/geekofweek/homeassistant/ a lot of examples]
=HOWTOs=
==Add rfxtrx device==
*https://www.home-assistant.io/integrations/light.rfxtrx/
but when you don't see new switch. enable debugging in configuration.yaml:
logger:
  default: info
  logs:
    homeassistant.components.rfxtrx: debug
rfxtrx:
  device: /dev/ttyUSB0-RFX433XL
  debug: true
and look for
homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 1ed0732_3 Class: LightingDevice Sub: 0, Pkt_id: 0b10000101ed071303010f60)
and use the Pkt_id in your configuration:
swtich:
  platform: rfxtrx
  devices:
    id: 0b10000101ed071303010f60
    name: myswitch1


=FAQ=
=FAQ=

Revision as of 18:19, 21 December 2019

Home assistant

Links

HOWTOs

Add rfxtrx device

but when you don't see new switch. enable debugging in configuration.yaml:

logger:
  default: info
  logs:
    homeassistant.components.rfxtrx: debug
rfxtrx:
 device: /dev/ttyUSB0-RFX433XL
 debug: true

and look for

homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 1ed0732_3 Class: LightingDevice Sub: 0, Pkt_id: 0b10000101ed071303010f60)

and use the Pkt_id in your configuration:

swtich:
  platform: rfxtrx
  devices:
    id: 0b10000101ed071303010f60
    name: myswitch1


FAQ

Config error. See dev-info panel for details.

That's under "Developer tools" tab "Logs"


Terms and meanings (or my guesses at it)

device

seems to exist only if discovered?

service

entity

a gnome?