Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie authored Nov 15, 2023
1 parent 42a7977 commit bbce998
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
9 changes: 7 additions & 2 deletions js/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
document.getElementById('extension-homebridge-install-camera-button').style.display = 'none';
document.getElementById('extension-homebridge-installing-camera-plugin').style.display = 'block';

document.getElementById('extension-homebridge-manual-add-tutorial-container').style.display = 'block';
//document.getElementById('extension-homebridge-manual-add-tutorial-container').style.display = 'block';


});
Expand Down Expand Up @@ -1323,7 +1323,12 @@
"property_name":"unit",
"required_variable":"strings",
"config_names":["getTemperatureDisplayUnits","setTemperatureDisplayUnits"]
}
},
{
"property_at_type":"TemperatureProperty",
"property_name":"temperature",
"config_names":["getCurrentTemperature"]
},
]
},

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
},
"short_name": "homebridge",
"version": "0.1.5",
"version": "0.1.6",
"web_accessible_resources": [
"css/*.css",
"images/*.svg",
Expand Down
4 changes: 2 additions & 2 deletions pkg/homebridge_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ def start_camera(self):




def really_start_camera(self):
if self.DEBUG:
print("in really_start_camera")
Expand Down Expand Up @@ -670,9 +669,10 @@ def thumbnail_taker(self):


# button pressed on respeaker board (or test press)
def dingdong(self):
def dingdong(self,value=None):
if self.DEBUG:
print("\nDING DONG! doorbell button pressed. calling url: " + str(self.doorbell_url))
print("dingdong received value: " + str(value))
try:
# E.g. http://hostname:port/doorbell?Camera%20Name
req = urlreq.Request(self.doorbell_url)
Expand Down
3 changes: 2 additions & 1 deletion views/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ <h3>A camera was detected</h3>
</div>
</div>
</div>
<!--
<div id="extension-homebridge-manual-add-tutorial-container" style="display:none" class="extension-homebridge-area">
<h3>To see your newly shared device in the Home app you may need to manually add it.</h3>
<ol>
Expand All @@ -88,7 +89,7 @@ <h3>To see your newly shared device in the Home app you may need to manually add
<p>The device may be shown here. If not, then select "My accessory isn't shown here", and enter the following pairing code:</p>
<p id="extension-homebridge-pairing-pin-code" style="font-weight:bold"></p>
</div>

-->

<div class="extension-homebridge-area extension-homebridge-after-launch">
<h2>Things to share with Homekit</h2>
Expand Down

0 comments on commit bbce998

Please sign in to comment.