Control jeedom Cover from Commande Live

Hi,

I’m doing a migration from Fibaro HC3 to HomeAssistant. My covers are currently handle by a Jeedom Box call by my HC3. As the migration will take some time I need to keep the control of my cover on jeedom to allow my HC3 to control them also as most of my scenarios are on it.

So I wanted to implement the same thing that I did on my HC3 on HA. IE call Jeedom API. I have made this configuration

command_line:
  - cover:
      unique_id: chbparent0000
      name: "Volet Chambre parent"
      command_close: 'curl "http://IP/core/api/jeeApi.php?apikey=XXXXXXX&type=cmd&id=24&slider=0"'
      command_open: 'curl "http://IP/core/api/jeeApi.php?apikey=XXXXXXX&type=cmd&id=24&slider=100"'
      command_stop: 'curl "http://IP/core/api/jeeApi.php?apikey=XXXXXXX&type=cmd&id=25"'
      command_state: 'curl "http://IP/core/api/jeeApi.php?apikey=XXXXXXX&type=cmd&id=23"'
      scan_interval: 10

With that some function are working, I can Open, Close and Stop it correctly but I’m having mainly two issue and i don’t know to solve them :

  • For the state instead of returning value from 0 to 100 (IE what is expected on HA) I’m value from 0 to 244 (Value used by Jeedom) How can I apply adjustement by multiplying the value by 100/244 ?
  • On the dashboard when I’m changing the opening value with the slider nothing happen as no command line is configure for that, how can I handle this case?

I’m pretty new with HA so I may have miss something pretty simple.

Thanks for your help on that