<feed xmlns='http://www.w3.org/2005/Atom'>
<title>embassy-ha/src, branch v0.1.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/'/>
<entry>
<title>small visibility fixes</title>
<updated>2025-12-09T22:58:31+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-09T22:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=4687daaf620e0d0951e4657d052eaa713d18fa71'/>
<id>4687daaf620e0d0951e4657d052eaa713d18fa71</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed warnings/lints</title>
<updated>2025-12-09T22:50:34+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-09T22:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=9aed552c491aaabc84e3141bc70e4d26c03efa85'/>
<id>9aed552c491aaabc84e3141bc70e4d26c03efa85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>moved embedded-mqtt crate to a module</title>
<updated>2025-12-09T22:30:42+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-09T22:30:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=a5845673cf052b606f722be10d48c5d963958050'/>
<id>a5845673cf052b606f722be10d48c5d963958050</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added some documentation</title>
<updated>2025-12-09T22:21:44+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-09T22:21:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=fc57d8583a578df9565d3143108504b1a21fd1b7'/>
<id>fc57d8583a578df9565d3143108504b1a21fd1b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>formatting and improved timeout handling</title>
<updated>2025-12-08T20:49:23+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-08T20:49:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=8ac9ddd2cbc9cf454eae066e5e60d05ee714a83e'/>
<id>8ac9ddd2cbc9cf454eae066e5e60d05ee714a83e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>code style change</title>
<updated>2025-12-07T15:57:17+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-07T15:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=28d9961141a38ebde8bd6144636c3021eb2755a5'/>
<id>28d9961141a38ebde8bd6144636c3021eb2755a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clear socket timeout after successful connection</title>
<updated>2025-12-06T15:13:41+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-06T15:13:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=42c899931074fc1a8adcf30e4bd103163ee84b1a'/>
<id>42c899931074fc1a8adcf30e4bd103163ee84b1a</id>
<content type='text'>
The timeout is now only applied to the connection attempt itself, allowing MQTT communication to proceed without artificial timeouts during normal operation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The timeout is now only applied to the connection attempt itself, allowing MQTT communication to proceed without artificial timeouts during normal operation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement connect_and_run helper function</title>
<updated>2025-12-06T15:06:44+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-06T15:05:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=077b4c04d1eba229d2bdd42952f5617966c6b3fe'/>
<id>077b4c04d1eba229d2bdd42952f5617966c6b3fe</id>
<content type='text'>
Added a convenience function to handle connection lifecycle with automatic reconnection. The function supports:
- Parsing addresses as IP:port, IP with default port (1883), or hostname with DNS resolution
- Filtering DNS results for IPv4 addresses only
- Automatic reconnection with 5-second delay on failures
- Comprehensive error logging for DNS, TCP, and device run failures
- TCP socket timeout of 10 seconds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added a convenience function to handle connection lifecycle with automatic reconnection. The function supports:
- Parsing addresses as IP:port, IP with default port (1883), or hostname with DNS resolution
- Filtering DNS results for IPv4 addresses only
- Automatic reconnection with 5-second delay on failures
- Comprehensive error logging for DNS, TCP, and device run failures
- TCP socket timeout of 10 seconds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix availability handling with MQTT retain flag</title>
<updated>2025-12-06T14:47:54+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-06T14:47:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=3a974cec36cd8a48992e05629325d8279cf289b7'/>
<id>3a974cec36cd8a48992e05629325d8279cf289b7</id>
<content type='text'>
Added retain flag support to MQTT messages to properly handle device availability in Home Assistant. Both the availability "online" publish and the last will "offline" message now use retain=true, ensuring HA always sees the current device status even when subscribing after the messages were sent.

Changes:
- Added will_retain field to embedded_mqtt::ConnectParams
- Set retain=true for availability publish using publish_with()
- Set will_retain=true in connect params for last will message

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added retain flag support to MQTT messages to properly handle device availability in Home Assistant. Both the availability "online" publish and the last will "offline" message now use retain=true, ensuring HA always sees the current device status even when subscribing after the messages were sent.

Changes:
- Added will_retain field to embedded_mqtt::ConnectParams
- Set retain=true for availability publish using publish_with()
- Set will_retain=true in connect params for last will message

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Complete error handling for availability publish</title>
<updated>2025-12-06T14:45:01+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-12-06T14:45:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/rust/embassy-ha/commit/?id=809b1b795ed530d20ceb6f3cb42af70daa7eadf9'/>
<id>809b1b795ed530d20ceb6f3cb42af70daa7eadf9</id>
<content type='text'>
Added proper error logging and return for availability publish failure, following the same pattern as other MQTT operations in the codebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added proper error logging and return for availability publish failure, following the same pattern as other MQTT operations in the codebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
