Skip to content

Commit

Permalink
Merge pull request #10 from waynieack/AlexaBridge.pm
Browse files Browse the repository at this point in the history
Hue emulation module for Misterhouse
  • Loading branch information
hplato authored Feb 12, 2017
2 parents b6f1f40 + 256b1eb commit 639c842
Show file tree
Hide file tree
Showing 7 changed files with 2,282 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/mh
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ sub setup {
use EIB_Items;
use EIB_Device;
use ajax;
use AlexaBridge;
eval "use BSC";

# Base_Items
Expand Down Expand Up @@ -978,6 +979,7 @@ sub setup {
&socket_open($port_name);
}

&AlexaBridge::startup; # Start the AlexaBridge sockets, in lib/AlexaBridge.pm
&xAP::startup; # Start the xAP sockets, in lib/xAP_Items.pm
&xPL::startup; # Start the xPL sockets, in lib/xPL_Items.pm
&EIB_Device::startup; # Start the EIB device, in lib/EIB_Device.pm
Expand Down Expand Up @@ -2935,6 +2937,7 @@ sub check_for_socket_data {
{
( my $from_port, my $from_ip ) = sockaddr_in($from_saddr)
if $from_saddr;
$Socket_Ports{$port_name}{from_ipport} = $from_saddr;
$Socket_Ports{$port_name}{from_port} = $from_port;
$Socket_Ports{$port_name}{from_ip} = $from_ip;
}
Expand Down
Loading

0 comments on commit 639c842

Please sign in to comment.