-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add identify request, non standard gateway, update version and api (#997
) * Update discover.py * Update configHandler.py * end wake up * Update v2restapi.py Add behavior instance to clip/v2/resource, to solve problem as in issue 873, now the app shows the automations * wrong response * add all buttons to response * Update discover.py Fix issue where lights with the same mac address but different modelid get the same ip address * update wake-up fix error "Exception while processing the schedule X | 'turn_lights_off_after'" if "turn_lights_off_after" is not specified * fix add light in hue app * Update requirements.txt * Update requirements.txt * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update requirements.txt * Update requirements.txt * Update Dockerfile * Update requirements.txt * Update Dockerfile * revert to old working * Update Dockerfile * Add identify request, non standard gateway, update version and api
- Loading branch information
1 parent
f968518
commit 2db6a0b
Showing
3 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,9 +76,9 @@ def load_config(self): | |
config["zigbee_device_discovery_info"] = {"status": "ready"} | ||
|
||
if int(config["swversion"]) < 1958077010: | ||
config["swversion"] = "1958077010" | ||
config["swversion"] = "1962154010" | ||
if float(config["apiversion"][:3]) < 1.56: | ||
config["apiversion"] = "1.56.0" | ||
config["apiversion"] = "1.62.0" | ||
|
||
self.yaml_config["config"] = config | ||
else: | ||
|
@@ -91,10 +91,10 @@ def load_config(self): | |
"alarm":{"enabled": False,"lasttriggered": 0}, | ||
"port":{"enabled": False,"ports": [80]}, | ||
"apiUsers":{}, | ||
"apiversion":"1.56.0", | ||
"apiversion":"1.62.0", | ||
"name":"DiyHue Bridge", | ||
"netmask":"255.255.255.0", | ||
"swversion":"19561788040", | ||
"swversion":"1962154010", | ||
"timezone":"Europe/London", | ||
"linkbutton":{"lastlinkbuttonpushed": 1599398980}, | ||
"users":{"[email protected]":{"password":"pbkdf2:sha256:150000$bqqXSOkI$199acdaf81c18f6ff2f29296872356f4eb78827784ce4b3f3b6262589c788742"}}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters