WiFi devices sync problem eWeLink phone app > iHost

I’ve noticed a sync problem between eWeLink (phone app) and iHost for wifi devices which I noticed recently, then it cleared but has now emerged again.
Scenario: From iHost home screen wifi devices can be switched ON and OFF with the home screen showing their correct state on iHost and the eWeLink phone app.
From the eWeLink phone app wifi devices can be switched ON and OFF their correct state is shown on the eWeLink phone app but their correct state is not shown on iHost .
From the wifi switch device itself using the push button it can be switched ON and OFF, the correct state is shown in the eWeLink phone app but the iHost displayed state is incorrect.
For TH10/16 switches the eWeLink phone app displays the correct temperature but the iHost temperature for the device does not get updated.
I have reported this issue to Sonoff (ticket 219140). If you have iHost scenes that rely on these devices - especially any that include in the IF statement the temperature value obtained from a TH10/16 or the ON/OFF state change of WiFi switches then the scene will not operate.

For this issue, have you tried researt the ewelink samrt home addon? Or unsync/sync them?

This could be due to the device firmware behaviors; the app would force pull its readings when you open it. For the rest of the time, it only reports reading changes exceeding a certain threshold, depending on devices and firmware.

Thanks for your help- this seems to have started when I added a load balancing router at the WAN side of my network, but when I reverted to the original configuration I still experienced the problem. As I’m reluctant to mess around with the eWeLink Smart Home add on (last time I did i had to rewrite scenes for wifi devices) I just rebooted iHost which has resolved the problem. I am in communication with Sonoff and asked them which ports need to be open for 2 way communication between iHost and eWeLink cloud. I’ve also suggested that they may think about a watchdog facility for a future release of iHost firmware to automatically reboot iHost if this problem is detected. The ideal solution would be if wifi devices like the Sonoff TH10/16 could be updated so that the eWeLink Cloud is not needed for transferring things like the temperature/ humidity to iHost.

Just a note: some Wi-Fi devices do not support LAN mode - a limitation in chipse/solution

All of my affected wifi devices except one are Sonoffs that have LAN control enabled.

That would cause some trouble I think but less related to the issue you posted int he first place, is it possible to limit IoT devices to a specific WAN source/port? I would assume your router have such advanced options since it supports load balancing;

There seems to be a deep rooted issue with wifi devices synchronising with iHost. With all of my Sonoff wifi devices with LAN Mode enabled I disabled their ability to access the internet with the router access control. I found the following effects:

TH10/16 temperature does not update in iHost home screen (Sonoff literature says that in LAN Mode sensor temperature value is available).

All wifi devices- If the push button switch is pressed the relay toggles but the iHost home screen display does not follow the change.

Since first raising this issue I have carried out extensive tests with the iHost connected and disconnected from the Internet and conclude that there are synchronisation issues between the eWeLink app/ eWeLink Web and iHost for wifi devices. My recommendation would be to always run iHost off- line with wifi devices in LAN mode except for some maintainance purposes where cloud access is necessary. Below I have post 2 screenshots of the iHost Device Card temperature graphs from a Sonoff TH10 wifi device. On 29 October the iHost was connected to the Internet for the whole day and on 30 October it was disconnected from the Internet except for a period between 07:00-09:00. The graphs highlight the problem.
From experience I would offer the following advice:

  1. Use a dedicated wifi router for your iHost Automation System (I use a cable router that has its WAN port connected to the LAN side of my Internet Service Provider Router).
  2. Have a method of connecting and disconnecting your iHost Automation System to/from the internet (I use an Ethernet Switch controlled by a wifi switch that is a client on the ISP Router and inserted between the LAN port of the ISP Router and the WAN port of the Automation System Router- this allows switchable remote access to the system using Taliscale.
    As an additional note: even with ‘Network Indicator’ Disabled the LEDs on Sonoff wifi devices will still flash when the Internet is disconnected and they are in LAN mode.