sftgunner / edinplus-integration

eDIN+ Home Assistant Integration
6 stars 0 forks source link

NPU Firmware version #8

Open maxlyth opened 1 year ago

maxlyth commented 1 year ago

This integration declares that it has a dependancy on NPU firmware SW00120.2.4.1.44 however the latest firmware available on the Mode website is SW00120.2.3.6.3.

I have tried contacting Mode directly but have not had much luck getting a response in the past. Where did you get this firmware from?

sftgunner commented 1 year ago

Hi @maxlyth, I'm afraid my NPU came with SW00120.2.4.1.44 pre-installed (ordered about a year or so ago), so can't help on that front. However, as far as I'm aware the integration should work with the older 120.2.3.x.x firmware, as the TCP/IP communication method I gather has existed in the firmware for some time now, but I only wanted to explicitly state the versions that I've been able to test and verify. If you do try and use this integration with 120.2.3.6.3, please let me know if you hit any issues and I'll try and debug/fix as needed!

ChrisMode1 commented 1 year ago

Hi Max, I am the R&D Manager at Mode Lighting, if you contact me directly, I can issue the latest production release software and possibly beta's, depending on what you are trying to do. Regards, Chris chris.sedgwick@modelighting.com

maxlyth commented 1 year ago

I don't think the integration works with 120.2.3.x.x firmware series. Initial NPU connection is made but there is no service discovery, probably because the older firmer does not provide a /info?what=names endpoint which you explicitly state as being the starting point of discovery.

Fortunately Chris from Mode has joined the conversion and I think this will be really constructive in moving the project forward

Max...

maxlyth commented 1 year ago

Got latest firmware from Mode (thanks Chris and James) and got the integration working.

I mentioned in PMs that I have previously built an EDIN+ to MQTT integration using Node-RED that was much more comprehensive with full hardware discovery and control over every aspect of plates, channels, scenes, DMX and DALI.

It even has error handling and state recovery so has been rock solid but I wrote 4+ years ago before I started using Home Assistant. It was designed for any MQTT based automation system but HA support was the weak point and HA custom-integrations will always be more coherent.

I'd be interested in extending your integration starting with hardware discovery via the tried and tested CMD API and then better plate control. You have recent commits so wondering how best to approach this?

EDIN-to-MQTT Node-Red workflow