Let's take this to another thread: http://forums.indigodomo.com/viewtopic. ... 36&t=16225Different 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.
Better Email plugin discussion thread
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
That appears to have worked - thanks!FlyingDiver wrote:Gah. That's what I get for making a "simple" change without testing. Try v1.2.8.
Version number is still showing as 1.2.6
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Fixed. I think.Bollar wrote:Version number is still showing as 1.2.6
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
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
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
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- Different Computers
- Posts: 2730
- Joined: Sat Jan 02, 2016 10:07 am
- Location: East Coast
- Contact:
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
can the regular expression in the settings just be
?
If I'm looking for the plugin to trigger on a subject equal to
Code: Select all
Front door openCode: Select all
Front door openSonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana, Yamaha RX Receiver.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- Different Computers
- Posts: 2730
- Joined: Sat Jan 02, 2016 10:07 am
- Location: East Coast
- Contact:
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.
Sonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana, Yamaha RX Receiver.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
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
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
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Did you edit and save all your BetterEmail Events (ie Triggers)?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
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
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.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
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.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.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
RedYuriPrime
- Posts: 56
- Joined: Tue Oct 14, 2014 1:01 pm
- 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
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 ...
Controlling lighting, heating, hotwater, security; but still a lot to learn ...