Better Email Q&A
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Better Email Q&A
New thread for the Indigo 7 release.
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 Q&A
Getting this with debugging turned on
Also, it seems like the I7 upgrade lost my config info for actions and I had to respecify them.
And finally, seems like triggers using the plugin aren't firing. I get "Polling all email servers" in the log, but nothing else.
Edit: took a while:
Code: Select all
Better Email Error Error in plugin execution UiValidate:
Traceback (most recent call last):
File "plugin.py", line 331, in clearSMTPQueueMenu
ValueError: invalid literal for int() with base 10: ''And finally, seems like triggers using the plugin aren't firing. I get "Polling all email servers" in the log, but nothing else.
Edit: took a while:
Code: Select all
Nov 21, 2016, 3:45:25 PM
Better Email Checking for updates...
Better Email Debug Plugin version detected: 7.0.0
Better Email Debug Current version is: 7.0.0
Better Email Debug Getting latest release from FlyingDiver/Indigo-BetterEmail...
Better Email Debug GET /repos/FlyingDiver/Indigo-BetterEmail/releases/latest
Better Email Debug HTTP 200 OK
Better Email Debug Latest release is: 7.0.0
Better Email No updates are available
Better Email Debug Polling All Email Servers
Nov 21, 2016, 3:50:04 PM
Trigger Time for me to get the album artwork.
Better Email Debug getDeviceConfigUiValues, typeID = imapAccount
Better Email Debug getDeviceConfigUiValues: no change, already populated
Better Email Debug validateDeviceConfigUi calledSonoma 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 Q&A
That ValueError was caused by a bad device reference in an Action of some kind (Group, Trigger, Schedule). The action was getting called with no deviceID. Make sure your devices are all still good (and enabled). I think that's a side effect of loosing the Action configs. But I have no idea what could have caused that in the first place. Unless it was the change I made to the name of the plugin itself (removed the space in the name). Hmm.
What's that trigger for the artwork doing? Or is that an unrelated log entry? The getDeviceConfigUiValues entries are normal.
As for the triggers not firing, make sure that debug logging is on and then restart the plugin. If the triggers are defined properly, there should be log entries saying "Adding trigger....". If not, I think the triggers are invalid, probably another result of the device IDs changing.
What's that trigger for the artwork doing? Or is that an unrelated log entry? The getDeviceConfigUiValues entries are normal.
As for the triggers not firing, make sure that debug logging is on and then restart the plugin. If the triggers are defined properly, there should be log entries saying "Adding trigger....". If not, I think the triggers are invalid, probably another result of the device IDs changing.
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 Q&A
That's an unrelated entry for artwork.
haven't restarted it will give a try!
and here that is:
Seems to be working now, I think.
haven't restarted it will give a try!
and here that is:
Code: Select all
Started plugin "Better Email 7.0.0"
Better Email Starting Better Email
Better Email Debug updateFrequency = 86400.0
Better Email Debug DC Email: Device Version is up to date
Better Email Debug Starting server: DC Email
Better Email Debug DC Email: Doing connect using encryptionType = SSL
Better Email Debug Adding Trigger Breezeway door opened, so I turned on the breezeway light (162583817)
Better Email Debug Adding Trigger received breezeway door closed email (1805935873)
Better Email Debug Adding Trigger received breezeway door open email (1474780688)
Better Email Debug Adding Trigger received freezer door closed email (1945710297)
Better Email Debug Adding Trigger received freezer door open email (1986361090)
Better Email Debug Adding Trigger received front door closed email (1200908508)
Better Email Debug Adding Trigger received front door open email (850508624)
Better Email Debug Adding Trigger received Mike Home email (1960096986)
Better Email Debug Adding Trigger received MikeNotHome email (1602847527)
Better Email Checking for updates...
Better Email Debug Plugin version detected: 7.0.0
Better Email Debug Current version is: 7.0.0
Better Email Debug Getting latest release from FlyingDiver/Indigo-BetterEmail...
Better Email Debug GET /repos/FlyingDiver/Indigo-BetterEmail/releases/latest
Better Email Debug DC Email: idle() called
Better Email Debug HTTP 200 OK
Better Email Debug Latest release is: 7.0.0
Better Email No updates are available
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.
Re: Better Email Q&A
Hello.
I have an problem.
I cant se any devices in the list.
Better Email Checking for updates...
Better Email Debug Plugin version detected: 7.0.0
Better Email Debug Current version is: 7.0.0
Better Email Debug Getting latest release from FlyingDiver/Indigo-BetterEmail...
Better Email Debug GET /repos/FlyingDiver/Indigo-BetterEmail/releases/latest
Better Email Debug HTTP 200 OK
Better Email Debug Latest release is: 7.0.0
Better Email No updates are available
Better Email Debug getDeviceConfigUiValues, typeID = imapAccount
Better Email Debug getDeviceConfigUiValues: no change, already populated
Better Email Debug validateDeviceConfigUi called
Better Email Debug Stopping server: Email-plugg
Better Email Debug Email-plugg: Device Version is up to date
Better Email Debug Starting server: Email-plugg
Better Email Debug Email-plugg: Doing connect using encryptionType = SSL
Better Email Debug Email-plugg: idle() called
Indigo 7
Better Email 7.0.0
Best regards.
I have an problem.
I cant se any devices in the list.
Better Email Checking for updates...
Better Email Debug Plugin version detected: 7.0.0
Better Email Debug Current version is: 7.0.0
Better Email Debug Getting latest release from FlyingDiver/Indigo-BetterEmail...
Better Email Debug GET /repos/FlyingDiver/Indigo-BetterEmail/releases/latest
Better Email Debug HTTP 200 OK
Better Email Debug Latest release is: 7.0.0
Better Email No updates are available
Better Email Debug getDeviceConfigUiValues, typeID = imapAccount
Better Email Debug getDeviceConfigUiValues: no change, already populated
Better Email Debug validateDeviceConfigUi called
Better Email Debug Stopping server: Email-plugg
Better Email Debug Email-plugg: Device Version is up to date
Better Email Debug Starting server: Email-plugg
Better Email Debug Email-plugg: Doing connect using encryptionType = SSL
Better Email Debug Email-plugg: idle() called
Indigo 7
Better Email 7.0.0
Best regards.
- Attachments
-
- plugg in.png (42.61 KiB) Viewed 9574 times
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email Q&A
Did you create one? To send email you need to create an SMTP Device.
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 Q&A
Thanks.
It was much better.
Now I can choose.
It was much better.
Now I can choose.
Re: Better Email Q&A
Thanks again.
It works i can now send e-mail´s
Howe should i do this
i have one device that i will send an e-mail when it´s activity.
what should i do?
%%d:97846419:On/Off%%
It works i can now send e-mail´s
Howe should i do this
i have one device that i will send an e-mail when it´s activity.
what should i do?
%%d:97846419:On/Off%%
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email Q&A
You need to set up a trigger that sends the email when that device's state changes. If you need help doing that, please start a thread in this forum: http://forums.indigodomo.com/viewforum.php?f=78Elman wrote:Thanks again.
It works i can now send e-mail´s
Howe should i do this
i have one device that i will send an e-mail when it´s activity.
what should i do?
%%d:97846419:On/Off%%
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 Q&A
Thanks
Best Regards
// Johan
Best Regards
// Johan
Re: Better Email Q&A
Hi FlyingDiver,
Great plugin! Working well with my gmail account (IMAP receive and SMTP send). I went searching for this because the built in Indigo email feature is unreliable. It sometimes fails to send (same account and same server settings that are working very reliable with this plugin)
Get it together Indigo team. I just paid for Indigo 7, which is a reasonable improvement from Indigo 6, but has taken way too long. I expect better from you. Thanks for taking up the slack FlyingDiver!
Great plugin! Working well with my gmail account (IMAP receive and SMTP send). I went searching for this because the built in Indigo email feature is unreliable. It sometimes fails to send (same account and same server settings that are working very reliable with this plugin)
Get it together Indigo team. I just paid for Indigo 7, which is a reasonable improvement from Indigo 6, but has taken way too long. I expect better from you. Thanks for taking up the slack FlyingDiver!
Re: Better Email Q&A
Hi,
I'm actually have a problem when when it actually goes to the fetch the email, I have included the log below. I have tried deleting the device and creating a new one but still get the same error.
Thanks,
Pete
I'm actually have a problem when when it actually goes to the fetch the email, I have included the log below. I have tried deleting the device and creating a new one but still get the same error.
Thanks,
Pete
Code: Select all
Better Email Debug Polling IMAP Server: Jarvis Email
Better Email Debug Jarvis Email: Doing connect using encryptionType = SSL
Better Email Debug Jarvis Email: Doing checkMsgs
Better Email Debug Jarvis Email: msg_ids = ['1 2']
Better Email Debug Jarvis Email: Checking Message # 1
Better Email Debug Jarvis Email: Fetching Message # 1
Better Email Debug Received Message Subject: IntesisHome Notifications - on/off change
Better Email Debug Received Message From: IntesisHome Notifications <[email protected]>
Better Email Error IMAP server connection error: coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/BetterEmail.indigoPlugin/Contents/Server Plugin/IMAPServer.py", line 208, in poll
self.checkMsgs()
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/BetterEmail.indigoPlugin/Contents/Server Plugin/IMAPServer.py", line 139, in checkMsgs
self.logger.debug(u"Received Message To: " + messageTo)
TypeError: coercing to Unicode: need string or buffer, NoneType found- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email Q&A
The plugin doesn't like whatever's in the "To:" header on that first message. Can you look at that INBOX with an email client and post the headers of that message?
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 Q&A
If you can, grab the latest commit on GitHub and try it: https://github.com/FlyingDiver/Indigo-B ... ndigo7.zip
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 Q&A
Hi,
So I've updated from the link you sent me and I have included the log file error and the header information for the email below.
-- Log File
-- Headers
So I've updated from the link you sent me and I have included the log file error and the header information for the email below.
-- Log File
Code: Select all
Better Email Debug Polling IMAP Server: Jarvis Email
Better Email Debug Jarvis Email: Doing connect using encryptionType = SSL
Better Email Debug Jarvis Email: Doing checkMsgs
Better Email Debug Jarvis Email: msg_ids = ['1 2']
Better Email Debug Jarvis Email: Checking Message # 1
Better Email Debug Jarvis Email: Fetching Message # 1
Better Email Debug Received Message Subject: IntesisHome Notifications - on/off change
Better Email Debug Received Message From: IntesisHome Notifications <[email protected]>
Better Email Error Error decoding "To:" header: coercing to Unicode: need string or buffer, NoneType found
Better Email Error Error decoding "To:" header: None, error: coercing to Unicode: need string or buffer, NoneType found
Better Email Debug Received Message ID: <[email protected]>
Code: Select all
X-Postalout-Msgid: 3tScFm60XhzFZFy.AD4E6
X-Postalout-Spamcheck: no es spam, Unknown
Received-Spf: pass (google.com: domain of [email protected] designates 217.116.26.250 as permitted sender) client-ip=217.116.26.250;
X-Received: by 10.28.220.5 with SMTP id t5mr22207496wmg.80.1480408272206; Tue, 29 Nov 2016 00:31:12 -0800 (PST)
Return-Path: <[email protected]>
X-Ctch-Score: 0.000
X-Postalout-Watermark: 1481013070.7103@6B9YELItYq+z8ih8siZJRQ
Mime-Version: 1.0
Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 217.116.26.250 as permitted sender) [email protected]
X-Postalout-Information: AntiSPAM and AntiVIRUS on relayout06
X-Ctch-Scorecust: 0.000
X-Postalout-From: [email protected]
Message-Id: <[email protected]>
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No
Content-Type: text/html; charset=utf-8
X-Postalout-Country: IP: 212.36.84.194 | Country: ES
Delivered-To: XXXXXXXXXX
Received: by 10.107.149.131 with SMTP id x125csp2194369iod; Tue, 29 Nov 2016 00:31:12 -0800 (PST)
Received: from relayout06-q02.dominioabsoluto.net (relayout06-q02.dominioabsoluto.net. [217.116.26.250]) by mx.google.com with ESMTPS id k65si1501425wmf.39.2016.11.29.00.31.11 for < XXXXXXXXXX > (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 00:31:12 -0800 (PST)
Received: from relayout06-redir.dominioabsoluto.net (relayout06-redir.dominioabsoluto.net [217.116.26.254]) by relayout06.dominioabsoluto.net (Postfix) with ESMTP id 3tScFq0l8KzFZFc for < XXXXXXXXXX >; Tue, 29 Nov 2016 09:31:11 +0100 (CET)
Received: from [127.0.0.1] (unknown [212.36.84.194]) (Authenticated sender: [email protected]) by relayout06-dsp.dominioabsoluto.net (Postfix) with ESMTPA id 3tScFm60XhzFZFy for < XXXXXXXXXX >; Tue, 29 Nov 2016 09:31:08 +0100 (CET)