Jump to content

aaronball

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by aaronball

  1. Attached is the prep log. I'll try manually running parts of the scripts. Thanks for taking the time to help me out. Really appreciated. Aaron prep.txt
  2. Kevin, Did a rebuild of the pi. After the installconsole.sh script finished it created the directories, but did not populate the consolestable directory. Attached is the log file. Thanks, Aaron log.txt
  3. Thanks Kevin. I am going to do a complete rebuild on the pi. I'll let you know how it goes when I finish it. Aaron
  4. I guess I'm now way over my head for my novice knowledge. Where would I put the integer variable? Aaron
  5. Kevin, I've been making progress, but still have some issues. When I start the console it apprears to load and displays booting information on the screen but then stops. Here is the console log that shows some errors. Can you please take a look at it and see what I'm doing wrong? I can not attach the file so I will just paste it here. 09-01-17 10:18:54 Sev: 3 Soft ISY Console 09-01-17 10:18:54 Sev: 3 \xa9 Kevin Kahn 2016 09-01-17 10:18:54 Sev: 3 Software under Apache 2.0 License 09-01-17 10:18:54 Sev: 3 Version Information: 09-01-17 10:18:54 Sev: 3 Run from: /home/pi/consolestable 09-01-17 10:18:54 Sev: 3 Last mod: /home/pi/consolestable/exitutils.py 09-01-17 10:18:54 Sev: 3 Mod at: Wed Aug 30 09:54:44 2017 09-01-17 10:18:54 Sev: 3 Tag: development 09-01-17 10:18:54 Sev: 3 Sha: not auto installed 09-01-17 10:18:54 Sev: 3 How: *nodate* 09-01-17 10:18:54 Sev: 3 Version date: *nodate* 09-01-17 10:18:54 Sev: 3 Start time: Fri Sep 1 10:18:54 2017 09-01-17 10:18:54 Sev: 3 Console Starting pid: 1538 09-01-17 10:18:54 Sev: 3 Main config file: /home/pi/Console/config.txt Wed Aug 30 09:54:44 2017 09-01-17 10:18:54 Sev: 3 Including config files: 09-01-17 10:18:54 Sev: 3 +auth.cfg Fri Sep 1 10:09:10 2017 09-01-17 10:18:54 Sev: 3 +pdxalerts.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:54 Sev: 3 +tstat.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:54 Sev: 3 +weathPump.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:55 Sev: 3 +weathCC.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:55 Sev: 3 +weathPDX.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +myclock.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +BR-kck.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +upperlev.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +bathroom.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +LR.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +othermain.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +downstairs.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +weathLQ.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 +timetempLQ.cfg Wed Aug 30 09:54:44 2017 09-01-17 10:18:56 Sev: 3 Log level: 3 09-01-17 10:18:56 Sev: 3 Screensize: 320 x 480 09-01-17 10:18:56 Sev: 3 Scaling ratio: 1.00:1.00 09-01-17 10:18:56 Sev: 3 Param: KeyOutlineOffset: 3 09-01-17 10:18:56 Sev: 3 Param: KeyColor: aqua 09-01-17 10:18:56 Sev: 3 Param: CmdCharCol: white 09-01-17 10:18:56 Sev: 3 Param: MaxLogFiles: 5 09-01-17 10:18:56 Sev: 3 Param: CmdKeyCol: red 09-01-17 10:18:57 Sev: 3 Param: DimHomeScreenCoverName: 09-01-17 10:18:57 Sev: 3 Param: DimIdleListTimes: ['20', '20'] 09-01-17 10:18:57 Sev: 3 Param: KeyCharColorOff: black 09-01-17 10:18:57 Sev: 3 Param: BrightLevel: 100 09-01-17 10:18:57 Sev: 3 Param: KeyColorOn: 09-01-17 10:18:58 Sev: 3 Param: KeyLabelOff: [''] 09-01-17 10:18:58 Sev: 3 Param: MultiTapTime: 400 09-01-17 10:18:58 Sev: 3 Param: KeyOnOutlineColor: white 09-01-17 10:18:58 Sev: 3 Param: DimLevel: 5 09-01-17 10:18:58 Sev: 3 Param: KeyColorOff: 09-01-17 10:18:58 Sev: 3 Param: KeyLabelOn: [''] 09-01-17 10:18:58 Sev: 3 Param: HomeScreenName: BR 09-01-17 10:18:58 Sev: 3 Param: KeyOffOutlineColor: black 09-01-17 10:18:58 Sev: 3 Param: ISYaddr: 192.168.0.18 09-01-17 10:18:58 Sev: 3 Param: BackgroundColor: maroon 09-01-17 10:18:58 Sev: 3 Param: DimIdleListNames: ['MyClock', 'LQTT'] 09-01-17 10:18:58 Sev: 3 Param: PersistTO: 20 09-01-17 10:18:59 Sev: 3 Param: KeyCharColorOn: white 09-01-17 10:18:59 Sev: 3 Param: LogFontSize: 23 09-01-17 10:18:59 Sev: 3 Param: HomeScreenTO: 90 09-01-17 10:18:59 Sev: 3 Param: ISYuser: admin 09-01-17 10:18:59 Sev: 3 Param: CharColor: white 09-01-17 10:18:59 Sev: 3 Param: DimTO: 25 09-01-17 10:18:59 Sev: 3 Successful node read: 200 09-01-17 10:19:00 Sev: 4 Scene with no membersAuto DR 09-01-17 10:19:01 Sev: 3 Successful programs read: 200 09-01-17 10:19:01 Sev: 3 Successful variable read: 200/200 <type 'exceptions.KeyError'> Python 2.7.13: /usr/bin/python Fri Sep 1 10:19:02 2017 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /home/pi/consolestable/console.py in <module>() 176 config.ISYrequestsession.auth = (config.ISYuser, config.ISYpassword) 177 178 config.ISY = isy.ISY(config.ISYrequestsession) 179 config.Logs.Log("Enumerated ISY Structure") 180 config = <module 'config' from '/home/pi/consolestable/config.pyc'> config.ISY = None isy = <module 'isy' from '/home/pi/consolestable/isy.pyc'> isy.ISY = <class 'isy.ISY'> config.ISYrequestsession = <requests.sessions.Session object> /home/pi/consolestable/isy.py in __init__(self=<isy.ISY object>, ISYsession=<requests.sessions.Session object>) 424 self.varsState[v['@name']] = int(v['@id']) 425 self.varsStateInv[int(v['@id'])] = v['@name'] 426 configdict = xmltodict.parse(r2.text)['CList']['e'] 427 for v in configdict: 428 self.varsInt[v['@name']] = int(v['@id']) configdict = [OrderedDict([(u'@id', u'1'), (u'@name', u'sLeakBasement')]), OrderedDict([(u'@id', u'2'), (u'@name', u'iStartup')]), OrderedDict([(u'@id', u'3'), (u'@name', u'Front_Door_Batt')]), OrderedDict([(u'@id', u'4'), (u'@name', u'Garage_Door')]), OrderedDict([(u'@id', u'5'), (u'@name', u'Front_Door_Lock')])] global xmltodict = <module 'xmltodict' from '/usr/local/lib/python2.7/dist-packages/xmltodict.pyc'> xmltodict.parse = <function parse> r2 = <Response [200]> r2.text = u'<CList type="VAR_INT"></CList>' <type 'exceptions.KeyError'>: 'e' __class__ = <type 'exceptions.KeyError'> __delattr__ = <method-wrapper '__delattr__' of exceptions.KeyError object> __dict__ = {} __doc__ = 'Mapping key not found.' __format__ = <built-in method __format__ of exceptions.KeyError object> __getattribute__ = <method-wrapper '__getattribute__' of exceptions.KeyError object> __getitem__ = <method-wrapper '__getitem__' of exceptions.KeyError object> __getslice__ = <method-wrapper '__getslice__' of exceptions.KeyError object> __hash__ = <method-wrapper '__hash__' of exceptions.KeyError object> __init__ = <method-wrapper '__init__' of exceptions.KeyError object> __new__ = <built-in method __new__ of type object> __reduce__ = <built-in method __reduce__ of exceptions.KeyError object> __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.KeyError object> __repr__ = <method-wrapper '__repr__' of exceptions.KeyError object> __setattr__ = <method-wrapper '__setattr__' of exceptions.KeyError object> __setstate__ = <built-in method __setstate__ of exceptions.KeyError object> __sizeof__ = <built-in method __sizeof__ of exceptions.KeyError object> __str__ = <method-wrapper '__str__' of exceptions.KeyError object> __subclasshook__ = <built-in method __subclasshook__ of type object> __unicode__ = <built-in method __unicode__ of exceptions.KeyError object> args = ('e',) message = 'e' The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "console.py", line 178, in <module> config.ISY = isy.ISY(config.ISYrequestsession) File "/home/pi/consolestable/isy.py", line 426, in __init__ configdict = xmltodict.parse(r2.text)['CList']['e'] KeyError: 'e' Thanks, Aaron
  6. kevin, Thanks for the update. I'll play around with it some more per your suggestions. I'll be in touch if I need help! Thanks, Aaron
  7. kevin, Thank you for the updated instructions. Progress is being made. I can now run the console.py file. When I do I get a red screen saying no configuration file. I copied your config files to consolestable folder hoping I would get different results but still get the red screen. Looking at the examples you have provide I now have another hurtle to get over, setting up my own config files. I figured out the auth.py file adding my isy info. Just not sure which folder it goes in. Thanks for the quick responses and the updates. Any other help will be greatly appreciated. Aaron
  8. I can only find one log file it is called prep.log. It only states that Pi setup script started. When I run earlyprep.sh script it does create the piprepadafruit.sh file. But when I run the piprepadafruit.sh script it does not create the consolestable and Console directories or create any other files.. Thanks, Aaron
  9. Kevin, I hope you are still monitoring this thread. I gave up trying to get the console loaded and running. I recently came back and trying again. I can not get the piprepadafruit.sh to create the directories required. It appears to run properly but still no directories. What am I doing wrong? Can you help please? Regards, Aaron
  10. Kevin, Thanks for the quick reply. I will look at the useagenotes file this weekend and see if I can get it to work. I have a RP2 and a RP3 along with the 2.8r and 3.5r displays. I will try configuring both. Thanks again for your help. Aaron
  11. Hi Kevin, First like to thank for all the work you have done on this. It's a great idea. I have been trying to get it running on a Raspberry 2 with the display without any luck. I'm sure it's my lack of experience on how to set things up. I have been looking for the instructions for doing that put can not find them. Can you please point to me where they are? I have the Raspberry setup running with the display working, I just can't figure out how to get your scripts loaded. Thank you, Aaron
×
×
  • Create New...