Releases: jvandenaardweg/homewizard-energy-api
Releases · jvandenaardweg/homewizard-energy-api
v1.5.0
Notable change
- Added
total_liter_offset_m3
to Water Meter data API response types81da7f0
Complete changelog
- chore(deps-dev): bump release-it from 15.7.0 to 15.10.0
6ab97aa
- chore(deps-dev): bump rimraf from 4.1.2 to 5.0.1
860bdbc
- chore(deps-dev): bump vitest from 0.28.5 to 0.29.2
40f3a59
- chore(deps-dev): bump release-it from 15.6.0 to 15.7.0
e647504
- chore(deps-dev): bump lint-staged from 13.1.2 to 13.2.2
95de41e
- chore(deps-dev): bump eslint from 8.34.0 to 8.39.0
c274dca
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
e4303b1
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
37cb4d5
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
fc2bf41
- chore(deps-dev): bump @typescript-eslint/parser from 5.59.8 to 5.60.1
eff8ddf
- chore(deps-dev): bump @typescript-eslint/parser from 5.54.0 to 5.59.8
3388548
- chore(deps-dev): bump @typescript-eslint/parser from 5.52.0 to 5.54.0
825e86e
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
a387d0a
- chore(deps-dev): bump release-it from 15.10.0 to 15.10.2
6e989e1
- chore(deps-dev): bump eslint from 8.39.0 to 8.40.0
6f9a1fc
- chore(deps-dev): bump eslint from 8.40.0 to 8.41.0
7f975fd
- chore(deps): bump date-fns from 2.29.3 to 2.30.0
8939646
- chore(deps-dev): bump typescript from 5.0.3 to 5.1.6
d6328ad
- chore(deps): bump undici from 5.20.0 to 5.22.1
0dc713a
- chore(deps-dev): bump typescript from 4.9.5 to 5.0.3
30edb9e
- chore(deps-dev): bump tsconfig-paths from 4.1.2 to 4.2.0
c2afccb
- chore(deps-dev): bump @types/node from 20.2.5 to 20.4.5
3be0888
- chore(deps-dev): bump dotenv-cli from 7.0.0 to 7.2.1
2706fd1
- chore(deps-dev): bump lint-staged from 13.2.2 to 13.2.3
7d1467e
- chore(deps-dev): bump @types/node from 18.15.11 to 20.2.5
090569b
- chore(deps-dev): bump prettier from 2.8.4 to 2.8.8
e54aa6e
- chore(deps-dev): bump @types/node from 18.14.2 to 18.15.11
2163b52
- chore(deps-dev): bump nodemon from 2.0.20 to 2.0.22
c7cb410
- chore(deps-dev): bump @types/node from 18.14.0 to 18.14.2
a9d96e6
- chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
7594957
- chore(deps): bump vm2 from 3.9.17 to 3.9.19
a790180
- chore(deps): bump yaml from 2.1.3 to 2.2.2
dbfb7c3
- chore(deps): bump vm2 from 3.9.13 to 3.9.17
2c2d08d
- feat: added total_liter_offset_m3 to water meter data API response types
81da7f0
- feat: added total_liter_offset_m3 to water meter data API response types
2f9c809
v1.4.2
No notable changes. Maintenance release to keep the used dependencies up to date.
Complete changelog
- chore(deps-dev): bump vitest from 0.28.4 to 0.28.5
a0e7985
- chore(deps-dev): bump @typescript-eslint/parser from 5.51.0 to 5.52.0
ccb2d29
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
abf4e6a
- chore(deps-dev): bump @vitest/coverage-istanbul from 0.28.4 to 0.28.5
17c1f6c
- chore(deps-dev): bump resolve-tspaths from 0.8.3 to 0.8.8
daebe43
- chore: update dependencies
1b969d1
- chore(deps-dev): bump eslint from 8.33.0 to 8.34.0
0719de1
- chore(deps-dev): bump prettier from 2.8.3 to 2.8.4
de1c20d
- chore(deps-dev): bump lint-staged from 13.1.1 to 13.1.2
ba59427
- chore(deps): bump undici from 5.18.0 to 5.19.1
7ec18b0
- chore(deps): bump cacheable-request from 10.2.3 to 10.2.7
780327b
- chore: run dependabot monthly
df9a51d
- chore: only run test coverage report in console
4252bf6
v1.4.1
v1.4.0
Notable change
- Added system endpoints support for
SDM230-wifi
(Wi-Fi kWh meter 1-phase) andSDM630-wifi
(Wi-Fi kWh meter 3-phase) . SeegetSystem()
andupdateSystem()
. The Energy meter should run version 3.00 or later, the device will be updated automatically, according to HomeWizard. See API changelog 2023-01-24.
Complete changelog:
- feat: add system endpoints to kwh meter 1 and 3 phase
b7030a6
- chore(deps-dev): bump vitest from 0.27.2 to 0.28.1
7dab736
- chore(deps-dev): bump vitest from 0.28.1 to 0.28.3
9fc3c7b
- chore(deps-dev): bump @typescript-eslint/parser from 5.48.2 to 5.49.0
ff10faa
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
9076b92
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
155174b
- chore(deps-dev): bump @vitest/coverage-istanbul from 0.27.2 to 0.28.1
16493f6
- chore(deps-dev): bump vitest from 0.28.3 to 0.28.4
94d74b9
- chore(deps-dev): bump dotenv-cli from 6.0.0 to 7.0.0
ee5947d
- chore(deps-dev): bump @types/node from 18.11.19 to 18.13.0
f49f544
- chore(deps-dev): bump @types/node from 18.11.18 to 18.11.19
725f97c
- chore(deps): bump undici from 5.16.0 to 5.18.0
1ea1af0
- chore(deps-dev): bump rimraf from 4.1.1 to 4.1.2
71572c1
- chore(deps-dev): bump eslint from 8.32.0 to 8.33.0
7568a77
- chore(deps): bump undici from 5.15.0 to 5.16.0
ea78744
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
0373321
v1.3.1
Notable change
- Removed
unique_gas_id
type, prefer to usegas_unique_id
. HomeWizard API docs are conflicting here. But my own P1 Meter returnsgas_unique_id
, so we'll settle with that.
Complete changelog
- chore: update dependencies
b8da03c
- chore: added p1 meter mock data
978f283
- chore(deps-dev): bump eslint from 8.31.0 to 8.32.0
6b968c0
- chore(deps-dev): bump rimraf from 4.0.4 to 4.0.7
e7f629b
- chore(deps-dev): bump prettier from 2.8.2 to 2.8.3
45ac27b
- refactor: remove unique_gas_id type , prefer gas_unique_id
e2c717d
- docs: update docs on external data type
e870827
v1.3.0
Features
- Added support for new
/api/v1/system
and/api/v1/identify
endpoints on the P1 Meter for P1 Meters with firmware version 4.0 - Updated
/api/v1/data
response types to support more datapoints since the firmware version 4.0 change
Important: The P1 meter should run version 4.00 or later for the new endpoints to work. The device will be updated automatically according to HomeWizard. You can verify your firmware_version
at the /api
endpoint of your P1 Meter, or the getBasic()
method.
More about these changes, see the HomeWizard API changelog at 2023-01-03
Complete changelog
- chore: update dependencies
5c6a019
- test: simpler api mocking
0a6cd9c
- chore(deps-dev): bump @vitest/coverage-istanbul from 0.26.2 to 0.26.3
a9f7337
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
d0f23c7
- chore(deps-dev): bump @typescript-eslint/eslint-plugin
4fedd77
- feat: update types using updated docs
c0014d5
- chore(deps-dev): bump release-it from 15.5.1 to 15.6.0
78d7ac4
- chore(deps-dev): bump vitest from 0.26.3 to 0.27.0
b86887f
- chore(deps-dev): bump @vitest/coverage-istanbul from 0.26.0 to 0.26.2
b6c4d2d
- test: extend tests on base api
f4d7477
- chore(deps-dev): bump @vitest/coverage-istanbul from 0.26.3 to 0.27.0
98c23c2
- chore(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.48.0
146851e
- chore(deps-dev): bump @typescript-eslint/parser from 5.47.0 to 5.47.1
e60f4f9
- feat: added support for /identify and /system endpoints for p1 meter
5867957
- test: up the test coverage
e81120d
- test: added tests for new /system and /identify p1 meter endpoints
0a36d88
- chore: update issue templates
044496f
- chore: update dependencies
ebfbb0b
- chore(deps-dev): bump eslint from 8.30.0 to 8.31.0
0b2554b
- chore(deps-dev): bump tsconfig-paths from 4.1.1 to 4.1.2
f09b773
- chore(deps-dev): bump prettier from 2.8.1 to 2.8.2
b1eecf7
- chore: update mock data with new types
0b57e55
- chore(deps-dev): bump @types/node from 18.11.17 to 18.11.18
e159015
- chore: update issue templates
badf0a5
- chore: update docs on types
9adb101
- chore: include all coverage
98ad082
- chore: update dependabot.yml
c7dc1cc
v1.2.2
Features
- Exposes
polling.getParsedTelegram
on the P1 Meter API class
Complete changelog
- chore: update dependencies
273f3ad
- chore(deps-dev): bump vitest from 0.25.8 to 0.26.0
36b46f9
- test: up the test coverage for discovery
b61ffde
- chore: upgrade dependencies
d50e87f
- chore(deps-dev): bump @vitest/coverage-istanbul from 0.25.8 to 0.26.0
43ff9b0
- test: up the test coverage on water meter api
4dc6625
- test: up the test coverage on discovery
632e086
- feat: expose getParsedTelegram to polling
3ae639f
- chore(deps-dev): bump eslint from 8.29.0 to 8.30.0
875d63d
- test: up the test coverage on p1 meter and water meter
41fddde
- docs: update docs on types
245ef10
- chore(deps-dev): bump @types/node from 18.11.15 to 18.11.17
03b7939
- chore: update shields in readme
93d76cb
- chore: remove credits from changelog
b41d401
- chore: remove console log
94de1fa
v1.2.1
Fixes:
- Expose polling methods for Water Meter properly
8338d9a
Complete changelog
- test: up the test coverage
2e8a94b
- refactor: remove trimming line
2ac95d1
- test: up the test coverage on telegram
07ec439
- refactor: move mock api pool to test setup
6431388
- chore: add tz environment variable
cf0527e
- chore: fix timezone error in ci
9d94451
- chore: fix timezone error in ci
db5f8c5
- test: only format iso, do nothing with timezone
5b991e5
- fix: expose polling methods for water meter properly
8338d9a
- test: mock clear and run timers
9c59325
- chore: fix timezone error in ci
15ee889
- docs: update docs about polling getParsedTelegram
640a8f2
v1.2.0
Features
- Transforms the P1 telegram text from the P1 meter into a readable detailed object using
getParsedTelegram
on theP1MeterApi
Fixes
- Not sending last
error
event when usingstopOnError: true
Complete changelog
- feat: parse telegram txt to json
e7b3ed3
- fix: parsing error on telegram
221f636
- feat: add getParsedTelegram method
f874f18
- test: add possible telegram responses as mocks
59f23f1
- refactor: better typings on apis
af1c066
- docs: rename api const to their device name
c8307e2
- docs: add more docs on methods
13a44d0
- docs: update docs about getParsedTelegram
21b1624
- chore: remove possible responses type
2eb7553
- fix: run emit error before stopping
987b5ce
- docs: add credits to telegram parser
73895d0
- docs: update docs about getParsedTelegram
ae2848d
- docs: update docs about getParsedTelegram
1df1548