HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: emerich on November 06, 2015, 07:34:25 PM

Title: MQTT client not starting
Post by: emerich on November 06, 2015, 07:34:25 PM
Hi all,

I try to send messages via MQTT to a broker. This worked in the previous releases quite well but now I get an Error "TC: Method not found: 'HomeGenie.Automation.Scripting.ProgramHelper.SetAutostart'." when I restart the programm.

Can someone help on that topic? I add the relevant part of logfile.

Thanks Christian
Title: Re: MQTT client not starting
Post by: Gene on November 06, 2015, 10:04:12 PM
There were some changes in the API, use Program.Run():

http://genielabs.github.io/HomeGenie/api/ape/a00009.html#a34a937a2bc052615d27137c3663d10c6 (http://genielabs.github.io/HomeGenie/api/ape/a00009.html#a34a937a2bc052615d27137c3663d10c6)

another resource that could be also useful to read:

http://genielabs.github.io/HomeGenie/programs.html (http://genielabs.github.io/HomeGenie/programs.html)

g.