Package: cbpi4-GroupedPowerActor
CBPi4 Grouped Power Actor Plugin (Focus: Heating elements)This Actor plugin can be used to group up to 8 actors into on actorGroup multiple actors into one actorThis plugin allows to group up to 8 actors into one actorIf the Grouped Actor is switched on, all actors that belong to the group will be switched onIf the power is changed for the grouped actor, power will be adapted to the individual actorsCurrent requirementAll heating elements need to have the same nominal power. (e.g. 3 x 3 kW)Elements with different nominal power are not yet supported, but feasibility is plannedExampleYou have 3 heating elements with 3 kW per elementYou have grouped all 3 heating elements into one grouped Power ActorYou set the power for the grouped actor to 33% -> Element 1 of the grouped actor will heat with 100%You set the power of the grouped Actor to 50% -> Element 1 of the grouped actor will heat with 100% and Element 2 of the grouped actor will heat with 50% (pulsed or PWM)You set the power of the grouped Actor to 80% -> Element 1 and 2 of the grouped actor will heat with 100% and Element 3 will heat with ~ 40% (pulsed or PWM)All values between 0 and 100 can be used for the Grouped Power ActorUp to 8 Elements should work (3 have been tested so far)Installation:You can install it directly via pypi.org:sudo pip3 install cbpi4-GroupedPowerActorAlternativeley you can install (or clone) it from the GIT Repo. In case of updates, you will find them here first:sudo pip3 installhttps://github.com/avollkopf/cbpi4-GroupedPowerActor/archive/main.zipcbpi >= 4.0.0.45 from my fork is required.Parameters:Actor 1-8: Actors can be added to the groupUsage:You can add individual Actors to your dashboardAdd the grouped Actor to your dashboard and enable actions to set power for the actor groupThe example below shows the grouped actor configuration for three actors that are in the group:If you click on the action menu of the grouped actor (3 dots on the right), the actions menu will be opend to set the powerIf you choose 'Set Power', the corresponding dialog will open and you can set the power for the grouped actor. Hit save.Once you saved the power setting, the power of the grouped actor and the actors from the group are set. Power is 'filled up' starting with Actor 1. The following image shows an example for 25% power setting of the grouped power actor. Only actor 1 will be set to a value which is equivalent to 33% total power of the group.If you change the power to 50%, actor 1 is set to 100% and Actor 2 power will be set to a value of ~ 50%. This is equivalent to 50% of the total power of this group.If you further increase  the power to 80%, actor 1 and 2 are set to 100% and Actor 3 power will be set to a value of ~ 40%. This is equivalent to 80% of the total power of this group.If you click on the grouped actor button, all actors in the group will be switched on.The grouped actor can be alo used in the Kettle Logic plugins that use power settings (e.g. PIDBoil,...)Changelog:11.05.22: (0.0.6) Updated README (removed cbpi add)10.05.22: (0.0.5) Removed cbpi dependency25.02.22: (0.0.4) Changed README -> pip install available07.02.22: (0.0.3) Removal of duplicated mqtt messages07.02.22: (0.0.2) Initial commit