Description
Feedback
Wondering if IoT class classification of ZHA integration only being "Local Polling" is really correct? Is it also "Local Push" too?
As I understand it "Local Polling" or also "Local Push" is per device in Zigbee(?), and especially older devices (with old firmware / old Zigbee stacks) used to require pulling, but most newer Zigbee devices push their reports to the Zigbee Coordinator?
Note that this IoT classofication is also a marketing thing, as many users prefer integrations that uses "Local Push" instead of "Local Polling" and may avoid not even try such integrations if it sounds worse than it is. 😉
The question is if the ZHA integration is today really only "Local Polling" or only "Local Push", or does it in fact support both and it depend on the devices being used and attributes being read? So should maybe say "Local Polling and Local Push"?
I thought Zigbee supported both "Local Push" and "Local Polling" but that it will depend on what each device user uses supports?
https://www.home-assistant.io/blog/2016/02/12/classifying-the-internet-of-things/#classifiers
-
Local Polling = "Offers direct communication with device. Polling the state means that an update might be noticed."
-
Local Push = "Offers direct communication with device. Home Assistant will be notified as soon as a new state is available."
POLLING THE LOCAL DEVICE
These devices will offer an API that is locally accessible. The home automation will have to frequently check if the state has been updated.
Advantages:
- Does not depend on the internet.
Disadvantages:
- To be pollable, a device needs to be always online which requires the device to be connected to a power source.
LOCAL DEVICE PUSHING NEW STATE
The best of the best. These devices will send out a notice when they get to a new state. These devices usually use a home automation protocol to pass it’s message to a hub that will do the heavy lifting of managing and notifying subscribers
Advantages:
- Near instant delivery of new states.
- Able to get a long battery life by going into deep sleep between state updates.
Disadvantages:
- If it does not also support polling, home automation will not be made aware of the state after booting up until it changes.
- If using deep sleep and Wi-Fi, it will suffer a delay when waking up because connecting to WiFi and receiving an IP takes time.
URL
https://www.home-assistant.io/integrations/zha
Version
No response
Additional information
To compare; Z-Wave JS integration is classified as "Local Push", and Z-Wave uses very similar architecture/technology to Zigbee:
So if can only pick one or the other and Z-Wave which use similar protocol says "Local Push", would it be better to say same?