Commit Graph

10 Commits

Author SHA1 Message Date
Meatballs
10dfc3df13 Add a default clientname for mqtt 2024-03-19 10:58:51 +00:00
Meatballs
d966126fac Initial merge of Skon's PR 2024-03-19 10:58:21 +00:00
Kevin Temming
b7dae0a7c4 2023.9.12.1 2023-09-12 23:24:11 +02:00
Kevin Temming
18304c5fc2 Allow for posting to appliance 2023-07-07 15:44:43 +02:00
Thijs
81c0a55ba5 Add client.loop_forever() for auto-reconnect
Even though hc2mqtt was running, and showed active log lines, I stopped receiving the messages sometimes in the MQTT server and subscribed processes.
Adding client.loop_forever() will auto-reconnect to the mqtt server in case of network loss / hickups. Seems to help for my setup.
Docs: https://pypi.org/project/paho-mqtt/#network-loop
2023-04-01 12:28:47 +02:00
Jasper Seidel
8ab7997519 feat: refactor hc2mqtt to take config as cli args, add click to requirements 2022-10-07 16:59:41 +02:00
Trammell Hudson
b852cfd2b8 hc-login and hc2mqtt work together to allow device monitoring 2022-02-19 19:00:29 +01:00
Trammell Hudson
1ed68f4d1a hc2mqtt: format remaining time, print a publish message 2022-02-06 15:21:01 +01:00
Trammell Hudson
87914adffa hc2mqtt: create a thread per device 2022-02-06 14:27:56 +01:00
Trammell Hudson
c6407d2a28 hc2mqtt: connect the programs to the mqtt server 2022-02-06 14:24:15 +01:00