The reported issue
After analysing customer reports, we observed that there were instances of data loss between the 3 Phase Smart Meter and the Homey gateway. To investigate this, we conducted a test by installing three 3 Phase Smart Meters within 2 meters distance of the Homey gateway, with no physical obstructions that could interfere with the z-wave radio signal. We monitored the devices for a month and did not encounter any data loss.
Next, we moved the Homey gateway 10 meters away from the devices, and observed that the devices were marked as "unreachable." However, we noticed that the Homey gateway still received some of the missing data values, with some of the data missing. It is possible that in some cases, the values may not be received by the gateway, resulting in data loss.
To further investigate, we physically removed and switched off the gateway, but the devices continued to send reports even when the gateway was not present to receive them. We concluded that the 3 Phase Smart Meter could not be the cause of the missing reports as the Node ID was still assigned to the device and it would continue to function as usual.
We received additional information from customers who contacted Homey support, and it was confirmed that the issue was most likely on the gateway side. The gateway marked the devices as unreachable when it did not receive a reply from the device and did not update its state once it received another packet of data. The issue can be resolved by performing the Test (BASIC_GET) command in the Homey Developer Tools, which appears to have a different effect from the scan-test performed by the gateway at regular intervals.
The current work-around to solve the missing reports is to send the BASIC_GET command periodically. We have provided instructions on how to create a Flow that performs this action. We would like to thank H. for providing this information.
Guide to setup the Basic Get command in the Flow
Step-by-step guide
Step 1: Check the Node ID and the Security level
- choose the Devices menu in the next menu choose the first widget (the one that does not have available controls)
- in the next screen press the Settings icon (top right corner)
- choose the Advanced Settings
- scroll down to the Z-Wave Information, under the Secure you will find how is the device: X (un-secure) or S2 Authenticated and under Device ID you will find the Node ID of the device
Step 2: Include the device unsecured* in the gateway
*The gateway will only execute the commands from the z-wave flow if it is included in the gateway unsecured, the S2 secured connection which is the default one in Homey this won't work (at least for now it is like this)
- In case you have the Smart Meter included with the S2 inclusion (securely) exclude (remove) it
- once the device is successfully removed wait at least 30 seconds and start the inclusion from the gateway choose Qubino under the brand
- choose the 3 Phase Smart Meter
- confirm the inclusion command on the Smart Meter (two times)
- when the request for the pin pop up insert the 00000 instead of the DSK pin number of your Smart Meter
- after a while your Smart Meter will be added to the dashboard
Step 3: Activate the Power User option
- Press the more button and choose Settings
- Choose Experiments
- In the next menu activate the Power User option
Step 4: Build your Flow
- create a new flow
- under When choose the Date and time and there choose Every
- In the number field add the time 15 and under chose Minutes confirm with the Check mark like this the When card is done
- select Then and add the Z-wave action
- click on Send raw command
- enter the Node ID that you check before and under the parameter write 0x20, 0x02 and click on the check mark
- review your Flow and click on Save when you're ready
- for the end name the Flow and save it
- you're done :)
Step-by-step picture guide
- Step 1: Check the Node ID and the Security level
- Step 2: Include the device unsecured* in the gateway
- Step 3: Activate the Power User option
- Step 4: Build your Flow
Step 1: Check the Node ID and the Security level
- choose the Devices menu in the next menu choose the first widget (the one that do not have available controls)
- in the next screen press the Settings icon (top right corner)
- choose the Advanced Settings
- scroll down to the Z-Wave Information, under the Secure you will find how is the device: X (un-secure) or S2 Authenticated and under Device ID you will find the Node ID of the device
- Write down the Node ID and check if the 3 Phase Smart Meter is included securely S2 Authenticated
- choose the Devices menu in the next menu choose the first widget (the one that do not have available controls)
Step 2: Include the device unsecured* in the gateway
*The gateway will only execute the commands from the z-wave flow if it is included in the gateway unsecured, the S2 secured connection which is the default one in Homey this won't work (at least for now it is like this)- In case you have the 3 Phase Smart Meter included with the S2 inclusion (securely) exclude (remove) it
- once the device is successfully removed wait at least 30 seconds and start the inclusion from the gateway choose Qubino under the brand
- choose the 3 Phase Smart Meter (ZMNHXD)
- confirm the inclusion command on the Smart Meter (two times)
- when the request for the pin pop up insert the 00000 instead of the DSK pin number of your Smart Meter
- After a while your 3 Phase Smart Meter will be added to the dashboard
- In case you have the 3 Phase Smart Meter included with the S2 inclusion (securely) exclude (remove) it
Step 3: Activate the Power User option
- Press the more button and choose Settings
- Choose Experiments
- In the next menu activate the Power User option
- Press the more button and choose Settings
Step 4: Build your Flow
- create a new flow
- under When choose Add card
- choose the Date and time
- choose Every
- in the number field add the time 15 and under chose Minutes confirm with the Check mark like this the When card is done
- select Then
- add the Z-wave action
- click on Send raw command
- enter the Node ID that you check before and under the parameter write 0x20, 0x02 and click on the check mark
- review your Flow and click on Save when you're ready
- for the end name the Flow and save it
- you're done :)
- create a new flow