sermayoral / ha-samsungtv-encrypted

Samsung TV Encrypted Models (H & J Series) custom component for Home Assistant
Apache License 2.0
38 stars 24 forks source link

No module named 'Crypto' #23

Closed Shyrka973 closed 4 years ago

Shyrka973 commented 4 years ago

Hi,

My config:

  - platform: samsungtv_encrypted
    host: 192.168.xxx.yyy
    token: "42711b38ae1045b45xxxxyyyyzzzz"
    sessionid: 1
    port: 8080
    name: Samsung UE55H6200
    mac: "c4:57:6e:xx:xx:xx"

I use "Check Home Assistant configuration" to check my config and I get this error:

INFO:homeassistant.util.package:Attempting install of PyNaCl==1.3.0
INFO:homeassistant.util.package:Attempting install of proxmoxer==1.0.4
INFO:homeassistant.util.package:Attempting install of mutagen==1.43.0
INFO:homeassistant.util.package:Attempting install of gTTS-token==1.1.3
INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.10
INFO:homeassistant.util.package:Attempting install of life360==4.1.1
INFO:homeassistant.util.package:Attempting install of pynuki==1.3.3
Failed config
  General Errors: 
    - Platform error media_player.samsungtv_encrypted - No module named 'Crypto'

Successful config (partial)
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

How do ask Hassio to install this package when we install this integration? My problem looks like this issue: #11 .

Thanks.

sermayoral commented 4 years ago

@Shyrka973 I'm going to check what is the minimal version of crypto this addon needs to put it in the requeriments

Shyrka973 commented 4 years ago

Thank you. This will serve others.

My TV has just died (2 days ago) after 5 years. I will be very careful with my future purchase ;-)

Thanks again.