-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../BME280/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../BME280/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../BME280/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../BME280/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Berry/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Berry/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Berry/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Berry/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Pinouts/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Pinouts/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Pinouts/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Pinouts/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Rules/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Rules/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Rules/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Rules/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Scripting-Language/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Scripting-Language/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Scripting-Language/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Scripting-Language/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Peripherals/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Peripherals/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Peripherals/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Peripherals/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Lights/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Lights/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Lights/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Lights/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../TuyaMCU/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../TuyaMCU/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../TuyaMCU/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../TuyaMCU/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting...</title> | ||
<link rel="canonical" href="../Upgrading/"> | ||
<script>var anchor=window.location.hash.substr(1);location.href="../Upgrading/"+(anchor?"#"+anchor:"")</script> | ||
<meta http-equiv="refresh" content="0; url=../Upgrading/"> | ||
</head> | ||
<body> | ||
You're being redirected to a <a href="../Upgrading/">new destination</a>. | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
AWSTemplateFormatVersion: "2010-09-09" | ||
Description: "Tasmota: create the AWS IoT policy to be used by all Tasmota devices. This policy needs to be created once per AWS Region for all Tasmota devices." | ||
|
||
Parameters: | ||
RetentionPolicy: | ||
Type: String | ||
AllowedValues: [ "Delete", "Retain" ] | ||
Default: "Retain" | ||
Description: When you delete the CloudFormation template, "Delete" will also delete this policy, "Retain" will keep it | ||
MQTTPolicyName: | ||
Type: String | ||
Default: "TasmotaMqttPolicy" | ||
Description: The Name of the MQTTPolicy for Tasmota devices (leave unchanged unless you have specific needs) | ||
|
||
Outputs: | ||
MqttPolicyName: | ||
Description: The name of the AWS IoT policy created | ||
Value: !If [ Retained, !Ref TasmotaMqttPolicyRetained, !Ref TasmotaMqttPolicyNotRetained ] | ||
|
||
Conditions: | ||
Retained: !Equals [ !Ref RetentionPolicy, "Retain" ] | ||
NotRetained: !Not [ !Equals [ !Ref RetentionPolicy, "Retain" ] ] | ||
|
||
Resources: | ||
|
||
###################################################################### | ||
# | ||
# The AWS IoT policy to be used by all Tasmota devices. | ||
# It needs to be created once for all. | ||
# This policy will remain if you delete the CloudFormation template | ||
# | ||
###################################################################### | ||
TasmotaMqttPolicyRetained: | ||
Type: AWS::IoT::Policy | ||
Condition: Retained | ||
DeletionPolicy: Retain | ||
Properties: | ||
PolicyDocument: | ||
Version: "2012-10-17" | ||
Statement: | ||
- | ||
Effect: Allow | ||
Action: [ "iot:Connect", "iot:Publish", "iot:Subscribe", "iot:Receive" ] | ||
Resource: !Sub "arn:aws:iot:${AWS::Region}:${AWS::AccountId}:*" | ||
PolicyName: !Ref MQTTPolicyName | ||
|
||
###################################################################### | ||
# | ||
# This policy will be removed if you delete the CloudFormation template | ||
# | ||
###################################################################### | ||
TasmotaMqttPolicyNotRetained: | ||
Type: AWS::IoT::Policy | ||
Condition: NotRetained | ||
DeletionPolicy: Delete | ||
Properties: | ||
PolicyDocument: | ||
Version: "2012-10-17" | ||
Statement: | ||
- | ||
Effect: Allow | ||
Action: [ "iot:Connect", "iot:Publish", "iot:Subscribe", "iot:Receive" ] | ||
Resource: !Sub "arn:aws:iot:${AWS::Region}:${AWS::AccountId}:*" | ||
PolicyName: !Ref MQTTPolicyName | ||
|