I've been running a lot of overnight tests with polling, using FF, Edge, and Chrome. My experience is somewhat echoed by a PCWorld article on browser performance. (Opera was #1, then Chrome, Edge, FF)
In my updated Minibrowser version, all the devices are 'active' on the main page. The views use CSS to 'hide' devices, which means they are still polling. However, some devices ( the 'big' ones - thermostats, mediazones, security systems) can be drilled into. At that point, polling is only active for what is displayed on that page.(e.g. Mediazone - now playing, controls, time, weather, newscast)
I poll 'mbStatus' for each device. mbStatus gets the state for each device. (e.g. mbStatus for Lighting contains on/off state, dimming level, and time of change). The state is put into the respective div tags for each device.
So the list below is what's displayed on the primary page and what is being polled simultaneously:
HVAC (17 Devices) - 3 Thermostats -( Fan State, Mode, Inside/Outside temps, Temp Set), rain, windspeed, dampers, etc. On/Off, rates and percentages (when applicable) and time of change (except thermostats). (5 secs)
AudioVideo (4 MediaZones) - volume/mute states, volume level, groups, group status, source, and now playing. No times. (5 secs)
Lighting (18 lights and 2 outlets) - on/off, dimming and times. (5 secs)
Security (1 security system, 5 zones, 10 sensors and 1 zwave lock) - triggers and times. (still working on the system). (1 sec)
Appliances (4 Devices) On/Off and times. (5 secs)
Safety (4 devices) triggers and times. (5 secs)
Weather (from OpenWeathermap) - Temp, Sunset, High/Low Temp, Condition, Icon. (1 min)
Newscast (from 123) (10 min)
Time (not polling per se)
All run overnight without issue(s). Chrome is by far the best on memory and CPU usage. Edge is okay - it will soon be based on Chrome, so... FF will run all night, but it seems to be a hog. I changed the disk write time to 30 mins as it was really thrashing my SSD and really isn't necessary for a 'dedicated' UI. I haven't tried any Apple devices. Interval times could probably be adjusted on some things, or maybe restructured a bit. (I'd want volume and mute status fast, but now playing and groups probably could be more than 5 secs)
For my modest place, this seems to be working okay. In reality, visual indicators (White-Normal; Yellow-Info; Red-Alarm) would probably be second in line to audible indicators (Smoke Detector, Siren), so I don't think the lag is too troublesome.
Edited by chucklyons, 28 May 2019 - 12:07 PM.