Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
2012-01-09, 01:00
I have obtained a python script that can help me see the status of my home temperature.
Problem is that I have no clue how to run it or install it from XBMC.
Author of the script is untracable for me so if anyone is willing to help me I would appreciate it.
D.
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
Thank tou for your quick reply jhsrennie.
For me this whole folder with a script is just too perplexing.
Apparently it opens a window. Among files i see several py scripts same as some image files (icons and some buttons i suppose).
I will upload it all as ZIPped file if you can help me and take a look?
D.
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
Btw, someone was running this on his XBMC i just have no chance of contacting this person.
Posts: 7,256
Joined: Nov 2008
Reputation:
121
I'm happy to have a look at the script, though it will be difficult for me to test it without whatever kit you're using to measure the temperature.
JR
Posts: 7,256
Joined: Nov 2008
Reputation:
121
2012-01-11, 13:48
(This post was last modified: 2012-01-11, 20:23 by jhsrennie.)
I think it's a plugin for XBMC v9.x and earlier. I did a quick hack to convert it into an addon suitable for Eden, but it keeps throwing errors because of things that have changed since v9.x.
I don't think it would be too hard to get it working in Eden, but I'm reluctant to put a lot of time into it given that I don't have the hardware to test it. If you can find an enthusiastic hacker (nephews are often good at this :-) who's willing to do the work at your house I'm willing to offer advice on porting it to Eden.
Later: OK, I couldn't resist playing with the script and I've got it working on Eden beta 1 and v10.1. If you want a play with it I'll pop it on my server for you to grab a copy. I have to dash out now, but I can pop it on my server tomorrow morning (GMT).
JR
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
2012-01-11, 23:11
Thanks alot jhsrennie,
you remind me of myself when I try to show someone how to make basic steps (in the end I do it all myself) ;-)
If thats no hassle to you pop it onto the server and point me to it.
Its time for me to move to Eden Beta 1.
D.
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
Once I configure it, I can post screens if you want or give you remote access to it if you want to see how it works.
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
With default configuration im getting a popup saying
Error: script failed: plugin.program.integraiq
Its same for Eden beta 1 and last verion of Dharma both running under WinVista.
While I can open basic configuration through XBMC itself I cannot reach "Loading directory" dialog you mentioned in your previous post. ?
Can you see what kind of connection or server app is the script looking for?
I have several server apps that can be called locally and remotely.
Im using one of them for my tablet/phone remote.
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
2012-01-13, 01:15
(This post was last modified: 2012-01-13, 01:24 by Drol.)
There are three possibilities or two types of "servers" that pose as interconnection between automation hardware.
One is python script called cybro_scgi_server.py
This script opens a connection to automation hardware and accepts commands and returns feedback as XML strings. Does this addon expect to get this type of input?
Second one is SCADA application for windows. Its an .exe file and Im not sure it can accept variable inputs from other apps or give out outputs.
Third option would be that addon acts as server directly to hardware.
When you reach "Loading directory" dialog (which I cannot reach myself) can you see what this addon is looking for? Is it looking for another python script? Can it parse XML on its own?
If it cannot parse XML on its own that would mean it connects directly to the hardware. In my opinion it is very likely that is the case since addon configuration requires you to enter ID of the automation processor manually.
I can also understand that this might be too much of a hassle for you.
Ty
D.
Posts: 7,256
Joined: Nov 2008
Reputation:
121
If you enable debug logging then try and use the add-on the log will show what the Python error is. The way I tested the add-on was to run XBMC in a window (press \), run the add-on and as soon as I got an error press Windows-R and type:
notepad "%appdata%\xbmc\xbmc.log"
and you'll find the error at the end of the log. If you pop the log on pastebin.com I'll take a look, but there's probably little I can do.
JR
Posts: 30
Joined: May 2010
Reputation:
0
Drol
Junior Member
Posts: 30
thanks alot. Will do it today.