Migration Jeedom -> Home Assistant

Bonjour Bonsoir :smiley:
Je ne trouve pas le moyen d’afficher des images png comme j’ai pu le faire sous Jeedom.
Au vu des capacités de HA, je doute que ça soit impossible :smiley:

J’ai pensé à la carte Éléments d’image, mais sans grande conviction.
Une idée ?

Hello,

Explique l’ensemble de la finalité et avec quoi tu l’utilise, sinon pour afficher des images picture element est parfait

cdt

Effectivement, je n’ai pas été très précis :smiley:
Ce sont des boutons, qui déclenchent une automatisation.

Slt
avec Interactions ?



Et suivant le type d’appui , court, long, double !

re,

ça ça déclenche l’automation, attention ça ne l’active pas, mais ça déclenche le contenu de celle-ci sur le tap action

      - type: image
        image: /local/plan3D/piece maxi/ventilo.png
        style:
          top: 25%
          left: 25%
          width: 10%
          height: 50%
        tap_action:
          action: call-service
          service: automation.trigger
          target:
            entity_id: automation.desactivation_charge_tel_99

cdt

Hello @Doubledom ,
Je n’arrive pas à régler la taille de l’image.
Hello @freetronic ,
C’est une carte native ?

Salut,
Je ne sais pas si c’est ce genre de chose que tu cherches, mais j’ai une carte qui me permet d’afficher des logo de radio et de lancer la lecture d’une station de radio sur mon SONOS du salon.


L’apuis sur une image lance la lecture de la radio. L’apuis sur autre image lance la lecture d’une autre radio. L’apuis sur l’image de la radio en cours d’écoute coupe la lecture de la dite radio.

type: vertical-stack
cards:
  - type: conditional
    conditions:
      - entity: media_player.salon
        state_not: "off"
    card:
      type: horizontal-stack
      cards:
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: lapremiere
          card:
            type: picture
            image: /local/image/Music&radio/premiere.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: lapremiere
          card:
            type: picture
            image: /local/image/Music&radio/premiere.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: lapremiere
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: classic21
          card:
            type: picture
            image: /local/image/Music&radio/classic21.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: classic21
          card:
            type: picture
            image: /local/image/Music&radio/classic21.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: classic21
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: belrtl
          card:
            type: picture
            image: /local/image/Music&radio/belrtl.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: belrtl
          card:
            type: picture
            image: /local/image/Music&radio/belrtl.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: belrtl
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: musiq3
          card:
            type: picture
            image: /local/image/Music&radio/musiq3.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: musiq3
          card:
            type: picture
            image: /local/image/Music&radio/musiq3.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: musiq3
                media: salon
  - type: conditional
    conditions:
      - entity: media_player.salon
        state_not: "off"
    card:
      type: horizontal-stack
      cards:
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: sudradiohainaut
          card:
            type: picture
            image: /local/image/Music&radio/sudradiohainaut.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: sudradiohainaut
          card:
            type: picture
            image: /local/image/Music&radio/sudradiohainaut.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: sudradiohainaut
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: radiocontact
          card:
            type: picture
            image: /local/image/Music&radio/contact.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: radiocontact
          card:
            type: picture
            image: /local/image/Music&radio/contact.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: radiocontact
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: funradio
          card:
            type: picture
            image: /local/image/Music&radio/funradio.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: funradio
          card:
            type: picture
            image: /local/image/Music&radio/funradio.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: funradio
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state: vivacite
          card:
            type: picture
            image: /local/image/Music&radio/vivacite.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.stop_radio
              service_data:
                media: salon
        - type: conditional
          conditions:
            - entity: input_select.list_radio
              state_not: vivacite
          card:
            type: picture
            image: /local/image/Music&radio/vivacite.jpg?v=0.103
            tap_action:
              action: call-service
              service: script.start_radio
              service_data:
                radio: vivacite
                media: salon
  - type: custom:mini-media-player
    entity: media_player.salon
    icon: mdi:google-home
    artwork: cover
    min_volume: 1
    max_volume: 60
    hide:
      power_state: false
      icon_state: false
      info: true
    shortcuts:
      columns: 2
      hide_when_off: true
      buttons:
        - icon: mdi:volume-minus
          type: service
          id: script.down_vol_radio
          data:
            media: salon
        - icon: mdi:volume-plus
          type: service
          id: script.up_vol_radio
          data:
            media: salon
    volume_stateless: false
    toggle_power: true

Hello @GDX2 , c’est tout à fait ça.
Je vais continuer à creuser avec ton code.

Je m’étais inspiré d’un sujet sur ce même forum. Cela fait maintenant quelques années.
Je pense que @WarC0zes à une version encore plus fournie et sofistiquée.

1 « J'aime »

Désoler , je n’utilise pas les radios et n’est pas de carte spécifique pour :wink:

Je crois qu’il parle d’un post ou tu avais aidé notre cher mike :sweat_smile: il me semble. J’ai pensé exactement la même mais j’ai pas retrouvé le post

oui, c’est ce que je me disait, je recherche le sujet.

il y a c’est carte :

ce sujet sinon :

1 « J'aime »

Et bien merci la communauté, ça fait vraiment plaisir de voir cette communauté active et surtout, bienveillante (ce que je ne retrouvais plus chez Jeedom), ça fait du bien !

Je vais regarder avec attention les sujets partagés :slight_smile:

2 « J'aime »

Ahh! Ben, @WarC0zes , même quand c’est pas lui… c’est lui quand même :rofl:
Si non, j’ai retrouvé 2 liens qui pourront peut-être aider et / ou permettre de trouver encore d’autres liens:

Yo, j’ai trouvé mieux en fait pour mon usage :

et

J’ai un problème avec le module Netatmo.
Si je redémarre HA, Netatmo ne se lance pas. Je suis obligé de le désactiver/activer pour que ça refonctionne.

Ça dit quoi dans le journal HA après le démarrage?

1 « J'aime »
ValueError: Sensor sensor.estar_plant_tree has device class 'None', state class 'None' unit 'trees' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unknown' (<class 'str'>)e[0m
e[33m2026-01-23 13:58:52.845 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 13:58:52.862 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.dressinge[0m
e[33m2026-01-23 14:01:58.647 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[31m2026-01-23 14:04:20.702 ERROR (Thread-20) [pychromecast.socket_client] [TV(192.168.1.51):8009] Failed to connect to service MDNSServiceInfo(name='TPM191E-086fdf3de5aa6849a9414d4449efd9f1._googlecast._tcp.local.'), retrying in 5.0se[0m
e[33m2026-01-23 14:06:58.635 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:11:58.631 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[31m2026-01-23 14:14:44.323 ERROR (MainThread) [homeassistant.components.androidtv.entity] Failed to execute an ADB command. ADB connection re-establishing attempt in the next update. Error: Reading from 192.168.1.51:5555 timed out (9.0 seconds)e[0m
e[33m2026-01-23 14:14:46.323 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.1.51:5555.  TcpTimeoutException: Connecting to 192.168.1.51:5555 timed out (1.0 seconds)e[0m
e[33m2026-01-23 14:16:58.627 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:21:58.623 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:26:58.620 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:31:58.619 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:36:58.617 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:41:58.614 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[31m2026-01-23 14:45:54.468 ERROR (MainThread) [homeassistant.components.androidtv.entity] Failed to execute an ADB command. ADB connection re-establishing attempt in the next update. Error: Reading from 192.168.1.51:5555 timed out (9.0 seconds)e[0m
e[33m2026-01-23 14:45:56.468 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.1.51:5555.  TcpTimeoutException: Connecting to 192.168.1.51:5555 timed out (1.0 seconds)e[0m
e[31m2026-01-23 14:46:42.559 ERROR (Thread-20) [pychromecast.socket_client] [TV(192.168.1.51):8009] Failed to connect to service HostServiceInfo(host='192.168.1.51', port=8009), retrying in 5.0se[0m
e[33m2026-01-23 14:46:58.620 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:51:58.609 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 14:56:58.616 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 15:01:58.609 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 15:06:58.602 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
e[33m2026-01-23 15:11:58.597 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.0xa4c1386fb84d0bd3e[0m
s6-rc: info: service legacy-services: stopping
e[36m2026-01-23 15:12:07.137 DEBUG (MainThread) [homeassistant.components.netatmo] Unregister Netatmo webhook (77ee08471dfcdbef029aaee44a0cfdbcd538c45db8b6a6544016ae7bdd201ff1)e[0m
e[36m2026-01-23 15:12:07.137 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] Netatmo webhook unregisterede[0m
e[36m2026-01-23 15:12:07.183 DEBUG (MainThread) [homeassistant.components.netatmo] Unregister Netatmo webhook (77ee08471dfcdbef029aaee44a0cfdbcd538c45db8b6a6544016ae7bdd201ff1)e[0m
e[36m2026-01-23 15:12:07.183 DEBUG (MainThread) [homeassistant.components.netatmo.data_handler] Netatmo webhook unregisterede[0m
e[36m2026-01-23 15:12:07.349 DEBUG (MainThread) [pyatmo.auth] dropwebhook: <ClientResponse(https://api.netatmo.com/api/dropwebhook) [200 OK]>
<CIMultiDictProxy('Date': 'Fri, 23 Jan 2026 14:12:07 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache, must-revalidate', 'Expires': '0', 'x-azure-ref': '20260123T141207Z-176b7fcdd595bgxnhC1MRSx1s80000001ym0000000000avb', 'X-Cache': 'CONFIG_NOCACHE')>
e[0m

Je pense qu’on est sur la période concernée.

D’après ton log l’integration netatmo se lance bien.

Ca indique qu’il desenregistre correctement le webhook netatmo.
HA nettoie une ancienne instance de netatmo, l’api répond bien. Pas d’echec d’authentificaiton, pas de crash.

Vu que ca utilise un webhook, il faut que ton HA soit accessible depuis l’exterieur. Vérifie que l’url externe de ton HA est bien définie et accessible.

Merci @KipK pour ton analyse :slight_smile:
Je vois qu’ici c’est activé mais rien dedans, je suppose que je dois renseigner mon url externe ?

1 « J'aime »