Setting CCGX generator conditions using MQTT

got some help from another member. see here, this worked for me.