New Plugin - Flair Smart Vents

User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

https://github.com/FlyingDiver/Indigo-F ... /tag/0.0.5

Now supports creating puck devices for use as temperature and humidity sensors.

Please report any issues before I release on the plugin store.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
bdubnm
Posts: 22
Joined: Thu Dec 12, 2019 2:29 pm

Re: New Plugin - Flair Smart Vents

Post by bdubnm »

Got this error after upgrading to 0.0.5

Code: Select all

Jul 18, 2021 at 11:29:43 AM
   Disabling plugin "Flair 0.0.5"
   Stopping plugin "Flair 0.0.5" (pid 53196)
   Stopped plugin "Flair 0.0.5"
   Enabling plugin "Flair 0.0.5"
   Starting plugin "Flair 0.0.5" (pid 53206)
   Started plugin "Flair 0.0.5"
   Flair Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 219, in runConcurrentThread
KeyError: u'4e213f6d-b326-5816-b038-f8867e8e6287'

   Flair Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
I also received the following error after adding a Puck...

Code: Select all

   Flair Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 208, in runConcurrentThread
NameError: global name 'TEMPERATURE_SCALE_PLUGIN_PREF' is not defined

   Flair Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Not sure if I need to remove all my previous Flair devices and start over. Please let me know.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Delete any HVAC devices you created.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
bdubnm
Posts: 22
Joined: Thu Dec 12, 2019 2:29 pm

Re: New Plugin - Flair Smart Vents

Post by bdubnm »

1) I removed all Flair devices and disabled the plugin.
2) Reinstalled 0.05. as I had moved back to 0.0.4
3) Added my Flair Account - Went Green
4) Added a puck and got the following error...

Code: Select all

Jul 18, 2021 at 11:50:01 AM
   Reloading plugin "Flair 0.0.5"
   Stopping plugin "Flair 0.0.5" (pid 53704)
   Stopped plugin "Flair 0.0.5"
   Starting plugin "Flair 0.0.5" (pid 53811)
   Started plugin "Flair 0.0.5"
   Flair Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 208, in runConcurrentThread
NameError: global name 'TEMPERATURE_SCALE_PLUGIN_PREF' is not defined

   Flair Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
5) Went to add a vent and only 1 of 14 were visible to add. The other 13 were not visible in drop down connection.
6) Going to remove Flair devices again and then completely remove the plugin from OS directory so I can reinstall that way.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Hmmm. Very strange. Works on my system with one puck and one vent.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Oh, wait. Open the plugin config dialog and set your preferred temperature scale. I just made a change to set a default scale.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
bdubnm
Posts: 22
Joined: Thu Dec 12, 2019 2:29 pm

Re: New Plugin - Flair Smart Vents

Post by bdubnm »

I had previously done that. Temperature was set to Fahrenheit.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
bdubnm
Posts: 22
Joined: Thu Dec 12, 2019 2:29 pm

Re: New Plugin - Flair Smart Vents

Post by bdubnm »

Upgraded to 0.0.6

1) Removed Devices
2) Upgraded plugin
3) Added Flair account
4) Added Puck - No Errors
5) Puck Returned temperature in F
6) Went to add the vents, only one vent is showing up in drop down picker (see screen shot)
Attachments
Screen Shot 2021-07-18 at 12.12.15 PM.png
Screen Shot 2021-07-18 at 12.12.15 PM.png (47.4 KiB) Viewed 3997 times
bdubnm
Posts: 22
Joined: Thu Dec 12, 2019 2:29 pm

Re: New Plugin - Flair Smart Vents

Post by bdubnm »

Corresponding Debug Log...The plugin gets the list of vents from Flair, but appears the drop down picker is only presenting a single value.

Code: Select all

Flair                           new device: Starting FlairPuck Device 241640286
   Flair Debug                     new device: Fetching /api/structures/24628/thermostats
   Flair Debug                     new device: Fetched 1 thermostats records
   Flair Debug                     new device: Fetching /api/structures/24628/rooms
   Flair Debug                     new device: Fetched 7 rooms records
   Flair Debug                     new device: Fetching /api/structures/24628/pucks
   Flair Debug                     new device: Fetched 2 pucks records
   Flair Debug                     new device: Fetching /api/structures/24628/hvac-units
   Flair Debug                     new device: Fetched 0 hvac-units records
   Flair Debug                     new device: Fetching /api/structures/24628/vents
   Flair Debug                     new device: Fetching /api/vents/56bcc551-8296-5ede-90cf-c08f3eb63146/current-reading
   Flair Debug                     new device: Fetching /api/vents/f52a17ba-4e65-5df7-18b0-707d57cd98e0/current-reading
   Flair Debug                     new device: Fetching /api/vents/9f7acab8-319f-5ae3-4ec7-93acfb39551b/current-reading
   Flair Debug                     new device: Fetching /api/vents/4e213f6d-b326-5816-b038-f8867e8e6287/current-reading
   Flair Debug                     new device: Fetching /api/vents/38d289ff-3ba4-5f1c-618e-4a80a8949741/current-reading
   Flair Debug                     new device: Fetching /api/vents/26720a40-c5c4-536d-2fb5-ebd34df1522c/current-reading
   Flair Debug                     new device: Fetching /api/vents/6823a71c-9eb8-5b6d-f1b1-d0c7530fa384/current-reading
   Flair Debug                     new device: Fetching /api/vents/e74c3f84-003e-5117-ec38-95634f17abec/current-reading
   Flair Debug                     new device: Fetching /api/vents/01340ffd-8409-5aea-1532-f84226741604/current-reading
   Flair Debug                     new device: Fetching /api/vents/358e9861-6b09-5164-e18a-26fd2ec41505/current-reading
   Flair Debug                     new device: Fetching /api/vents/3693484e-763b-5166-af63-ed4ecdb7003d/current-reading
   Flair Debug                     new device: Fetching /api/vents/bd8887e8-4638-5e3e-75e6-d0bbf3974030/current-reading
   Flair Debug                     new device: Fetching /api/vents/a2406f42-9487-542b-94ba-29fbfc1e543a/current-reading
   Flair Debug                     new device: Fetched 1 vent records
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Put the debug log and the data dump (menu command) in this GitHub issue: https://github.com/FlyingDiver/Indigo-Flair/issues/2

Followup there.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
bdubnm
Posts: 22
Joined: Thu Dec 12, 2019 2:29 pm

Re: New Plugin - Flair Smart Vents

Post by bdubnm »

Full Debug log and screen shot uploaded to git issue.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

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

Return to “Discontinued Plugins”