Show Posts
|
|
Pages: [1] 2 3 ... 10
|
|
1
|
LinuxMCE / Users / Re: Updated Template list
|
on: May 10, 2013, 11:20:27 pm
|
Works for me!  I do recall there being an error on submission due to my failure to update my instance before checking in and it caused a conflict. In case that helps.
|
|
|
|
|
2
|
LinuxMCE / Developers / Re: New Ruby editor
|
on: May 09, 2013, 04:44:11 pm
|
I've tested it on Chrome and IE10. IE10 has an occasional minor graphical glitch that goes away after scrolling (I think their renderer might have a problem). Chrome works great. I'm looking at doing a bunch of usability enhancements to various parts of the web admin tool over time. Basically, I'm working on every area I have to spend substantial time in that area and that frustrates me. 
|
|
|
|
|
3
|
LinuxMCE / Developers / Re: Programming Challenge - a YouTube Player based on www.youtube.com/tv
|
on: May 08, 2013, 06:11:10 pm
|
OK, I get the general feel for that now. I was reading the code and not understanding the "why" part of the equation. Now I do and I can dig deeper into this. I've started building these objects and I'm reading the Hulu code. I guess I better figure out why Hulu isn't running on my MDs and fix that before I go and try to test this.  This will take me a bit, but it feels good to keep my C/C++ skills up to date. It has been a little while.
|
|
|
|
|
4
|
LinuxMCE / Developers / New Ruby editor
|
on: May 07, 2013, 07:28:03 pm
|
|
So, I was trying to work with Ruby to write drivers for my components at home only to discover that the Ruby editor is, well, horrible. I fixed it so that it resizes to your window size and worked with that until I discovered the actual editor didn't work properly and I replaced it with ACE. I attached files to ticket #1752 if someone wants to put that into the repository or play around with it themselves.
I also used a CDN to source my Javascript for fewer attached files but if those files should be included, then I'll pull those and attach them as well. Let me know.
|
|
|
|
|
7
|
LinuxMCE / Users / Re: Reference Home Automation and Security implementation
|
on: May 02, 2013, 05:47:59 pm
|
I don't use Nest but do use a Filtrete 3M-50 that I am trying to add support for (it is cheaper and not as Apple-esque).
Check out template #2254 for that 3M-50 you speak of. I'm actively developing the driver and fixing little problems here and there.
|
|
|
|
|
8
|
LinuxMCE / Developers / Re: Building Dynamic Orbiters with JSON/AJAX/HTML5
|
on: April 24, 2013, 05:47:07 am
|
|
I've pulled down a dev tree and started poking around at DCE devices. I think the hardest concept is the actual layout of the requests and responses. I'm learning how the DCE stuff seems to work and have been having some fun writing a bunch of my own devices for everything I own. Anyone else?
|
|
|
|
|
9
|
LinuxMCE / Developers / Re: New climate device now a Denon
|
on: April 19, 2013, 05:42:56 pm
|
|
Thanks guys! I'm not adverse to digging into my database and fixing things. Fixing sqlCVS might be a little difficult and time consuming. I'm not afraid of a challenge, but my master's project is supposed to be taking more of my time than it is. Phenigma, I'll see if I can hit you up later, I'm out of town most of this weekend so I'm not free to work on it until next week some time.
|
|
|
|
|
10
|
LinuxMCE / Developers / Re: New climate device now a Denon
|
on: April 19, 2013, 06:11:11 am
|
|
Thanks Thom! Yup, I had already committed, it got approved, I updated, all was well. I went in and fixed the IR Command Group number to the correct one and it came back. Then, I edited again and it got blown away again. A simple update command brings it back each time. I obviously have something corrupt in one of my tables and it might have been something I did or any number of updates or changes. Any clue as to where that might be? I can poke into code if you can give me a place to look closer. I'm a rather good debugger but I just don't know enough of the LMCE codebase to know where to start. Thanks again!
|
|
|
|
|
11
|
LinuxMCE / Developers / New climate device now a Denon
|
on: April 19, 2013, 01:05:46 am
|
|
I created a new climate device, checked it in, and have been using it for quite some time now. I realized that I had forgotten something in one of the modes ("off") and went to go fix it. I made my change and saved. Now it dropped all the configuration and then reloaded it all as a Denon receiver. Um, what? I went and reverted in sqlCVS and no change. Now I hit reload and all my code is gone and loading up as a Denon receiver. All I was doing was trying to turn off my fan.
Help please!
|
|
|
|
|
13
|
LinuxMCE / Developers / Re: Added new thermostat device
|
on: April 09, 2013, 05:47:30 pm
|
|
I ran it both ways and SqlCVS checkin failed before it would even do anything then the diff worked and submitted. I checked both DCE and IR sections and saw that they were in the list. I did NOT run SqlCVS upgrade beforehand. Oops. I'm currently running the diff and I'll see what happens. Then I'll run an update and again see what happens.
First diff: Just some cruft: Two delete DeviceTemplate_DeviceCategory_ControlledVia records.
After update, second diff: Table: DeviceTemplate PK_DeviceTemplate Description Comments MOD 2196 AVR/AVC series (Ethe
So, what tables' data are missing? I can pull it out manually and send it along. This installation is a bit wonky and I don't know why.
|
|
|
|
|
14
|
LinuxMCE / Developers / Added new thermostat device
|
on: April 09, 2013, 02:12:58 am
|
|
Hi, I added a new thermostat device as ticket #1751 and my SqlCVS checkin failed again (seems to be the norm on this box). I just checked in a moment ago and I have no checkin numbers. Could somebody please apply my checkin? Thanks!
|
|
|
|
|
15
|
LinuxMCE / Developers / Re: Need a shell scripter to develop mac/ipad/iphone detection routine
|
on: April 04, 2013, 06:23:50 pm
|
Wow uplink! Yours is distinctly faster than mine, even my improved version. However, it had two problems in that it bailed out at the first Mac MAC and was comparing full MACs not the range. I fixed it and here it is in wonderful efficiency! I have a couple of Macs here and my wife just turned one on without me knowing and it showed up in the list while I was testing it. That was a fun little break! #!/bin/bash
# This script looks for Apple devices on the network and does something # for every device that it finds.
if [[ $1 != "background" ]] ;then echo "Backgrounding ..." screen -d -m -S "AppleRadar" "$0" "background" exit 0 fi
## Loging function function Log() { #echo "$(date) $*" >> /var/log/pluto/AppleScanner.log echo "$(date) $*" }
apple_macs=( 00:03:93 00:0a:27 00:0a:95 00:0d:93 00:11:24 00:14:51 00:16:cb 00:17:f2 00:19:e3 00:1b:63 00:1d:4f 00:1e:52 00:10:fa 00:1e:c2 00:1f:5b 00:1f:f3 00:21:e9 00:22:41 00:23:12 00:23:32 00:23:6c 00:23:df 00:24:36 00:25:00 00:25:4b 00:25:bc 00:26:08 00:26:4a 00:26:b0 00:26:bb 00:3e:e1 00:c6:10 00:f4:b9 04:0c:ce 04:1e:64 04:54:53 0c:74:c2 0c:77:1a 10:40:f3 10:93:e9 10:9a:dd 14:5a:05 14:8f:c6 18:20:32 18:34:51 18:e7:f4 1c:ab:a7 24:ab:81 28:37:37 28:6a:b8 28:6a:ba 28:cf:da 28:e0:2c 28:e7:cf 34:15:9e 34:51:c9 3c:07:54 3c:d0:f8 40:30:04 40:3c:fc 40:6c:8f 40:a6:d9 40:d3:2d 44:2a:60 44:d8:84 48:60:bc 4c:b1:99 50:ea:d6 58:1f:aa 58:55:ca 58:b0:35 5c:59:48 60:33:4b 60:c5:47 60:fa:cd 60:fb:42 64:20:0c 64:b9:e8 64:e6:82 68:09:27 68:a8:6d 6c:c2:6b 70:73:cb 70:cd:60 70:de:e2 74:e1:b6 78:a3:e4 78:ca:39 7c:11:be 7c:6d:62 7c:c3:a1 7c:c5:37 7c:f0:5f 88:c6:63 8c:58:77 8c:7b:9d 90:27:e4 90:84:0d 98:03:d8 98:d6:bb a4:67:06 a4:b1:97 a4:d1:d2 b8:17:c2 b8:8d:12 b8:c7:5d b8:f6:b1 b8:ff:61 c0:84:7a c4:2c:03 c8:2a:14 c8:33:4b c8:bc:c8 cc:08:e0 d0:23:db d4:9a:20 d8:30:62 d8:9e:3f d8:a2:5e dc:2b:61 e0:b9:ba e0:f8:47 e4:ce:8f e8:04:0b e8:06:88 ec:85:2f f0:b4:79 f0:cb:a1 f8:1e:df fc:25:3f 00:88:65 04:15:52 04:26:65 04:f7:e4 10:1c:0c 10:dd:b1 1c:e6:2b 20:7d:74 28:cf:e9 2c:b4:3a 30:90:ab 30:f7:c5 34:c0:59 38:0f:4a 38:48:4c 3c:e0:72 40:b3:95 44:fb:42 4c:8d:79 54:26:96 5c:96:9d 60:fe:c5 64:a3:cb 68:9c:70 70:11:24 78:6c:1c 7c:fa:df 80:92:9f 84:fc:fe 88:1f:a1 88:53:95 88:cb:87 94:94:26 98:b8:e3 9c:04:eb a0:ed:cd a8:96:8a a8:fa:d8 ac:3c:0b b4:f0:ab b8:78:2e bc:3b:af bc:92:6b c8:6f:1d cc:78:5f d8:00:4d d8:d1:cb e4:25:e7 e4:8b:7f e8:8d:28 f0:d1:a9 f4:1b:a1 f4:f1:5a )
declare -A apple_macs_assoc
for mac in "${apple_macs[@]}"; do apple_macs_assoc["$mac"]="$mac" done
while : ;do
while read serverIP skip serverMAC skip; do #sleep 10 ## Get the important info
Log "Processing $serverIP (mac: $serverMAC )"
serverMAC_sub=${serverMAC:0:8}
if [[ -n "${apple_macs_assoc["$serverMAC_sub"]}" ]]; then Log Found an apple product here: $serverIP fi
done < <(arp -n |fgrep -v incomplete |fgrep ether)
## Wait 60 seconds before doing another scan sleep 60 done
|
|
|
|
|