Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar #360

Closed
wants to merge 446 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
446 commits
Select commit Hold shift + click to select a range
2159a51
Insteon_I2CS_Linking: Clear Active Message When PLM Reports All-Linki…
krkeegan Oct 5, 2013
9357569
Insteon_Scene_Builder: Make Code More Readable, Add Controller and Re…
krkeegan Oct 5, 2013
d591527
Insteon_Scene_Builder: Declare Global Variables
krkeegan Oct 5, 2013
6e950fa
Insteon_HopCount: Check Per Device Setting on All Calls to Default_Ho…
krkeegan Oct 8, 2013
4423d34
Merge pull request #2 from krkeegan/scene_simple
pmatis Oct 8, 2013
5aac865
Merge pull request #255 from pmatis/scene_simple
krkeegan Oct 8, 2013
c3e3350
Insteon_Thermo_i2: Decode Status Flag
krkeegan Oct 9, 2013
101143b
Insteon_Thermo_i2: Update status on Humidifying or Dehumdifying
krkeegan Oct 9, 2013
c2fee31
Insteon_I2CS_Linking: Move Success Callback Eval to BaseInterface
krkeegan Oct 9, 2013
608d81c
Inston_Thermo_i2: Convert Poll_Status to an Internal Sub, Replace wit…
krkeegan Oct 9, 2013
3de1e9d
Insteon_Thermo_i2: Add Request_status Routine
krkeegan Oct 9, 2013
7576d50
Merge branch 'master' into insteon_thermo_i2
krkeegan Oct 9, 2013
86b5dc1
Initial addition of Audrey aupport
pmatis Oct 9, 2013
a970d64
Insteon_Thermo_i2: Fix Typos in Comments
krkeegan Oct 10, 2013
3fa31ea
Insteon_thermo_i2: Add Humidity Setpoint Child Objects
krkeegan Oct 10, 2013
ba1831f
Insteon_Thermo_i2: Change Name of (De)Humidifying Functions to Match …
krkeegan Oct 10, 2013
a7d18a2
Insteon_Thermo_i2: Use Simple_Message Whenever Possible
krkeegan Oct 10, 2013
3aa224a
Insteon_Thermo_i2: Fix Typo in Debug Log Entry
krkeegan Oct 10, 2013
0680d39
Insteon_Thermo_i2: Create Get_Humid_Setpoint Functions
krkeegan Oct 10, 2013
0e48368
Insteon_Thermo_i2: Manually Set (De)Humidifying States on Request Status
krkeegan Oct 10, 2013
95597cb
Insteon_Thermo_i2: Set Humidity Setpoint Pending States on Extended M…
krkeegan Oct 10, 2013
47aeab1
Insteon_Thermo_i2: Humidity Setpoints must be in range of [1-99], Set…
krkeegan Oct 10, 2013
503dc19
Fix Nabble Links in MailList Page
krkeegan Oct 10, 2013
d63e458
Insteon_i2CS_Linking: Add Success_Callback to Extended Messages
krkeegan Oct 10, 2013
dd130c6
Change Referenced to Web Cache Directory to html_alias_cache
krkeegan Oct 10, 2013
0098ae6
Insteon_Thermo_i2: Remove Extra Space
krkeegan Oct 10, 2013
8cbe4a9
Insteon_TriggerLinc: Add Initial Support for TriggerLinc Devices
krkeegan Oct 10, 2013
9bc0a24
Fix web_hook parameter passing, commonly used in Audrey speech.
pmatis Oct 10, 2013
0236d3e
Insteon_ApplianceLink: Add DeviceController to Allow for Sync_Links
krkeegan Oct 11, 2013
c0c7abf
Insteon_Scene_Builder: Make Sure a Controller Exists Before Creating …
krkeegan Oct 11, 2013
6d7a133
Merge pull request #272 from krkeegan/fix_issue_271
krkeegan Oct 11, 2013
987fe6d
Merge pull request #273 from krkeegan/scene_simple
krkeegan Oct 11, 2013
d73082b
Merge pull request #269 from krkeegan/fix_issue_230
krkeegan Oct 11, 2013
b0c3281
Add audrey documentation, clean up code, adjust debug clauses on seve…
pmatis Oct 11, 2013
0a7b4f6
Insteon_i2CS_Linking: Clear Awaiting Ack Flag on All-Link-Complete
krkeegan Oct 11, 2013
f6b0962
Add comments to audreyspeak.pl, pointing people to pa_control.pl.
pmatis Oct 11, 2013
ae81eaa
Insteon_Thermostat: Add Voice Command for Sync Time
krkeegan Oct 11, 2013
aac169b
Insteon: Enabling Link_To_Interfaces for Child Objects in BaseDevice
krkeegan Oct 11, 2013
e2a0da9
Insteon: Remove Unneeded Link_to_Interface Routine in DeviceController
krkeegan Oct 11, 2013
7036d31
Roll back $parms->{mode} use, interferred with Voice_Text.pm when usi…
pmatis Oct 11, 2013
2b6c6a2
Fix so web_file is only used when needed. Clean up a little standardi…
pmatis Oct 11, 2013
041f178
Insteon: Fix BaseDevice Unlink_to_Interface for use with Subgroup Obj…
krkeegan Oct 12, 2013
179ef28
Insteon: Reset ALDB Scan Time on Completed Successful Scan Only
krkeegan Oct 12, 2013
0746d3a
Insteon: Link_to_Interface will add Surrogate Links if they Exist
krkeegan Oct 12, 2013
e9cf6c3
Merge pull request #276 from krkeegan/insteon_aldb_scantime
krkeegan Oct 12, 2013
52b0653
Insteon: Add Delete All-Link Record Descriptor
krkeegan Oct 12, 2013
48d154c
Insteon: Delete Surrogate Links in Unlink_to_Interface
krkeegan Oct 12, 2013
9e6b634
Merge pull request #277 from krkeegan/insteon_decoder
krkeegan Oct 12, 2013
ef4be61
Merge pull request #265 from krkeegan/insteon_i2cs_linking
krkeegan Oct 12, 2013
ba5b1fe
Merge pull request #260 from krkeegan/fix_issue_258
krkeegan Oct 12, 2013
b6c8210
Merge pull request #268 from krkeegan/fix_issue_229
krkeegan Oct 12, 2013
de01e76
Insteon_RemoteLinc: Remove Arcane Reference to is_battery_low
krkeegan Oct 12, 2013
2214da0
Merge pull request #278 from krkeegan/insteon_remotelinc
krkeegan Oct 12, 2013
6ca22e8
Merge pull request #270 from krkeegan/insteon_triggerlinc
krkeegan Oct 12, 2013
11add1a
Merge branch 'master' into fix_issue_274
krkeegan Oct 12, 2013
bef0620
Merge pull request #275 from krkeegan/fix_issue_274
krkeegan Oct 12, 2013
a50529e
Insteon_RemoteLinc: Fix for Setting Linked Devices
krkeegan Oct 12, 2013
a976ef4
Merge pull request #281 from krkeegan/insteon_remotelinc
krkeegan Oct 12, 2013
8e1602c
Insteon: Add Is Deaf Routine for Battery Devices
krkeegan Oct 12, 2013
4b7e268
Insteon: Add is_deaf Check to Sync Links, Fix Dumb Typo
krkeegan Oct 12, 2013
726997a
Insteon: Not All References are to Self
krkeegan Oct 12, 2013
f676244
Insteon: One More Typo
krkeegan Oct 12, 2013
61aa334
Don't need to set volume if in mute or offline mode.
pmatis Oct 12, 2013
b4d1a92
Insteon: Rework Set Routine in BaseObject
krkeegan Oct 12, 2013
453eba5
Insteon: Result of Request Status Call BaseObject Set_Receive
krkeegan Oct 12, 2013
e965452
Insteon: Change calls from DeviceController to BaseObject Set
krkeegan Oct 12, 2013
3b92ec4
Insteon: Remove DeviceController Set Routine
krkeegan Oct 12, 2013
1d964fe
Add Details for Set_By_To_Target Routine
krkeegan Oct 12, 2013
73d7700
Merge pull request #283 from krkeegan/mh_poddoc
krkeegan Oct 12, 2013
ea5e4d0
Merge pull request #267 from krkeegan/insteon_thermo_i2
krkeegan Oct 12, 2013
965c2d0
Insteon: Remove or Condense Unnecessary Set Routines
krkeegan Oct 12, 2013
10da6c8
Insteon: Only Call Success_Callback if Active_Message Exists
krkeegan Oct 13, 2013
99b1f3c
Merge pull request #284 from krkeegan/insteon_callback
krkeegan Oct 13, 2013
aaa64e8
Start changes to make sure only the desired speakers are on, even if …
pmatis Oct 13, 2013
1965326
Insteon: All_Link Cleanup Check for Active Message
krkeegan Oct 13, 2013
b61954a
Merge pull request #285 from krkeegan/ref_activemessage
krkeegan Oct 13, 2013
43c38ba
Insteon: Define Derive_Link_State for All Objects
krkeegan Oct 13, 2013
3ca9037
Insteon: Call Set on Status_Request Response
krkeegan Oct 13, 2013
93368b4
Insteon: Condense Not_Responser Set Routines
krkeegan Oct 13, 2013
05b1054
Insteon: Simplify Link_State Determination in Set_Linked_Devices
krkeegan Oct 13, 2013
de355de
Insteon: Condense Is_Responder Routines
krkeegan Oct 13, 2013
87c60d5
Insteon: Remove Unnecessary Code from Set Routine
krkeegan Oct 13, 2013
0119aa6
Insteon: Remove Unnecessary Set Subs in BaseController and InterfaceC…
krkeegan Oct 13, 2013
d79450d
Merge branch 'master' into insteon_set_redux
krkeegan Oct 13, 2013
7bce2ea
Insteon: Hijack is_Acknowledged for InterfaceController
krkeegan Oct 13, 2013
2a75b3b
Insteon:Simply Set Routine in KeypadLinc
krkeegan Oct 13, 2013
2049a85
Insteon: Replace Set Sub with Derive_Message in FanLinc
krkeegan Oct 13, 2013
10954bb
Insteon: Remove Set Routine from Thermo_i2CS
krkeegan Oct 13, 2013
7484591
Insteon: Cleanup Set Routine in IOLinc
krkeegan Oct 13, 2013
2c250fc
Insteon: Remove BaseController:Derive_Message Routine
krkeegan Oct 13, 2013
da5e03e
Insteon: Replace leading spaces with tabs in BaseObject::Set
krkeegan Oct 13, 2013
de89b40
Insteon: Fix Small Bug in IOLinc
krkeegan Oct 13, 2013
c6cf214
Insteon: Use Relative State Change on Manual Dimming
krkeegan Oct 14, 2013
9232a5b
Added support for the aviosys USB Power 8840 relay board
pmatis Oct 15, 2013
19e06d1
Add support for multiple serial ports for weeder and aviosys. Fix err…
pmatis Oct 15, 2013
fd3270d
Added debug print_log calls for serial port loops
pmatis Oct 15, 2013
8ffe6d0
Insteon: Move Relative State Conversion to Derive Link State Function
krkeegan Oct 16, 2013
fd29fe6
Insteon: Move DeviceController Down in Inheritance
krkeegan Oct 16, 2013
f159e82
Insteon: Fix Typos and Remove a Few Excess Items
krkeegan Oct 16, 2013
e9264c8
Insteon: Call Derive_Link_State on Passed State in Set_Linked_Devices
krkeegan Oct 16, 2013
6e1c3d0
Insteon: Set Device Before Setting Linked Devices; Don't Set Linked D…
krkeegan Oct 16, 2013
a8f31f3
Embed speech clash resolution into pa_control.pl. Works better and sp…
pmatis Oct 16, 2013
de9e7d8
Clean up lib/Audrey_Play.pm, add proper description.
pmatis Oct 16, 2013
6c8cc5e
Insteon: Add Subaddress to PLM ALDB Linkkey
krkeegan Oct 17, 2013
9c2177d
Insteon: Add Subaddress to PLM Linkkey When Restoring ALDB on Restart
krkeegan Oct 17, 2013
ddaa948
Insteon: PLM Delete_Orphans: Responder Data3 on Device is Responder B…
krkeegan Oct 17, 2013
37b7f30
Insteon: Cleanup Coding Errors and Debug Log Lines
krkeegan Oct 17, 2013
01dc1c8
Insteon: Initial Rewrite of Delete Orphans
krkeegan Oct 17, 2013
2b356d6
Insteon: Complete Rewrite of Delete_Orphans in AllLinkDatabase
krkeegan Oct 17, 2013
9da3e5c
Merge branch 'fix_issue_279' into insteon_data3_controller
krkeegan Oct 17, 2013
a419860
Insteon: Fix Bugs, Typos, Enable Backwards Compatability with Old Data3
krkeegan Oct 17, 2013
efdefe4
Fix typo in description of base device's is_deaf default.
pmatis Oct 18, 2013
e7d0565
Merge pull request #19 from pmatis/fix_issue_279
krkeegan Oct 18, 2013
ff49ef3
Merge pull request #282 from krkeegan/fix_issue_279
krkeegan Oct 18, 2013
1de0a6e
Insteon: Condense Insteon_PLM Delete_Orphans in AllLinkDatabase
krkeegan Oct 18, 2013
796d334
Merge branch 'master' into insteon_data3_controller
krkeegan Oct 18, 2013
4746797
Insteon: Rewrite of Sync_Links to Make it More Readable
krkeegan Oct 18, 2013
b767b79
Initial rework of insteon debugging
pmatis Oct 18, 2013
f3e5dea
Insteon: Fix Typos and Bugs in New Sync_Links
krkeegan Oct 18, 2013
7b7becd
Insteon: Fix Bug in Call to Is_Deaf in Sync_Links
krkeegan Oct 18, 2013
c96fe10
Merge pull request #289 from krkeegan/insteon_is_deaf
krkeegan Oct 18, 2013
dd5948b
Merge branch 'master' into insteon_data3_controller
krkeegan Oct 18, 2013
8e89d2a
Merge branch 'insteon_data3' into insteon_data3_controller
krkeegan Oct 18, 2013
12fefac
Insteon: Add Function to Calculate ALDB Key
krkeegan Oct 18, 2013
c60ef18
Insteon: Move _aldb to BaseObject, Define get_root for InterfaceContr…
krkeegan Oct 18, 2013
5c8fd38
Insteon: Only Change Data3 on Responders, Don't Do Processing in _wri…
krkeegan Oct 18, 2013
7b32a9d
Insteon: Remove Old Style Data3 Code from Delete_Orphans
krkeegan Oct 18, 2013
15d62f1
Move debuglevel sub to Insteon::debuglevel, convert other subs to stu…
pmatis Oct 18, 2013
f4a01b3
Insteon: Dont Use Data3 in PLM Linkkey
krkeegan Oct 19, 2013
d74e4d2
Insteon: Fix Comments in Link to Interface to be more clear
krkeegan Oct 19, 2013
ee2f774
Insteon: ALDB Cache is in the Member Root
krkeegan Oct 19, 2013
949f785
Insteon: Fix Logic In Sync Links
krkeegan Oct 19, 2013
a338862
Insteon: Revise Delete_Orphans Rewrite
krkeegan Oct 19, 2013
3ffbd1a
Insteon: Revise Default Data3 Distinction for i2CS/not-i2CS
krkeegan Oct 19, 2013
96689bb
Insteon: Add Comments re Oddity in PLM Control Codes
krkeegan Oct 19, 2013
7e123b5
Insteon: Sync Half Links for Deaf or Unhealthy Devices
krkeegan Oct 19, 2013
0b4f76d
Insteon: Simplify Process Delete Queue in PLM
krkeegan Oct 19, 2013
ea8b40f
Insteon: Make PLM Log Links Output Easier to Read
krkeegan Oct 19, 2013
7902e57
Insteon: Place Skip Messages into Delete_Req
krkeegan Oct 20, 2013
a58f5ae
Insteon: Fix Return from i2CS to Link to Interface
krkeegan Oct 20, 2013
b632e7e
Merge pull request #291 from krkeegan/insteon_link_i2cs
krkeegan Oct 20, 2013
682114a
Merge branch 'master' into insteon_data3_controller
krkeegan Oct 20, 2013
9c81b59
Insteon: Prevent Success Callback from Running on Get Engine NACK
krkeegan Oct 20, 2013
a095870
Merge pull request #292 from krkeegan/insteon_i2cs_linking
krkeegan Oct 20, 2013
95252ce
Merge branch 'master' into insteon_data3_controller
krkeegan Oct 20, 2013
ebc77b8
Merge pull request #266 from krkeegan/enhance_hopcount
krkeegan Oct 20, 2013
e642f79
Merge branch 'master' into insteon_set_redux
krkeegan Oct 20, 2013
6bf1924
Merge pull request #286 from krkeegan/insteon_set_redux
krkeegan Oct 20, 2013
e7432da
Merge pull request #290 from pmatis/speech_clash_ref_error_fix
krkeegan Oct 20, 2013
2c33dfd
Merge branch 'master' into insteon_data3_controller
krkeegan Oct 20, 2013
038387d
Insteon: Fix Merge Conflict Bug
krkeegan Oct 20, 2013
7ce30ae
Merge remote-tracking branch 'remotes/hollie/master' into insteon_dev…
pmatis Oct 20, 2013
181c9d9
Merge remote-tracking branch 'remotes/hollie/master' into mh_sound_ma…
pmatis Oct 20, 2013
09d7b40
Merge remote-tracking branch 'remotes/hollie/master' into pa
pmatis Oct 20, 2013
10f0dc5
Simplify pa type iteration, switch to arrow notation for referenced h…
pmatis Oct 20, 2013
6cb48b7
Fix array reference for wdio.
pmatis Oct 20, 2013
10e62b5
Cause print_log statements to display the actual number of array elem…
pmatis Oct 20, 2013
242f989
Insteon: Don't Try and Name Unknown Objects in Delete Orphans
krkeegan Oct 20, 2013
2e69fea
Insteon: Move Device Parameter Flags in BaseObject add to BaseInterface
krkeegan Oct 20, 2013
cbec54a
Merge branch 'insteon_device_parameters' into insteon_link_redux
krkeegan Oct 20, 2013
9cebf7d
Insteon: Remove Extra ISA Calls from Sync Links
krkeegan Oct 20, 2013
3de22c1
Insteon: Do Not Get Root Obj for IFaceController in Is_Responder
krkeegan Oct 20, 2013
944d51a
Merge branch 'insteon_device_parameters' into insteon_link_redux
krkeegan Oct 20, 2013
6330e56
Insteon: KeyPadLinc Subgroups Derive Link State is Not Dimmable
krkeegan Oct 20, 2013
de7ea01
Merge branch 'insteon_set_redux' into insteon_link_redux
krkeegan Oct 20, 2013
1e6d291
Insteon: Insert Delete_Req Hash Into Itself so as not to Delete Callback
krkeegan Oct 20, 2013
ce6d858
Insteon: Add Inline Debug Msg When Skipping a Link Due to ALDB Health…
krkeegan Oct 20, 2013
3861dce
Insteon: Capture Number of Delete PLM Links
krkeegan Oct 20, 2013
e89b547
Insteon: Fix Log Link Entry for New Data3 Setup
krkeegan Oct 20, 2013
b7d32a2
Merge pull request #294 from krkeegan/insteon_set_redux
krkeegan Oct 20, 2013
c6f9ff2
Merge pull request #295 from krkeegan/insteon_device_parameters
krkeegan Oct 20, 2013
3b597ed
Change from every minute, to hook into weather_commons update routine.
pmatis Oct 20, 2013
26976c2
Added Alsa support through amixer to enable left and right audio and …
pmatis Oct 22, 2013
e619a99
Merge pull request #3 from pmatis/pa_amixer
pmatis Oct 22, 2013
b0d9622
Insteon: Remove Unnecessary ISA Calls in Delete_Orphans
krkeegan Oct 23, 2013
a57834e
Insteon: Catch, Report and Recover from Errors in Sync All Links
krkeegan Oct 23, 2013
5ade47a
Insteon: Remove Unnecessary SubAddress Variable from Sync Links Routine
krkeegan Oct 23, 2013
b3bd3ad
Insteon: Extend Failure Callback to Update_Links
krkeegan Oct 23, 2013
e361a69
Insteon: Track, Recover, and Report from Failed Delete Orphans
krkeegan Oct 23, 2013
7907f24
Merge branch 'insteon_set_redux' into insteon_link_redux
krkeegan Oct 24, 2013
b5ba051
Insteon: Re-enable off_fast and on_fast in dimmable lights
krkeegan Oct 24, 2013
a70563b
array error/deprecations from perl
CityDweller Oct 25, 2013
7842ee0
Scene_Builder: Dereference Hashes for Backwards Compatibility in Perl
krkeegan Oct 25, 2013
3a12b90
Merge pull request #299 from krkeegan/scene_builder
krkeegan Oct 25, 2013
7981001
Insteon: Add Sync_All_Links Routine for Multigroup items; Add Multigr…
krkeegan Oct 26, 2013
ed4ecba
Insteon: Add Sync All Links Voice Command to Multigroup Devices
krkeegan Oct 26, 2013
a474501
Merge branch 'master' into insteon_link_redux
krkeegan Oct 26, 2013
65b63b0
Insteon: Multigroup Sync All Links to Scan Root Object
krkeegan Oct 26, 2013
2efdf23
Merge pull request #300 from CityDweller/array_errors
hollie Oct 26, 2013
097d463
Insteon: Set Failure Callback for ALDB Query
krkeegan Oct 27, 2013
722ec01
Merge remote-tracking branch 'remotes/hollie/master' into pa
pmatis Nov 5, 2013
c35756b
Merge remote-tracking branch 'remotes/hollie/master' into insteon_dev…
pmatis Nov 5, 2013
d11bf6a
Merge remote-tracking branch 'remotes/hollie/master' into mh_sound_ma…
pmatis Nov 5, 2013
ec5311c
Display Git Build Number and Date for Unstable Branch
krkeegan Nov 5, 2013
77bab53
Merge pull request #257 from pmatis/mh_sound_master
krkeegan Nov 6, 2013
099016f
Merge pull request #263 from pmatis/pa
krkeegan Nov 6, 2013
94532cd
Merge pull request #297 from krkeegan/insteon_set_redux
krkeegan Nov 6, 2013
16babdd
Merge pull request #296 from pmatis/weather_summary_hook
krkeegan Nov 6, 2013
9c8f292
Remove Switch/Case Statement, Incompatible with Perl 5.8
krkeegan Nov 6, 2013
bca2ad7
Merge branch 'master' into backward_compatible
krkeegan Nov 6, 2013
69d4249
Merge branch 'master' into insteon_link_redux
krkeegan Nov 6, 2013
10bce5b
Merge remote-tracking branch 'krkeegan/build_number'
hollie Nov 6, 2013
639289b
Merge pull request #304 from krkeegan/build_number
hollie Nov 6, 2013
c1723d6
Merge branch 'master' of github.com:hollie/misterhouse
hollie Nov 6, 2013
2771d11
Allow a Build Number of 0
krkeegan Nov 6, 2013
685ba86
Merge pull request #306 from krkeegan/build_number
krkeegan Nov 6, 2013
5c1382a
Merge branch 'master' into insteon_link_redux
krkeegan Nov 6, 2013
762b9ad
Adds INSTEON_TRIGGERLINC Device to 'Edit Items' Page in Web Interface
JaredF Nov 7, 2013
64bbca4
Merge pull request #308 from JaredF/add_triggerlinc_to_items_pl
krkeegan Nov 7, 2013
2cc2620
Merge pull request #305 from krkeegan/backward_compatible
krkeegan Nov 8, 2013
1345a22
Insteon: Remove extraneous commented code from Insteon.pm
krkeegan Nov 8, 2013
52e97ab
Insteon: Convert DebugLevel Entries to Parent Device
krkeegan Nov 8, 2013
b1241be
Insteon: Removed Debuglevel routine from Insteon.pm
krkeegan Nov 9, 2013
48e7f07
Insteon: Move Debuglevel into BaseObject, Re-Assign Debuglevel in Bas…
krkeegan Nov 9, 2013
cc2eb5e
Insteon: Edit Debuglevel Calls in Message.pm
krkeegan Nov 9, 2013
f746ba2
Insteon: Rearrange Debuglevel Association in Insteon_PLM
krkeegan Nov 9, 2013
23c0049
Insteon: Fix Errors in Insteon_PLM, Get_Object Requires Group
krkeegan Nov 9, 2013
02d7680
Insteon: Move Debuglevel Routine to Generic_Item, Fix Bugs in Insteon…
krkeegan Nov 9, 2013
a1ead97
Merge pull request #4 from krkeegan/insteon_device_log_verbosity
pmatis Nov 10, 2013
30b2eb4
Merge remote-tracking branch 'remotes/hollie/master' into insteon_dev…
pmatis Nov 10, 2013
937006b
Insteon: Fix Bug Preventing Delete Orphans Due to Is_Deaf Error
krkeegan Nov 12, 2013
4e06fb4
Insteon: Fix Bug Which Converted Object Names to Lowercase
krkeegan Nov 12, 2013
a159c57
Insteon: Check if Hop_Array is Defined Before Printing
krkeegan Nov 12, 2013
85a1d67
Merge pull request #314 from krkeegan/fix_issue_309
krkeegan Nov 12, 2013
a25accf
Merge pull request #313 from krkeegan/fix_issue_310
krkeegan Nov 12, 2013
edc1d4b
Merge pull request #312 from krkeegan/fix_issue_311
krkeegan Nov 12, 2013
29e89bf
Merge pull request #288 from pmatis/insteon_device_log_verbosity
krkeegan Nov 13, 2013
72c06b8
Merge pull request #301 from krkeegan/fix_issue_85
krkeegan Nov 13, 2013
d79e8df
Merge branch 'master' into insteon_link_redux
krkeegan Nov 14, 2013
fd47e54
Insteon: Clear Active Message Before Calling Retry Failure Callback
krkeegan Nov 15, 2013
694aa8f
Insteon: Report Skipped Devices in List of Failed Objects
krkeegan Nov 15, 2013
d27ec93
Insteon: Resume Sync Queue After Failure of a Device
krkeegan Nov 15, 2013
d1a3ec8
Insteon: Report Out-of-Sync Devices in Failed Delete Orphans Log
krkeegan Nov 15, 2013
ec6cda4
Insteon: Make Failed Device Reports Easier to Read
krkeegan Nov 15, 2013
68cdc41
Merge pull request #293 from krkeegan/insteon_link_redux
krkeegan Nov 15, 2013
20b514b
Insteon: Don't Call Debuglevel if Object Doesn't Exist
krkeegan Nov 16, 2013
baa8de6
Insteon: Permit Syncing of Deaf Devices if Called for Individual Device
krkeegan Nov 16, 2013
c4c834e
Merge pull request #316 from krkeegan/insteon_link_redux
krkeegan Nov 16, 2013
7ec5465
Normalize Line Endings in Repository to LF
krkeegan Nov 17, 2013
44627d6
Merge pull request #317 from krkeegan/eol_normalize
krkeegan Nov 17, 2013
b599462
Correct two MH_Control Voice Commands
krkeegan Nov 19, 2013
b6efb1f
Merge pull request #318 from krkeegan/voice_cmds
krkeegan Nov 19, 2013
890d30b
Insteon: Fix Error with DebugLevel in Message.pm
krkeegan Nov 19, 2013
9fa554b
Merge pull request #319 from krkeegan/fix_insteon_msg
krkeegan Nov 19, 2013
b9f93eb
Merge branch 'master' into fix_insteon_ms13
hplato Nov 20, 2013
21b9b80
Merge branch 'master' of git://github.com/hollie/misterhouse
hplato Nov 20, 2013
0e82f5a
new file: AD2USB.pm
hplato Jan 3, 2014
3619243
modified: AD2USB.pm
hplato Jan 4, 2014
dedfc5c
modified: bin/ical2vsdb
hplato Jan 9, 2014
1555d13
Added Calendar v4, bug fixes, https and control calendar
hplato Jan 11, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
6 changes: 3 additions & 3 deletions bin/dir_to_file.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
dir %1:\ > .\%2
@echo off
dir %1:\ > .\%2

38 changes: 38 additions & 0 deletions bin/get_areacodes.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/usr/bin/perl
use strict;
use warnings;
use HTML::TableExtract;
use LWP::Simple;

use Time::Local;

my $url = "http://www-cse.ucsd.edu/users/bsy/area.html";
my $html = get($url);
my $table = HTML::TableExtract->new;
my $row;
print "# Downloaded from $url\n";
print "# On ". (localtime) . "\n";
print "#\n";
$table->parse($html);
# Table parsed, extract the data.
foreach $row ($table->rows) {
next unless @$row[0] =~ m/^[\-|\d]/;
my $ac = @$row[0];
my $prov = @$row[1];
my $tz = @$row[2];
my $description = @$row[3];
$description =~ s/^\s+//g;
if ($description =~ m/^canada\:/ig) {
$description =~ s/^canada\:\s+//i;
$description =~ s/\(.*\)$//;
$description =~ s/^.+\:\s+//; #remove additional province details
$description =~ s/[\-\-|\;].*//;
#my $place;
#($place) = $description =~ /\:(.*)\(.*\)$/i; #get rid of the end stuff
print "$ac $prov $tz $description\n";
#print "\t\t$place\n";
} else {
print "$ac $prov $tz $description\n";
}
# print join(',', @$row), "\n";
}
2 changes: 1 addition & 1 deletion bin/get_earthquakes.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@mh -run get_earthquakes %1 %2 %3 %4 %5 %6 %7 %8 %9
@mh -run get_earthquakes %1 %2 %3 %4 %5 %6 %7 %8 %9
4 changes: 2 additions & 2 deletions bin/holical.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@mh -run holical %1 %2 %3
@rem perl -S holical %1 %2 %3
@mh -run holical %1 %2 %3
@rem perl -S holical %1 %2 %3
49 changes: 33 additions & 16 deletions bin/ical2vsdb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ use strict;
##
## Date::Calc
## DateTime::TimeZone
## Crypt::SSLeay is required if using https
##
## All other libs should exist w/i the core mh lib/site dir structure
##

## Changelog 3.4 10-04-06: for some reason ical parser is adding an 'ical' level in the
## ical parse hash from a Darwin Calendar Server. Added a dcsfix option

##
## v4.0 01-2014: Date bugfix, added https method, added control calendar, and made sync_dtstamp
## and dcsfix defaults. Added in nosync_dtstamp and nodcsfix option to override.
## NOTE: v4 requires the update 2014 vsdb calendar schema (adding a control attribute).
## Common module organizer 2014 and vsdb calendar.pl 1.6.0-3 required.
##

use lib '../lib', '../lib/site';
use iCal::Parser;
Expand All @@ -33,12 +39,11 @@ use vsLock;
# verify todos (uninitialized string message?)
# verify locking works as expected


my $progname = "ical2vsdb";
my $progver = "v3.4 10-04-06";
my $progver = "v4 01-2014";
my $DB = 0;

my $days_before = 180; # defaults to avoid large vsdb databases, can be overriden
my $days_before = -180; # defaults to avoid large vsdb databases, can be overriden
my $days_after = 180; #

my $config_file= "";
Expand All @@ -55,6 +60,7 @@ $config_file = $ARGV[0] if $ARGV[0];
&help if ((lc $config_file eq "-h") or (lc $config_file eq "--h") or ($config_file eq ""));

print "iCal to vsDB Misterhouse import ($progname $progver) starting...\n";
print "Debug Level $DB\n" if ($DB);

&purge_icals if ($config_file eq "--purge-ical-info");

Expand Down Expand Up @@ -120,10 +126,12 @@ while (1) {
print "done\n";
$process = 1;

} elsif ((lc $ical_data[$loop]->{method} eq "http") or (lc $ical_data[$loop]->{method} eq "webcal")) {
print "Fetching via LWP...";
} elsif ((lc $ical_data[$loop]->{method} eq "http") or (lc $ical_data[$loop]->{method} eq "https") or (lc $ical_data[$loop]->{method} eq "webcal")) {
my $ua = new LWP::UserAgent;
my $req = new HTTP::Request GET => "http://" . $calendar_loc;
my $method = "http";
$method .= "s" if (lc $ical_data[$loop]->{method} eq "https");
print "Fetching via LWP:$method...";
my $req = new HTTP::Request GET => $method . "://" . $calendar_loc;
if ($ical_data[$loop]->{username}) {
$req->authorization_basic($ical_data[$loop]->{username},$ical_data[$loop]->{password});
}
Expand Down Expand Up @@ -162,7 +170,7 @@ while (1) {

if ($process) {

if ($ical_data[$loop]->{options}->{sync_dtstamp}) {
unless ($ical_data[$loop]->{options}->{nosync_dtstamp}) {
print "Syncing DTSTAMP attributes from CREATED...\n";
$data =~ s/DTSTAMP:(.*)\n//g;
$data =~ s/CREATED:(.*)\n/CREATED:$1\nDTSTAMP:$1\n/g;
Expand All @@ -178,7 +186,7 @@ while (1) {
# print "Debug: Hash=$ical_data[$loop]->{hash}\n" if (defined $ical_data[$loop]->{hash});

if (!(defined $ical_data[$loop]->{hash}) or ($ical_data[$loop]->{hash} ne $digest)) {
print "New Calendar entries. Processing iCal...";
print "New Calendar entries. Processing iCal.";
if ($ical_data[$loop]->{method} ne "dir") {
eval {$parser->parse_strings($data); };
}
Expand Down Expand Up @@ -299,14 +307,16 @@ sub parse_cal {
my $opt_speak_todo = 0;
my $opt_holiday = 0;
my $opt_vacation = 0;
my $opt_control = 0;

$opt_speak_cal = 1 if (exists $options->{speak_cal});
$opt_speak_todo = 1 if (exists $options->{speak_todo});
$opt_holiday = 1 if (exists $options->{holiday});
$opt_vacation = 1 if (exists $options->{vacation});
$opt_control = 1 if (exists $options->{control});

my ($opt_sourcename) = $options->{name} if (defined $options->{name});
$cal = $cal->{ical} if (exists $options->{dcsfix});
print "Fixing Darwin Calendar Server Settings...\n" if ($DB and (exists $options->{dcsfix}));
$cal = $cal->{ical} unless (exists $options->{nodcsfix});
my $calname = $cal->{cals}->[0]->{'X-WR-CALNAME'};
$calname = $opt_sourcename if $opt_sourcename;

Expand Down Expand Up @@ -334,16 +344,17 @@ sub parse_cal {
print "."; #give some progress
while (my $uid = each %{$cal->{events}->{$year}->{$month}->{$day}}) {
my $delta;

#is this event in range?
if ($days_before or $days_after) {
$delta = Delta_Days($lyear,$lmon,$lday, $year,$month,$day);
}
print "EventID:$uid, before=$days_before after=$days_after delta=$delta\n" if ($DB>2);

#if not then skip the item
next if ((($days_before) and ($days_before > $delta)) or
(($days_after) and ($days_after < $delta)));

(($days_after) and ($days_after < $delta)));

print "Processing EventID:$uid\n" if ($DB >2);
my $event_ref = $cal->{events}->{$year}->{$month}->{$day}->{$uid};
my $starttime = "12:00 am"; # starttime and endtime are initialized the same if all day
my $endtime = "12:00 am";
Expand Down Expand Up @@ -380,6 +391,8 @@ sub parse_cal {
$holiday = "on" if $opt_holiday;
my $vacation = "off";
$vacation = "on" if $opt_vacation;
my $control = "off";
$control = "on" if $opt_control;

my $description = $event_ref->{DESCRIPTION} || '';
if ($description) {
Expand All @@ -399,6 +412,7 @@ sub parse_cal {
$out_cals[$count]->{DETAILS} = $description;
$out_cals[$count]->{HOLIDAY} = $holiday;
$out_cals[$count]->{VACATION} = $vacation;
$out_cals[$count]->{CONTROL} = $control;
$out_cals[$count]->{SOURCE} = $source;
$out_cals[$count]->{REMINDER} = $reminder;
$out_cals[$count]->{ENDTIME} = $endtime;
Expand Down Expand Up @@ -542,7 +556,8 @@ sub init {
$ical_data[$count]->{options}->{$key} = $value;
}
$ical_data[$count]->{hash} = "none";

print "Applying second level ical parsing (set nodscfix if this breaks anything) ...\n" unless (exists $ical_data[$count]->{options}->{nodcsfix});

my ($method, $loc) = split(/:\/\//,$url);
if ($loc) {
my ($username, $password, $uri) = $loc =~ /^(\S+):(\S+)@(\S+)/i;
Expand Down Expand Up @@ -593,12 +608,14 @@ sub help {

print "usage\t$progname CONFIGURATION_FILE OUTPUT_DIR\n";
print " or\t$progname --purge-ical-info OUTPUT_DIR\n";
print "version $progver\n";
print "\n\n";
print " -- CONFIG FILE SYNTAX -- \n";
print "TYPE<tab>VALUE<tab>option\n\n";
print "TYPE = cfg_version|ical|days_before|days_after|sleep\n";
print "VALUE = parameter value or ical location (http://, file://, dir://)\n";
print "OPTION = comma delimited values (holiday,name=Joe User,speak_todos,vacation,sync_dtstamp)\n";
print "OPTION = comma delimited values (holiday,name=Joe User,speak_todos,vacation,\n";
print " control, nodcsfix, nosync_dtstamp)\n";
print "\n";

die;
Expand Down
4 changes: 2 additions & 2 deletions bin/ical2vsdb.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@mh -run ical2vsdb %1 %2 %3
@rem perl -S ical2vsdb %1 %2 %3
@mh -run ical2vsdb %1 %2 %3
@rem perl -S ical2vsdb %1 %2 %3
38 changes: 32 additions & 6 deletions bin/mh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ BEGIN {
$Version = $autover || 'unknown';
$Version .= " (compiler: $Info{Perl_compiled})" if $Info{Perl_compiled};

#Create a build number if this is unstable version
if (lc $Version eq 'unstable'){
my $build = lc `git describe --long`;
$build =~ /(\S+)-(\d+)-g([0-9a-f]+)/;
$Version = "$1 Build $2 ($3)" if ($1 && defined($2) && $3);
}


# $Pgm_Path = '.';

$usage = <<"eof";
Expand Down Expand Up @@ -213,9 +221,23 @@ BEGIN {

sub print_version {

$Version_date = localtime((stat $0)[9]);
$Version_date = localtime((stat $0)[9]); #this script as default
$Version_date = localtime((stat "$Pgm_Path/bin/$0.exe")[9]) if $PerlApp::BUILD;
$Version_date = localtime((stat $ENV{sourceExe})[9]) if $ENV{sourceExe}; # Older 3.x perl2exe
$Version_date = localtime((stat '../VERSION')[9]) if (-e '../VERSION'); #if VERSION file exists use that

#Get version date for unstable branch
my $autover;
if (-e '../VERSION') {
open (VERSION, '../VERSION');
$autover = <VERSION>;
chomp $autover;
close (VERSION);
}
if (lc $autover eq 'unstable'){
my $build_date = `git show -s --format="%ci"`;
$Version_date = $build_date if ($build_date=~/^\d\d\d\d-\d\d-\d\d/);
}

$Pgm_PathU = '.'; # Since we now chdir, this is obsolete, but still used in some user code :(
$Pgm_Root = './..';
Expand Down Expand Up @@ -249,7 +271,7 @@ BEGIN {

print "\nCommand: $Pgm_Name @ARGV\n";
print "Pgm path : $Pgm_Path\n";
print "Pgm version: $Version Last updated: $Version_date\n";
print "Pgm version: $Version \nLast updated: $Version_date\n";
$Info{Perl_version} = $];
# Use eval to avoid problems with earlier version (e.g. build 502)
$Info{Perl_version} .= " Build " . eval "&Win32::BuildNumber()" if $OS_win;
Expand Down Expand Up @@ -736,7 +758,7 @@ sub setup {
# Make various directories, if missing
mkdir ("$config_parms{data_dir}/logs", 0777) unless -d "$config_parms{data_dir}/logs";
mkdir ("$config_parms{data_dir}/web", 0777) unless -d "$config_parms{data_dir}/web";
mkdir ("$config_parms{data_dir}/cache", 0777) unless -d "$config_parms{data_dir}/cache";
mkdir ("$config_parms{html_alias_cache}", 0777) unless -d "$config_parms{html_alias_cache}";
mkdir ("$config_parms{html_dir}/tv", 0777) unless -d "$config_parms{html_dir}/tv";
mkdir ("$config_parms{html_dir}/tv/clicktv", 0777) unless -d "$config_parms{html_dir}/tv/clicktv";

Expand Down Expand Up @@ -3819,7 +3841,7 @@ sub play {
# Let the speak code push the wav file
# For speak (TTS), this gets done in Voice_Text.pm
if ($parms{address}) {
copy $file, "$config_parms{data_dir}/cache/speak_address.$Second.wav";
copy $file, "$config_parms{html_alias_cache}/speak_address.$Second.wav";
for my $address (split ',', $parms{address}) {
my $address_code = $config_parms{voice_text_address_code};
$address_code =~ s|\$address|$address|;
Expand Down Expand Up @@ -4775,6 +4797,10 @@ sub read_table_files {
print "Error in &read_table_$format: $@\n" if $@;
}
}
if (defined(&{"read_table_finish_$format"})) {
print TABLE_OUT eval "&read_table_finish_$format()";
print "Error in &read_table_finish_$format: $@\n" if $@;
}
close TABLE_IN;
close TABLE_OUT;
if ($format =~/xml/) { $/="\n"; }
Expand Down Expand Up @@ -4963,8 +4989,8 @@ sub read_user_code {
$record =~ /->\s*hidden/ or
$record =~ /^\s*set_(authority|icon|info|order|fp_location)\s/ or
$record =~ /->\s*set_(authority|icon|info|order|fp_location)/ or
$record =~ /^\s{0,3}\S+\s*->\s*add[\s\(]/ or
$record =~ /^\s{0,3}add\s/) {
$record =~ /^\ {0,3}\S+\s*->\s*add[\s\(]/ or
$record =~ /^\ {0,3}add\s/) {
$noloop_statement_flag = 1 unless $pod_flag; # Allow for multi-record statements
}

Expand Down
10 changes: 5 additions & 5 deletions bin/mh.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1085,9 +1085,9 @@ ipaddress_xpl_broadcast =
@ See the mh/docs/install.html on how to install various speech engines.


@ voice_text can be MS, MSV4, MSV5, festival, flite, theta or swift (for the Cepstral engine on Linux),
@ viavoice, vv_tts (for IBM's viavoice Outloud), NaturalVoice, NaturalVoiceWine, or
@ program xyz (for a stand alone xyz program),
@ voice_text can be MS, MSV4, MSV5, festival, flite, google (for the Google TTS API, requires ffmpeg),
@ theta or swift (for the Cepstral engine on Linux), viavoice, vv_tts (for IBM's viavoice Outloud),
@ NaturalVoice, NaturalVoiceWine, or program xyz (for a stand alone xyz program),
@ Set to blank to disable.
@ Use voice_text = MS on windows for all Microsoft SAPI compatible TTS engines, including AT&T NaturalVoice.
@ Other parms specify paths to various TTS engines on unix systems.
Expand Down Expand Up @@ -2058,7 +2058,7 @@ eib_errata=2

@ These are the states displayed on the tk and web menus
@ French: insteon_menu_states=on,off,normal,eco,plus,moins,plus2,moins2,plus3,moins3,+40,-40,5%,30%,60%,100%
insteon_menu_states=on,off,+40,-40,5%,30%,60%,100%
insteon_menu_states=off,20%,40%,50%,60%,80%,on

******************************************************************************
# Category = Misc
Expand Down Expand Up @@ -2451,4 +2451,4 @@ owfs_uom_temp = F
# - add net parms. add cm11_serial parm.
#

#
#
33 changes: 33 additions & 0 deletions bin/mythnotify
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/perl

use IO::Socket;
use Getopt::Long;

$MH_ADDRESS = '192.168.0.51';
$MH_PORT = '5252';
$username = 'mythtv_mh';
$password = 'mythtv_mh';

GetOptions("h" => \$help, "c=s" => \$chanid, "s=s" => \$starttime, "e=s" => \$endtime, "t=s" => \$title, "st=s" => \$subtitle, "d=s" => \$description );


# Try to create a TCP socket to Misterhouse to establish communications with MisterHouse.
$remote = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$MH_ADDRESS", PeerPort => "$MH_PORT",)
or die "cannot connect to misterhouse on port $MH_PORT at $MH_ADDRESS";

# Do a simple login to Misterhouse. Not really needed if you are behind a firewall but just in case you are not
# it is included. Keep in mind this is all plain text so if you are worried about that you should be aware.
print $remote "Login: $username\n";
print $remote "Secret: $password\n";

print $remote "chanid: $chanid\n";
print $remote "starttime: $starttime\n";
print $remote "endtime: $endtime\n";
print $remote "title: $title\n";
print $remote "subtitle: $subtitle\n";
print $remote "description: $description\n";
print $remote ":done:\n";

close($remote);

system qq [echo $chanid,$starttime,$endtime,$title,$subtitle,$description >> /tmp/mynotify.txt];
Loading