You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-15Lines changed: 26 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The supreme versatility and user friendliness of the Crownstones is reflected in
15
15
* Extremely easy to set up
16
16
* Instant updates for switch states and data
17
17
* Dynamically adding and removing devices/entities
18
-
* Real-time power usage measurements using the Crownstone USB
18
+
* Real-time power and energy usage measurements using the Crownstone USB
19
19
* Keeps track of **who** is in which room!
20
20
* Custom advanced presence triggers to make your whole home react to your presence!
21
21
@@ -27,9 +27,11 @@ This integration stays in one line with the Crownstone app. When data is updated
27
27
28
28
## HACS
29
29
30
-
Visit the [HACS installation page](https://hacs.xyz/docs/installation/manual) to set up HACS in your Home Assistant.
30
+
Visit the [HACS installation page](https://hacs.xyz/docs/installation/installation) to install HACS, and the [HACS setup page](https://hacs.xyz/docs/configuration/basic) to enabled HACS in Home Assistant.
31
31
32
-
Click the 3 dots button in the top right corner, and click custom repositories. Select category integration, and add the link of this repository. In the HACS store, click the "+" button in the bottom right corner, and search for Crownstone.
32
+
In HACS, Click the 3 dots button in the top right corner, and click custom repositories. Select category integration, and add the link of this repository.
33
+
34
+
After adding the repository, in the HACS store, click the "+ explore & add repositories" button in the bottom right corner, and search for Crownstone. Then just follow the installation steps. Make sure to select the newest version!
33
35
34
36
## Manually
35
37
@@ -86,25 +88,35 @@ The events are registered, which means that if a user enters a room, but leaves
Crownstone's live power usage streaming, and energy usage summation, are is also available in Home Assistant. Because of the constant updates, this functionality is only available when using the [Crownstone USB dongle](#crownstone-usb-dongle).
90
94
91
-
Crownstone's live power usage streaming is also available in Home Assistant. Because of the constant updates, this functionality is only available when using the [Crownstone USB dongle](#crownstone-usb-dongle).
95
+
The power usage and energy usage for each Crownstone update every minute, or instantly for a particular Crownstone when switching it.
92
96
93
-
The power usage for each Crownstone updates every minute, or instantly for a particular Crownstone when switching it. It can take some time before the correct power usage is displayed.
97
+
## Energy usage features
94
98
95
-
## Power usage device triggers
99
+
- Starts at 0 in Home Assistant after installing/updating the integration, independent of the value received by the Crownstone
100
+
- Persistent states: after rebooting Home Assistant, the energy usage values remain
101
+
- When a Crownstone is reset (updated or power loss), the values in Home Assistant will remain, and will be further updated
102
+
- The values for energy usage are set back to 0 each month in Home Assistant. In the `History` tab, you will be able to see the maximum usage for each month
103
+
104
+
## Power usage & Energy usage device triggers
96
105
97
106
Power usage entities use the default device triggers from sensor for power usage sensors. The following triggers are available:
98
-
- Crownstone Power usage energy changes
107
+
- Crownstone Power Usage power changes
108
+
109
+
Energy usage entities also use the default device triggers from sensor for energy usage sensors. The following triggers are available:
110
+
- Crownstone Energy Usage energy changes
99
111
100
-
For `Crownstone Power usage changes` there are 3 options:
112
+
For `Crownstone Power Usage power changes` or `Crownstone Energy Usage energy changes` there are 3 options:
101
113
- Above a certain value
102
114
- Below a certain value
103
115
- Duration of the change in hh/mm/ss
104
116
105
-
You can have other devices react to peaks in power usage, send an event or notification, whatever you like!
117
+
Example usage is to send a notification to your phone when the power usage is too high for a certain duration, or switch the device off when this happens. When energy usage reaches a certain value, you could activate a scene which turns multiple devices off.
106
118
107
-

119
+

108
120
109
121
# Comparison
110
122
@@ -121,7 +133,7 @@ Presence updates and data updates are always done using the Crownstone Cloud.
121
133
-[ ] No delay when switching Crownstones
122
134
-[ ] State updates in Home Assistant when using lightswitch with Switchcraft
123
135
-[ ] Can switch Crownstones independently (no smartphone in proximity required)
124
-
-[ ] Can use power usage entities
136
+
-[ ] Can use power usage & energy usage entities
125
137
126
138
## Crownstone USB Dongle
127
139
@@ -132,7 +144,7 @@ Presence updates and data updates are always done using the Crownstone Cloud.
132
144
-[x] No delay when switching Crownstones
133
145
-[x] State updates in Home Assistant when using lightswitch with Switchcraft
134
146
-[x] Can switch Crownstones independently (no smartphone in proximity required)
135
-
-[x] Can use power usage entities
147
+
-[x] Can use power usage & energy usage entities
136
148
137
149
Get your Crownstone USB dongle [here](https://shop.crownstone.rocks/products/crownstone-usb-dongle) and enhance your Home Assistant experience!
138
150
@@ -151,9 +163,8 @@ If you like to contribute test results of tests that have not been done by us ye
151
163
-[x] Add power usage entities to Crownstone devices
152
164
-[x] Fix state updates coming from the Crownstone app not being done in Home Assistant
153
165
-[x] Dynamically update data & add/remove Crownstone and Location devices without restarting or reloading
166
+
-[x] Add energy usage entities to Crownstone devices
154
167
-[ ] Create device conditions for Presence devices
155
-
-[ ] Optimize power usage accuracy by implementing new UART protocol
156
-
-[ ] Add energy usage entities to Crownstone devices
157
168
158
169
Any ideas for future updates? Let us [know](mailto:ask@crownstone.rocks?subject=[GitHub]%20Crownstone%20Home%20Assistant%20Integration)!
0 commit comments