lunarok / jeedom_MQTT

Plugin pour Jeedom pour MQTT
https://lunarok-domotique.com/
5 stars 9 forks source link

[Improvement] Battery Status #26

Open J6B opened 5 years ago

J6B commented 5 years ago

Hi,

It would be a nice feature to allow a command with a particular name (like battery) to be reported in jeedom as battery Status that would be something like : if (commandname = "battery") then $this->batteryStatus(commandvalue);

that would enable all battery features of jeedom on MQTT equipement

What's your mind about this?

Thanks

alexisfradel commented 4 years ago

Hello all,

I agree with your comment and request. I have tried an alternative: create a scenario to populate the status based on the result of a command.

If someone could point me out where to start, I could try to do a pull request.

Best regards, Alexis