Hi, fixed in ver. 0.9.10.
Thx @mwittig
Press MqttButton through rule: Cannot read property 'then' of undefined
Hi, fixed in ver. 0.9.10.
Thx @mwittig
Pimatic = Smart Home
I tried to upgrade MQTT plugin from 0.9.7 to 0.9.10. The pimatic plugin page is not supporting this, because the latest version on the plugin page is 0.9.7. So I did a manual update.
On my plugin page the MQTT plugin is now labelled “compatibility unknown”.
The plugin seems to work, but any idea if this is a problem?
@bertreb said in Press MqttButton through rule: Cannot read property 'then' of undefined:
The pimatic plugin page is not supporting this, because the latest version on the plugin page is 0.9.7. So I did a manual update.
Are you sure? On the web site it is showing the info for 0.9.10. So, the pimatic version manager should also pickup 0.9.10 via pimatic front end when searching for updates
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
You are right. Npm is showing the latest version. In my pimatic plugin page the version was 0.9.7 and no update for this plugin was available. So i installed the newest version manually and added the pimatic peerDependency in the plugins package.json (to remove the compatibilty label).
Hello, I am working with MQTT version 0.9.7 for 2 installations and no update is offered.
By, Jens.
Pimatic, my hobby.
@jens Ok, seems like I also install the stuff manually as part of my docker testing. The issue has been fixed now and the plugin manager should pick up an update to v0.9.11
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
@bertreb After updating mqtt version 0.9.7 to version v0.9.11 Pimatic cannot contact the mqtt broker.
I get the message “connection to Mqtt Broker default was closed” and “Reconnecting to MQTT Broker default”.
I also have a pi running Domoticz. This configuration has no problems using mqtt. Therfor i think there is a problem in the update of mqtt.
Can some one help?
@hansjeu I’m not a maintainer of the plugin, but here are some thoughts on your situation. When you upgrade from 0.9.7 to 0.9.11 there are some changes that could cause your problem. You can check them at https://github.com/wutu/pimatic-mqtt/commits/development (starting at the commit of 12 september 2017).
I assume you restarted Pimatic after the upgrade You should also check the plugin settings. If you are using username/password and your security allows it, you could try allowing setting “allow_anonymous true” in the MQTT broker (in mosquitto.conf). This is just a fix to get it working again. The real answer/solution needs to come from one of the plugin contributors.
Thanks Bertreb is was the password.
Greetings Hansjeu