Plugin for NetworkOWL Intuition-pv sensor now available

Posted on
Fri Dec 27, 2013 10:30 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Plugin for NetworkOWL Intuition-pv sensor now available

NickSmith wrote:
This version also introduces read-only support for the new Intuition-h heating and hot water controls (http://www.theowl.com/products/intuitionh.php): at some point I intend to extend the plugin to be able to control the thermostats as well as reading the current values.


Exciting.. i've just moved into a new house with an overly complex heating system and extremely complicated thermostat syste (why oh why couldn't they just install a simple combi boiler? :P) and that intuitionh might fit the bill for what i need, especially if you're going to write a full plugin for it :D

Computer says no.

Posted on
Thu Feb 18, 2016 2:08 pm
johnpolasek offline
Posts: 911
Joined: Aug 05, 2011
Location: Aggieland, Texas

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Just a side question, but does anyone know why it's so difficult to get these products into the US? Amazon here in this country says they've never heard of them, Amazon UK says they can't ship them to the US, and when I finally found a place in Norway that would ship them, the power adapter's plugin options didn't include a US version, although the adapter itself is 100-250 volt, so I've got to cannibalize a 1 amp 5 volt adapter from something else before I can see how sluggish the network is going to be to the OWL cloud across the Atlantic.... The Sitesage folks over here REALLY need some competition to bring their price point down and open up third party access to their sensors.

Posted on
Wed Mar 16, 2016 9:01 am
mwoodage offline
User avatar
Posts: 174
Joined: Dec 19, 2014
Location: Devon UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hello,
I've recently bought a Owl Intuition PV sensor and have been trying to use the PlugIn for Indigo. However i'm getting the following error, can anyone help?

2016-03-16 14:53:51.846 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-16 14:54:01.847 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-16 14:54:03.714 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 106, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 166, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

Thanks in advance
Martin

Posted on
Wed Mar 16, 2016 2:07 pm
NickSmith offline
Posts: 32
Joined: Oct 28, 2012
Location: UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hi Martin - I had the same problem: it looks like Owl have changed the spec of the multicast data packet format in their last firmware update. I've been testing this update version at home for the last few weeks with no issues but haven't officially "released" it yet, although you're very welcome to try it.

I've made the updated version available at https://dl.dropboxusercontent.com/u/1658687/NetworkOwl1.4.zip - if you could download it & let me know how you get on I'd be grateful.

Regards

Nick

Posted on
Thu Mar 17, 2016 2:37 am
mwoodage offline
User avatar
Posts: 174
Joined: Dec 19, 2014
Location: Devon UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hi Nick,
Thanks for the updated PlugIn, its working, sort of. It seams to error a few times and then pick up the data, then error again. I've attached the log to this reply and happy to send more details if required, just let me know.

Thanks for updating,
Martin

2016-03-17 08:21:23.985 Application Upgrading plugin "NetworkOwl" to newer version 1.4 (previous version moved to trash)
2016-03-17 08:21:24.024 Application Loading plugin "NetworkOwl 1.4"
2016-03-17 08:21:24.026 Application Starting plugin "NetworkOwl 1.4" (pid)
2016-03-17 08:21:25.304 Application Started plugin "NetworkOwl 1.4"
2016-03-17 08:21:25.315 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:21:27.865 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:21:27.866 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:21:37.865 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:21:39.040 NEST Home 3 Hallway Thermostat ambient_temperature_c updated to 19.0
2016-03-17 08:21:39.943 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:21:39.944 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:21:49.947 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:22:03.905 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:22:03.906 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:22:13.908 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:22:15.885 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:22:15.887 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:22:25.886 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:22:28.859 NetworkOwl NetworkOwl: generating watts: 819
2016-03-17 08:22:28.860 NetworkOwl NetworkOwl: exporting watts: 0
2016-03-17 08:22:41.153 NEST Home 3 Hallway Thermostat ambient_temperature_c updated to 19.0
2016-03-17 08:22:51.865 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:22:51.866 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:23:01.866 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:23:03.865 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:23:03.866 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:23:13.865 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:23:15.865 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:23:15.866 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:23:25.870 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:23:29.000 NetworkOwl NetworkOwl: generating watts: 836
2016-03-17 08:23:29.001 NetworkOwl NetworkOwl: exporting watts: 0
2016-03-17 08:23:39.865 NetworkOwl Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 152, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 107, in runProtocol
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/NetworkOwl.indigoPlugin/Contents/Server Plugin/NetworkOwl.py", line 167, in processDataPacket
<type 'exceptions.IndexError'>: list assignment index out of range

2016-03-17 08:23:39.866 NetworkOwl Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2016-03-17 08:23:43.333 NEST Home 3 Hallway Thermostat ambient_temperature_c updated to 19.0
2016-03-17 08:23:49.870 NetworkOwl NetworkOwl: starting listener on port 22600
2016-03-17 08:23:52.040 NetworkOwl Error Error in plugin execution runConcurrentThread:

Posted on
Fri Mar 18, 2016 2:46 am
NickSmith offline
Posts: 32
Joined: Oct 28, 2012
Location: UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hi Martin - hmm, that's odd. I'm wondering if you've somehow managed to get both versions running in parallel as if it works once I'd expect it to work every time. Could you try stopping & restarting the Indigo server please (i.e. on the Mac running Indigo, "Indigo 6 / Stop Server", followed by "Indigo 6 / Start Local Server") to see if that fixes it.

If it doesn't then it'll need more investigating: next step would be to put the plugin into debug mode (Plugins / NetworkOwl / Configure & tick the box, then Plugins / NetworkOwl / Reload), let it run for a little bit & then post the results please.

Thanks

Regards

Nick

Posted on
Fri Mar 18, 2016 9:14 am
mwoodage offline
User avatar
Posts: 174
Joined: Dec 19, 2014
Location: Devon UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hi Nick thanks for the info.
I've sent you an email with all the Debug log details, let me know if you need any more info.

Cheers
Martin

Posted on
Thu Mar 31, 2016 11:00 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

How did I miss this plugin before???

I don't yet have Intuition-pv but I was about to hack my own solution for monitoring the Intuition. I'm familiar with Owl and have a 3-phase non-intuition set at church, so I'll certainly be looking at getting this at home. I've just bought electric car and installed a zwave monitor on that, so I know how much that is pulling - I want to tie that and the PV together to get best use of free charging.

What values does the pv give you (when using type-2)? Obviously how much is generating from the roof - does it also tell you how much electricity you're using, and the resultant +/- of what's pulling or exporting to the grid?

PEter

Posted on
Thu Mar 31, 2016 12:26 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Never mind, I installed the plugin anyway to have a look - and promptly ordered the PV, Network and y-cable from Amazon, delivering tomorrow. :)

Peter

Posted on
Thu Mar 31, 2016 12:45 pm
mwoodage offline
User avatar
Posts: 174
Joined: Dec 19, 2014
Location: Devon UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

howartp wrote:
Never mind, I installed the plugin anyway to have a look - and promptly ordered the PV, Network and y-cable from Amazon, delivering tomorrow. :)

Peter


The owl stuff's great, I check mine every day to see how much we're generating.
It will be good to see if you have the same issue I've had with the plugin, see my posts above.
Nick thinks that it's a new revision to the firmware that's causing my issue, he's working on a fix so it would be interesting to see how you get on too.

Cheers
Martin

Posted on
Thu Mar 31, 2016 12:47 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Can (outside this plugin) you access the image graphs that Owl generate? Or even add this to the plugin - though I guess it would need to auth against the website to do that.

I also want to graph the PV against my EV but I hate the IndigoPlotD plugin.


Sent from my iPhone using Tapatalk

Posted on
Fri Apr 01, 2016 6:38 am
NickSmith offline
Posts: 32
Joined: Oct 28, 2012
Location: UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hi - not as it currently stands anyway: all this plugin is doing is reading the data put "on the wire" by the Owl and updating its internal state based on what it reads. The back-end components of the Owl website are reading the same data & using that to generate the graphs. One of the things I am looking at is how to make the output of the plugin more easily ingestable by tools like Splunk & then use that for graphing, but this is mainly as I'm already indexing my Indigo logs in Splunk so this is probably the least-work option for my particular use-case. Another option would be something like RRDTool / MRTG or similar but those are unlikely to be as polished as the results that come off the Owl website, at least without a lot of work.

One of the things on my to-do list is working out how to open-source the code in the plugin so that others could take it and adapt it to their own purposes, but unfortunately my "playtime" is a bit constrained at the moment! It'd help if they didn't keep changing the XML format they use when they update the firmware, but I've now managed to repro the problem Martin was having so am now working on the fix.

Regards

Nick

Posted on
Fri Apr 01, 2016 1:53 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Image
Somebody turned off the sun. :-(


Sent from my iPhone using Tapatalk

Posted on
Sat Apr 02, 2016 2:38 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Nick,

Could you add an option to turn off logging of every incoming packet update - my log is full of NetworkOwl!

(Debugging is off)

Peter

Posted on
Sat Apr 02, 2016 3:00 am
NickSmith offline
Posts: 32
Joined: Oct 28, 2012
Location: UK

Re: Plugin for NetworkOWL Intuition-pv sensor now available

Hi Peter - sure, I'll add the option to v1.5 which Martin & I are testing at the moment. The reasoning was that people could use it to drive graphing etc but I appreciate it could be annoying if you weren't interested in doing that.

Regards

Nick

Who is online

Users browsing this forum: No registered users and 5 guests