Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

OpenNetHomeServer

Questions and comments specific to a particular plugin should go here.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

This is great news anyway, now I can start tracking this problem !
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

Oh, btw, if it helps I can fix you access to my VM to play around. I'll just do a full backup of it first (so you can mess around all you want to without destroying anything), and then send you a TeamViewer link to play with. :mrgreen:
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

Or if I can do the testing just as easily as you program I will be on call with minutes reaction time to test new versions all day!
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

Just a few seconds left and you will have a new version, I have found the error...it was on my side
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

So this should work
__init__.py
(82.41 KiB) Downloaded 125 times
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

Great, man! :D

Code: Select all

12:37:08      {'FineOffset|1150': 'Temp|12.5'}
Sounds about right? :mrgreen:

I still get these, though:

Code: Select all

12:37:39   Error: <type 'exceptions.ValueError'>
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

Finally!

It was an embarrassing error on my side, I had defined dictionaries as self.monitor_fineoffset_mem = {} and self.decode_fineoffset_mem = {} but when I called them, I mistakenly used decode_fineOffset_mem and monitor_fineOffset_mem :oops:

The printed error you still get is correct, first time it is empty (but I will remove the print out in the final version that I will upload shortly to the normal place)

Is it still working ok? (maybe you need to wait 20 minutes to be sure)
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

How embarassing! I don't know how you made that error! :mrgreen: :mrgreen: :mrgreen: (Of course I would not know how you made it correct either...) It's been running for 45 minutes now, and no lost connection anywhere. I think this worked! Thanks, Walter! Great work!
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

Fantastic!
Thanks for your verification work, it was a bit tricky until we found it
I have now uploaded the official release
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

Brilliant, thanks! :mrgreen: I'll get that then. If you don't hear a very ugly scream from a western direction it works! :lol:
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

It worked at home, but when I put it in at the cabin this has happened during the night:

Code: Select all

03:28:54            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75434, 75368)
03:31:55            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75483, 75434)
03:34:56            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75535, 75483)
03:37:57            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75586, 75535)
03:40:58            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75637, 75586)
03:44:00            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75690, 75637)
03:47:01            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75735, 75690)
03:50:02            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 75788, 75735)
And nothing else since it started. The icon in the tray was red, and I had to kill the process. Luckily it isn't all that cold there now, so no harm done, I hope.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

There was no change that could cause that type of error. What has happened @ your cabin is that the plugin has failed in establishing a connection to NHS for receiving events. I can only recommend restart trials with this information provided.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

I have restarted the system there, and we'll just see what happens. If anything. It may have been a fluke. Crossing fingers!
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: OpenNetHomeServer

Post by Mastiff »

It happened last night again. :cry:

Code: Select all

01:42:57   ClimateDataCalculation.vindstyrke 'Combo report created'
01:42:57   Exception in thread Thread-18694:
01:42:57   Traceback (most recent call last):
01:42:57     File "threading.pyc", line 532, in __bootstrap_inner
01:42:57     File "threading.pyc", line 484, in run
01:42:57     File "C:\Program Files (x86)\EventGhost\plugins\ClimaDataCalculation\__init__.py", line 2895, in CreateReport
01:42:57       rprtHeading
01:42:57     File "C:\Program Files (x86)\EventGhost\plugins\ClimaDataCalculation\CreateWindRoseHtml.py", line 24, in CreateWindRoseHtml
01:42:57       logstr += MakeWindRoseChart(rows)
01:42:57     File "C:\Program Files (x86)\EventGhost\plugins\ClimaDataCalculation\CreateWindRoseHtml.py", line 72, in MakeWindRoseChart
01:42:57       s_data[rdir][0] += 1
01:42:57   KeyError: ''
01:42:57   
01:43:00   Tellstick.FineOffset|1195 'Temp|-16.6'
01:43:00   RFXtrx.Type: Viking 02811 id: 41216 ' temperature: +5.9 deg C signal: 6 battery: 9'
01:43:00      Loftet
01:43:00         Python Script
01:43:00         ClimateDataCalculation: TempDataCapture: Loftet
01:43:01   Current Q size:  15
01:43:03   RFXtrx.Type: THGN122/123, THGN132, THGR122/228/238/268 id: 62468 ' temperature: +12.7 deg C humidity: 34 %RH status: dry signal: 7 battery: 9'
01:43:03      Yttergangen (med fuktighet)
01:43:03         Python Script
01:43:03         ClimateDataCalculation: TempDataCapture: Yttergangen
01:43:21            No data found during specified range for Ute under hytta
01:43:21   OpenNetHome.'Lost contact with sensor: FineOffset|1276'
01:43:21   Tellstick.FineOffset|1159 'Temp|7.1'
01:43:21      Kj├©leskap
01:43:21         Python Script
01:43:21         ClimateDataCalculation: TempDataCapture: Kj├©lskapet
01:43:30   RFXtrx.Type: PCR800 id: 25856 ' rainrate: 0 mm/hr rainTotal: 269 mm signal: 6 battery: 100%'
01:43:30   RFXtrx.Type: THGN122/123, THGN132, THGR122/228/238/268 id: 29444 ' temperature: +6.5 deg C humidity: 39 %RH status: dry signal: 7 battery: 9'
01:43:30      Badet (med fuktighet)
01:43:30         Python Script
01:43:30         ClimateDataCalculation: TempDataCapture: Badet
01:45:01            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 104006, 103957)
01:48:02            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 104056, 104006)
01:51:03            ('OpenNetHome', 'Checking connection with...', 'Tellstick Duo', 104103, 104056)
I added the error from the CDC plug-in that happened a couple of minutes before this. I don't know if it's related. I will try a full restart of the VM, not just EG, to see if it happens again tomorrow night.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: OpenNetHomeServer

Post by krambriw »

1) Where and how are you running NHS itself?

2) Have you checked the NHS log itself?

3) I run NHS in a RPi and the TCP port connection sometimes dies after a week or so. With the latest version, it stays alive longer

4) The error for CDC: wind sensor, are you expecting data from NHS for this?

5) Here we see a lost sensor event that I believe is correct?
OpenNetHome.'Lost contact with sensor: FineOffset|1276'
6) I think the TCP port in NHS has died. Did you restart NHS yesterday?
Post Reply