Better Email plugin discussion thread

Posted on
Tue Jun 07, 2016 9:28 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Different Computers wrote:
I know where you're coming from and appreciate the concern. It's just I've got some legacy zigbee devices that I can't get talking to Indigo, and it would be nice to use them. (Until someone writes a Zigbee plugin of course. :wink:


Let's take this to another thread: viewtopic.php?f=136&t=16225

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

Posted on
Tue Jun 07, 2016 9:34 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Gah. That's what I get for making a "simple" change without testing. Try v1.2.8.

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

Posted on
Tue Jun 07, 2016 9:42 am
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Better Email plugin discussion thread

FlyingDiver wrote:
Gah. That's what I get for making a "simple" change without testing. Try v1.2.8.

That appears to have worked - thanks!

Version number is still showing as 1.2.6

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Tue Jun 07, 2016 9:52 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Bollar wrote:
Version number is still showing as 1.2.6


Fixed. I think.

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

Posted on
Thu Jun 09, 2016 4:39 pm
peteinau offline
Posts: 65
Joined: Jan 10, 2015

Re: Better Email plugin discussion thread

Hi Joe,

Mine seems to work well for a while (usually more than a day, but not a time period I can work out) and then I see the following message in the log

-------
Better Email Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 673, in runConcurrentThread
KeyError: 'key updateFrequency not found in dict'

Better Email Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Better Email Error Error in plugin execution runConcurrentThread:
-------

If I then go to the configure menu for the plugin and try and try debugging on I get the following message in the log

------
Better Email Error Error in plugin execution UiValidate:

Traceback (most recent call last):
File "plugin.py", line 567, in validatePrefsConfigUi
NameError: global name 'errorMsgDict' is not defined
---------

I can use the toggle debugging but it doesn't seem to give me any more information than this.

Thanks,
Pete

Posted on
Thu Jun 09, 2016 6:30 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Sigh. v1.2.9 is up now. I hope I finally stomped that bug.

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

Posted on
Sun Jun 12, 2016 12:51 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: Better Email plugin discussion thread

I'm full of dumb questions today.

If I'm looking for the plugin to trigger on a subject equal to
Code: Select all
Front door open

can the regular expression in the settings just be
Code: Select all
Front door open
?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Jun 12, 2016 1:10 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Yes. If you don't use any of the special regex meta characters, then it's a straight string compare. I probably ought to put in a simple string compare option, since you'll get bitten by punctuation characters.

Be aware that there's currently a bug that messages with no message text (just headers) will fail. I need to look into that.

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

Posted on
Sun Jun 12, 2016 1:21 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: Better Email plugin discussion thread

FlyingDiver wrote:
Be aware that there's currently a bug that messages with no message text (just headers) will fail. I need to look into that.



Aaaaand that's my problem! I was sending blank messages.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun Jun 12, 2016 3:10 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

V1.2.10 has been posted.

In this release:

Events are now specific to an email server. All events (triggers) will need to be edited to select the server.

There are now two kinds of inbound email matching triggers - one for regex expressions, one for plain string matches. All events (triggers) will need to be edited to select the event type.

Misc bug fixes as well, including a work-around for empty email bodies.

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

Posted on
Mon Jun 13, 2016 1:34 am
peteinau offline
Posts: 65
Joined: Jan 10, 2015

Re: Better Email plugin discussion thread

Hi Joe,

Getting the following messages since upgrading to 1.2.10:

Better Email Error IMAP server connection error: 'key serverID not found in dict'

I've tried deleting and recreating the Server Device, but doesn't seem to change it much.

Thanks,
Pete

Posted on
Mon Jun 13, 2016 1:55 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

peteinau wrote:
Hi Joe,

Getting the following messages since upgrading to 1.2.10:

Better Email Error IMAP server connection error: 'key serverID not found in dict'

I've tried deleting and recreating the Server Device, but doesn't seem to change it much.

Thanks,
Pete


Did you edit and save all your BetterEmail Events (ie Triggers)?

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

Posted on
Mon Jun 13, 2016 3:59 am
peteinau offline
Posts: 65
Joined: Jan 10, 2015

Re: Better Email plugin discussion thread

Ahhh... tried hunting around and found a trigger I'd missed! I think I'll need to redo all my folder structure, just too many triggers and devices in Indigo these days.

Posted on
Mon Jun 13, 2016 4:48 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

peteinau wrote:
Ahhh... tried hunting around and found a trigger I'd missed! I think I'll need to redo all my folder structure, just too many triggers and devices in Indigo these days.


I'm going to see if I can find a way to protect the code from that error. Put in some defaults of some sort if the keys are missing.

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

Posted on
Fri Jun 17, 2016 2:37 am
RedYuriPrime offline
Posts: 58
Joined: Oct 14, 2014
Location: Oxford

Re: Better Email plugin discussion thread

Hi Joe,
I am having problems getting the plugin to work after upgrading to v1.2.10. Outgoing email works fine, but incoming does not. Problem seems to be at the level of the incoming device, so deleted this and started again, but problem unchanged.
Error shows up as state ‘Failure’ in the devices list, and as a line in the log everytime Better Email executes saying:
"Better Email Error POP server connection error: 'POPServer' object has no attribute 'props' "
With debugging set get nothing more useful:
"Better Email Debug Connecting to POP Server: Better Email Incoming Pop Server
Better Email Error POP server connection error: 'POPServer' object has no attribute 'props'"

Any suggestions :?:

Z-wave system with 80+ devices, Indigo7 on a dedicated MacMini
Controlling lighting, heating, hotwater, security; but still a lot to learn ... :shock:

Page 6 of 9 1 ... 3, 4, 5, 6, 7, 8, 9

Who is online

Users browsing this forum: No registered users and 2 guests