Commit Graph

253 Commits

Author SHA1 Message Date
Meatballs1
8ed9e9ae13 Merge branch 'per_device_lwt' of github.com:Meatballs1/hcpy-2.0 into per_device_lwt 2024-03-24 14:49:07 +00:00
Meatballs1
b001c05550 Add tcp keepalive 2024-03-24 14:48:32 +00:00
Meatballs1
fbb59974c1 Test changes 2024-03-24 12:54:01 +00:00
pre-commit-ci[bot]
81bb58eafc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-24 02:18:40 +00:00
Meatballs1
0219f90bb5 Timestamp error 2024-03-24 01:37:51 +00:00
Meatballs1
b8dae6222b Raise exception from device 2024-03-24 01:34:16 +00:00
Meatballs1
0fe37f918b Add LWT for each device 2024-03-24 01:12:24 +00:00
Meatballs1
ba66c56a26 Merge branch 'main' into device_details 2024-03-22 18:35:08 +00:00
Ben Campbell
1087ce8a19 Merge pull request #34 from Meatballs1/py_ext
Add .py extensions
2024-03-22 18:30:34 +00:00
Meatballs1
5ab739dd87 Merge branch 'main' into py_ext 2024-03-22 18:07:23 +00:00
Meatballs1
cfa64a46da Revert error message change 2024-03-22 12:54:54 +00:00
Meatballs1
311f0ba7a7 Merge branch 'device_details' of github.com:Meatballs1/hcpy-2.0 into device_details 2024-03-22 12:15:03 +00:00
Meatballs1
d30350cb44 Merge branch 'main' into device_details 2024-03-22 12:14:48 +00:00
pre-commit-ci[bot]
0c8a59d7c5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-22 12:14:12 +00:00
Meatballs1
8b4fb1dfab Merge branch 'device_details' of github.com:Meatballs1/hcpy-2.0 into device_details 2024-03-22 12:13:49 +00:00
Meatballs1
129899213d get initial values for all devices 2024-03-22 12:13:39 +00:00
Ben Campbell
3952208273 Merge pull request #35 from pmagyar/editorconfig
#15 Added .editorconfig
Resolves #15
2024-03-22 11:02:51 +00:00
pre-commit-ci[bot]
d5f6872fb6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-22 10:56:29 +00:00
Meatballs1
90c81a61b8 Fix linting 2024-03-22 10:56:06 +00:00
pre-commit-ci[bot]
9d5411eeec [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-22 03:04:01 +00:00
Meatballs1
57549abbc6 Retrieve network and device details 2024-03-22 02:55:19 +00:00
p_magyar
eb23d5c00b #15 Added .editorconfig 2024-03-21 23:40:50 +01:00
pmagyar
953307484d Merge pull request #23 from Meatballs1/mqtt_lwt
MQTT connection improvements
2024-03-21 21:50:24 +01:00
Meatballs1
9589f69695 Merge branch 'main' into mqtt_lwt 2024-03-21 13:23:55 +00:00
Meatballs1
7b54a362f1 Add .py extensions 2024-03-21 10:54:01 +00:00
pmagyar
dd257bacd1 Merge pull request #32 from Meatballs1/docs
Remove redundant docs
2024-03-21 09:22:02 +01:00
pmagyar
9f64bb1b11 Merge pull request #31 from Meatballs1/set_multiple_values
Support JSON arrays in input data
2024-03-21 09:20:40 +01:00
Meatballs1
2a0d603c8d Remove redundant md 2024-03-20 23:59:53 +00:00
Meatballs1
30b40c1907 Fix linting 2024-03-20 23:56:56 +00:00
Meatballs1
c7824eb8f6 Fix indentation 2024-03-20 23:52:59 +00:00
Meatballs1
d9e1efaf6a Merge branch 'main' into set_multiple_values 2024-03-20 23:47:43 +00:00
pre-commit-ci[bot]
8b9caf045e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-20 23:41:09 +00:00
Meatballs1
3acfbfe221 Merge branch 'mqtt_lwt' of github.com:Meatballs1/hcpy-2.0 into mqtt_lwt 2024-03-20 23:40:51 +00:00
Meatballs1
f2707ed7e7 Merge branch 'main' into mqtt_lwt 2024-03-20 23:34:43 +00:00
Ben Campbell
3336885325 Use a copy of topics (#29)
Co-authored-by: Meatballs1 <ben.campbell@withsecure.com>
2024-03-20 23:16:34 +00:00
Ben Campbell
11bbb5cf5b Options fix (#28)
* Fix options checking

---------

Co-authored-by: Meatballs1 <ben.campbell@withsecure.com>
2024-03-20 23:16:17 +00:00
Meatballs1
4b5d868e61 Fix linting 2024-03-20 18:36:45 +00:00
Meatballs1
0151d95e7b Support JSON arrays in input data 2024-03-20 18:16:26 +00:00
pre-commit-ci[bot]
e03938839b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-20 16:09:14 +00:00
Meatballs1
612786a3c8 HA uses offline/online so will use that for LWT 2024-03-20 16:08:53 +00:00
Meatballs1
c89962de30 Add 20s delay on initial connect, and 60s for exception retries 2024-03-20 14:10:03 +00:00
Meatballs1
846b1abca0 Small typo 2024-03-20 14:03:27 +00:00
Meatballs1
7c460ccf8c Merge branch 'mqtt_lwt' of github.com:Meatballs1/hcpy-2.0 into mqtt_lwt 2024-03-20 13:53:54 +00:00
Meatballs1
d6e26d0bfb Fix linting 2024-03-20 13:53:35 +00:00
pre-commit-ci[bot]
a71c58208f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-20 13:51:02 +00:00
Meatballs1
6ce753dc11 Subscribe to activeProgram and move on_message 2024-03-20 13:50:16 +00:00
Meatballs1
8b0dd7f2e3 Merge branch 'main' into mqtt_lwt 2024-03-20 13:32:00 +00:00
Meatballs1
09d883582c Improve MQTT disconnection handling 2024-03-20 13:25:16 +00:00
pmagyar
6bf8b540ed Merge pull request #22 from Meatballs1/activeprogram
Listens to MQTT topic /activeProgram to start programs for compatible devices
2024-03-20 14:09:26 +01:00
Meatballs1
7e66669365 Add some basic MQTT connectivity messages 2024-03-20 12:56:46 +00:00