@andryist and @Oleh,
Thanks for all your help but I hope that you didn’t waste too much time on this. Apologies but it turns out that this was a configuration mistake on my part. As I mentioned, this hub is used by GitHub to regress ezlo-hub-kit and as a result, it did not have access to port 80 (http). As I inspected the logs, I saw it and changed the configuration accordingly. When I first set the g150 up as a continuous integration test hub, there weren’t any firmware updates for it (limited to Plus and Secure) so I didn’t catch my mistake.
update.log
root@HUB45006642:/tmp/log/firmware# cat update.log
2021-03-30 20:39:59 INFO : Starting update process
2021-03-30 20:39:59 INFO : Finishing sysupgrade
2021-03-30 20:39:59 INFO : Checking if sysupgrade completed successfully...
2021-03-30 20:39:59 INFO : Firmware package has proper version, updating feeds...
2021-03-30 20:39:59 INFO : Sysupgrade completed successfully
2021-03-30 20:39:59 INFO : Executing: install firmware-addons-cameras 1.0.1490.4
2021-03-30 20:39:59 INFO : Updating available packages list
Downloading http://dl.mios.com/linux_firmware/live/bundle/g150/v2/snapshots/87/system/Packages.gz.
Updated list of available packages in /var/opkg-lists/system.
Downloading http://dl.mios.com/linux_firmware/live/bundle/g150/v2/snapshots/87/firmware/Packages.gz.
Updated list of available packages in /var/opkg-lists/firmware.
Downloading http://dl.mios.com/linux_firmware/live/bundle/g150/v2/snapshots/87/plugins/Packages.gz.
Updated list of available packages in /var/opkg-lists/plugins.
Package firmware-addons-cameras (1.0.1490.4) installed in root is up to date.
2021-03-30 20:40:00 INFO : Step completed successfully
2021-03-30 20:40:00 INFO : Executing: install firmware-addons-lua 1.0.1490.4
Package firmware-addons-lua (1.0.1490.4) installed in root is up to date.
2021-03-30 20:40:01 INFO : Step completed successfully
2021-03-30 20:40:01 INFO : Executing: install firmware-addons-zwave 1.0.1490.4
Package firmware-addons-zwave (1.0.1490.4) installed in root is up to date.
2021-03-30 20:40:01 INFO : Step completed successfully
2021-03-30 20:40:01 INFO : Executing: install firmware-plugins-ezviz 1.0.719
Package firmware-plugins-ezviz (1.0.719) installed in root is up to date.
2021-03-30 20:40:01 INFO : Step completed successfully
2021-03-30 20:40:01 INFO : Executing: install firmware-plugins-scene_blocks 1.0.719
Package firmware-plugins-scene_blocks (1.0.719) installed in root is up to date.
2021-03-30 20:40:02 INFO : Step completed successfully
2021-03-30 20:40:02 INFO : Executing: install firmware-plugins-zwave 1.0.728
Package firmware-plugins-zwave (1.0.728) installed in root is up to date.
2021-03-30 20:40:02 INFO : Step completed successfully
2021-03-30 20:40:02 INFO : All steps completed
apitool software info
{
"error": null,
"id": "_ID_",
"method": "hub.software.info.get",
"result": {
"addons": [
{
"id": "cameras",
"version": "1.0.1490.4"
},
{
"id": "lua",
"version": "1.0.1490.4"
},
{
"id": "zwave",
"version": "1.0.1490.4"
}
],
"firmware": "2.0.11.1490.4",
"plugins": [
{
"id": "broadlink",
"version": "1.0.2"
},
{
"id": "ezviz",
"version": "1.0.719"
},
{
"id": "scene_blocks",
"version": "1.0.719"
},
{
"id": "zwave",
"version": "1.0.728"
}
]
},
"sender": {
"conn_id": "db359bce-5198-42d8-9a91-744bca1edbef",
"type": "ui"
}
}
ezlo-hub-kit regression tests from GitHub pull request
And all the ezlo-hub-kit tests pass under the new firmware revision.
EzloCredentials Test Suite
FileResolver Tests
✓ hubs(): registered hubs
✓ credentials(): credentials from FileResolver for known hubs
✓ credentials(): throw for missing credentials file - invalid path
✓ credentials(): throw for missing or invalid hub entry
EzloCloudResolver Tests
✓ hubs(): registered hubs (1541ms)
✓ hubs(): throw for non-existant MIOS user (285ms)
✓ credentials(): credentials from Cloud for known hubs
✓ credentials(): throw for missing or invalid hub entry
EzloHub Test Suite
Setup - identify locally testable hubs
✓ Registered hubs: 45006642
✓ Hub 45006642 is available for test execution
✓ Hub 45006642 selected for test execution
Hub Discovery
✓ Discovered hubs: 45006642
✓ discoverEzloHubs() (548ms)
Secure Login (for each locally available ezlo hub)
✓ Securely connected to local hub 45006642, model: g150, architecture: mips, firmware: 2.0.11.1490.4
✓ Connect to each available hub (1999ms)
Hub Properties
✓ info(): hub.info.get
✓ data(): hub.data.list
✓ devices(): hub.devices.list
✓ device(): device with name
✓ items(): hub.items.list
✓ items(): hub.items.list (for specific device) (39ms)
✓ items(): hub.items.list (for non-existant device)
✓ item(): item with name for device (62ms)
✓ scenes(): hub.scenes.list
✓ scene(): scene with name
✓ scene(): scene with name - non-existant
✓ rooms(): hub.room.list
✓ room(): room with name
✓ houseModes(): hub.modes.get
✓ houseMode(): house mode with name
✓ houseMode(): invalid mode name (type)
✓ currentHouseMode(): valid mode id
✓ currentHouseMode(): valid mode name
Hub Event Observations
✓ addObserver(): hub.offline.login.ui
Hub Actions
✓ setHouseMode(): hub.modes.switch to current mode (56ms)
✓ setHouseMode(): hub.modes.switch to new mode (1137ms)
✓ setHouseMode(): hub.modes.switch to invalid mode (60ms)
➔ running scene "Test:6017135afcbac705f59d137d"
✓ runScene() (84ms)
- setItemValue()
Keep-alive test
- connection-interrupt test
33 passing (8s)
2 pending
All looks good and thanks again.
Best,
Bruce