Purple Air sensor plugin

Posted on
Fri May 27, 2022 6:34 pm
wikner offline
Posts: 181
Joined: Nov 02, 2003

Re: Purple Air sensor plugin

FlyingDiver wrote:
Hmm. I thought I worked around that issue. Let me work on it. That's why it's a pre-release.

I could delete my devices. Unfortunately that would also delete my triggers based on them. But those are fairly simple; I could rebuild them. I'll just wait a while. The air is pretty clear here in Denver right now. No wildfires affecting us just yet...

Posted on
Fri May 27, 2022 6:35 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Purple Air sensor plugin

Better yet, delete the prefs file. That should force the config dialog to come up before it actually starts the plugin.

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

Posted on
Fri May 27, 2022 6:37 pm
wikner offline
Posts: 181
Joined: Nov 02, 2003

Re: Purple Air sensor plugin

FlyingDiver wrote:
Better yet, delete the prefs file. That should force the config dialog to come up before it actually starts the plugin.

What prefs file? Where?

Posted on
Fri May 27, 2022 6:38 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Purple Air sensor plugin

Here:
Attachments
Screen Shot 2022-05-27 at 8.38.16 PM.png
Screen Shot 2022-05-27 at 8.38.16 PM.png (275.84 KiB) Viewed 1791 times

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

Posted on
Fri May 27, 2022 6:47 pm
wikner offline
Posts: 181
Joined: Nov 02, 2003

Re: Purple Air sensor plugin

Alas, that did not help.
Shut down server
Found & removed prefs file
Restarted server.
Code: Select all
 miniPurple Error                API Read Key must be specified in Plugin Config
   Started plugin "Pushover 2022.0.0"
   Started plugin "WeatherSnoop 3.2.0"
   miniPurple Error                Error in plugin execution InitializeMain:

  File "<string>", line 1, in <module>
  File "plugin.py", line 39, in __init__
type: ('api_key_type',)

   Stopping plugin "miniPurple 2022.1.0" (pid 59880)
   Waiting for external plugins to initialize
   Stopped plugin "miniPurple 2022.1.0"
   Starting triggers and schedules

May 27, 2022 at 6:44:33 PM
   Connected to PowerLinc 2413U interface on port usbserial-A6008aaV
   PowerLinc address 14.84.E8, firmware version 9.2

May 27, 2022 at 6:44:51 PM
   Reloading plugin "miniPurple 2022.1.0" using API v3.0
   Starting plugin "miniPurple 2022.1.0" (pid 59893)
   miniPurple Error                API Read Key must be specified in Plugin Config
   miniPurple Error                Error in plugin execution InitializeMain:

  File "<string>", line 1, in <module>
  File "plugin.py", line 39, in __init__
type: ('api_key_type',)

   Stopping plugin "miniPurple 2022.1.0" (pid 59893)
   Stopped plugin "miniPurple 2022.1.0"

Posted on
Fri May 27, 2022 6:48 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Purple Air sensor plugin

OK, I'll have to recode that section to deal with API key.

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

Posted on
Fri May 27, 2022 6:54 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Purple Air sensor plugin


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

Posted on
Fri May 27, 2022 11:35 pm
wikner offline
Posts: 181
Joined: Nov 02, 2003

Re: Purple Air sensor plugin

That appears to be working. To quote Firesign Theater (I Think We're all Bozos on this Bus): "Well, you're a wizard, WHOEVER you are!"
Thanks
Norman

Who is online

Users browsing this forum: No registered users and 3 guests