Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Develco OTA images #502

Merged
merged 1 commit into from
May 27, 2024
Merged

Add Develco OTA images #502

merged 1 commit into from
May 27, 2024

Conversation

samuli-as
Copy link
Contributor

Added and updated images for Develco/Frient devices (from https://github.com/Develco-Products/frient_upgrade_images). I have tested some of these on my own devices:
EntrySensor_4.0.2.zigbee
HumiditySensor_4.0.1.zigbee
MotionSensor_4.0.6.zigbee
WaterLeakDetector_4.0.4.zigbee

The rest I do not have access to and have not tried. Some of the images actually are for devices not currently supported by Z2M.

@Koenkk Koenkk merged commit ed46b59 into Koenkk:master May 27, 2024
1 check passed
@Koenkk
Copy link
Owner

Koenkk commented May 27, 2024

Thanks!

@nilsbyte
Copy link

nilsbyte commented Jun 5, 2024

@Koenkk Develco products are identical to frient products. I have the EMIZB-141 Power Meter (Koenkk/zigbee2mqtt#19042) but OTA is not available for that device.

The correct firmware would be this one:

    {
        "fileVersion": 196866,
        "fileSize": 213826,
        "manufacturerCode": 4117,
        "imageType": 976,
        "sha512": "fa53c339b61a8980c3d8d42319be4f57aa088d98b8f87393a6fce84c2bd224079c26ca2b097f2a3bf042f629adf32bac90460e17d0b7a28864f244453e262baf",
        "url": "https://github.com/Koenkk/zigbee-OTA/raw/master/images/Develco/EMI2LED_3.1.2.zigbee",
        "path": "images/Develco/EMI2LED_3.1.2.zigbee"
    },

what has to be done to make that file available to the device?

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this pull request Jun 5, 2024
@Koenkk
Copy link
Owner

Koenkk commented Jun 5, 2024

@nilsbyte enabled OTA for it!

Changes will be available in the dev branch in a few hours from now.

@nilsbyte
Copy link

nilsbyte commented Jun 7, 2024

@Koenkk Installed the edge version in HA just now, but the EMIZB-141 does not appear in the list of OTA devices. Is there something else that has to be done to make it work? Sorry, but i am fairly new to all the HA and Z2M matter.

@Koenkk
Copy link
Owner

Koenkk commented Jun 8, 2024

Does it show at least 19.51.0 under the frontend -> settings -> about page? In case not, you are not running the latest version.

@nilsbyte
Copy link

nilsbyte commented Jun 9, 2024

Yes it has excactly this version. Is it possible that the device is not listed under OTA because frient maybe has another manufacturer code as Develco? I dont know how the matching between firmware and device takes place.

@Koenkk
Copy link
Owner

Koenkk commented Jun 9, 2024

Could you provide the data/database.db entry of your device?

@nilsbyte
Copy link

nilsbyte commented Jun 9, 2024

here is the relevant line from /homeassistant/zigbee2mqtt/database.db:*

{"id":21,"type":"EndDevice","ieeeAddr":"0x0015xxxxxxxxxxxx","nwkAddr":23506,"manufId":4117,"manufName":"frient A/S","powerSource":"Battery","modelId":"EMIZB-141","epList":[1,2],"endpoints":{"1":{"profId":49353,"epId":1,"devId":1,"inClusterList":[5,6],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":83,"inClusterList":[0,1,3,32,1794,2817,2821],"outClusterList":[3,10,25],"clusters":{"genBasic":{"attributes":{}},"genPollCtrl":{"attributes":{"checkinInterval":14400}},"genPowerCfg":{"attributes":{"batteryVoltage":30,"batteryAlarmState":0,"batteryPercentageRemaining":200}},"seMetering":{"attributes":{"currentSummDelivered":[0,11084],"instantaneousDemand":256,"develcoInterfaceMode":0,"develcoPulseConfiguration":10000}}},"binds":[{"cluster":32,"type":"endpoint","deviceIeeeAddress":"0x0015xxxxxxxxxxxx","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x0015xxxxxxxxxxxx","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x0015xxxxxxxxxxxx","endpointID":1}],"configuredReportings":[],"meta":{}}},"dateCode":"2023-08-30 08:30","zclVersion":7,"interviewCompleted":true,"meta":{"configured":1651188520},"lastSeen":1717946532466,"checkinInterval":3600}

*removed the IEEE addresses.

Manufacturer ID is 4117, so this is correct.

@Koenkk
Copy link
Owner

Koenkk commented Jun 10, 2024

I don't know why it doesn't show in the OTA tab (as it should now). Let's wait for the next z2m release and see if it works there

@nilsbyte
Copy link

nilsbyte commented Jul 6, 2024

Z2M 1.39.0 in Home Assistant still does not list the frient EMIZB-141 in OTA. Can I do something to help find the cause?

@Koenkk
Copy link
Owner

Koenkk commented Jul 7, 2024

  • Does the device show up in the Z2M frontend OTA tab?
  • Do you by any chance have a external converter for this device? Check your z2m configuration.yaml, if yes, remove it.

@nilsbyte
Copy link

nilsbyte commented Jul 7, 2024

Yes I am using an external converter because the features "Pulse configuration", "Interface Mode" and others are not in Z2M.

Koenkk/zigbee2mqtt#19042

After disabling the external converter and completely rebooting the HA instance, the OTA update is available and working.

@FWeinb
Copy link

FWeinb commented Aug 15, 2024

I tried to also update my EMIZB-141 but it always times out. I moved it closer to the Zigbee Coordinator but nothing seams to convince it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants