Releases, Bugs, Issues, Requests

Posted on
Sun Aug 11, 2019 8:38 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Releases, Bugs, Issues, Requests

Testing using V.0.0.11 :)

I have fixed my error but this showed in the log before I did:
Code: Select all
   Trigger                         new trigger 3
   MQTT Error                      Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 522, in publishDeviceAction
  File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/MQTT.indigoPlugin/Contents/Server Plugin/mqtt_broker.py", line 66, in publish
  File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/MQTT.indigoPlugin/Contents/Server Plugin/paho/mqtt/client.py", line 1171, in publish
ValueError: Publish topic cannot contain wildcards.

Posted on
Sun Aug 11, 2019 8:41 am
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

What was the error you fixed?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Aug 11, 2019 8:44 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Releases, Bugs, Issues, Requests

The published topic having a wildcard in it (as per the message in the log). :)

Posted on
Sun Aug 11, 2019 8:59 am
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

autolog wrote:
The published topic having a wildcard in it (as per the message in the log). :)


You mean an asterisk?

Or a MQTT wildcard ('+' or '#')?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Aug 11, 2019 10:03 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Releases, Bugs, Issues, Requests

A '#' in my case. :)

Posted on
Sun Aug 11, 2019 10:05 am
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

autolog wrote:
A '#' in my case. :)


I'm not sure what to do about that. The spec says anything is valid. But the Paho library I'm using rejected it, apparently. But it's not document what it'll reject. Or maybe Mosquitto rejected it.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Aug 17, 2019 9:21 am
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

Release 0.0.12 - https://github.com/FlyingDiver/Indigo-M ... tag/0.0.12

Minor changes

Warning: Plugin has been renamed. Disable and remove old plugin before installing this one. Nothing else will need to be changed.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Aug 17, 2019 1:41 pm
cuhouse offline
Posts: 144
Joined: Feb 21, 2007
Location: Virginia, USA

Re: Releases, Bugs, Issues, Requests

I have updated to MQTT Connector (0.0.12) and MQTT (0.0.4) MQTT Shims. All updated fine.

I hoped the update might clear up an issue that I just noticed the end of this week. I do not see the state indicator change in the Indigo Home window for the device. I guess I never noticed it before now since that line in always highlighted when the On/Off is initiated.
Screen Shot 2019-08-17 at 3.30.34 PM.png
Screen Shot 2019-08-17 at 3.30.34 PM.png (6.31 KiB) Viewed 2592 times


Thanks again for all your time spent creating these plugins.

Jody

Indigo 2022.1.2, Big Sur v11.7.1, Dedicated late 2014 Mac Mini, PowerLinc 2413U.

Posted on
Sat Aug 17, 2019 1:47 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

cuhouse wrote:
I hoped the update might clear up an issue that I just noticed the end of this week. I do not see the state indicator change in the Indigo Home window for the device. I guess I never noticed it before now since that line in always highlighted when the On/Off is initiated.
Screen Shot 2019-08-17 at 3.30.34 PM.png



I think that's a bug. I'll look into it.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 22, 2019 3:12 pm
BonfireVA offline
Posts: 62
Joined: Sep 17, 2017

Re: Releases, Bugs, Issues, Requests

So I have been busy with other things lately and just noticed this new plugin, I am so glad someone picked up the MQTT torch!
Thanks for your work on this!

I have only been playing with it for about 30 minutes, but I did notice one issue. When setting up the "published devices" section in the broker set up, I checked the "exclude devices" box, added three or four devices to the list and saved. I then tested several of the devices that should have been publishing (not the ones I included in the list), and no MQTT messages. Went back into the broker set up and removed the check mark from the "exclude devices" box, and added a few devices to test. worked fine. Unless I missed something it seems like the exclude option isn't working as expected. Not really a big deal, I just added all the device except the few I didn't want, but the exclude option would make things easier as you add new devices in the future, no need to go add them to the publish list. I did a quick look on the forum and didn't see this addressed yet, sorry if it has already been brought up.

-Eric

Posted on
Thu Aug 22, 2019 3:18 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

BonfireVA wrote:
I have only been playing with it for about 30 minutes, but I did notice one issue. When setting up the "published devices" section in the broker set up, I checked the "exclude devices" box, added three or four devices to the list and saved. I then tested several of the devices that should have been publishing (not the ones I included in the list), and no MQTT messages. Went back into the broker set up and removed the check mark from the "exclude devices" box, and added a few devices to test. worked fine. Unless I missed something it seems like the exclude option isn't working as expected. Not really a big deal, I just added all the device except the few I didn't want, but the exclude option would make things easier as you add new devices in the future, no need to go add them to the publish list. I did a quick look on the forum and didn't see this addressed yet, sorry if it has already been brought up.


Umm. Oops. I designed the UI to work that way, but forgot to implement it. :(

I'll get that fixed asap.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 22, 2019 4:33 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

Try this pre-release. https://github.com/FlyingDiver/Indigo-M ... /tag/0.1.1

Please do test the exclusion method. You can create a new/duplicate broker device to do it, if you want.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 22, 2019 5:35 pm
BonfireVA offline
Posts: 62
Joined: Sep 17, 2017

Re: Releases, Bugs, Issues, Requests

okay, that seemed to go the wrong way :(
After upgrading to the new version, I removed all the devices from the list, checked the box and added the few devices I didn't want to publish. No MQTT messages for anything. Then I tried unchecking the box again and moved a device I did want to send updates and that doesn't work now either. I did test the MQTT publish function in a trigger action and that worked fine, so MQTT is still working.

-Eric

Posted on
Thu Aug 22, 2019 6:14 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Releases, Bugs, Issues, Requests

Did you restart the broker device after you made the changes? I think it should have done that automatically, but I'm not sure.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 22, 2019 6:49 pm
BonfireVA offline
Posts: 62
Joined: Sep 17, 2017

Re: Releases, Bugs, Issues, Requests

FlyingDiver wrote:
Did you restart the broker device after you made the changes? I think it should have done that automatically, but I'm not sure.


I reload the plugin, I also restarted indigo. I am seeing this error in the log now:
Code: Select all
   MQTT Connector Error            Error in plugin execution ServerReplacedElem:
Traceback (most recent call last):
  File "plugin.py", line 98, in deviceUpdated
NameError: global name 'device' is not defined


I downgraded back to the 0.1.0 version, the log errors went away.

-Eric

Who is online

Users browsing this forum: No registered users and 5 guests