Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update athom-smart-plug-v2.yaml #42

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

Roving-Ronin
Copy link

@Roving-Ronin Roving-Ronin commented Mar 2, 2024

Add:

  1. Ability to define a timezone when sync'ing with SNTP. Normally plug will sync with timezone of the HA server, however this (optionally) allows defining a timezone for the plug in the substituions section.

  2. Add support (optionally) being able to enable 'fast_connect' for the WiFi conenction. When the plug has previously connected to an SSID this allows the device to rapidly reconnect to it in future, without the delay caused by a full scan of the available SSID's in the area.

  3. Add support (optional) for setting a dns_domain with the network connection. Defined in substitutions, instead of the plug obtaining a DHCP lease in your network and registering in the main dns zone, this allows allocating the plug to the correct network name / device purpose. i.e. In your 'home.lan' network if you have all IoT devices segemented off for security, you could use this to have the device register as 'smart-plug-v2.iot.home.lan'

  4. Noticed the subsitutions has 'room:' as an entity, however it is not used. Added 'areas:' that calls the 'room' variable. This is in line with ESPHome adding the ability to inform the HomeAssistant (HA) server which 'area' with HA it should be allocated. This is instead of manually having to select this when (re)adding devices to HA.

BTW could the Repository owner / @athom-tech please look to add the 'Discussions' feature to the Repo? ATM there is no way to communicate about possible changes, features to add or issue fixes. This means the only way to do any of this is to Request a Pull.

Add:
1) Ability to define a timezone when sync'ing with SNTP. Normally plug will sync with timezone of the HA server, however this (optionally) allows defining a timezone for the plug in the substituions section.

2) Add support (optionally) being able to enable 'fast_connect' for the WiFi conenction. When the plug has previously connected to an SSID this allows the device to rapidly reconnect to it in future, without the delay caused by a full scan of the available SSID's in the area.

3) Add support (optional) for setting a dns_domain with the network connection. Defined in substitutions, instead of the plug obtaining a DHCP lease in your network and registering in the main dns zone, this allows allocating the plug to the correct network name / device purpose. i.e. In your 'home.lan' network if you have all IoT devices segemented off for security, you could use this to have the device register as 'smart-plug-v2.iot.home.lan'

4) Noticed the subsitutions has 'room:' as an entity, however it is not used. Added 'areas:' that calls the 'room' variable. This is in line with ESPHome adding the ability to inform the HomeAssistant (HA) server which 'area' with HA it should be allocated. This is instead of manually having to select this when (re)adding devices to HA.

BTW could the Repository owner please look to add the 'Discussions' feature to the Repo? ATM there is no way to communicate about possible changes, features to add or issue fixes. This means the only way to do any of this is to Request a Pull.
@tarontop tarontop merged commit ac14b8f into athom-tech:main Mar 7, 2024
21 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants